/* ==========================================================================
   Marble Swoop — shared styles
   ========================================================================== */

:root {
  --bg-navy: #0a0e17;
  --bg-charcoal: #12151d;
  --bg-card: rgba(255, 255, 255, 0.04);
  --border-card: rgba(255, 255, 255, 0.08);
  --gold: #e8b64c;
  --gold-soft: rgba(232, 182, 76, 0.35);
  --teal: #2ec4b6;
  --teal-soft: rgba(46, 196, 182, 0.35);
  --text-primary: #f4f2ec;
  --text-secondary: #a8afc0;
  --text-muted: #6b7284;
  --max-width: 1180px;
  --radius: 18px;
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(ellipse 120% 60% at 50% -10%, #1a2236 0%, var(--bg-navy) 55%), var(--bg-navy);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Glow blobs used as ambient background decoration */
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

/* ---------------------------------- Nav ---------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 23, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-logo {
  height: 44px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 12px var(--gold-soft));
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, var(--gold), var(--teal), var(--gold));
  box-shadow: 0 0 18px var(--gold-soft), 0 0 30px var(--teal-soft);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #d69e2e);
  color: #17130a;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 18px rgba(232, 182, 76, 0.25);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(232, 182, 76, 0.4);
}

/* ---------------------------------- Hero ---------------------------------- */

.hero {
  position: relative;
  padding: 110px 24px 130px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(180deg, rgba(10, 14, 23, 0.55) 0%, rgba(10, 14, 23, 0.88) 55%, var(--bg-navy) 100%),
    url("/.netlify/images?url=/img/og-image.jpg&w=2000&fm=webp&q=80");
  background-size: cover;
  background-position: center 35%;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(46, 196, 182, 0.12), transparent 60%);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(10px);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 28px;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
}

.hero h1 {
  margin: 0 0 22px;
}

.hero-logo {
  width: min(560px, 82vw);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 50px rgba(232, 182, 76, 0.35)) drop-shadow(0 0 90px rgba(46, 196, 182, 0.2));
}

.hero-tagline {
  max-width: 620px;
  margin: 0 auto 40px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
}

.hero-tagline strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold) 0%, #d69e2e 100%);
  color: #17130a;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 10px 40px rgba(232, 182, 76, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 50px rgba(232, 182, 76, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-primary svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 14px;
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.btn-secondary:hover {
  border-color: var(--teal-soft);
  background: rgba(46, 196, 182, 0.08);
  transform: translateY(-2px);
}

.free-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px dashed rgba(46, 196, 182, 0.4);
  background: rgba(46, 196, 182, 0.06);
}

.free-note strong {
  color: var(--teal);
}

/* Floating orbs decoration in hero */
.orb {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  animation: float 7s ease-in-out infinite;
  opacity: 0.85;
}

.orb-1 {
  width: 26px;
  height: 26px;
  top: 18%;
  left: 10%;
  background: radial-gradient(circle at 35% 30%, #fff6d8, var(--gold) 55%, #a5761f 100%);
  box-shadow: 0 0 24px var(--gold-soft);
  animation-delay: 0s;
}

.orb-2 {
  width: 18px;
  height: 18px;
  top: 60%;
  left: 6%;
  background: radial-gradient(circle at 35% 30%, #d6fff9, var(--teal) 55%, #157169 100%);
  box-shadow: 0 0 20px var(--teal-soft);
  animation-delay: 1.5s;
}

.orb-3 {
  width: 20px;
  height: 20px;
  top: 22%;
  right: 9%;
  background: radial-gradient(circle at 35% 30%, #d6fff9, var(--teal) 55%, #157169 100%);
  box-shadow: 0 0 20px var(--teal-soft);
  animation-delay: 0.8s;
}

.orb-4 {
  width: 30px;
  height: 30px;
  top: 68%;
  right: 12%;
  background: radial-gradient(circle at 35% 30%, #fff6d8, var(--gold) 55%, #a5761f 100%);
  box-shadow: 0 0 24px var(--gold-soft);
  animation-delay: 2.4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-18px) translateX(6px); }
}

@media (max-width: 640px) {
  .orb { display: none; }
}

/* -------------------------------- Sections -------------------------------- */

section {
  position: relative;
  padding: 90px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-head p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin: 0;
}

/* ------------------------------ Features grid ------------------------------ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

.feature-card {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(232, 182, 76, 0.08), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-soft);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(232, 182, 76, 0.08);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(232, 182, 76, 0.18), rgba(46, 196, 182, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 10px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Power-ups pill list inside the power-ups feature card */
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

.pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(46, 196, 182, 0.1);
  border: 1px solid rgba(46, 196, 182, 0.28);
  color: var(--teal);
}

.pill.gold {
  background: rgba(232, 182, 76, 0.1);
  border-color: rgba(232, 182, 76, 0.3);
  color: var(--gold);
}

/* Languages row */
.lang-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

.lang-chip {
  font-size: 0.8rem;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
}

/* ------------------------------ Free-to-play banner ------------------------------ */

.free-banner {
  padding: 56px 0;
}

.free-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: 40px 44px;
  border-radius: 24px;
  background: linear-gradient(120deg, rgba(232, 182, 76, 0.1), rgba(46, 196, 182, 0.08));
  border: 1px solid var(--border-card);
  position: relative;
  overflow: hidden;
}

.free-banner-inner::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.12;
  filter: blur(100px);
  top: -140px;
  left: -60px;
}

.free-banner-inner::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.12;
  filter: blur(100px);
  bottom: -160px;
  right: -60px;
}

.free-banner-text {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.free-banner-text .section-label {
  margin-bottom: 10px;
}

.free-banner-text h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0 0 10px;
  font-weight: 700;
}

.free-banner-text p {
  margin: 0;
  color: var(--text-secondary);
}

.free-banner-text p strong {
  color: var(--text-primary);
}

/* ----------------------------------- CTA ----------------------------------- */

.cta-section {
  text-align: center;
  position: relative;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(232, 182, 76, 0.08), transparent 70%);
  z-index: -1;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 16px;
  font-weight: 700;
}

.cta-section p {
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 34px;
  font-size: 1.05rem;
}

/* ---------------------------------- Footer ---------------------------------- */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

/* -------------------------------- Privacy page -------------------------------- */

.policy-main {
  padding: 70px 0 100px;
}

.policy-header {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.policy-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin: 0 0 12px;
  background: linear-gradient(135deg, #fdf6e3 10%, var(--gold) 60%, var(--teal) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.policy-header .effective-date {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.policy-card {
  max-width: 780px;
  margin: 0 auto;
  padding: 44px 48px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.policy-card h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold);
  margin: 34px 0 12px;
  font-weight: 600;
}

.policy-card h2:first-child {
  margin-top: 0;
}

.policy-card p {
  color: var(--text-secondary);
  margin: 0 0 16px;
  font-size: 0.98rem;
}

.policy-card strong {
  color: var(--text-primary);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: gap 0.2s ease;
}

.back-link:hover {
  gap: 12px;
}

@media (max-width: 640px) {
  .policy-card {
    padding: 32px 24px;
  }

  .nav-links {
    display: none;
  }

  .free-banner-inner {
    padding: 32px 26px;
    justify-content: center;
    text-align: center;
  }

  .free-banner-text {
    max-width: 100%;
  }
}
