/* ============================================================
   대영티켓 — 다크 프리미엄 디자인
   원본(별티켓: 화이트+블루 단순 레이아웃)과 전혀 다른 방향
   ============================================================ */

:root {
  --bg: #0a0d14;
  --bg-soft: #0f1420;
  --bg-card: #131a28;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #eef1f7;
  --text-dim: #9aa5b8;
  --text-faint: #66718a;
  --gold: #f0b64c;
  --gold-2: #e98d3d;
  --gold-grad: linear-gradient(135deg, #f7cd7a 0%, #f0b64c 40%, #e07f2e 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo",
    "Noto Sans KR", "Malgun Gothic", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

.container {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
}
.container--narrow { width: min(820px, 100% - 48px); }
.only-lg { display: inline; }
@media (max-width: 640px) { .only-lg { display: none; } }

/* ---------- 헤더 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  padding: 10px 0;
  background: rgba(10, 13, 20, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--gold-grad);
  color: #1a1204;
  box-shadow: 0 6px 18px rgba(240, 182, 76, 0.35);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-name span { color: var(--gold); }
.brand-name { white-space: nowrap; }

.site-nav {
  display: flex;
  gap: 28px;
  margin-inline: auto;
}
.site-nav a {
  color: var(--text-dim);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-grad);
  transition: width 0.25s ease;
}
.site-nav a:hover { color: var(--text); }
.site-nav a:hover::after { width: 100%; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--gold-grad);
  color: #1a1204;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 6px 20px rgba(240, 182, 76, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.header-cta svg { width: 16px; height: 16px; }
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(240, 182, 76, 0.4); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(300px, 80vw);
    flex-direction: column;
    gap: 8px;
    padding: 90px 28px 30px;
    background: rgba(15, 20, 32, 0.97);
    backdrop-filter: blur(18px);
    border-left: 1px solid var(--line);
    margin: 0;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .site-nav.open { transform: translateX(0); }
  .site-nav a { font-size: 1.05rem; padding: 10px 0; }
  .nav-toggle { display: flex; }
  .header-cta { margin-left: auto; }
}

/* ---------- 히어로 ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 160px 0 120px;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(240, 182, 76, 0.12), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(60, 90, 200, 0.10), transparent 60%),
    linear-gradient(180deg, #0a0d14 0%, #0c1019 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
}
.hero-glow--a {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
  background: rgba(240, 182, 76, 0.16);
  animation: float 9s ease-in-out infinite;
}
.hero-glow--b {
  width: 360px;
  height: 360px;
  bottom: -140px;
  left: -100px;
  background: rgba(88, 101, 242, 0.14);
  animation: float 11s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-26px); }
}

.hero-inner { position: relative; z-index: 2; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  backdrop-filter: blur(8px);
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(240, 182, 76, 0.18);
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.3rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.grad-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-sub {
  color: var(--text-dim);
  font-size: clamp(1rem, 2vw, 1.15rem);
  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--gold-grad);
  color: #1a1204;
  box-shadow: 0 12px 34px rgba(240, 182, 76, 0.32);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 42px rgba(240, 182, 76, 0.45); }
.tel-num { font-weight: 800; letter-spacing: 0.02em; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-strong);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.09); }

.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-faint);
  font-size: 0.9rem;
  flex-wrap: wrap;
}
.hero-meta strong { color: var(--text); }
.meta-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-faint);
}

/* ---------- 신뢰 지표 ---------- */
.stats {
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 44px 24px;
  text-align: center;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; }
.stat-num {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 6px;
}
.stat-label { color: var(--text-dim); font-size: 0.92rem; }

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(4) { border-top: 1px solid var(--line); }
  .stat { padding: 32px 16px; }
}

/* ---------- 섹션 공통 ---------- */
.section { padding: 110px 0; }
.section--alt { background: var(--bg-soft); }
.section-head { text-align: center; margin-bottom: 60px; }
.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin-bottom: 14px;
}
.section-desc { color: var(--text-dim); }

/* ---------- 취급 상품권 ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.gcard {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 34px 20px 30px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  text-align: center;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.gcard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(240px 120px at 50% -20%, rgba(240, 182, 76, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gcard:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 182, 76, 0.4);
  box-shadow: var(--shadow);
}
.gcard:hover::before { opacity: 1; }
.gcard-ico {
  position: relative;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  background: linear-gradient(135deg, #4a5fc4, #6c7ee0);
  box-shadow: 0 10px 24px rgba(74, 95, 196, 0.35);
}
.gcard:nth-child(2) .gcard-ico { background: linear-gradient(135deg, #d97e34, #f0b64c); box-shadow: 0 10px 24px rgba(240, 182, 76, 0.3); }
.gcard:nth-child(3) .gcard-ico { background: linear-gradient(135deg, #2f8f6b, #4cc9a0); box-shadow: 0 10px 24px rgba(76, 201, 160, 0.3); }
.gcard:nth-child(4) .gcard-ico { background: linear-gradient(135deg, #a05fc4, #c98ae0); box-shadow: 0 10px 24px rgba(201, 138, 224, 0.3); }
.gcard:nth-child(5) .gcard-ico { background: linear-gradient(135deg, #c44f4f, #e07a6c); box-shadow: 0 10px 24px rgba(224, 122, 108, 0.3); }
.gcard:nth-child(6) .gcard-ico { background: linear-gradient(135deg, #3f7fc9, #6caee0); box-shadow: 0 10px 24px rgba(108, 174, 224, 0.3); }
.gcard:nth-child(7) .gcard-ico { background: linear-gradient(135deg, #c98a3d, #e8b95c); box-shadow: 0 10px 24px rgba(232, 185, 92, 0.3); }
.gcard:nth-child(8) .gcard-ico { background: linear-gradient(135deg, #3d9ec9, #6cd0e0); box-shadow: 0 10px 24px rgba(108, 208, 224, 0.3); }
.gcard:nth-child(9) .gcard-ico { background: linear-gradient(135deg, #c4578a, #e07cae); box-shadow: 0 10px 24px rgba(224, 124, 174, 0.3); }
.gcard:nth-child(10) .gcard-ico { background: linear-gradient(135deg, #5f6cc4, #8a96e0); box-shadow: 0 10px 24px rgba(138, 150, 224, 0.3); }

.gcard--more {
  border-style: dashed;
  border-color: var(--line-strong);
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.5;
  cursor: default;
}
.gcard--more .gcard-ico {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
  color: var(--gold);
  font-size: 1.6rem;
}

/* ---------- 이용 방법 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 36px 28px 32px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.step:hover { transform: translateY(-5px); border-color: rgba(240, 182, 76, 0.35); }
.step-num {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.step-num::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
}
.step h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--text-dim); font-size: 0.92rem; }

@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- 안심 상담 ---------- */
.trust-card {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  padding: clamp(32px, 5vw, 64px);
  border-radius: 28px;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(240, 182, 76, 0.08), transparent 60%),
    linear-gradient(160deg, #141b2b, #101624);
  border: 1px solid var(--line);
}
.trust-left .section-title { margin-bottom: 0; }
.trust-right { display: grid; gap: 22px; }
.trust-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  transition: border-color 0.25s ease, background 0.25s ease;
}
.trust-item:hover { border-color: rgba(240, 182, 76, 0.3); background: rgba(255, 255, 255, 0.05); }
.trust-ico {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--gold-grad);
  color: #1a1204;
}
.trust-ico svg { width: 22px; height: 22px; }
.trust-item h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 4px; }
.trust-item p { color: var(--text-dim); font-size: 0.9rem; }

@media (max-width: 900px) {
  .trust-card { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- 안전 고지 ---------- */
.notice { padding: 34px 0; }
.notice-inner {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 24px 30px;
  border-radius: var(--radius);
  background: rgba(240, 182, 76, 0.06);
  border: 1px solid rgba(240, 182, 76, 0.22);
}
.notice-ico {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(240, 182, 76, 0.14);
  color: var(--gold);
}
.notice-ico svg { width: 24px; height: 24px; }
.notice h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 4px; }
.notice p { color: var(--text-dim); font-size: 0.9rem; }
.notice p strong { color: var(--text); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.faq-item.open { border-color: rgba(240, 182, 76, 0.4); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  background: none;
  border: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.faq-q svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--text-faint);
  transition: transform 0.3s ease, color 0.3s ease;
}
.faq-item.open .faq-q svg { transform: rotate(180deg); color: var(--gold); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a p {
  padding: 0 26px 24px;
  color: var(--text-dim);
  font-size: 0.94rem;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
  background:
    radial-gradient(700px 400px at 50% 120%, rgba(240, 182, 76, 0.16), transparent 65%),
    linear-gradient(180deg, var(--bg), #0d0f16);
}
.cta-inner { text-align: center; }
.cta h2 {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.cta p { color: var(--text-dim); margin-bottom: 34px; }
.cta-inner .hero-actions { justify-content: center; margin-bottom: 0; }
.cta-meta { margin-top: 26px; font-size: 0.92rem; color: var(--text-faint); }
.cta-meta strong { color: var(--text); }

/* ---------- 푸터 ---------- */
.site-footer {
  background: #080a10;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding: 64px 0 48px;
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--text-faint); font-size: 0.92rem; }
.footer-info h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.footer-info li {
  color: var(--text-dim);
  font-size: 0.93rem;
  padding: 5px 0;
}
.footer-info li a { color: var(--gold); }
.footer-info li strong { color: var(--text); }
.footer-legal {
  grid-column: 1 / -1;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--text-faint);
  font-size: 0.82rem;
  line-height: 1.7;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-faint);
  font-size: 0.85rem;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--gold); }

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 40px; }
}

/* ---------- 리빌 애니메이션 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
