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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.c0ef46ee4 {
  margin-top: 40px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.c476413ca .c1594e877 {
  flex: 1;
}

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

.cc7f52df2 {
  color: #FFD600;
}

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

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

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

.c611c8e50 .c08414f03 {
  flex: 1;
  font-size: 0.95rem;
}

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

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

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

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

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

.c139dddac ul {
  list-style: none;
}

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

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

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

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

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

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

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

.c3d3e2f15 span {
  margin: 0 8px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.c480112a9.ca7f4092d .cd979b2d3 {
  display: block;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .c2cecc3aa.ca7f4092d {
    display: flex;
  }

  .cd8b22a47 {
    display: block;
  }

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

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

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

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

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

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

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

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

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