/* ==========================================================================
   GAME DAY SOUND — site styles
   Matches the app: deep indigo, frosted glass, amber + neon-blue accents.
   ========================================================================== */

:root {
  --ink-900: #050813;
  --ink-800: #0a1230;
  --ink-700: #111c45;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-2: rgba(255, 255, 255, 0.1);
  --edge: rgba(255, 255, 255, 0.14);
  --amber-400: #f6c471;
  --amber-500: #ffb020;
  --amber-600: #d98a00;
  --blue-400: #00d9fd;
  --blue-500: #01adfc;
  --text-100: #ffffff;
  --text-200: #e5edfb;
  --text-300: #9fb0d6;
  --amber-glow: 0 0 28px rgba(246, 196, 113, 0.45);
  --blue-glow: 0 0 26px rgba(0, 217, 253, 0.35);
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--ink-900);
  color: var(--text-200);
  font-family: "Barlow", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-400); text-decoration: none; }
a:hover { color: var(--amber-400); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* ----- Typography ----- */
h1, h2, h3, .wordmark {
  font-family: "Bebas Neue", "Barlow Condensed", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-100);
  margin: 0;
}
h1 { font-size: clamp(3rem, 8vw, 5.6rem); line-height: 0.95; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.1rem); line-height: 1; margin-bottom: 1.1rem; }
h3 { font-size: 1.6rem; line-height: 1.05; margin-bottom: 0.45rem; }
p  { margin: 0 0 1rem; }

/* ----- Top nav ----- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 8, 19, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(246, 196, 113, 0.16);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 1.5rem; max-width: var(--max-width); margin: 0 auto;
}
.nav-brand {
  display: flex; align-items: center; gap: 0.65rem;
  font-family: "Bebas Neue", sans-serif; font-size: 1.45rem; letter-spacing: 0.08em; color: var(--text-100);
}
.nav-brand img { width: 38px; height: 38px; border-radius: 9px; }
.nav-links { display: flex; gap: 1.6rem; }
.nav-links a {
  font-family: "Barlow Condensed", sans-serif; font-weight: 600; font-size: 1.05rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-200);
}

/* ----- Hero ----- */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center; padding: 4rem 1.5rem 3rem;
  background: var(--ink-900) url("../img/background.jpg") center / cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(246, 196, 113, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(5, 8, 19, 0.15) 0%, rgba(5, 8, 19, 0.85) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 880px; }
.hero-logo {
  width: clamp(150px, 24vw, 230px); margin: 0 auto 1.4rem; border-radius: 22%;
  box-shadow: 0 0 60px rgba(246, 196, 113, 0.35), 0 20px 50px rgba(0, 0, 0, 0.55);
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.hero h1 { text-shadow: 0 2px 0 rgba(0, 0, 0, 0.6), 0 0 30px rgba(246, 196, 113, 0.35); margin-bottom: 0.6rem; }
.hero .tagline {
  font-family: "Barlow Condensed", sans-serif; font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.35rem); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--amber-400); margin-bottom: 1.8rem;
}
.hero .lede { font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: var(--text-200); max-width: 660px; margin: 0 auto 2.2rem; }

/* ----- Buttons / store badges ----- */
.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 1rem; }
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 1.7rem;
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 1.15rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-900);
  background: linear-gradient(180deg, var(--amber-400) 0%, var(--amber-600) 100%);
  border: 1px solid #ffe2a8; border-radius: 12px;
  box-shadow: var(--amber-glow), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform 0.12s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); color: var(--ink-900); box-shadow: 0 0 40px rgba(246, 196, 113, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.04); color: var(--blue-400);
  border-color: rgba(0, 217, 253, 0.7); box-shadow: var(--blue-glow);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn--ghost:hover { color: var(--text-100); box-shadow: 0 0 34px rgba(0, 217, 253, 0.5); }

.store-row { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 1rem; }
.store-badge {
  display: inline-flex; align-items: center; gap: 0.8rem;
  padding: 0.85rem 1.4rem; min-width: 230px; border-radius: 14px;
  background: var(--glass); border: 1px solid var(--edge); color: var(--text-100);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.12s ease;
}
.store-badge:hover { background: rgba(0, 217, 253, 0.1); border-color: var(--blue-400); color: var(--text-100); transform: translateY(-2px); }
.store-badge .store-icon {
  width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, var(--amber-400), var(--amber-600)); border-radius: 9px; color: var(--ink-900);
}
.store-badge .store-icon svg { width: 22px; height: 22px; }
.store-badge .store-text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-badge .store-text small { color: var(--text-300); font-size: 0.72rem; letter-spacing: 0.12em; }
.store-badge .store-text strong { font-family: "Barlow Condensed", sans-serif; font-size: 1.3rem; letter-spacing: 0.04em; }
.store-badge[aria-disabled="true"] { opacity: 0.6; cursor: not-allowed; }
.store-badge[aria-disabled="true"]:hover { background: var(--glass); border-color: var(--edge); transform: none; }

/* ----- Generic section ----- */
.section { padding: 5rem 1.5rem; position: relative; }
.section--alt {
  background:
    radial-gradient(ellipse at 15% 10%, rgba(0, 173, 252, 0.12), transparent 55%),
    radial-gradient(ellipse at 90% 90%, rgba(246, 196, 113, 0.08), transparent 55%),
    linear-gradient(180deg, var(--ink-900) 0%, var(--ink-800) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.section-kicker {
  text-align: center; color: var(--amber-400);
  font-family: "Barlow Condensed", sans-serif; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; font-size: 0.95rem; margin-bottom: 0.4rem;
}
.section-title { text-align: center; margin-bottom: 0.5rem; }
.section-lede { text-align: center; max-width: 660px; margin: 0 auto 3rem; color: var(--text-300); }

/* ----- Features (glass cards with the app's coloured left bar) ----- */
.features {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem; max-width: 1080px; margin: 0 auto;
}
.feature {
  position: relative; overflow: hidden;
  background: var(--glass); border: 1px solid var(--edge); border-radius: 18px;
  padding: 1.5rem 1.4rem 1.6rem 1.7rem;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.18s ease, border-color 0.2s ease;
}
.feature::before {
  content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 4px;
  background: var(--c, var(--amber-400)); box-shadow: 0 0 12px var(--c, var(--amber-400));
}
.feature:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.28); }
.feature h3 { color: var(--text-100); }
.feature p { color: var(--text-200); margin: 0; font-size: 1.02rem; }
.feature .feature-icon {
  width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; margin-bottom: 0.85rem; color: var(--c, var(--amber-400));
  background: color-mix(in srgb, var(--c, #f6c471) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--c, #f6c471) 45%, transparent);
}
.feature .feature-icon svg { width: 24px; height: 24px; }

/* ----- Screenshots ----- */
.screenshots {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem; max-width: 1080px; margin: 0 auto;
}
.shot { margin: 0; text-align: center; }
.shot img {
  width: 100%; border-radius: 28px; border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55), 0 0 30px rgba(0, 173, 252, 0.12);
}
.shot figcaption {
  margin-top: 0.9rem; font-family: "Barlow Condensed", sans-serif; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-100); font-size: 1.05rem;
}
.shot figcaption span { display: block; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--text-300); font-family: "Barlow", sans-serif; font-size: 0.95rem; }

/* ----- Steps ----- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; max-width: 1080px; margin: 0 auto; counter-reset: step; }
.step {
  background: var(--glass); border: 1px solid var(--edge); border-radius: 18px; padding: 1.5rem 1.4rem;
  position: relative; counter-increment: step;
}
.step::before {
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; margin-bottom: 0.8rem;
  font-family: "Bebas Neue", sans-serif; font-size: 1.6rem; color: var(--ink-900);
  background: linear-gradient(180deg, var(--amber-400), var(--amber-600)); box-shadow: var(--amber-glow);
}
.step p { margin: 0; color: var(--text-200); }

/* ----- Footer ----- */
.footer {
  background: linear-gradient(180deg, var(--ink-800) 0%, #02040b 100%);
  border-top: 1px solid rgba(246, 196, 113, 0.16);
  padding: 3rem 1.5rem 2rem; color: var(--text-300);
}
.footer-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer-brand img { width: 58px; height: 58px; border-radius: 14px; box-shadow: 0 0 24px rgba(246, 196, 113, 0.3); }
.footer-brand h3 { color: var(--text-100); margin-top: 0.7rem; }
.footer-col h4 {
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; letter-spacing: 0.16em; font-size: 0.95rem;
  color: var(--amber-400); text-transform: uppercase; margin: 0 0 0.6rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { color: var(--text-200); }
.footer-col a:hover { color: var(--blue-400); }
.footer-bottom {
  max-width: var(--max-width); margin: 2.5rem auto 0; padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem;
  font-size: 0.88rem; color: var(--text-300);
}

/* ----- Legal pages ----- */
.legal { max-width: 780px; margin: 0 auto; padding: 3rem 1.5rem 4rem; }
.legal h1 { font-size: clamp(2.6rem, 6vw, 3.6rem); margin-bottom: 0.3rem; text-shadow: 0 0 24px rgba(246, 196, 113, 0.3); }
.legal h2 {
  font-size: 1.7rem; margin-top: 2.25rem; margin-bottom: 0.6rem; color: var(--amber-400);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12); padding-bottom: 0.3rem;
}
.legal p, .legal li { color: var(--text-200); }
.legal .meta { color: var(--text-300); font-size: 0.92rem; margin-bottom: 1.5rem; }
.legal .tldr {
  background: var(--glass); border: 1px solid var(--edge); border-left: 4px solid var(--amber-400);
  border-radius: 14px; padding: 1.1rem 1.3rem; margin: 1.5rem 0 2rem; color: var(--text-100);
}
.legal .tldr strong {
  display: block; margin-bottom: 0.35rem; color: var(--amber-400);
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.legal ul { padding-left: 1.4rem; }
.legal li { margin-bottom: 0.4rem; }
.legal .legal-footer {
  margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem; color: var(--text-300);
}

/* ----- Responsive ----- */
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .section { padding: 3.5rem 1.25rem; }
  .hero { min-height: 82vh; padding-top: 3rem; }
  .screenshots { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
