/* ============================================================
   tryorionstars.com — Global Stylesheet
   Dark cosmic gaming theme · Purple/Gold · Mobile-first PWA
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito:wght@400;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
  --purple-deep:   #100320;
  --purple-dark:   #1A0533;
  --purple-mid:    #7B2FBE;
  --purple-bright: #9B4DCA;
  --purple-light:  #C084F5;
  --purple-glow:   rgba(192,132,245,0.25);

  --gold:          #F5A623;
  --gold-bright:   #FFD700;
  --gold-dark:     #C8851A;
  --gold-glow:     rgba(245,166,35,0.35);

  --pink:          #E8317A;
  --blue:          #3B6FE8;
  --navy:          #0D1B4B;

  --text-white:    #FFFFFF;
  --text-light:    #E8E0F0;
  --text-muted:    #9B8AB0;
  --text-dim:      #6B5A80;

  --card-bg:       rgba(255,255,255,0.04);
  --card-border:   rgba(192,132,245,0.18);
  --card-hover:    rgba(192,132,245,0.32);

  --header-h:      68px;
  --disc-h:        34px;
  --bottom-bar-h:  62px;

  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   18px;
  --r-xl:   28px;
  --r-pill: 999px;

  --font-display: 'Fredoka One', cursive;
  --font-body:    'Nunito', sans-serif;

  --ease:      0.2s ease;
  --ease-slow: 0.4s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-white);
  background: var(--purple-deep);
  overflow-x: hidden;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple-light); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--gold); }
ul { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }

/* Cosmic background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(123,47,190,0.22) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 75%, rgba(59,111,232,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(13,27,75,0.5) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Star particles */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 8% 12%, rgba(255,255,255,0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 22% 38%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 38% 8%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 52% 55%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 67% 22%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 80% 42%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 91% 68%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 12% 72%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 58% 82%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 33% 92%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 74% 4%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 4% 48%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 46% 30%, rgba(245,166,35,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 86% 16%, rgba(192,132,245,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 18% 88%, rgba(59,111,232,0.3) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

body > * { position: relative; z-index: 1; }

/* ============================================================
   DISCLAIMER BAR
   ============================================================ */
.disclaimer-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--disc-h);
  background: rgba(245,166,35,0.08);
  border-bottom: 1px solid rgba(245,166,35,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.disclaimer-bar p {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-align: center;
  padding: 0 16px;
}
.disclaimer-bar p span { opacity: 0.4; margin: 0 6px; }

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: var(--disc-h);
  left: 0; right: 0;
  height: var(--header-h);
  background: rgba(16,3,32,0.93);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(192,132,245,0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 999;
}

.header-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.header-logo img { height: 46px; width: auto; }

.header-nav { display: none; align-items: center; gap: 4px; }
.header-nav a {
  font-size: 14px; font-weight: 700;
  color: var(--text-light);
  padding: 8px 13px;
  border-radius: var(--r-pill);
  transition: all var(--ease);
}
.header-nav a:hover,
.header-nav a.active { color: var(--gold); background: rgba(245,166,35,0.08); }

.header-cta { display: none; }

.hamburger {
  display: flex; flex-direction: column; justify-content: center;
  gap: 5px; width: 42px; height: 42px; padding: 9px;
  border-radius: var(--r-sm); cursor: pointer;
  transition: background var(--ease); flex-shrink: 0;
}
.hamburger:hover { background: rgba(255,255,255,0.06); }
.hamburger span { display: block; height: 2px; background: var(--text-light); border-radius: 2px; transition: all var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   MOBILE NAV OVERLAY
   ============================================================ */
.mobile-nav {
  position: fixed; inset: 0;
  background: rgba(12,2,28,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 998;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
  opacity: 0; pointer-events: none;
  transform: translateY(-10px);
  transition: all var(--ease-slow);
}
.mobile-nav.open { opacity: 1; pointer-events: all; transform: translateY(0); }
.mobile-nav a {
  font-family: var(--font-display); font-size: 30px;
  color: var(--text-light); padding: 10px 36px;
  border-radius: var(--r-lg); transition: all var(--ease);
}
.mobile-nav a:hover { color: var(--gold); background: rgba(245,166,35,0.07); }
.mobile-nav .nav-fb {
  margin-top: 20px; background: #1877F2; color: white;
  font-family: var(--font-body); font-weight: 800; font-size: 16px;
  padding: 14px 36px; border-radius: var(--r-pill);
  display: flex; align-items: center; gap: 8px;
}
.mobile-nav .nav-fb:hover { color: white; background: #1464d8; }

/* ============================================================
   PAGE LAYOUT
   ============================================================ */
.page-content {
  padding-top: calc(var(--disc-h) + var(--header-h));
  padding-bottom: calc(var(--bottom-bar-h) + 24px);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-family: var(--font-body); font-weight: 800;
  font-size: 15px; padding: 13px 28px; border-radius: var(--r-pill);
  transition: all var(--ease); cursor: pointer; text-decoration: none;
  white-space: nowrap; border: none; line-height: 1;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: var(--purple-deep);
  box-shadow: 0 4px 20px var(--gold-glow), 0 2px 6px rgba(0,0,0,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px); color: var(--purple-deep);
  box-shadow: 0 8px 28px var(--gold-glow), 0 4px 12px rgba(0,0,0,0.4);
  filter: brightness(1.06);
}
.btn-secondary {
  background: transparent; color: var(--purple-light);
  border: 2px solid var(--purple-bright);
}
.btn-secondary:hover {
  background: rgba(155,77,202,0.12); border-color: var(--purple-light);
  color: var(--text-white); transform: translateY(-2px);
}
.btn-fb {
  background: #1877F2; color: white;
  box-shadow: 0 4px 16px rgba(24,119,242,0.3);
}
.btn-fb:hover { background: #1464d8; transform: translateY(-2px); color: white; }
.btn-lg   { font-size: 17px; padding: 16px 36px; }
.btn-sm   { font-size: 13px; padding: 9px 20px; }
.btn-full { width: 100%; }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.section    { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.container    { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 720px;  margin: 0 auto; padding: 0 20px; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 5vw, 44px);
  color: var(--text-white); text-align: center;
  line-height: 1.15; margin-bottom: 10px;
}
.section-title span { color: var(--gold); }
.section-sub {
  font-size: 16px; color: var(--text-muted); text-align: center;
  max-width: 540px; margin: 0 auto 52px; line-height: 1.7;
}
.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(192,132,245,0.2), transparent); border: none; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--r-lg); padding: 24px; transition: all var(--ease);
}
.card:hover { border-color: var(--card-hover); box-shadow: 0 4px 28px rgba(192,132,245,0.1); transform: translateY(-2px); }

/* ============================================================
   PILLS / BADGES
   ============================================================ */
.pill {
  display: inline-block; font-size: 11px; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 10px; border-radius: var(--r-pill);
}
.pill-fish  { background: rgba(59,111,232,0.18);  color: #82a8ff;  border: 1px solid rgba(59,111,232,0.3); }
.pill-slots { background: rgba(245,166,35,0.15);  color: var(--gold); border: 1px solid rgba(245,166,35,0.3); }
.pill-keno  { background: rgba(29,198,117,0.15);  color: #5ae8a0;  border: 1px solid rgba(29,198,117,0.3); }
.pill-table { background: rgba(232,49,122,0.15);  color: #ff80b5;  border: 1px solid rgba(232,49,122,0.3); }
.pill-new   { background: rgba(232,49,122,0.2);   color: #ff80b5;  border: 1px solid rgba(232,49,122,0.4); }
.pill-hot   { background: rgba(245,100,35,0.2);   color: #ffaa70;  border: 1px solid rgba(245,100,35,0.4); }

/* ============================================================
   HERO (homepage)
   ============================================================ */
.hero {
  min-height: calc(100vh - var(--disc-h) - var(--header-h));
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 56px 20px 40px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(123,47,190,0.28) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 70%, rgba(59,111,232,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 0%, rgba(245,166,35,0.08) 0%, transparent 45%);
  pointer-events: none;
}
.hero-logo {
  width: min(260px, 68vw); margin: 0 auto 24px;
  filter: drop-shadow(0 0 28px rgba(192,132,245,0.5));
  animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero h1 {
  font-family: var(--font-display); font-size: clamp(24px, 6vw, 50px);
  line-height: 1.15; color: var(--text-white); margin-bottom: 12px;
  text-shadow: 0 2px 24px rgba(192,132,245,0.35);
}
.hero h1 span { color: var(--gold); }
.hero-sub { font-size: clamp(14px, 2.5vw, 18px); color: var(--text-muted); margin-bottom: 8px; }
.hero-disclaimer {
  display: inline-block; font-size: 11px; font-weight: 700; color: var(--gold);
  background: rgba(245,166,35,0.1); border: 1px solid rgba(245,166,35,0.22);
  border-radius: var(--r-pill); padding: 4px 14px; margin-bottom: 28px;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.hero-platforms { display: flex; align-items: center; gap: 10px; justify-content: center; flex-wrap: wrap; }
.platform-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: var(--text-muted);
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-pill); padding: 6px 13px;
}

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feature-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--r-lg); padding: 20px 18px; transition: all var(--ease);
}
.feature-card:hover { border-color: var(--card-hover); transform: translateY(-2px); }
.feature-icon { font-size: 28px; margin-bottom: 10px; }
.feature-card h3 { font-size: 15px; font-weight: 800; color: var(--text-white); margin-bottom: 5px; }
.feature-card p  { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ============================================================
   STEPS
   ============================================================ */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.step-card {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px; background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--r-lg); transition: all var(--ease);
}
.step-card:hover { border-color: rgba(245,166,35,0.28); }
.step-num {
  width: 46px; height: 46px; min-width: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--purple-deep); font-family: var(--font-display); font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px var(--gold-glow);
}
.step-content h3 { font-size: 16px; font-weight: 800; color: var(--text-white); margin-bottom: 5px; }
.step-content p  { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.step-content .btn { margin-top: 12px; }

/* ============================================================
   GAME CATEGORIES PREVIEW
   ============================================================ */
.categories-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.category-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--r-lg); padding: 22px;
  display: flex; align-items: center; gap: 18px;
  transition: all var(--ease); text-decoration: none;
}
.category-card:hover { border-color: var(--card-hover); transform: translateX(4px); color: var(--text-white); }
.category-icon {
  width: 54px; height: 54px; min-width: 54px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.cat-fish  .category-icon { background: rgba(59,111,232,0.15);  border: 1px solid rgba(59,111,232,0.25); }
.cat-slots .category-icon { background: rgba(245,166,35,0.12);  border: 1px solid rgba(245,166,35,0.25); }
.cat-keno  .category-icon { background: rgba(29,198,117,0.12);  border: 1px solid rgba(29,198,117,0.25); }
.category-info h3 { font-size: 16px; font-weight: 800; color: var(--text-white); margin-bottom: 4px; }
.category-info p  { font-size: 13px; color: var(--text-muted); }

/* ============================================================
   FACEBOOK CTA BLOCK
   ============================================================ */
.fb-block {
  background: linear-gradient(135deg, rgba(24,119,242,0.1), rgba(123,47,190,0.1));
  border: 1px solid rgba(24,119,242,0.22);
  border-radius: var(--r-lg); padding: 40px 24px; text-align: center;
}
.fb-block h3 { font-family: var(--font-display); font-size: clamp(20px,4vw,28px); color: var(--text-white); margin-bottom: 8px; }
.fb-block p  { font-size: 15px; color: var(--text-muted); margin-bottom: 24px; max-width: 400px; margin-left: auto; margin-right: auto; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 56px 20px 40px; text-align: center; position: relative;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(123,47,190,0.22) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero h1 { font-family: var(--font-display); font-size: clamp(28px,5vw,46px); color: var(--text-white); margin-bottom: 10px; }
.page-hero h1 span { color: var(--gold); }
.page-hero p  { font-size: 16px; color: var(--text-muted); max-width: 520px; margin: 0 auto; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-category       { margin-bottom: 40px; }
.faq-category-title {
  font-family: var(--font-display); font-size: 22px; color: var(--gold);
  margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid rgba(245,166,35,0.2);
}
.faq-item {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--r-md); margin-bottom: 8px;
  overflow: hidden; transition: border-color var(--ease);
}
.faq-item.open { border-color: rgba(192,132,245,0.35); }
.faq-question {
  width: 100%; text-align: left; padding: 18px 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-size: 15px; font-weight: 700; color: var(--text-white);
  cursor: pointer; background: none; border: none;
  font-family: var(--font-body); transition: color var(--ease);
}
.faq-question:hover { color: var(--gold); }
.faq-item.open .faq-question { color: var(--purple-light); }
.faq-chevron {
  width: 20px; height: 20px; min-width: 20px; border-radius: 50%;
  background: rgba(192,132,245,0.12); display: flex; align-items: center; justify-content: center;
  transition: transform var(--ease), background var(--ease); color: var(--purple-light); font-size: 12px;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); background: rgba(192,132,245,0.22); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner { padding: 0 20px 18px; font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.faq-answer-inner a { color: var(--purple-light); }
.faq-answer-inner a:hover { color: var(--gold); }

/* ============================================================
   DOWNLOAD PAGE
   ============================================================ */
.download-tabs { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.dl-tab {
  flex: 1; min-width: 100px; padding: 12px 16px; border-radius: var(--r-md);
  border: 1px solid var(--card-border); background: var(--card-bg);
  color: var(--text-muted); font-weight: 700; font-size: 14px;
  cursor: pointer; transition: all var(--ease); text-align: center;
  font-family: var(--font-body); display: flex; align-items: center; justify-content: center; gap: 7px;
}
.dl-tab.active { background: rgba(245,166,35,0.1); border-color: rgba(245,166,35,0.35); color: var(--gold); }
.dl-tab:hover:not(.active) { border-color: var(--card-hover); color: var(--text-white); }
.dl-panel { display: none; }
.dl-panel.active { display: block; }
.dl-steps { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.dl-step {
  display: flex; gap: 16px; align-items: flex-start; padding: 18px;
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--r-md);
}
.dl-step-num {
  width: 34px; height: 34px; min-width: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-mid), var(--purple-bright));
  color: white; font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.dl-step h4 { font-size: 15px; font-weight: 800; color: var(--text-white); margin-bottom: 3px; }
.dl-step p  { font-size: 13px; color: var(--text-muted); }
.dl-cta-box {
  background: rgba(245,166,35,0.07); border: 1px solid rgba(245,166,35,0.2);
  border-radius: var(--r-lg); padding: 24px; text-align: center;
}
.dl-cta-box p { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.dl-note {
  display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px;
  background: rgba(59,111,232,0.08); border: 1px solid rgba(59,111,232,0.2);
  border-radius: var(--r-md); margin-top: 14px;
  font-size: 13px; color: var(--text-muted); line-height: 1.6;
}
.dl-note strong { color: #82a8ff; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.contact-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--r-lg); padding: 28px 24px; text-align: center; transition: all var(--ease);
}
.contact-card:hover { border-color: var(--card-hover); transform: translateY(-2px); }
.contact-icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin: 0 auto 14px;
}
.contact-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.contact-card p  { font-size: 14px; color: var(--text-muted); margin-bottom: 18px; }
.response-time {
  display: inline-block; font-size: 12px; font-weight: 700; color: #5ae8a0;
  background: rgba(29,198,117,0.1); border: 1px solid rgba(29,198,117,0.2);
  border-radius: var(--r-pill); padding: 4px 12px; margin-top: 10px;
}

/* ============================================================
   RESPONSIBLE GAMING / LEGAL PAGES
   ============================================================ */
.rg-section { margin-bottom: 36px; }
.rg-section h2 { font-family: var(--font-display); font-size: 22px; color: var(--purple-light); margin-bottom: 14px; }
.rg-section p, .rg-section li { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 10px; }
.rg-section ul { padding-left: 20px; }
.rg-section ul li { list-style: disc; }
.rg-section a { color: var(--purple-light); }
.rg-section strong { color: var(--text-white); }

.warning-box {
  background: rgba(232,49,122,0.08); border: 1px solid rgba(232,49,122,0.25);
  border-radius: var(--r-lg); padding: 20px 22px; margin-bottom: 24px;
}
.warning-box p { color: #ff80b5; font-size: 14px; margin: 0; }
.resource-card {
  background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: var(--r-md); padding: 16px 20px; margin-bottom: 10px;
  display: flex; align-items: center; gap: 14px;
}
.resource-card .r-icon { font-size: 22px; }
.resource-card h4 { font-size: 15px; font-weight: 700; color: var(--text-white); margin-bottom: 2px; }
.resource-card p  { font-size: 13px; color: var(--text-muted); }

/* ============================================================
   PLAY PAGE
   ============================================================ */
.play-page-wrap {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column; background: #000; z-index: 9999;
}
.play-header {
  height: 50px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; background: rgba(16,3,32,0.97);
  border-bottom: 1px solid rgba(192,132,245,0.15);
}
.play-back {
  font-size: 13px; font-weight: 700; color: var(--text-muted);
  display: flex; align-items: center; gap: 5px; padding: 6px 10px;
  border-radius: var(--r-sm); transition: all var(--ease);
}
.play-back:hover { color: var(--text-white); background: rgba(255,255,255,0.06); }
.play-header img { height: 34px; }
.play-help { font-size: 13px; font-weight: 700; color: var(--gold); padding: 6px 12px; border-radius: var(--r-sm); transition: all var(--ease); }
.play-help:hover { background: rgba(245,166,35,0.08); }
.game-frame { flex: 1; width: 100%; border: none; display: block; }

/* Fallback play page */
.play-fallback {
  min-height: calc(100vh - var(--disc-h) - var(--header-h));
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 60px 20px;
}
.play-fallback h1 { font-family: var(--font-display); font-size: clamp(28px,5vw,44px); margin-bottom: 12px; }
.play-fallback p  { font-size: 16px; color: var(--text-muted); margin-bottom: 28px; max-width: 440px; }
.play-note { font-size: 13px; color: var(--text-dim); margin-top: 14px; }

/* ============================================================
   MOBILE BOTTOM TAB BAR
   ============================================================ */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--bottom-bar-h);
  background: rgba(12,2,28,0.97);
  border-top: 1px solid rgba(192,132,245,0.14);
  display: flex; z-index: 990;
  padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav a {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
  font-size: 10px; font-weight: 700; color: var(--text-dim);
  text-decoration: none; padding: 8px 4px;
  transition: color var(--ease); letter-spacing: 0.03em;
}
.bottom-nav a svg { width: 22px; height: 22px; fill: currentColor; }
.bottom-nav a:hover,
.bottom-nav a.active { color: var(--gold); }
.bottom-nav .play-tab { color: var(--purple-deep); position: relative; top: -8px; }
.play-tab-bubble {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px var(--gold-glow); margin-bottom: 2px;
}
.play-tab-bubble svg { fill: var(--purple-deep); width: 26px; height: 26px; }
.bottom-nav .play-tab span { color: var(--gold); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: rgba(13,27,75,0.55);
  border-top: 1px solid rgba(192,132,245,0.12);
  padding: 52px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; margin-bottom: 36px; }
.footer-brand .footer-logo { height: 48px; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; color: var(--text-dim); line-height: 1.6; max-width: 240px; }
.footer-col h4 {
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-dim); margin-bottom: 14px;
}
.footer-col a { display: block; font-size: 14px; color: var(--text-muted); margin-bottom: 9px; transition: color var(--ease); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06); padding-top: 20px;
  display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center;
}
.footer-bottom p { font-size: 12px; color: var(--text-dim); }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.footer-legal a { font-size: 12px; color: var(--text-dim); }
.footer-legal a:hover { color: var(--purple-light); }
.footer-disclaimer {
  font-size: 11px; color: var(--text-dim); line-height: 1.6; text-align: center;
  max-width: 600px; margin: 0 auto; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.04); margin-top: 14px;
}

/* ============================================================
   UTILITY
   ============================================================ */
.text-gold   { color: var(--gold); }
.text-purple { color: var(--purple-light); }
.text-muted  { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.hidden { display: none !important; }

/* ============================================================
   CONSTELLATION BACKGROUND ANIMATION
   ============================================================ */
#constellation-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

/* Twinkling stars overlay */
@keyframes twinkle1 { 0%,100%{opacity:0.2} 50%{opacity:0.9} }
@keyframes twinkle2 { 0%,100%{opacity:0.5} 40%{opacity:0.1} }
@keyframes twinkle3 { 0%,100%{opacity:0.7} 60%{opacity:0.2} }
@keyframes drift   { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-3px)} }

.star-field { position:fixed; inset:0; pointer-events:none; z-index:0; }
.star-field span {
  position: absolute;
  border-radius: 50%;
  background: white;
}


* { scrollbar-width: none; -ms-overflow-style: none; }
*::-webkit-scrollbar { display: none; }

/* ============================================================
   FIX 4: Mobile — hide Play Now from header, bigger logo
   ============================================================ */
@media (max-width: 767px) {
  .header-cta { display: none !important; }
  .site-header { padding: 0 16px; }
  .header-logo img { height: 52px; }
}

/* ============================================================
   FIX 5: Play bubble — perfectly round & centered
   ============================================================ */
.bottom-nav .play-tab {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative; top: -10px;
  color: var(--gold);
}
.play-tab-bubble {
  width: 56px; height: 56px; min-width: 56px; min-height: 56px;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px var(--gold-glow), 0 0 0 3px rgba(245,166,35,0.15);
  margin-bottom: 3px; flex-shrink: 0;
}
.play-tab-bubble svg {
  fill: var(--purple-deep); width: 22px; height: 22px;
  display: block; transform: translateX(1px);
}
.bottom-nav .play-tab span {
  font-size: 10px; font-weight: 700; color: var(--gold); letter-spacing: 0.03em;
}

/* ============================================================
   RESPONSIVE — Tablet 768px+
   ============================================================ */
@media (min-width: 768px) {
  .site-header  { padding: 0 32px; }
  .header-nav   { display: flex; }
  .header-cta   { display: flex; }
  .hamburger    { display: none; }

  /* FIX 1: 2x logo size on desktop */
  .header-logo img { height: 88px; }
  .site-header { height: 96px; }
  :root { --header-h: 96px; }

  .features-grid   { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .steps-grid      { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid    { grid-template-columns: repeat(2, 1fr); }
  .footer-grid     { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-bottom   { flex-direction: row; justify-content: space-between; text-align: left; }

  .bottom-nav   { display: none; }
  .page-content { padding-bottom: 24px; }
  .hero-logo    { width: 320px; }
}

@media (min-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .container  { padding: 0 32px; }
  .section    { padding: 88px 0; }
}
