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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.cf18a21af {
  margin-top: 40px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.cbb4a0964 .ca2a4ce72 {
  flex: 1;
}

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

.c3ad1f0bd {
  color: #FFD600;
}

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

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

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

.c1bdf525d .c8be88e2d {
  flex: 1;
  font-size: 0.95rem;
}

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

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

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

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

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

.c95fcf5d1 ul {
  list-style: none;
}

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

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

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

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

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

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

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

.cd498f43f span {
  margin: 0 8px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.c15a34a45.c93d040d2 .c6949cd34 {
  display: block;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .c4141f50a.c93d040d2 {
    display: flex;
  }

  .ceb34c1d2 {
    display: block;
  }

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

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

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

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

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

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

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

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

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