/* 두리안티비 — 스포츠중계 정보 가이드 · 공통 스타일 */
:root {
  --bg: #0b0f0d;
  --bg-soft: #111714;
  --bg-card: #151d19;
  --bg-card-hover: #1a241f;
  --line: #243029;
  --line-soft: #1c2620;
  --text: #eef4f0;
  --text-soft: #b9c6be;
  --text-dim: #8a998f;
  --accent: #7ee08a;
  --accent-deep: #2f9e4f;
  --accent-soft: rgba(126, 224, 138, 0.12);
  --gold: #e8c766;
  --radius: 14px;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Segoe UI", "Malgun Gothic", "맑은 고딕", Roboto, "Noto Sans KR", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  word-break: keep-all;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 13, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand .brand-name { font-size: 1rem; }
.brand .brand-domain {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
}
.main-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 600;
}
.main-nav a:hover { background: var(--bg-card); color: var(--text); text-decoration: none; }
.main-nav a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: 0.08em;
}
.nav-toggle:hover { background: var(--bg-card-hover); }

/* ---------- 히어로 ---------- */
.hero {
  padding: 72px 0 48px;
  background:
    radial-gradient(700px 320px at 85% -10%, rgba(126, 224, 138, 0.10), transparent 60%),
    radial-gradient(500px 260px at 5% 110%, rgba(232, 199, 102, 0.06), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line-soft);
}
.breadcrumb {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.breadcrumb a { color: var(--text-soft); }
.breadcrumb span::before { content: "›"; margin: 0 8px; color: var(--line); }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(126, 224, 138, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 18px;
}
.hero h1 .accent { color: var(--accent); }
.hero .lead {
  max-width: 720px;
  color: var(--text-soft);
  font-size: 1.05rem;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.chip {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-soft);
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 7px 16px;
  border-radius: 999px;
}
.chip.on { color: var(--accent); border-color: rgba(126, 224, 138, 0.4); background: var(--accent-soft); }

/* ---------- 섹션 공통 ---------- */
main section { padding: 64px 0; border-bottom: 1px solid var(--line-soft); }
main section:last-of-type { border-bottom: none; }

.section-head { max-width: 760px; margin-bottom: 36px; }
.section-tag {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.section-head .desc { margin-top: 14px; color: var(--text-soft); }

.prose p { color: var(--text-soft); margin-bottom: 1.1em; max-width: 860px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--text); }

/* ---------- 카드 그리드 ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 22px;
  color: var(--text);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(126, 224, 138, 0.35);
  text-decoration: none;
  transform: translateY(-2px);
}
.card .num {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 12px;
}
.card h3 { font-size: 1.08rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.card p { font-size: 0.92rem; color: var(--text-soft); line-height: 1.65; }

/* ---------- 번호 기사 목록 ---------- */
.intent-list { display: grid; gap: 16px; }
.intent-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px;
}
.intent-item .big-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}
.intent-item h3 { font-size: 1.15rem; margin-bottom: 10px; }
.intent-item p { color: var(--text-soft); font-size: 0.95rem; margin-bottom: 0.8em; }
.intent-item p:last-child { margin-bottom: 0; }

/* ---------- 스포츠 종목 기사 ---------- */
.sport-article {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 34px 30px;
  margin-bottom: 20px;
}
.sport-article .sport-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 18px;
  margin-bottom: 20px;
}
.sport-article .sport-num { font-size: 1.4rem; font-weight: 800; color: var(--accent); }
.sport-article h2 { font-size: 1.35rem; letter-spacing: -0.01em; }
.sport-article .leagues {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.sport-article p { color: var(--text-soft); margin-bottom: 1em; }
.check-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.check-chips span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(126, 224, 138, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
}
.check-chips span::before { content: "✓ "; }

/* ---------- 서브 토픽 (h3 + 단락) ---------- */
.topic-list { display: grid; gap: 8px; }
.topic { padding: 26px 0; border-top: 1px solid var(--line-soft); }
.topic:first-child { border-top: none; padding-top: 0; }
.topic h3 {
  font-size: 1.12rem;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.topic h3::before { content: "—"; color: var(--accent); margin-right: 10px; }
.topic p { color: var(--text-soft); margin-bottom: 0.9em; font-size: 0.97rem; }
.topic p:last-child { margin-bottom: 0; }

/* ---------- 체크리스트 박스 ---------- */
.check-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}
.check-list li {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--accent-deep);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text);
}

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.faq-item h3 {
  font-size: 1.02rem;
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: baseline;
  letter-spacing: -0.01em;
}
.faq-item h3 .qnum { color: var(--accent); font-size: 0.85rem; font-weight: 800; letter-spacing: 0.08em; }
.faq-item .answer { color: var(--text-soft); font-size: 0.95rem; padding-left: 56px; }

/* ---------- 노트 / 강조 박스 ---------- */
.note-box {
  background: linear-gradient(135deg, rgba(126, 224, 138, 0.10), rgba(232, 199, 102, 0.06));
  border: 1px solid rgba(126, 224, 138, 0.3);
  border-radius: var(--radius);
  padding: 30px;
  margin-top: 40px;
}
.note-box .section-tag { margin-bottom: 10px; }
.note-box h2 { font-size: 1.25rem; margin-bottom: 12px; }
.note-box p { color: var(--text-soft); }

/* ---------- 문의 이메일 ---------- */
.email-box {
  background: var(--bg-card);
  border: 1px dashed rgba(126, 224, 138, 0.45);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  margin-top: 28px;
}
.email-box .label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.email-box a {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

/* ---------- 푸터 ---------- */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  padding: 48px 0 36px;
}
.site-footer .foot-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.site-footer .foot-brand { display: flex; gap: 14px; align-items: flex-start; max-width: 460px; }
.site-footer .foot-brand img { width: 46px; height: 46px; border-radius: 12px; }
.site-footer .foot-title {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 6px;
}
.site-footer .foot-desc { font-size: 0.88rem; color: var(--text-dim); }
.foot-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-nav a { color: var(--text-soft); font-size: 0.9rem; font-weight: 600; }
.foot-nav a:hover { color: var(--accent); }
.copyright {
  border-top: 1px solid var(--line-soft);
  padding-top: 22px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ---------- 반응형 ---------- */
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 18px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 12px 14px; border-radius: 10px; font-size: 1rem; }
  .hero { padding: 52px 0 40px; }
  main section { padding: 48px 0; }
  .intent-item { grid-template-columns: 1fr; gap: 8px; padding: 22px; }
  .sport-article { padding: 24px 20px; }
  .faq-item h3 { grid-template-columns: 34px 1fr; }
  .faq-item .answer { padding-left: 46px; }
  .brand .brand-domain { display: none; }
}

/* ---------- 접근성: 건너뛰기 링크 & 포커스 ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: #0b0f0d;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
