/* ================================================================
   DIALED GG TIME — Dark immersive landing page
   ================================================================ */

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

:root {
  --bg: #0a0a0a;
  --bg-elevated: #111;
  --surface: #161616;
  --surface-hover: #1e1e1e;
  --border: rgba(255,255,255,0.08);
  --border-light: rgba(255,255,255,0.14);
  --text: #ffffff;
  --text-secondary: rgba(255,255,255,0.6);
  --text-dim: rgba(255,255,255,0.35);
  --accent: #fff;
  --radius: 12px;
  --radius-sm: 8px;
  --max-w: 960px;
  --max-w-narrow: 720px;
  --max-w-wide: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.75;
  font-size: 16px;
}

a { color: var(--text); text-decoration: none; transition: color 0.15s, opacity 0.15s; }
a:hover { opacity: 0.75; }
strong, b { color: var(--text); font-weight: 600; }
img { max-width: 100%; height: auto; display: block; }

/* === NAV === */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 13px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.nav-links a:hover { color: rgba(255,255,255,0.85); opacity: 1; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: visible;
  background:
    radial-gradient(ellipse 50% 40% at 30% 30%, rgba(108,92,231,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 70% 60%, rgba(255,107,107,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(78,205,196,0.06) 0%, transparent 70%),
    #0a0a0a;
}

#heroCanvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0.15;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 80px 24px 40px;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  padding: 6px 18px;
  border-radius: 24px;
  margin-bottom: 28px;
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 22px;
}

.hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, #6C5CE7, #00cec9, #fdcb6e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0a0a0a !important;
  background: #fff;
  border-radius: 14px;
  transition: all 0.25s;
  box-shadow: 0 4px 24px rgba(255,255,255,0.08);
  text-decoration: none;
}

.hero-btn:hover {
  color: #0a0a0a !important;
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(255,255,255,0.15);
}

.hero-btn-outline {
  color: #fff !important;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: none;
}

.hero-btn-outline:hover {
  color: #fff !important;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  box-shadow: 0 4px 20px rgba(255,255,255,0.06);
}

.hero-btn svg { transition: transform 0.2s; }
.hero-btn:hover svg { transform: translateX(4px); }
.hero-btn-outline:hover svg { transform: translateY(3px); }

.hero-meta {
  margin-top: 20px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.01em;
}

/* === GAME SECTION === */
.tsc-section {
  text-align: center;
}

/* === 10 SECOND CHALLENGE MINI GAME === */
.tsc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 32px 0 28px;
  user-select: none;
  -webkit-user-select: none;
  position: relative;
  z-index: 3;
}

.tsc-ring {
  position: relative;
  width: 220px;
  height: 220px;
  cursor: pointer;
  transition: transform 0.15s;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  z-index: 3;
}

.tsc-ring:active { transform: scale(0.96); }
@media (hover: hover) { .tsc-ring:hover { transform: scale(1.03); } }

.tsc-ring-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

.tsc-progress {
  transition: stroke-dashoffset 0.08s linear, stroke 0.3s ease, opacity 0.3s ease;
}

.tsc-ring.running .tsc-progress { opacity: 0; }
.tsc-ring:not(.running) .tsc-progress { opacity: 1; }

.tsc-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}

.tsc-particles {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}

.tsc-ring.running .tsc-particles {
  opacity: 1;
}

.tsc-ring.running .tsc-time {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s, transform 0.25s;
}

.tsc-ring:not(.running) .tsc-time {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s 0.1s, transform 0.4s 0.1s;
}

.tsc-ring.running .tsc-label {
  opacity: 0;
  transition: opacity 0.2s;
}

.tsc-ring:not(.running) .tsc-label {
  opacity: 1;
  transition: opacity 0.3s 0.15s;
}

.tsc-time {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s;
}

.tsc-label {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-top: 8px;
  transition: color 0.3s;
}

.tsc-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
}

.tsc-meta b { font-weight: 700; color: #fff; }
.tsc-dot { opacity: 0.4; }

.tsc-levels {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

.tsc-lv {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 5px 14px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.tsc-lv.active {
  color: #fff;
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
}

.tsc-lv.done-lv {
  color: rgba(34,197,94,0.7);
  border-color: rgba(34,197,94,0.15);
  background: rgba(34,197,94,0.06);
}

.tsc-hint {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
  min-height: 20px;
  transition: color 0.25s;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.tsc-hint.pop {
  color: #fff;
}

.tsc-share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: 0.01em;
}

.tsc-share:hover {
  color: #fff;
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
}

.tsc-share.copied {
  color: #22c55e;
  background: rgba(34,197,94,0.12);
  border-color: rgba(34,197,94,0.3);
}

.tsc-share.copied svg { stroke: #22c55e; }

.tsc-ring.running {
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 0 20px 2px rgba(255,255,255,0.04), inset 0 0 20px rgba(255,255,255,0.02);
}

/* result colors */
.tsc-time.perfect { color: #22c55e; }
.tsc-time.great { color: #4ade80; }
.tsc-time.good { color: #a3e635; }
.tsc-time.ok { color: #facc15; }
.tsc-time.off { color: #f87171; }

.tsc-hint.perfect { color: #22c55e; }
.tsc-hint.great { color: #4ade80; }
.tsc-hint.good { color: #a3e635; }
.tsc-hint.ok { color: #facc15; }
.tsc-hint.off { color: #f87171; }

/* final state */
.tsc-ring.done .tsc-time {
  font-size: 1.8rem;
}

.tsc-ring.done .tsc-label {
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  margin-top: 8px;
  animation: tscBlink 2s ease-in-out infinite;
}

@keyframes tscBlink {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.2);
  animation: floatDown 2s ease-in-out infinite;
}

@keyframes floatDown {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.2; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 0.5; }
}

/* === SECTIONS === */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 32px;
  border-top: 1px solid var(--border);
}

.section:first-of-type { border-top: none; }

.section-icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  line-height: 1.3;
  color: #fff;
}

.section p {
  color: var(--text-secondary);
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 1.75;
}

.section p a {
  color: rgba(255,255,255,0.8);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.2);
  text-underline-offset: 3px;
}
.section p a:hover { color: #fff; opacity: 1; }

/* === TAG ROW === */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
}

.tag {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.01em;
  transition: all 0.15s;
}

.tag:hover {
  color: #fff;
  border-color: var(--border-light);
  background: var(--surface-hover);
}

/* === STEPS === */
.steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 32px 0;
}

.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.88rem;
  flex-shrink: 0;
  color: #fff;
}

.step-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #fff;
}

.step-body p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.65;
}

/* === CTA BANNER === */
.cta-banner {
  background: linear-gradient(135deg, rgba(108,92,231,0.12) 0%, rgba(0,206,201,0.08) 50%, rgba(253,203,110,0.06) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 32px;
  text-align: center;
}

.cta-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  color: #fff;
}

.cta-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 44px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0a0a0a !important;
  background: #fff;
  border-radius: 14px;
  transition: all 0.25s;
  box-shadow: 0 4px 24px rgba(255,255,255,0.08);
  text-decoration: none;
}

.cta-btn:hover {
  color: #0a0a0a !important;
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(255,255,255,0.15);
}

.cta-btn svg { transition: transform 0.2s; }
.cta-btn:hover svg { transform: translateX(4px); }

/* === CARDS === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.25s;
}

.card:hover {
  background: var(--surface-hover);
  border-color: var(--border-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.card-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}

.card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.65;
}

.card-tagline {
  display: block;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 14px;
  font-style: italic;
}

.card-link {
  display: block;
  text-decoration: none;
}

.card-cta {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  margin-top: 14px;
  transition: color 0.15s, gap 0.15s;
}

.card-link:hover .card-cta { color: #fff; }

/* === FAQ === */
.faq-list { margin: 28px 0; }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  line-height: 1.4;
  transition: color 0.15s;
}

.faq-q:hover { color: rgba(255,255,255,0.8); }

.faq-q::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--text-dim);
  flex-shrink: 0;
  margin-left: auto;
  transition: transform 0.25s;
}

.faq-item.open .faq-q::after { content: '−'; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-a { max-height: 600px; }

.faq-a p {
  padding-bottom: 20px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-a a {
  color: rgba(255,255,255,0.7);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.2);
  text-underline-offset: 3px;
}
.faq-a a:hover { color: #fff; opacity: 1; }

/* === CALLOUT === */
.callout {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 32px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.callout-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.callout-quote {
  font-size: 0.92rem;
  color: var(--text-dim);
  font-style: italic;
  margin-top: 20px;
}

/* === FOOTER === */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
}

.footer-inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-links a:hover { color: rgba(255,255,255,0.7); opacity: 1; }

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.footer-disclaimer {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
  line-height: 1.6;
  margin-top: 12px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.footer-disclaimer a {
  color: rgba(255,255,255,0.25);
  text-decoration: underline;
}
.footer-disclaimer a:hover { color: rgba(255,255,255,0.5); opacity: 1; }

/* ================================================================
   RESPONSIVE — TABLET (769px – 1024px)
   ================================================================ */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.8rem; }
  .hero-sub { font-size: 1rem; }

  .section { padding: 52px 28px; }
  .section-title { font-size: 1.55rem; }

  .cta-inner { padding: 52px 28px; }
  .cta-title { font-size: 1.7rem; }

  .card-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
}

/* ================================================================
   RESPONSIVE — MOBILE (≤768px)
   ================================================================ */
@media (max-width: 768px) {
  .hero { min-height: 92vh; min-height: 92dvh; }
  .hero-title { font-size: 2.1rem; }
  .hero-sub { font-size: 0.95rem; margin-bottom: 28px; }
  .hero-badge { font-size: 0.7rem; margin-bottom: 22px; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .hero-btn { padding: 14px 28px; font-size: 0.95rem; width: 100%; justify-content: center; }
  .hero-meta { font-size: 0.75rem; }
  .hero-scroll-hint { bottom: 20px; }

  .tsc { margin: 20px 0 18px; gap: 10px; }
  .tsc-ring { width: min(200px, 55vw); height: min(200px, 55vw); }
  .tsc-time { font-size: 2rem; }
  .tsc-label { font-size: 0.72rem; }
  .tsc-meta { font-size: 0.78rem; }
  .tsc-hint { font-size: 0.74rem; }
  .tsc-lv { font-size: 0.68rem; padding: 4px 10px; }
  .tsc-levels { gap: 4px; }
  .tsc-ring.done .tsc-time { font-size: 1.5rem; }

  .section { padding: 40px 18px; }
  .section-title { font-size: 1.3rem; }
  .section p { font-size: 0.95rem; }

  .cta-inner { padding: 44px 18px; }
  .cta-title { font-size: 1.45rem; }
  .cta-sub { font-size: 0.95rem; }
  .cta-btn { padding: 14px 36px; font-size: 0.95rem; width: 100%; justify-content: center; }

  .card-grid { grid-template-columns: 1fr; gap: 12px; }
  .card { padding: 20px; }

  .steps { gap: 20px; }
  .step-body h3 { font-size: 0.95rem; }
  .step-body p { font-size: 0.88rem; }

  .tag-row { gap: 6px; }
  .tag { font-size: 0.72rem; padding: 4px 10px; }

  .faq-q { font-size: 0.92rem; padding: 16px 0; }
  .faq-a p { font-size: 0.9rem; }

  .callout { padding: 36px 18px; }
  .callout-text { font-size: 0.95rem; }
  .callout-quote { font-size: 0.85rem; }

  .footer-links { gap: 14px; }
  .footer-links a { font-size: 0.78rem; }
  .footer-copy { font-size: 0.72rem; }

  .nav-inner { padding: 10px 16px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 48px;
    left: 0; right: 0;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    gap: 14px;
    z-index: 99;
  }
  .nav-toggle { display: block; }
}

/* ================================================================
   RESPONSIVE — SMALL MOBILE (≤420px)
   ================================================================ */
@media (max-width: 420px) {
  .hero { min-height: 88vh; min-height: 88dvh; }
  .hero-title { font-size: 1.75rem; }
  .hero-sub { font-size: 0.88rem; }

  .tsc { margin: 16px 0 14px; gap: 8px; }
  .tsc-ring { width: min(180px, 50vw); height: min(180px, 50vw); }
  .tsc-time { font-size: 1.8rem; }
  .tsc-label { font-size: 0.65rem; }
  .tsc-meta { font-size: 0.72rem; }
  .tsc-hint { font-size: 0.68rem; }
  .tsc-lv { font-size: 0.6rem; padding: 3px 8px; }
  .tsc-levels { gap: 3px; }
  .tsc-ring.done .tsc-time { font-size: 1.4rem; }

  .section { padding: 32px 14px; }
  .section-title { font-size: 1.15rem; }
  .section p { font-size: 0.88rem; }

  .cta-inner { padding: 36px 14px; }
  .cta-title { font-size: 1.25rem; }

  .card { padding: 16px; }
  .card-title { font-size: 0.98rem; }
  .card p { font-size: 0.85rem; }

  .steps { gap: 16px; }
}
