/* ===== 智能电视(TV)应用开发者社区与大屏交互UI规范平台 ===== */
/* 主色调：#1A237E（大屏深邃蓝）辅助色：#00E676（焦点高亮绿）背景色：#0D0D0D 卡片色：#1E1E1E 正文色：#E0E0E0 */

:root {
  --primary: #1A237E;
  --accent: #00E676;
  --bg-dark: #0D0D0D;
  --card-bg: #1E1E1E;
  --text-light: #E0E0E0;
  --text-muted: #9E9E9E;
  --focus-glow: rgba(0, 230, 118, 0.6);
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.8;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #69F0AE;
  text-shadow: 0 0 8px var(--focus-glow);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== 焦点放大+发光边框动效(Focus State) ===== */
.c2b7ab262 {
  background: var(--card-bg);
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  padding: 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.c2b7ab262:hover,
.c2b7ab262:focus-within {
  transform: scale(1.03);
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--focus-glow), 0 8px 32px rgba(0, 0, 0, 0.5);
}

.c2b7ab262::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 230, 118, 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.c2b7ab262:hover::before {
  opacity: 1;
}

/* ===== 导航栏 ===== */
.c038e565f {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 35, 126, 0.5);
  padding: 0 24px;
}

.c5d8993b2 {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.cb49d4e27 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cb49d4e27 .cfaf4b475 {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cebb0ac8a {
  display: flex;
  list-style: none;
  gap: 8px;
}

.cebb0ac8a a {
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: var(--transition);
}

.cebb0ac8a a:hover,
.cebb0ac8a a.cb2bd0363 {
  color: var(--text-light);
  background: rgba(26, 35, 126, 0.4);
  text-shadow: none;
}

.c3a0cbc12 {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== Hero区 - 客厅大屏 ===== */
.c82eca5cc {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
  position: relative;
  overflow: hidden;
}

.c82eca5cc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center top, rgba(26, 35, 126, 0.3) 0%, transparent 60%);
}

.c5950d037 {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.c4edcb3fc {
  background: #111;
  border: 3px solid #333;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), inset 0 0 30px rgba(26, 35, 126, 0.2);
  position: relative;
}

.cfe893048 {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--primary), #0D47A1);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cfe893048 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cfe763931 {
  width: 120px;
  height: 24px;
  background: linear-gradient(to bottom, #333, #1a1a1a);
  margin: 0 auto;
  border-radius: 0 0 8px 8px;
}

.c6339014b {
  margin-top: 40px;
}

.c6339014b h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.c6339014b p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.c8735ede7 {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cc303dc82 {
  background: linear-gradient(135deg, var(--accent), #00C853);
  color: #0D0D0D;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cc303dc82:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 230, 118, 0.4);
  color: #0D0D0D;
  text-shadow: none;
}

.c47aa0bcc {
  background: transparent;
  color: var(--text-light);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: var(--transition);
}

.c47aa0bcc:hover {
  border-color: var(--accent);
  box-shadow: 0 0 16px var(--focus-glow);
  color: var(--accent);
  text-shadow: none;
}

/* ===== 通用Section ===== */
.c2f300114 {
  padding: 80px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.cc9a8d757 {
  text-align: center;
  margin-bottom: 48px;
}

.cc9a8d757 h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-light);
}

.cc9a8d757 p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== 卡片网格 ===== */
.cb2e4f56f {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.c55b421da {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.c2b7ab262 h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text-light);
}

.c2b7ab262 p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.c2b7ab262 .cb6fa1127 {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), rgba(0, 230, 118, 0.3));
  border-radius: 12px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.c2b7ab262 .cf7ca1380 {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}

.c102c29ce {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.c19ffdbc0 {
  background: rgba(26, 35, 126, 0.5);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--accent);
}

/* ===== 开源组件库 ===== */
.c52590cea {
  display: flex;
  align-items: center;
  gap: 16px;
}

.c52590cea .c14b06a95 {
  flex: 1;
}

.c52590cea .cf21ba54d {
  display: flex;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.cbfc4e371 {
  color: #FFD600;
}

/* ===== 社区热帖 ===== */
.c0a277987 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cac2f9268 {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--card-bg);
  border-radius: 8px;
  border: 1px solid transparent;
  transition: var(--transition);
}

.cac2f9268:hover {
  border-color: var(--primary);
  transform: translateX(4px);
}

.cac2f9268 .cecd6ba37 {
  flex: 1;
  font-size: 0.95rem;
}

.cac2f9268 .c600506c1 {
  font-size: 0.8rem;
  color: var(--accent);
  white-space: nowrap;
}

/* ===== 工具链 ===== */
.c47eea1fa {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

/* ===== 页脚 ===== */
.c69c2fffe {
  background: #0a0a0a;
  border-top: 1px solid rgba(26, 35, 126, 0.3);
  padding: 60px 24px 24px;
  margin-top: 80px;
}

.c3ffdb410 {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.c2b555c56 h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--text-light);
}

.c2b555c56 ul {
  list-style: none;
}

.c2b555c56 li {
  margin-bottom: 8px;
}

.c2b555c56 a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.c2b555c56 a:hover {
  color: var(--accent);
}

.cbf017574 {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== 面包屑 ===== */
.c57f9cb39 {
  padding: 100px 24px 20px;
  max-width: 1400px;
  margin: 0 auto;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.c57f9cb39 a {
  color: var(--text-muted);
}

.c57f9cb39 a:hover {
  color: var(--accent);
}

.c57f9cb39 span {
  margin: 0 8px;
}

/* ===== 内页通用 ===== */
.c0dcb37bb {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.c0dcb37bb h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-light);
}

.c0dcb37bb h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 40px 0 16px;
  color: var(--text-light);
  border-left: 4px solid var(--accent);
  padding-left: 16px;
}

.c0dcb37bb h3 {
  font-size: 1.3rem;
  margin: 28px 0 12px;
  color: var(--text-light);
}

.c0dcb37bb p {
  margin-bottom: 16px;
  color: var(--text-light);
  line-height: 1.9;
}

.c0dcb37bb ul, .c0dcb37bb ol {
  margin: 16px 0;
  padding-left: 24px;
}

.c0dcb37bb li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.c0dcb37bb code {
  background: rgba(26, 35, 126, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9em;
}

.c0dcb37bb pre {
  background: #111;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 20px;
  overflow-x: auto;
  margin: 20px 0;
}

.c0dcb37bb pre code {
  background: none;
  padding: 0;
}

.c0dcb37bb .cb2922687 {
  width: 100%;
  border-radius: 12px;
  margin: 24px 0;
}

/* ===== FAQ ===== */
.c1535823c {
  margin-top: 48px;
}

.cab33e897 {
  background: var(--card-bg);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.caf7f505c {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.caf7f505c:hover {
  background: rgba(26, 35, 126, 0.2);
}

.ce05ac2cb {
  padding: 0 20px 16px;
  color: var(--text-muted);
  display: none;
}

.cab33e897.cb2bd0363 .ce05ac2cb {
  display: block;
}

/* ===== 搜索页 ===== */
.c72747bc1 {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 24px;
}

.c375d3fee {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.c375d3fee input {
  flex: 1;
  padding: 14px 20px;
  background: var(--card-bg);
  border: 2px solid #333;
  border-radius: 8px;
  color: var(--text-light);
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.c375d3fee input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 12px var(--focus-glow);
}

.c375d3fee button {
  padding: 14px 24px;
  background: var(--accent);
  color: #0D0D0D;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.c43bffbf2 .result-item {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.c43bffbf2 .result-item h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.c43bffbf2 .result-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== 404页 ===== */
.c930d6a53 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.c930d6a53 h1 {
  font-size: 6rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.c930d6a53 p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin: 16px 0 32px;
}

/* ===== APP下载页 ===== */
.c3465a83e {
  text-align: center;
  padding: 120px 24px 60px;
}

.c3465a83e h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.c7caf4b7d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

.c8df7ac67 {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .cebb0ac8a {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.98);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--primary);
  }

  .cebb0ac8a.cb2bd0363 {
    display: flex;
  }

  .c3a0cbc12 {
    display: block;
  }

  .c6339014b h1 {
    font-size: 1.8rem;
  }

  .c6339014b p {
    font-size: 1rem;
  }

  .cc9a8d757 h2 {
    font-size: 1.5rem;
  }

  .cb2e4f56f {
    grid-template-columns: 1fr;
  }

  .c0dcb37bb h1 {
    font-size: 1.7rem;
  }

  .c8735ede7 {
    flex-direction: column;
    align-items: center;
  }

  .c3ffdb410 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .c3ffdb410 {
    grid-template-columns: 1fr;
  }

  .c6339014b h1 {
    font-size: 1.5rem;
  }
}

/* ===== 动画 ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ===== 10英尺UI模拟器 ===== */
.simulator-panel {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 32px;
  margin: 24px 0;
}

.simulator-panel .slider-wrap {
  margin: 16px 0;
}

.simulator-panel input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.simulator-panel .preview-area {
  background: #111;
  border-radius: 8px;
  padding: 24px;
  margin-top: 16px;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

/* ===== Schema标记样式辅助 ===== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ===== 滚动条美化 ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}
