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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.c5b28bd40 {
  margin-top: 40px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.c71accda5 .c2d3fd909 {
  flex: 1;
}

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

.cb26c2ed5 {
  color: #FFD600;
}

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

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

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

.c479fe5b3 .cdc764f06 {
  flex: 1;
  font-size: 0.95rem;
}

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

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

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

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

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

.cb8424b2f ul {
  list-style: none;
}

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

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

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

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

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

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

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

.cc4ee7edc span {
  margin: 0 8px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.ccf968519.cbd543d08 .c93e8bb9b {
  display: block;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .c59d86fc1.cbd543d08 {
    display: flex;
  }

  .cff98300a {
    display: block;
  }

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

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

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

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

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

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

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

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

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