/* ====================================================================
   main.css — Shared styles for spinawaycasinowheel.com
   Cosmic-casino aesthetic: navy · mint · magenta
   ==================================================================== */

/* === Google Fonts === */
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,400;0,500;0,700;1,700&family=Noto+Sans:wght@400;500&display=swap');

/* === CSS Variables === */
:root {
  --navy:         #111031;
  --navy-deep:    #0a0c1e;
  --mint:         #60DDCB;
  --mint-bright:  #5EFDE5;
  --magenta:      #92278F;
  --magenta-deep: #471346;
  --indigo:       #2A2857;
  --indigo-40:    rgba(42, 40, 87, 0.4);
  --w100:         rgba(255, 255, 255, 1);
  --w80:          rgba(255, 255, 255, 0.8);
  --w60:          rgba(255, 255, 255, 0.6);
  --w30:          rgba(255, 255, 255, 0.3);
  --w15:          rgba(255, 255, 255, 0.15);
  --w08:          rgba(255, 255, 255, 0.08);
  --divider:      rgba(255, 255, 255, 0.1);
  --ubuntu:       'Ubuntu', sans-serif;
  --noto:         'Noto Sans', sans-serif;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background-color: var(--navy);
  color: var(--w100);
  font-family: var(--noto);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font: inherit; }

/* === Starfield Canvas (fixed, behind everything) === */
#starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* === Nebula overlay === */
.nebula {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 65% 55% at 85% 5%,  rgba(146, 39, 143, 0.28) 0%, transparent 60%),
    radial-gradient(ellipse 55% 60% at 5%  90%,  rgba(71,  19,  70, 0.32) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 45%,  rgba(42,  40,  87, 0.12) 0%, transparent 65%);
}

/* === Content layer (above canvas/nebula) === */
.site-wrap { position: relative; z-index: 1; }

/* ===================================================================
   NAVIGATION
   =================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(10, 12, 30, 0.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--divider);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.nav-logo-name {
  font-family: var(--ubuntu);
  font-weight: 700;
  font-size: 20px;
  color: var(--w100);
}
.nav-links {
  display: none;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: var(--ubuntu);
  font-weight: 500;
  font-size: 14px;
  color: var(--w60);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--mint); }
.nav-cta {
  display: none;
  align-items: center;
  gap: 8px;
  font-family: var(--ubuntu);
  font-weight: 500;
  font-size: 14px;
  padding: 9px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--magenta), var(--magenta-deep));
  color: var(--w100);
  transition: filter 0.2s;
  flex-shrink: 0;
}
.nav-cta:hover { filter: brightness(1.15); }
.nav-hamburger {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--w80);
  font-size: 20px;
  border-radius: 10px;
  transition: background 0.2s;
}
.nav-hamburger:hover { background: var(--w08); }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-cta   { display: flex; }
  .nav-hamburger { display: none; }
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 600;
  background: rgba(8, 9, 25, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--ubuntu);
  font-weight: 700;
  font-size: 32px;
  color: var(--w100);
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--mint); }
.mobile-nav-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--w60);
  font-size: 22px;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
}
.mobile-nav-close:hover { color: var(--w100); background: var(--w08); }

/* ===================================================================
   TYPOGRAPHY
   =================================================================== */
.t-display {
  font-family: var(--ubuntu);
  font-weight: 700;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.12;
  color: var(--w100);
}
.t-headline {
  font-family: var(--ubuntu);
  font-weight: 700;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.22;
  color: var(--w100);
}
.t-subhead {
  font-family: var(--ubuntu);
  font-weight: 700;
  font-size: clamp(18px, 2.4vw, 26px);
  line-height: 1.3;
  color: var(--w100);
}
.t-lead {
  font-family: var(--noto);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.65;
  color: var(--w80);
}
.t-body {
  font-family: var(--noto);
  font-size: 16px;
  line-height: 1.6;
  color: var(--w80);
}
.t-caption {
  font-family: var(--noto);
  font-size: 13px;
  line-height: 1.5;
  color: var(--w60);
}
.t-label {
  font-family: var(--ubuntu);
  font-weight: 500;
  font-size: 13px;
  color: var(--w60);
}
.t-mint { color: var(--mint); }
.t-gradient-mint {
  background: linear-gradient(135deg, var(--mint) 0%, var(--mint-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===================================================================
   BUTTONS
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-family: var(--ubuntu);
  font-weight: 500;
  font-size: 15px;
  padding: 13px 28px;
  transition: filter 0.2s;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(180deg, var(--magenta), var(--magenta-deep));
  color: var(--w100);
}
.btn-primary:hover { filter: brightness(1.15); }
.btn-outline-mint {
  background: transparent;
  color: var(--mint);
  border: 1.5px solid var(--mint);
}
.btn-outline-mint:hover { background: rgba(96,221,203,0.1); }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* App Store badge */
.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--w100);
  color: var(--navy);
  border-radius: 999px;
  padding: 11px 24px;
  text-decoration: none;
  transition: background 0.2s;
  flex-shrink: 0;
}
.appstore-badge:hover { background: rgba(255,255,255,0.9); }
.appstore-badge .icon { font-size: 26px; color: var(--navy); }
.appstore-badge .label-sm {
  font-family: var(--noto);
  font-size: 10px;
  letter-spacing: 0.5px;
  color: var(--navy);
  line-height: 1;
}
.appstore-badge .label-lg {
  font-family: var(--ubuntu);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.1;
  color: var(--navy);
}

/* ===================================================================
   CARDS
   =================================================================== */
.card {
  background: var(--indigo-40);
  border: 1px solid var(--divider);
  border-radius: 24px;
  padding: 32px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.card-solid {
  background: var(--indigo);
  border-radius: 24px;
  padding: 32px;
}
.card-promo {
  background: linear-gradient(160deg, var(--magenta), var(--magenta-deep));
  border-radius: 24px;
  padding: 48px 40px;
  border: 1px solid var(--w15);
}

/* Feature icon bubble */
.feat-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 24px;
  flex-shrink: 0;
}
.feat-icon-mint {
  background: linear-gradient(135deg, rgba(96,221,203,0.18), rgba(94,253,229,0.1));
  border: 1px solid rgba(96,221,203,0.28);
  color: var(--mint);
}
.feat-icon-magenta {
  background: linear-gradient(135deg, rgba(146,39,143,0.22), rgba(71,19,70,0.18));
  border: 1px solid rgba(177,53,159,0.3);
  color: #B855B0;
}

/* ===================================================================
   EYEBROW / CHIPS
   =================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(96,221,203,0.1);
  border: 1px solid rgba(96,221,203,0.28);
  color: var(--mint);
  font-family: var(--ubuntu);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.eyebrow-dark {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
}
.mint-rule {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ubuntu);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mint);
}
.mint-rule::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--mint);
  border-radius: 1px;
}
/* Trust pills */
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(42,40,87,0.55);
  border: 1px solid var(--divider);
  font-family: var(--ubuntu);
  font-weight: 500;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--w80);
  backdrop-filter: blur(8px);
}
.trust-pill i { color: var(--mint); font-size: 12px; }

/* ===================================================================
   PHONE MOCKUP FRAMES
   =================================================================== */
.phone-wrap {
  display: inline-block;
  background: linear-gradient(140deg, rgba(96,221,203,0.22), rgba(146,39,143,0.12));
  border-radius: 46px;
  padding: 2px;
}
.phone-frame {
  border-radius: 44px;
  overflow: hidden;
  background: #060817;
  display: block;
}
.phone-frame img { width: 100%; height: auto; display: block; }

/* ===================================================================
   SCREENSHOTS GALLERY ROW
   =================================================================== */
.gallery-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 8px 0 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery-scroll::-webkit-scrollbar { display: none; }
.gallery-scroll .phone-wrap {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 148px;
}
@media (min-width: 900px) {
  .gallery-scroll {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
  }
  .gallery-scroll .phone-wrap { width: auto; flex-shrink: initial; }
}

/* ===================================================================
   DECORATIVE SPINNING WHEEL
   =================================================================== */
.wheel-deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: wheel-spin 24s linear infinite;
}
@keyframes wheel-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
/* Orbit ring */
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(96,221,203,0.07);
  pointer-events: none;
}

/* ===================================================================
   LAYOUT UTILITIES
   =================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 640px)  { .container { padding: 0 32px; } }
@media (min-width: 1024px) { .container { padding: 0 48px; } }

.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
@media (max-width: 640px) {
  .section    { padding: 64px 0; }
  .section-sm { padding: 40px 0; }
  .card { padding: 24px 20px; }
  .card-promo { padding: 36px 24px; }
}

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px)  { .grid-2 { grid-template-columns: repeat(2,1fr); gap: 24px; } }
@media (min-width: 768px)  { .grid-3 { grid-template-columns: repeat(2,1fr); gap: 24px; } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3,1fr); gap: 28px; } }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-2  { margin-bottom: 8px; }
.mb-3  { margin-bottom: 12px; }
.mb-4  { margin-bottom: 16px; }
.mb-6  { margin-bottom: 24px; }
.mb-8  { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.flex  { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.col-span-2 { grid-column: span 2; }

/* ===================================================================
   SECTION HEADERS (centered)
   =================================================================== */
.section-header {
  max-width: 600px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-header .mint-rule {
  justify-content: center;
  margin-bottom: 16px;
}
.section-header .t-headline { margin-bottom: 16px; }
@media (max-width: 640px) { .section-header { margin-bottom: 40px; } }

/* ===================================================================
   DIVIDER
   =================================================================== */
hr.divider {
  border: none;
  border-top: 1px solid var(--divider);
  margin: 0;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  border-top: 1px solid var(--divider);
  padding: 64px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo img { width: 32px; height: 32px; border-radius: 8px; }
.footer-logo span { font-family: var(--ubuntu); font-weight: 700; font-size: 18px; }
.footer-col-title {
  font-family: var(--ubuntu);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--w30);
  margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; color: var(--w60); transition: color 0.2s; }
.footer-links a:hover { color: var(--mint); }
.footer-bottom {
  border-top: 1px solid var(--w08);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ===================================================================
   LEGAL PAGE
   =================================================================== */
.legal-page { padding-top: 120px; padding-bottom: 88px; }
.legal-header { margin-bottom: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--divider); }
.legal-body h2 {
  font-family: var(--ubuntu);
  font-weight: 700;
  font-size: 20px;
  color: var(--w100);
  margin: 36px 0 12px;
}
.legal-body h3 {
  font-family: var(--ubuntu);
  font-weight: 700;
  font-size: 16px;
  color: var(--w80);
  margin: 24px 0 8px;
}
.legal-body p { color: var(--w80); margin-bottom: 14px; line-height: 1.65; }
.legal-body ul, .legal-body ol {
  color: var(--w80);
  margin: 0 0 14px 24px;
  line-height: 1.65;
}
.legal-body ul li, .legal-body ol li { margin-bottom: 6px; }
.legal-body strong { color: var(--w100); font-weight: 500; }
.legal-body a { color: var(--mint); }
.legal-body a:hover { text-decoration: underline; }

/* ===================================================================
   CONTACT PAGE
   =================================================================== */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-family: var(--ubuntu);
  font-weight: 500;
  font-size: 13px;
  color: var(--w60);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.form-input {
  width: 100%;
  background: var(--indigo-40);
  border: 1px solid var(--divider);
  border-radius: 6px;
  padding: 13px 16px;
  font-family: var(--noto);
  font-size: 15px;
  color: var(--w100);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.form-input::placeholder { color: var(--w30); }
.form-input:focus { border-color: var(--mint); }
textarea.form-input { resize: vertical; min-height: 140px; }

/* ===================================================================
   SCROLLBAR
   =================================================================== */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--indigo); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(96,221,203,0.3); }

/* ===================================================================
   AOS fixes
   =================================================================== */
[data-aos] { will-change: transform, opacity; }
