:root {
  --primary: #00f0ff;
  --secondary: #7b2fff;
  --accent: #ff3c6e;
  --bg-dark: #0a0a0f;
  --bg-card: #111118;
  --bg-card2: #16161f;
  --text: #e8e8f0;
  --text-muted: #7a7a9a;
  --border: rgba(0, 240, 255, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Pretendard', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 3px; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 6%;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.logo {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--text-muted); text-decoration: none; font-size: .95rem;
  transition: color .25s, text-shadow .25s;
  position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; border-radius: 2px;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary), 0 0 20px rgba(0,240,255,.4);
  transform: scaleX(0);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active {
  color: var(--primary);
  text-shadow: 0 0 14px rgba(0,240,255,.55);
}
.nav-links a.active::after { transform: scaleX(1); }
.nav-event-badge {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,160,0,.1);
  border: 1px solid rgba(255,160,0,.3);
  font-size: .82rem; color: #ffa500; white-space: nowrap;
}
.nav-event-badge strong { font-weight: 800; }
.viewer-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 6px var(--primary);
  animation: blink 1.4s infinite;
}
.nav-cta {
  padding: 10px 24px; border-radius: 8px; border: none; cursor: pointer;
  font-weight: 700; font-size: .9rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #000; transition: opacity .2s, transform .15s;
}
.nav-cta:hover { opacity: .85; transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; text-align: center;
  padding: 120px 6% 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -30% -5%;
  background:
    radial-gradient(ellipse 170% 45% at 38% 32%, rgba(0,255,90,0.26)  0%, transparent 60%),
    radial-gradient(ellipse 110% 32% at 65% 22%, rgba(30,255,140,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 80%  28% at 20% 28%, rgba(0,200,100,0.20)  0%, transparent 50%),
    radial-gradient(ellipse 70%  30% at 80% 28%, rgba(0,220,255,0.13)  0%, transparent 52%),
    radial-gradient(ellipse 55%  38% at 88% 38%, rgba(140,50,255,0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50%  35% at 8%  42%, rgba(100,30,220,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 90%  55% at 50% 55%, rgba(0,60,25,0.07)    0%, transparent 70%);
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
  animation: auroraFloat 22s ease-in-out infinite;
  will-change: transform;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0px, transparent 3px, rgba(0,255,100,0.018) 3px, rgba(0,255,100,0.018) 4px),
    linear-gradient(to bottom, transparent 0%, transparent 42%, rgba(4,8,15,0.75) 62%, #04080f 80%);
  pointer-events: none;
  z-index: 0;
}
@keyframes auroraFloat {
  0%,100% { transform: translate(0%,  0%)   scale(1.00); opacity: 0.90; }
  25%      { transform: translate(2%,  -3%)  scale(1.03); opacity: 1.00; }
  50%      { transform: translate(-1%, 2%)   scale(1.01); opacity: 0.85; }
  75%      { transform: translate(-2%, -1%)  scale(1.02); opacity: 0.95; }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0,10,20,0.75);
  backdrop-filter: blur(10px);
  font-size: .8rem; color: var(--primary); margin-bottom: 28px;
  letter-spacing: .5px; text-transform: uppercase;
}
.hero-badge span { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); animation: blink 1.4s infinite; }
@keyframes blink { 0%,100%{opacity:1}50%{opacity:.2} }
@keyframes spin { to { transform: rotate(360deg); } }
h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -1px; margin-bottom: 24px;
}
h1 .grad {
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p {
  max-width: 580px; font-size: 1.15rem; color: var(--text-muted);
  line-height: 1.7; margin-bottom: 40px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.btn-primary {
  padding: 14px 36px; border-radius: 10px; border: none; cursor: pointer;
  font-weight: 700; font-size: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #000; transition: transform .15s, box-shadow .2s;
  box-shadow: 0 0 30px rgba(0,240,255,.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 50px rgba(0,240,255,.5); }
.btn-outline {
  padding: 14px 36px; border-radius: 10px; cursor: pointer;
  font-weight: 700; font-size: 1rem;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text); transition: border-color .2s, color .2s;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* stats row */
.stats {
  display: flex; gap: 48px; margin-top: 72px; flex-wrap: wrap; justify-content: center;
}
.stat { text-align: center; }
.stat-num {
  font-size: 2.2rem; font-weight: 900;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { font-size: .82rem; color: var(--text-muted); margin-top: 4px; letter-spacing: .5px; }

/* ── SECTION SHARED ── */
section { padding: 140px 6%; }

/* 섹션 간 자연스러운 전환 */
section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
  z-index: 10;
}
section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, transparent, var(--bg));
  pointer-events: none;
  z-index: 10;
}
.section-tag {
  display: inline-block; padding: 4px 14px; border-radius: 999px;
  background: rgba(123,47,255,.15); border: 1px solid rgba(123,47,255,.35);
  font-size: .78rem; color: var(--secondary); text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800; line-height: 1.15; margin-bottom: 16px;
}
.section-sub { color: var(--text-muted); max-width: 520px; line-height: 1.7; }
.center { text-align: center; }
.center .section-sub { margin: 0 auto; }

/* ══════════════════════════════════════
   PEEK CAROUSEL — 공통
══════════════════════════════════════ */
.peek-outer {
  overflow: hidden;
  position: relative;
}
#gameOuter {
  overflow-x: clip;
  overflow-y: visible;
}
.peek-track {
  display: flex;
  gap: 20px;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
  will-change: transform;
  cursor: grab;
  user-select: none;
}
.peek-track:active { cursor: grabbing; }

/* ── 공통 컨트롤 ── */
.slider-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin-top: 28px;
}
.slider-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-card2); border: 1px solid var(--border);
  color: var(--text); font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, background .2s, transform .15s;
}
.slider-arrow:hover { border-color: var(--primary); background: rgba(0,240,255,.08); transform: scale(1.08); }
.slider-dots { display: flex; gap: 8px; align-items: center; }
.slider-dot {
  width: 8px; height: 8px; border-radius: 99px;
  background: rgba(255,255,255,.15); border: none; cursor: pointer; padding: 0;
  transition: width .3s, background .3s;
}
.slider-dot.active { width: 24px; background: var(--primary); }
.slider-counter { font-size: .8rem; color: var(--text-muted); min-width: 40px; text-align: center; }

/* ══════════════════════════════════════
   SERVICES SLIDER
══════════════════════════════════════ */
#services { background: var(--bg-card); }
#services::before, #services::after { display: none; }
.hero::before, .hero::after { content: none; }
.section-bg-blur {
  position: absolute;
  inset: -20px;
  background-size: cover;
  background-position: center;
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}
.service-slider-wrap { margin-top: 56px; }
.service-card {
  flex-shrink: 0;
  width: 68%;
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 340px; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: var(--bg-card2);
  opacity: 1; transform: scale(1);
  transition: opacity .45s, transform .45s, border-color .45s;
  cursor: pointer;
}
.service-card.active {
  opacity: 1; transform: scale(1);
  border-color: var(--sc-color, var(--border));
  box-shadow: 0 0 60px -10px var(--sc-glow, transparent), 0 0 0 1.5px var(--sc-color, var(--border));
}
.service-card-left {
  padding: 52px 48px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.service-card-left::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 80% at 0% 50%, var(--sc-glow), transparent 70%);
  pointer-events: none;
}
.service-card-right {
  display: flex; align-items: center; justify-content: center;
  font-size: 6.5rem; position: relative; overflow: hidden;
}
.service-card-right::before {
  content: ''; position: absolute; inset: 0;
  background: var(--sc-bg);
}
.service-card-right .sc-emoji {
  position: relative; z-index: 1;
  filter: drop-shadow(0 0 40px var(--sc-shadow));
  animation: float-icon 3s ease-in-out infinite;
}
@keyframes float-icon {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.sc-num {
  font-size: .72rem; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: var(--sc-color);
  margin-bottom: 14px; opacity: .65;
}
.service-card h3 { font-size: 1.9rem; font-weight: 900; line-height: 1.15; margin-bottom: 14px; letter-spacing: -.5px; }
.service-card p { font-size: .95rem; color: var(--text-muted); line-height: 1.7; max-width: 360px; }
.sc-tag {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px; padding: 6px 14px; border-radius: 999px;
  background: var(--sc-tag-bg); border: 1px solid var(--sc-tag-border);
  font-size: .78rem; font-weight: 600; color: var(--sc-color);
}

/* ══════════════════════════════════════
   GAMES PEEK CAROUSEL
══════════════════════════════════════ */
.games-carousel-wrap { margin-top: 40px; padding: 12px 0; overflow: visible; }
.game-card {
  flex-shrink: 0;
  width: 340px;
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: var(--bg-card2);
  opacity: .45; transform: scale(.93);
  transition: opacity .4s, transform .4s, border-color .4s, box-shadow .4s;
  cursor: pointer;
}
.game-card.active {
  opacity: 1; transform: scale(1);
  box-shadow: 0 16px 48px rgba(0,0,0,.5);
}

/* icon colors */
.icon-cyan { background: rgba(0,240,255,.12); }
.icon-purple { background: rgba(123,47,255,.15); }
.icon-pink { background: rgba(255,60,110,.12); }
.icon-green { background: rgba(0,255,170,.1); }
.icon-orange { background: rgba(255,160,0,.12); }
.icon-blue { background: rgba(30,130,255,.12); }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 20px;
}

/* ── HOW IT WORKS ── */
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0; margin-top: 64px; position: relative;
}
.step {
  padding: 32px 28px; text-align: center; position: relative;
}
.step:not(:last-child)::after {
  content: '→';
  position: absolute; right: -4px; top: 50%;
  transform: translateY(-50%);
  color: var(--border); font-size: 1.6rem;
}
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.1rem; color: #000;
  margin: 0 auto 18px;
}
.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: .87rem; color: var(--text-muted); line-height: 1.6; }

/* ── HOW REMOTE ── */
.how-remote-wrap { margin-top: 40px; }
.remote-highlight {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 12px;
  padding: 40px 32px;
  background: linear-gradient(135deg, rgba(123,47,255,.1), rgba(0,240,255,.07));
  border: 1px solid rgba(123,47,255,.35);
  border-radius: 20px;
}
.remote-icon { font-size: 2.8rem; }
.remote-title { font-size: 1.3rem; font-weight: 800; }
.remote-desc { font-size: .95rem; color: var(--text-muted); max-width: 520px; line-height: 1.7; }
.remote-notice {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 40px; padding: 16px 28px;
  background: rgba(0,240,255,.05);
  border: 1px solid rgba(0,240,255,.15);
  border-radius: 12px; font-size: .9rem; color: var(--text-muted);
  text-align: center; flex-wrap: wrap;
}
.remote-notice strong { color: var(--primary); }

/* ── FEATURES ── */
#features { background: var(--bg-card); }
.features-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center; margin-top: 56px;
}
.feature-list { display: flex; flex-direction: column; gap: 24px; }
.feature-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; border-radius: 12px;
  border: 1px solid transparent;
  transition: border-color .2s, background .2s;
  cursor: default;
}
.feature-item:hover {
  border-color: var(--border);
  background: rgba(0,240,255,.04);
}
.feature-icon {
  min-width: 44px; height: 44px; border-radius: 10px;
  background: rgba(0,240,255,.1);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.feature-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.feature-item p { font-size: .87rem; color: var(--text-muted); line-height: 1.6; }
.fps-display {
  background: var(--bg-card2); border: 1px solid var(--border);
  border-radius: 20px; padding: 36px; position: relative; overflow: hidden;
}
.fps-display::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,240,255,.08), transparent);
}
.fps-label { font-size: .8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.fps-num {
  font-size: 5rem; font-weight: 900; line-height: 1;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin: 8px 0 4px;
}
.fps-sub { color: var(--text-muted); font-size: .85rem; margin-bottom: 28px; }
.bar-row { margin-bottom: 14px; }
.bar-label { display: flex; justify-content: space-between; font-size: .8rem; color: var(--text-muted); margin-bottom: 6px; }
.bar-bg { height: 8px; background: rgba(255,255,255,.06); border-radius: 99px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 99px; }
.bar-cyan { background: linear-gradient(90deg, var(--primary), #00c8d8); }
.bar-purple { background: linear-gradient(90deg, var(--secondary), #a060ff); }
.bar-pink { background: linear-gradient(90deg, var(--accent), #ff6e8a); }

/* ── PRICING ── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px; margin-top: 56px;
}
.price-card {
  background: var(--bg-card2); border: 1px solid var(--border);
  border-radius: 20px; padding: 40px 32px;
  transition: transform .25s, box-shadow .25s;
}
.price-card:hover { transform: translateY(-6px); }
.price-card.popular {
  border-color: var(--primary);
  box-shadow: 0 0 60px rgba(0,240,255,.12);
  position: relative;
}
.popular-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 4px 20px; border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  font-size: .75rem; font-weight: 700; color: #000; white-space: nowrap;
}
.plan-icon { font-size: 2rem; margin-bottom: 12px; }
.plan-name { font-size: .85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.plan-price { font-size: 3rem; font-weight: 900; line-height: 1; margin-bottom: 6px; }
.plan-price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.plan-desc { font-size: .88rem; color: var(--text-muted); margin-bottom: 28px; line-height: 1.5; }
.plan-features { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 12px; }
.plan-features li { font-size: .9rem; display: flex; gap: 10px; align-items: center; }
.plan-features li::before { content: '✓'; color: var(--primary); font-weight: 700; min-width: 16px; }
.plan-features li.off { color: var(--text-muted); }
.plan-features li.off::before { content: '✕'; color: var(--text-muted); }
.btn-plan {
  width: 100%; padding: 13px; border-radius: 10px; cursor: pointer;
  font-weight: 700; font-size: .95rem; transition: opacity .2s, transform .15s;
}
.btn-plan-outline { background: transparent; border: 1.5px solid var(--border); color: var(--text); }
.btn-plan-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-plan-filled {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none; color: #000;
  box-shadow: 0 0 30px rgba(0,240,255,.25);
}
.btn-plan-filled:hover { opacity: .88; transform: translateY(-1px); }

/* ── TESTIMONIALS ── */
#reviews { background: var(--bg-card); }
.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; margin-top: 56px;
}
.review-card {
  background: var(--bg-card2); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
  transition: border-color .2s;
}
.review-card:hover { border-color: rgba(123,47,255,.4); }
.stars { color: #ffc840; font-size: 1rem; margin-bottom: 14px; }
.review-text { font-size: .92rem; line-height: 1.7; color: var(--text); margin-bottom: 20px; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .95rem; color: #000;
}
.reviewer-info strong { display: block; font-size: .9rem; }
.reviewer-info span { font-size: .8rem; color: var(--text-muted); }

/* ── LAUNCH EVENT ── */
.launch-section {
  background: var(--bg-card);
  padding: 140px 6%;
}
.launch-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: start;
}
.launch-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; border-radius: 999px;
  background: rgba(255,160,0,.1); border: 1px solid rgba(255,160,0,.3);
  font-size: .78rem; font-weight: 700; color: #ffa500;
  text-transform: uppercase; letter-spacing: .5px; margin-bottom: 20px;
}
.launch-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900; line-height: 1.15; margin-bottom: 16px;
}
.launch-title span {
  background: linear-gradient(90deg, #ffa500, #ff3c6e);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.launch-desc { font-size: .95rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 28px; }
.launch-desc strong { color: var(--text); }
.launch-slots { margin-bottom: 32px; }
.slot-bar-wrap {
  height: 8px; background: rgba(255,255,255,.08);
  border-radius: 99px; overflow: hidden; margin-bottom: 10px;
}
.slot-bar-fill {
  height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, #ffa500, #ff3c6e);
  transition: width 1.2s ease;
}
.slot-text { font-size: .85rem; color: var(--text-muted); }
.slot-text strong { color: #ffa500; font-size: 1rem; }
.launch-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.launch-right { padding: 32px; background: var(--bg-card2); border: 1px solid var(--border); border-radius: 20px; }
.launch-guarantee-title { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 24px; }
.guarantee-list { display: flex; flex-direction: column; gap: 22px; }
.guarantee-item { display: flex; gap: 16px; align-items: flex-start; }
.g-icon {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  background: rgba(0,240,255,.08); border: 1px solid rgba(0,240,255,.12);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.guarantee-item strong { display: block; font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.guarantee-item p { font-size: .83rem; color: var(--text-muted); line-height: 1.6; }

/* ── FAQ ── */
.faq-section { padding: 140px 6%; }
.faq-list { max-width: 760px; margin: 48px auto 0; display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,.07); }
.faq-item:first-child { border-top: 1px solid rgba(255,255,255,.07); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 4px; gap: 16px; text-align: left;
  color: var(--text); font-size: 1rem; font-weight: 600;
  font-family: 'Pretendard', sans-serif; transition: color .2s;
}
.faq-q:hover, .faq-q.open { color: var(--primary); }
.faq-arrow { font-size: 1rem; color: var(--text-muted); flex-shrink: 0; transition: transform .3s; }
.faq-q.open .faq-arrow { transform: rotate(180deg); color: var(--primary); }
.faq-a {
  font-size: .9rem; color: var(--text-muted); line-height: 1.75;
  padding: 0 4px; max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .3s ease;
}
.faq-a.open { max-height: 300px; padding: 0 4px 22px; }
.faq-a strong { color: var(--text); }

/* ── CTA ── */
.cta-section {
  text-align: center; padding: 140px 6%;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(123,47,255,.18), transparent 70%),
    var(--bg-dark);
  border-top: 1px solid var(--border);
}
.cta-section h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; margin-bottom: 16px; }
.cta-section p { color: var(--text-muted); max-width: 480px; margin: 0 auto 40px; line-height: 1.7; }

/* ── FOOTER ── */
footer {
  background: var(--bg-card); border-top: 1px solid var(--border);
  padding: 60px 6% 32px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand p { color: var(--text-muted); font-size: .88rem; line-height: 1.7; margin-top: 12px; max-width: 260px; }
.footer-col h4 { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text-muted); text-decoration: none; font-size: .88rem; transition: color .2s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom span { font-size: .82rem; color: var(--text-muted); }

/* ══════════════════════════════════════
   HAMBURGER + MOBILE DRAWER
══════════════════════════════════════ */
.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none;
  width: 40px; height: 40px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform .3s, opacity .2s, width .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* full-screen side drawer */
.mobile-nav {
  display: none;
  position: fixed; inset: 0; z-index: 98;
  background: rgba(8,8,12,.98);
  backdrop-filter: blur(24px);
  flex-direction: column; justify-content: center;
  padding: 40px 8%;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav-close {
  position: absolute; top: 20px; right: 20px;
  background: none; border: 1px solid var(--border);
  color: var(--text); width: 40px; height: 40px;
  border-radius: 50%; font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.mobile-nav a {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.06);
  color: var(--text); text-decoration: none;
  font-size: 1.4rem; font-weight: 700; letter-spacing: -.3px;
  transition: color .2s, padding-left .2s;
}
.mobile-nav a:hover, .mobile-nav a:active { color: var(--primary); padding-left: 6px; }
.mobile-nav a .mn-icon { font-size: 1.2rem; width: 32px; text-align: center; }
.mobile-nav .mobile-cta {
  margin-top: 32px; width: 100%; padding: 18px;
  border-radius: 14px; border: none; cursor: pointer;
  font-weight: 800; font-size: 1.1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #000; letter-spacing: -.2px;
}
.mobile-nav-bottom {
  position: absolute; bottom: 32px; left: 8%; right: 8%;
  display: flex; align-items: center; justify-content: center;
  gap: 8px; font-size: .8rem; color: var(--text-muted);
}

/* ══════════════════════════════════════
   BOTTOM STICKY BAR (mobile only)
══════════════════════════════════════ */
.bottom-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 97;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(10,10,15,.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  gap: 10px;
}
.bottom-bar-kakao {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px;
  background: #FEE500; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.bottom-bar-cta {
  flex: 1; height: 52px; border-radius: 14px; border: none;
  cursor: pointer; font-weight: 800; font-size: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #000; letter-spacing: -.2px;
}

/* ══════════════════════════════════════
   TABLET (≤900px)
══════════════════════════════════════ */
@media (max-width: 900px) {
  section { padding: 100px 5%; }
  .launch-section { padding: 100px 5%; }
  .faq-section { padding: 100px 5%; }
  .cta-section { padding: 100px 5%; }

  .features-wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .step:not(:last-child)::after { display: none; }
  .steps { grid-template-columns: 1fr 1fr; gap: 24px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 560px; margin: 48px auto 0; }

  .launch-inner { gap: 36px; }
  .stats { gap: 32px; }
  .game-card { width: 260px; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

  .pay-modal { max-width: 680px; }
  .pay-modal-body { padding: 24px 28px 32px; }
  .pay-modal-left { padding-right: 22px; }
  .pay-modal-right { padding-left: 22px; }
  .pay-steps { padding: 24px 28px 0; }
}

@media (max-width: 750px) {
  section { padding: 80px 4%; }
  .launch-section { padding: 80px 4%; }
  .faq-section { padding: 80px 4%; }
  .cta-section { padding: 80px 4%; }

  .launch-inner { grid-template-columns: 1fr; gap: 28px; }
  .stats { gap: 20px; margin-top: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* ══════════════════════════════════════
   MOBILE (≤600px) — 완전히 다른 레이아웃
══════════════════════════════════════ */
@media (max-width: 600px) {

  /* 모바일 오로라 깜빡임 방지 */
  .hero::before { animation: none; }

  /* ── 기본 ── */
  body { padding-bottom: 80px; }
  section { padding: 72px 0; }
  .section-title { font-size: 1.65rem; line-height: 1.2; }
  .section-sub { font-size: .9rem; }
  .center { padding: 0 20px; }
  .fade-up { opacity: 1 !important; transform: none !important; }

  /* ── NAV ── */
  nav { padding: 0 16px; height: 56px; }
  .logo { font-size: 1.2rem; }
  .nav-links, .nav-cta { display: none; }
  .nav-event-badge { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .bottom-bar { display: flex; }
  .kakao-float { display: none !important; }

  /* ── HERO — 앱 스타일 풀스크린 ── */
  .hero {
    min-height: 100svh;
    padding: 80px 20px 100px;
    justify-content: flex-start;
    text-align: left;
    align-items: flex-start;
  }
  .hero::before {
    inset: -40% -5%;
    background:
      radial-gradient(ellipse 200% 50% at 40% 35%, rgba(0,255,90,0.22)  0%, transparent 60%),
      radial-gradient(ellipse 120% 35% at 65% 25%, rgba(30,255,140,0.15) 0%, transparent 55%),
      radial-gradient(ellipse 70%  40% at 85% 40%, rgba(140,50,255,0.13) 0%, transparent 55%),
      radial-gradient(ellipse 60%  35% at 10% 45%, rgba(100,30,220,0.10) 0%, transparent 55%);
    filter: blur(38px);
  }
  .hero-badge { font-size: .72rem; padding: 5px 12px; }
  .hero h1 { font-size: 2.6rem; letter-spacing: -1.5px; margin-bottom: 16px; }
  .hero p { font-size: .95rem; margin-bottom: 32px; max-width: 100%; }

  /* hero 버튼 */
  .hero-btns { flex-direction: column; width: 100%; gap: 10px; }
  .hero-btns .btn-primary { width: 100%; padding: 17px; font-size: 1rem; border-radius: 14px; }
  .hero-btns .btn-outline { width: 100%; padding: 17px; font-size: 1rem; border-radius: 14px; }

  /* hero 통계 — 수평 스크롤 pill */
  .stats {
    display: flex; flex-direction: row;
    gap: 10px; margin-top: 48px;
    overflow-x: auto; width: calc(100% + 40px); margin-left: -20px;
    padding: 4px 20px 8px; scrollbar-width: none;
  }
  .stats::-webkit-scrollbar { display: none; }
  .stat {
    flex-shrink: 0;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border);
    border-radius: 12px; padding: 10px 12px;
    min-width: 88px; text-align: center;
  }
  .stat-num { font-size: 1.25rem; }
  .stat-label { font-size: .65rem; margin-top: 2px; }

  /* ── SERVICES SLIDER — 모바일 ── */
  #services > .center { padding: 0 20px; }
  .service-slider-wrap { margin-top: 28px; }
  .service-card {
    grid-template-columns: 1fr;
    min-height: auto; border-radius: 16px;
  }
  .service-card-left { padding: 32px 24px 24px; }
  .service-card h3 { font-size: 1.5rem; }
  .service-card p { font-size: .9rem; }
  .service-card-right { display: none; }
  .slider-controls { margin-top: 20px; gap: 12px; }
  .slider-arrow { width: 40px; height: 40px; font-size: .9rem; }

  /* 게임 섹션 헤더 */
  .center.fade-up[style*="margin-top:72px"] { margin-top: 48px !important; padding: 0 20px; }

  /* ── GAMES 캐러셀 — 모바일 ── */
  .games-carousel-wrap { margin-top: 20px; }
  .game-card { width: 240px; }
  .game-thumb-wrap { height: 120px; }
  .game-body { padding: 14px; }
  .game-tips li { font-size: .8rem; }
  .game-stat strong { font-size: .9rem; }

  /* ── HOW IT WORKS — 세로 타임라인 ── */
  #how { padding: 52px 0; }
  #how > .center { padding: 0 20px; }
  .how-remote-wrap { padding: 0 20px; }
  .remote-highlight { padding: 24px 18px; border-radius: 16px; gap: 8px; }
  .remote-icon { font-size: 2rem; }
  .remote-title { font-size: 1.05rem; }
  .remote-desc { font-size: .85rem; }
  .steps {
    display: flex; flex-direction: column;
    gap: 0; margin-top: 32px;
    position: relative; padding: 0 20px;
  }
  /* 타임라인 세로 선 */
  .steps::before {
    content: '';
    position: absolute; left: calc(20px + 26px); top: 26px;
    bottom: 26px; width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: 2px;
  }
  .step {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 0 0 32px 0; text-align: left;
    position: relative;
  }
  .step:last-child { padding-bottom: 0; }
  .step-num {
    width: 52px; height: 52px; flex-shrink: 0;
    font-size: 1rem; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; color: #000; position: relative; z-index: 1;
  }
  .step h3 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; margin-top: 14px; }
  .step p { font-size: .83rem; color: var(--text-muted); line-height: 1.55; }
  .remote-notice { margin: 24px 20px 0; font-size: .8rem; padding: 12px 16px; border-radius: 10px; }

  /* ── FEATURES ── */
  #features { padding: 52px 0; background: var(--bg-card); }
  .features-wrap { padding: 0 20px; margin-top: 28px; gap: 24px; }
  .feature-list { gap: 6px; }
  .feature-item { padding: 14px; border-radius: 12px; background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.06); }
  .feature-item h4 { font-size: .9rem; }
  .feature-item p { font-size: .82rem; }
  /* FPS 디스플레이: 모바일에서 심플하게 */
  .fps-display { padding: 20px; border-radius: 16px; }
  .fps-num { font-size: 3.5rem; }
  .fps-sub { font-size: .78rem; margin-bottom: 20px; }
  .bar-label { font-size: .76rem; }

  /* ── PRICING — 수평 스와이프 캐러셀 ── */
  #pricing { padding: 52px 0; }
  #pricing > .center { padding: 0 20px; }
  .pricing-grid {
    display: flex; flex-direction: row; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 8px 20px 20px;
    scrollbar-width: none;
    margin-top: 28px;
  }
  .pricing-grid::-webkit-scrollbar { display: none; }
  .price-card {
    flex-shrink: 0; width: 280px;
    scroll-snap-align: center;
    padding: 28px 22px;
  }
  .price-card.popular { order: -1; }
  .plan-price { font-size: 2.4rem; }
  .plan-features li { font-size: .85rem; }

  /* ── REVIEWS — 수평 스와이프 ── */
  #reviews { padding: 52px 0; background: var(--bg-card); }
  #reviews > .center { padding: 0 20px; }
  .reviews-grid {
    display: flex; flex-direction: row; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 8px 20px 20px;
    scrollbar-width: none; margin-top: 28px;
  }
  .reviews-grid::-webkit-scrollbar { display: none; }
  .review-card {
    flex-shrink: 0; width: 280px;
    scroll-snap-align: center;
  }

  /* ── LAUNCH + FAQ — 모바일 ── */
  .launch-section { padding: 72px 0; }
  .launch-inner { grid-template-columns: 1fr; gap: 28px; padding: 0 20px; }
  .launch-title { font-size: 1.8rem; }
  .launch-btns { flex-direction: column; }
  .launch-btns .btn-primary, .launch-btns .btn-outline { width: 100%; padding: 16px; }
  .launch-right { padding: 20px; border-radius: 16px; }
  .faq-section { padding: 72px 0; }
  .faq-section > .center { padding: 0 20px; }
  .faq-list { margin: 28px 20px 0; }
  .faq-q { font-size: .92rem; padding: 18px 0; }

  /* ── CTA ── */
  .cta-section { padding: 60px 20px; }
  .cta-section h2 { font-size: 1.9rem; }
  .cta-section .hero-btns { flex-direction: column; }
  .cta-section .btn-primary,
  .cta-section .btn-outline { width: 100%; }

  /* ── FOOTER ── */
  footer { padding: 36px 20px 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; margin-bottom: 28px; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 4px; font-size: .76rem; }
}


/* ── GAMES GRID ── */
.games-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px; margin-top: 40px;
}
.game-card {
  background: var(--bg-card2); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.game-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,.4); }
/* game thumb */
.game-thumb-wrap {
  position: relative; height: 185px; overflow: hidden;
  border-radius: 15px 15px 0 0;
}
.game-thumb {
  width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block;
  transition: transform .35s ease;
}
.game-card:hover .game-thumb { transform: scale(1.06); }
.game-thumb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.15) 55%, transparent 100%);
  display: flex; align-items: flex-end; gap: 10px;
  padding: 14px 16px;
}
.game-icon { font-size: 1.5rem; flex-shrink: 0; }
.game-name { font-size: 1.05rem; font-weight: 800; line-height: 1.2; }
.game-tag { font-size: .72rem; color: rgba(255,255,255,.5); margin-top: 2px; }
/* fallback gradients when image fails */
.lol   .game-thumb-wrap { background: linear-gradient(135deg,#c8aa6e,#7a5c1e); }
.valorant .game-thumb-wrap { background: linear-gradient(135deg,#ff4655,#1a1a2e); }
.apex  .game-thumb-wrap { background: linear-gradient(135deg,#cd4220,#1a0d08); }
.arc   .game-thumb-wrap { background: linear-gradient(135deg,#0a84ff,#001833); }
.ow    .game-thumb-wrap { background: linear-gradient(135deg,#f9a825,#b36200); }
.tarkov .game-thumb-wrap { background: linear-gradient(135deg,#4a6741,#1a2518); }
.pubg  .game-thumb-wrap { background: linear-gradient(135deg,#1565c0,#0a1929); }
.rust  .game-thumb-wrap { background: linear-gradient(135deg,#bf360c,#1a0800); }
.game-card:has(.lol):hover   { border-color: rgba(200,170,50,.5); }
.game-card:has(.valorant):hover { border-color: rgba(255,70,85,.5); }
.game-card:has(.apex):hover  { border-color: rgba(255,80,0,.5); }
.game-card:has(.arc):hover   { border-color: rgba(0,180,255,.5); }
.game-card:has(.ow):hover    { border-color: rgba(249,168,37,.5); }
.game-card:has(.tarkov):hover{ border-color: rgba(100,160,60,.5); }
.game-card:has(.pubg):hover  { border-color: rgba(30,130,230,.5); }
.game-card:has(.rust):hover  { border-color: rgba(220,80,0,.5); }
.game-body { padding: 20px 22px; }
.game-tips { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.game-tips li { font-size: .88rem; color: var(--text-muted); display: flex; gap: 8px; align-items: flex-start; }
.game-tips li::before { content: '›'; color: var(--primary); font-weight: 700; min-width: 10px; }
.game-stat-row {
  display: flex; gap: 16px;
  padding-top: 14px; border-top: 1px solid var(--border);
}
.game-stat { display: flex; flex-direction: column; gap: 2px; }
.game-stat span { font-size: .75rem; color: var(--text-muted); }
.game-stat strong { font-size: 1rem; font-weight: 800; }

/* ── KAKAO FLOAT BUTTON ── */
.kakao-float {
  position: fixed;
  right: 28px;
  bottom: 36px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .4s ease, transform .4s ease;
  pointer-events: none;
}
.kakao-float.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.kakao-btn {
  width: 60px; height: 60px; border-radius: 50%;
  background: #FEE500;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(254,229,0,.45), 0 2px 8px rgba(0,0,0,.3);
  transition: transform .2s, box-shadow .2s;
  position: relative;
}
.kakao-btn:hover {
  transform: translateY(-4px) scale(1.07);
  box-shadow: 0 12px 36px rgba(254,229,0,.6), 0 4px 12px rgba(0,0,0,.3);
}
.kakao-icon { width: 34px; height: 34px; }
.scroll-top-btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--text); font-size: 1.2rem; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
  backdrop-filter: blur(8px);
}
.scroll-top-btn:hover {
  background: rgba(0,240,255,.15);
  border-color: var(--primary);
  transform: translateY(-3px);
}
/* 알림 빨간 점 */
.kakao-dot {
  position: absolute; top: 2px; right: 2px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #ff3c6e; border: 2px solid var(--bg-dark);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,60,110,.5); }
  50% { transform: scale(1.1); box-shadow: 0 0 0 5px rgba(255,60,110,0); }
}

/* ── FADE-IN ANIMATION ── */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════
   PAYMENT MODAL
══════════════════════════════════════ */
.pay-modal-backdrop {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,.8); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.pay-modal-backdrop.open { opacity: 1; pointer-events: auto; }
.pay-modal {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 24px;
  width: 100%; max-width: 820px;
  max-height: 90vh; overflow-y: auto;
  transform: translateY(24px) scale(.98);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  position: relative;
}
.pay-modal-backdrop.open .pay-modal { transform: translateY(0) scale(1); }
.pay-modal::-webkit-scrollbar { width: 4px; }
.pay-modal::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.pay-modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: #fff; width: 40px; height: 40px;
  border-radius: 50%; cursor: pointer; font-size: 1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, color .2s, background .2s;
}
.pay-modal-close:hover { border-color: var(--accent); color: var(--accent); background: rgba(255,60,110,.08); }

/* 스텝 인디케이터 */
.pay-steps {
  display: flex; align-items: center; justify-content: center;
  gap: 0; padding: 28px 40px 0;
}
.pay-step-item {
  display: flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; color: var(--text-muted);
  transition: color .3s;
}
.pay-step-item.active { color: var(--primary); }
.pay-step-item.done { color: var(--text-muted); }
.pay-step-num {
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 800;
  transition: background .3s, border-color .3s, color .3s;
}
.pay-step-item.active .pay-step-num {
  background: var(--primary); border-color: var(--primary); color: #000;
}
.pay-step-item.done .pay-step-num {
  background: rgba(0,240,255,.15); border-color: rgba(0,240,255,.3); color: var(--primary);
}
.pay-step-line {
  width: 48px; height: 1px; background: rgba(255,255,255,.1); margin: 0 4px;
}

/* 2-컬럼 레이아웃 */
.pay-modal-body {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; padding: 28px 40px 36px;
}
.pay-modal-left {
  padding-right: 32px;
  border-right: 1px solid var(--border);
}
.pay-modal-right { padding-left: 32px; }

/* 플랜 요약 (왼쪽) */
.pm-plan-tag { font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.pm-plan-name { font-size: 1.4rem; font-weight: 900; margin-bottom: 10px; }
.pm-plan-price {
  font-size: 2.2rem; font-weight: 900; line-height: 1; margin-bottom: 6px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.pm-price-row { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; flex-wrap: wrap; }
.pm-original-price {
  font-size: 1rem; font-weight: 600; color: var(--text-muted);
  display: none; transition: color .3s;
}
.coupon-applied .pm-original-price {
  text-decoration: line-through;
}
.pm-discount-badge {
  font-size: .75rem; font-weight: 800; padding: 3px 8px; border-radius: 20px;
  background: rgba(255,60,110,.15); border: 1px solid rgba(255,60,110,.35);
  color: #ff4d7a; display: none; white-space: nowrap;
}
.pm-coupon-wrap {
  display: flex; gap: 7px; margin-bottom: 6px; margin-top: 14px;
}
.pm-coupon-input {
  flex: 1; padding: 9px 12px; border-radius: 9px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05);
  color: var(--text); font-family: 'Pretendard', sans-serif; font-size: .84rem;
  outline: none; transition: border-color .2s; letter-spacing: .5px;
}
.pm-coupon-input:focus { border-color: var(--primary); }
.pm-coupon-input::placeholder { color: var(--text-muted); letter-spacing: 0; }
.pm-coupon-btn {
  padding: 9px 16px; border-radius: 9px; border: none;
  background: var(--primary); color: #000;
  font-family: 'Pretendard', sans-serif; font-size: .84rem; font-weight: 800;
  cursor: pointer; white-space: nowrap; transition: opacity .2s;
}
.pm-coupon-btn:hover { opacity: .85; }
.pm-coupon-btn:disabled { opacity: .4; cursor: not-allowed; }
.pm-coupon-msg {
  font-size: .79rem; min-height: 18px; margin-bottom: 4px;
}
.pm-coupon-msg.ok  { color: #4cff91; }
.pm-coupon-msg.err { color: var(--accent); }
.pm-plan-desc { font-size: .85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; }
.pm-features { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }
.pm-features li { font-size: .85rem; display: flex; gap: 9px; align-items: flex-start; }
.pm-features li::before { content: '✓'; color: var(--primary); font-weight: 800; flex-shrink: 0; margin-top: 1px; }
.pm-notice {
  padding: 14px 16px; border-radius: 12px;
  background: rgba(0,240,255,.04); border: 1px solid rgba(0,240,255,.12);
  font-size: .8rem; color: var(--text-muted); line-height: 1.65;
}
.pm-notice strong { color: var(--text); }

/* 폼 (오른쪽) */
.pay-form-title { font-size: 1rem; font-weight: 800; margin-bottom: 20px; }
.pay-form-group { margin-bottom: 18px; }
.pay-form-label {
  display: block; font-size: .8rem; font-weight: 600;
  color: var(--text-muted); margin-bottom: 7px; letter-spacing: .3px;
}
.pay-form-label span { color: var(--accent); margin-left: 2px; }
.pay-form-input, .pay-form-select, .pay-form-textarea {
  width: 100%; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1); border-radius: 10px;
  padding: 12px 14px; color: var(--text);
  font-family: 'Pretendard', sans-serif; font-size: .9rem;
  transition: border-color .2s, background .2s;
  outline: none;
}
.pay-form-input:focus, .pay-form-select:focus, .pay-form-textarea:focus {
  border-color: var(--primary); background: rgba(0,240,255,.04);
}
.pay-form-input::placeholder, .pay-form-textarea::placeholder { color: var(--text-muted); opacity: .6; }
.pay-form-select { appearance: none; cursor: pointer; }
.pay-form-select option { background: #1a1a24; }
.pay-form-textarea { resize: none; height: 80px; line-height: 1.6; }
.pay-form-error { font-size: .76rem; color: var(--accent); margin-top: 5px; display: none; }
.pay-form-group.error .pay-form-input,
.pay-form-group.error .pay-form-select { border-color: var(--accent); }
.pay-form-group.error .pay-form-error { display: block; }

.btn-pay {
  width: 100%; padding: 15px; border-radius: 12px; border: none;
  cursor: pointer; font-weight: 800; font-size: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #000; letter-spacing: -.2px; margin-top: 4px;
  transition: opacity .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 0 28px rgba(0,240,255,.25);
}
.btn-pay:hover { opacity: .9; transform: translateY(-1px); box-shadow: 0 0 40px rgba(0,240,255,.4); }
.btn-pay:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-pay-outline {
  width: 100%; padding: 13px; border-radius: 12px;
  background: transparent; border: 1.5px solid var(--border);
  color: var(--text); font-weight: 700; font-size: .9rem;
  cursor: pointer; margin-top: 10px;
  transition: border-color .2s, color .2s;
}
.btn-pay-outline:hover { border-color: var(--primary); color: var(--primary); }

/* ── 결제 완료 화면 ── */
.pay-complete {
  padding: 48px 20px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.pay-complete-icon {
  width: 80px; height: 80px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; margin-bottom: 24px;
}
.pay-complete-icon.success {
  background: rgba(0,240,255,.1); border: 2px solid rgba(0,240,255,.3);
  box-shadow: 0 0 40px rgba(0,240,255,.2);
}
.pay-complete-icon.fail {
  background: rgba(255,60,110,.08); border: 2px solid rgba(255,60,110,.25);
}
.pay-complete h2 { font-size: 1.6rem; font-weight: 900; margin-bottom: 10px; }
.pay-complete .pc-sub { font-size: .92rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 28px; max-width: 500px; }
.pay-complete-card {
  width: 100%; max-width: 500px;
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  border-radius: 16px; padding: 20px 24px; text-align: left;
  margin-bottom: 28px;
}
.pc-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .88rem;
}
.pc-row:last-child { border-bottom: none; }
.pc-row span:first-child { color: var(--text-muted); }
.pc-row span:last-child { font-weight: 700; }
.pc-order-id { font-family: monospace; font-size: .82rem; color: var(--primary); letter-spacing: .5px; }
.pay-complete-next {
  width: 100%; max-width: 500px; padding: 16px 20px;
  background: rgba(254,229,0,.06); border: 1px solid rgba(254,229,0,.2);
  border-radius: 14px; text-align: left; margin-bottom: 24px;
}
.pay-complete-next strong { display: block; font-size: .88rem; color: #FEE500; margin-bottom: 8px; }
.pay-complete-next p { font-size: .86rem; color: var(--text); line-height: 1.75; }
.pay-complete-btns { display: flex; gap: 10px; width: 100%; max-width: 500px; }
.btn-kakao-link {
  flex: 1; padding: 14px; border-radius: 12px; border: none; cursor: pointer;
  background: #FEE500; color: #3A1D1D; font-weight: 800; font-size: .9rem;
  transition: opacity .2s, transform .15s;
}
.btn-kakao-link:hover { opacity: .88; transform: translateY(-1px); }
.btn-close-link {
  padding: 14px 20px; border-radius: 12px; border: 1.5px solid var(--border);
  background: transparent; color: var(--text-muted); font-size: .9rem;
  cursor: pointer; transition: border-color .2s, color .2s;
}
.btn-close-link:hover { border-color: var(--primary); color: var(--primary); }

/* 모바일 */
@media (max-width: 680px) {
  .pay-modal-body { grid-template-columns: 1fr; gap: 24px; padding: 20px 20px 28px; }
  .pay-modal-left { padding-right: 0; border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 24px; }
  .pay-modal-right { padding-left: 0; }
  .pay-steps { padding: 20px 20px 0; }
  .pay-step-line { width: 28px; }
  .pay-complete { padding: 32px 20px; }
  .pay-complete-btns { flex-direction: column; }
}

/* ── 토스트 알림 ── */
#toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: #1e1e2e; border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 20px;
  font-size: .88rem; color: var(--text); white-space: nowrap;
  z-index: 20000; opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.error { border-color: rgba(255,60,110,.4); }

/* ══════════════════════════════════════
   NAV LOGIN BUTTON
══════════════════════════════════════ */
.nav-login-btn {
  padding: 8px 18px; border-radius: 8px; cursor: pointer;
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
  color: var(--text);
  font-family: 'Pretendard', sans-serif; font-size: .88rem; font-weight: 600;
  transition: border-color .2s, background .2s;
  white-space: nowrap;
}
.nav-login-btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(0,232,122,.06); }

.kakao-login-btn {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: 8px; border: none; cursor: pointer;
  background: #FEE500; color: #3A1D1D;
  font-family: 'Pretendard', sans-serif; font-size: .85rem; font-weight: 700;
  transition: opacity .2s, transform .15s;
  white-space: nowrap;
}
.kakao-login-btn:hover { opacity: .88; transform: translateY(-1px); }
.kakao-login-btn svg { flex-shrink: 0; }

/* 로그인 후 프로필 영역 */
.nav-profile {
  display: none; align-items: center; gap: 6px;
  padding: 4px 8px; border-radius: 6px;
  background: none; border: none;
  cursor: pointer; transition: opacity .2s;
  position: relative;
}
.nav-profile.visible { display: flex; }
.nav-profile-img {
  width: 24px; height: 24px; border-radius: 50%;
  object-fit: cover; background: #FEE500;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 800; color: #3A1D1D;
  overflow: hidden; flex-shrink: 0;
}
.nav-profile-img img { width: 100%; height: 100%; object-fit: cover; }
.nav-profile-name { font-size: .78rem; font-weight: 500; color: var(--text); max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 프로필 드롭다운 */
.nav-profile-dropdown {
  position: absolute; top: calc(100% + 4px); right: 0;
  background: var(--bg-card2); border: 1px solid var(--border);
  border-radius: 14px; padding: 8px; min-width: 180px;
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity .2s, transform .2s;
  transition-delay: 0s;
  z-index: 200;
}
.nav-profile:not(.hover-open) .nav-profile-dropdown { transition-delay: .1s; }
.nav-profile.hover-open .nav-profile-dropdown {
  opacity: 1; pointer-events: auto; transform: translateY(0); transition-delay: 0s;
}
.nav-profile-info {
  padding: 10px 12px 12px; border-bottom: 1px solid var(--border); margin-bottom: 6px;
}
.nav-profile-info strong { display: block; font-size: .88rem; margin-bottom: 2px; }
.nav-profile-info span { font-size: .76rem; color: var(--text-muted); }
.nav-dropdown-btn {
  width: 100%; padding: 9px 12px; border-radius: 8px; border: none;
  background: none; color: var(--text-muted); font-family: 'Pretendard', sans-serif;
  font-size: .85rem; text-align: left; cursor: pointer;
  transition: background .15s, color .15s; display: flex; align-items: center; gap: 8px;
}
.nav-dropdown-btn:hover { background: rgba(255,255,255,.06); color: var(--text); }
.nav-dropdown-btn.logout { color: var(--accent); }
.nav-dropdown-btn.logout:hover { background: rgba(255,60,110,.08); }

/* 결제내역 모달 */
.pay-hist-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.65);
  z-index: 9000; display: none; align-items: center; justify-content: center;
}
.pay-hist-backdrop.open { display: flex; }
.pay-hist-modal {
  background: var(--bg-card2); border: 1px solid var(--border); border-radius: 18px;
  width: min(480px, 92vw); max-height: 80vh; display: flex; flex-direction: column;
  box-shadow: 0 24px 60px rgba(0,0,0,.6);
}
.pay-hist-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px 14px; border-bottom: 1px solid var(--border);
  font-size: 1rem; font-weight: 700; color: var(--text);
}
.pay-hist-close {
  background: none; border: none; color: var(--text-muted); font-size: 1.1rem;
  cursor: pointer; padding: 4px 8px; border-radius: 6px; transition: background .15s;
}
.pay-hist-close:hover { background: rgba(255,255,255,.08); color: var(--text); }
.pay-hist-body { overflow-y: auto; padding: 16px 20px 20px; }
.pay-hist-empty { text-align: center; color: var(--text-muted); font-size: .9rem; padding: 40px 0; }
.pay-hist-item {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 16px; margin-bottom: 10px;
}
.pay-hist-item:last-child { margin-bottom: 0; }
.pay-hist-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.pay-hist-plan { font-size: .88rem; font-weight: 700; color: var(--text); }
.pay-hist-amount { font-size: .88rem; font-weight: 700; color: var(--primary); }
.pay-hist-meta { font-size: .76rem; color: var(--text-muted); line-height: 1.7; }
.pay-hist-order { font-size: .72rem; color: var(--text-muted); margin-top: 6px; letter-spacing: .3px; }

/* 결제 폼 내 카카오 로그인 배너 */
.form-kakao-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 16px; border-radius: 12px;
  background: rgba(254,229,0,.06); border: 1px solid rgba(254,229,0,.2);
  margin-bottom: 20px;
}
.form-kakao-banner p { font-size: .82rem; color: var(--text-muted); line-height: 1.5; }
.form-kakao-banner p strong { color: #FEE500; }
.form-kakao-mini {
  flex-shrink: 0; display: flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 8px; border: none; cursor: pointer;
  background: #FEE500; color: #3A1D1D;
  font-family: 'Pretendard', sans-serif; font-size: .8rem; font-weight: 800;
  transition: opacity .2s; white-space: nowrap;
}
.form-kakao-mini:hover { opacity: .88; }

/* 로그인 된 경우 폼 배너 */
.form-logged-in {
  display: none; align-items: center; gap: 10px;
  padding: 11px 16px; border-radius: 12px;
  background: rgba(254,229,0,.06); border: 1px solid rgba(254,229,0,.2);
  margin-bottom: 20px;
}
.form-logged-in.visible { display: flex; }
.form-li-img {
  width: 32px; height: 32px; border-radius: 50%; overflow: hidden;
  background: #FEE500; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 800; color: #3A1D1D;
}
.form-li-img img { width: 100%; height: 100%; object-fit: cover; }
.form-li-text { flex: 1; font-size: .82rem; color: var(--text-muted); }
.form-li-text strong { color: #FEE500; font-size: .88rem; }
.form-li-switch { font-size: .76rem; color: var(--text-muted); cursor: pointer; text-decoration: underline; flex-shrink: 0; }
.form-li-switch:hover { color: var(--text); }

/* 게임 멀티 체크박스 */
/* 게임 멀티 드롭다운 */
.game-dropdown { position: relative; }
.game-dropdown-trigger {
  width: 100%; padding: 11px 14px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04);
  color: var(--text-muted); font-family: 'Pretendard', sans-serif; font-size: .88rem;
  text-align: left; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 8px; transition: border-color .2s;
}
.game-dropdown-trigger:hover { border-color: rgba(0,240,255,.3); color: var(--text); }
.game-dropdown.open .game-dropdown-trigger { border-color: var(--primary); color: var(--text); }
.game-dropdown-trigger svg { flex-shrink: 0; transition: transform .2s; }
.game-dropdown.open .game-dropdown-trigger svg { transform: rotate(180deg); }
.game-dropdown-menu {
  position: absolute; top: calc(100% + 5px); left: 0; right: 0;
  background: var(--bg-card2); border: 1px solid var(--border); border-radius: 12px;
  padding: 6px; z-index: 300; display: none;
  max-height: 230px; overflow-y: auto;
  box-shadow: 0 16px 48px rgba(0,0,0,.55);
}
.game-dropdown.open .game-dropdown-menu { display: block; }
.game-option {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 8px; cursor: pointer;
  font-size: .86rem; color: var(--text-muted); user-select: none;
  transition: background .15s, color .15s;
}
.game-option:hover { background: rgba(255,255,255,.06); color: var(--text); }
.game-option input[type=checkbox] { display: none; }
.game-option:has(input:checked) { color: var(--text); }
.game-opt-chk {
  width: 16px; height: 16px; border-radius: 4px; flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,.2); background: transparent;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, background .2s; font-size: .72rem; color: #000; font-weight: 900;
}
.game-option:has(input:checked) .game-opt-chk { border-color: var(--primary); background: var(--primary); }
.game-opt-etc {
  margin: 4px 8px 6px; padding: 8px 10px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04);
  color: var(--text); font-family: 'Pretendard', sans-serif; font-size: .84rem;
  outline: none; width: calc(100% - 16px); display: none;
  transition: border-color .2s;
}
.game-opt-etc:focus { border-color: var(--primary); }
.game-tags {
  display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; min-height: 0;
}
.game-tag {
  display: flex; align-items: center; gap: 4px; padding: 3px 8px 3px 10px;
  border-radius: 20px; background: rgba(0,240,255,.1); border: 1px solid rgba(0,240,255,.25);
  font-size: .78rem; color: var(--primary); line-height: 1;
}
.game-tag button {
  background: none; border: none; color: var(--primary); cursor: pointer;
  font-size: .8rem; padding: 0 0 0 2px; line-height: 1; opacity: .7;
}
.game-tag button:hover { opacity: 1; }

@media (max-width: 600px) {
  .kakao-login-btn { display: none; }
  .nav-login-btn { display: none; }
  .pay-modal-close {
    width: 48px; height: 48px;
    font-size: 1.2rem;
    top: 10px; right: 10px;
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.3);
  }
}

/* ── 마우스 그로우 (배경 빛) ── */
#mouse-glow {
  position: fixed;
  pointer-events: none;
  z-index: 1;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(0,255,65,.04) 0%,
    rgba(0,255,65,.015) 40%,
    transparent 70%);
  transform: translate(-50%, -50%);
  transition: transform .08s linear;
  mix-blend-mode: screen;
}
