/* ===== 智能电视(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) ===== */
.c35ee9775 {
  background: var(--card-bg);
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  padding: 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.c35ee9775:hover,
.c35ee9775: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);
}

.c35ee9775::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;
}

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

/* ===== 导航栏 ===== */
.cb7af14da {
  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;
}

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

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

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

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

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

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

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

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

.c9b9bfc3f::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%);
}

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

.c8031feb8 {
  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;
}

.cb8279420 {
  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;
}

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

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

.c7ba9e89a {
  margin-top: 40px;
}

.c7ba9e89a 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;
}

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

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

.c26ada98c {
  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;
}

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

.c91e5cb19 {
  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);
}

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

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

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

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

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

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

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

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

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

.c35ee9775 .ce7b36872 {
  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;
}

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

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

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

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

.cb1272741 .ceb28cb9b {
  flex: 1;
}

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

.c9d401e5e {
  color: #FFD600;
}

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

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

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

.c50c66b63 .c023d29c5 {
  flex: 1;
  font-size: 0.95rem;
}

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

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

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

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

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

.cf5842cac ul {
  list-style: none;
}

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

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

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

.ccd7b0c12 {
  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);
}

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

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

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

.c83a1b739 span {
  margin: 0 8px;
}

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

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

.c844eadc1 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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

.c033879dd.c83264743 .c3890c146 {
  display: block;
}

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

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

.c9d6d5822 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);
}

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

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

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

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

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

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

.c7acdad97 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;
}

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

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

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

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

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

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .c4919d662 {
    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);
  }

  .c4919d662.c83264743 {
    display: flex;
  }

  .c0d38a9e7 {
    display: block;
  }

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

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

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

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

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

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

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

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

  .c7ba9e89a 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);
}
