/* AI 스포츠 분석기 — 라이트 테마 */
:root {
  --accent: #0088cc;
  --accent-soft: rgba(0, 136, 204, 0.08);
  --accent-line: rgba(0, 136, 204, 0.28);
  --accent-dark: #006699;
  --bg: #ffffff;
  --bg-soft: #f0f8ff;
  --bg-muted: #e8f4fc;
  --text: #1a2b3c;
  --text-muted: #5a7a94;
  --border: rgba(0, 136, 204, 0.12);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg) !important;
  color: var(--text);
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* Nav light */
.site-nav-bar {
  background: rgba(255, 255, 255, 0.92) !important;
  border-bottom: 1px solid var(--border) !important;
  backdrop-filter: blur(12px);
}

.nav-brand { color: var(--text) !important; }
.nav-brand img { filter: none !important; height: 48px !important; }
.nav-links { color: var(--text-muted) !important; }
.navlink:hover { color: var(--accent) !important; }
.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
}

@media (max-width: 768px) {
  .site-nav-bar { background: #fff !important; }
  .nav-menu { background: #fff !important; border-top: 1px solid var(--border) !important; }
  .nav-toggle { border-color: var(--border) !important; background: var(--bg-soft) !important; }
  .nav-toggle span { background: var(--text) !important; }
  .nav-backdrop { background: rgba(0, 40, 80, 0.25) !important; }
  .nav-links { color: var(--text) !important; }
  .nav-links .navlink {
    color: #1a2b3c !important;
    border-bottom-color: var(--border) !important;
  }
  .nav-links .navlink:hover,
  .nav-links .navlink:active {
    color: var(--accent) !important;
  }
  .nav-cta { color: #fff !important; }
}

/* Buttons */
.btnPrimary {
  background: var(--accent) !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 28px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 136, 204, 0.25);
}

.btnPrimary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 136, 204, 0.35);
}

.btnGhost {
  border: 1.5px solid var(--border) !important;
  color: var(--text) !important;
  font-weight: 600;
  font-size: 16px;
  padding: 15px 28px;
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.btnGhost:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
  background: var(--bg-soft);
}

/* Hero */
.sport-hero {
  position: relative;
  padding: 140px clamp(20px, 5vw, 64px) 80px;
  max-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
}

.sport-hero__glow {
  position: absolute;
  top: -120px;
  right: -180px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 136, 204, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.sport-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 136, 204, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 136, 204, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
  pointer-events: none;
}

.sport-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--accent-dark);
  background: var(--bg-soft);
  margin-bottom: 24px;
  font-weight: 600;
}

.sport-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
  animation: pulseDot 1.5s ease-in-out infinite;
}

.sport-hero h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 20px;
}

.sport-hero h1 .accent {
  color: var(--accent);
}

.sport-hero__lead {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 0 32px;
}

.sport-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  margin-top: 8px;
}

.sport-stat .num {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.sport-stat .lbl {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Hook banners */
.hook-banner {
  padding: 72px clamp(20px, 5vw, 64px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hook-banner--blue {
  background: linear-gradient(135deg, #0088cc 0%, #00a0e8 50%, #0066aa 100%);
  color: #fff;
}

.hook-banner--soft {
  background: var(--bg-soft);
}

.hook-banner h2 {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hook-banner p {
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
  opacity: 0.92;
  max-width: 640px;
  margin: 0 auto;
}

.hook-banner--blue p { opacity: 0.9; }

.hook-banner .sub {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 12px;
}

/* Features */
.sport-section {
  padding: 80px clamp(20px, 5vw, 64px);
  max-width: 1280px;
  margin: 0 auto;
}

.sport-section--muted {
  background: var(--bg-soft);
  max-width: none;
}

.sport-section--muted > .sport-section__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.sport-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 16px;
}

.sport-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--accent);
}

.sport-section h2 {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 0 16px;
  line-height: 1.15;
}

.sport-section .desc {
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 0 40px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 136, 204, 0.1);
  border-color: var(--accent-line);
}

.feature-card .icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
  line-height: 1.25;
}

.feature-card p {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

/* Phone showcase */
.phone-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.phone-showcase__copy h2 {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

.phone-showcase__copy h2 .accent { color: var(--accent); }

.phone-showcase__list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.phone-showcase__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--text-muted);
}

.phone-showcase__list li::before {
  content: "✓";
  flex: none;
  width: 22px;
  height: 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  margin-top: 2px;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  text-align: center;
  padding: 32px 20px;
}

.step-card .num {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin: 0 auto 16px;
}

.step-card h3 {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text);
}

.step-card p {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 22px;
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item[open] summary { color: var(--accent); }

.faq-item .faq-plus {
  font-size: 20px;
  color: var(--accent);
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-plus { transform: rotate(45deg); }

.faq-item .faq-body {
  padding: 0 22px 20px;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.7;
  color: var(--text-muted);
}

/* CTA */
.sport-cta {
  background: linear-gradient(160deg, #006699 0%, #0088cc 40%, #00a8e8 100%);
  padding: 80px clamp(20px, 5vw, 64px);
  text-align: center;
  color: #fff;
}

.sport-cta h2 {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.sport-cta p {
  font-size: clamp(16px, 1.5vw, 20px);
  opacity: 0.9;
  margin: 0 0 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.sport-cta .btnPrimary {
  background: #fff !important;
  color: var(--accent) !important;
  font-size: 18px;
  padding: 18px 36px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.sport-cta .btnPrimary img {
  filter: none;
}

/* Footer */
.sport-footer {
  border-top: 1px solid var(--border);
  padding: 48px clamp(20px, 5vw, 64px) 32px;
  max-width: 1280px;
  margin: 0 auto;
}

.sport-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

.sport-footer__brand {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.sport-footer p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

.sport-footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 12px;
  color: #8aa8be;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

/* Float CTA */
.float-telegram {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 90;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 22px;
  border-radius: 100px;
  box-shadow: 0 14px 34px rgba(0, 136, 204, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.float-telegram:hover { transform: translateY(-2px); }

/* Ticker */
.sport-ticker {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}

.sport-ticker span.sep { color: #c0d8e8; }

@media (max-width: 1024px) {
  .feature-grid,
  .steps-grid { grid-template-columns: 1fr; }
  .phone-showcase { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .sport-hero { padding: 108px 20px 48px; text-align: center; }
  .sport-hero__lead { margin-left: auto; margin-right: auto; }
  .sport-stats { justify-content: center; }
  .hero-actions { justify-content: center; }

  /* 섹션 전체 중앙정렬 */
  .sport-section,
  .sport-section--muted,
  .hook-banner,
  .sport-cta {
    text-align: center;
  }

  .sport-section .sport-eyebrow,
  .phone-showcase__copy .sport-eyebrow {
    justify-content: center;
    width: 100%;
  }

  .sport-section h2,
  .sport-section .desc,
  .phone-showcase__copy h2 {
    margin-left: auto;
    margin-right: auto;
  }

  .sport-section .desc {
    text-align: center;
  }

  /* 기능 카드 — 이모티콘·텍스트 중앙 */
  .feature-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .feature-card .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 14px;
  }

  .feature-card h3,
  .feature-card p {
    text-align: center;
    width: 100%;
  }

  /* 이용방법 카드 */
  .step-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .step-card h3,
  .step-card p {
    text-align: center;
  }

  /* 미리보기 리스트 중앙 */
  .phone-showcase { text-align: center; }

  .phone-showcase__list {
    align-items: center;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .phone-showcase__list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .phone-showcase__list li::before {
    margin: 0 auto;
  }

  .phone-showcase__copy .btnPrimary {
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  /* FAQ */
  .faq-item summary {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }

  .faq-item .faq-body {
    text-align: center;
  }

  /* 푸터 중앙정렬 */
  .sport-footer {
    text-align: center;
    padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
  }

  .sport-footer__top {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 28px;
  }

  .sport-footer__top > div {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sport-footer__top > div > div {
    align-items: center !important;
    text-align: center;
  }

  .sport-footer__brand {
    text-align: center;
  }

  .sport-footer p {
    text-align: center;
  }

  .sport-footer__bottom {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
  }

  /* 하단 고정 텔레그램 버튼 */
  #dc-root {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }

  .float-telegram {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    border-radius: 0;
    justify-content: center;
    padding: 16px 20px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    font-size: 16px;
    z-index: 10005;
    box-shadow: 0 -6px 28px rgba(0, 136, 204, 0.3);
  }

  .float-telegram:hover {
    transform: none;
  }

  .float-telegram img {
    width: 24px;
    height: 24px;
  }
}
