/* ==========================================================================
   CAOasisGaming — styles.css
   Canada's Free Social Arcade Oasis
   https://caoasisgaming.com
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES
   -------------------------------------------------------------------------- */
:root {
  /* Brand colours */
  --primary:        #0891B2;
  --primary-dark:   #0E7490;
  --primary-light:  #22D3EE;
  --secondary:      #F97316;
  --secondary-dark: #EA580C;
  --accent:         #F97316;

  /* Backgrounds */
  --bg:     #FFFBF5;
  --bg-alt: #F0FDFE;

  /* Text */
  --text:       #0C2340;
  --text-mid:   #1E4060;
  --text-muted: #3A6080;

  /* Border */
  --border: #CCEEFF;

  /* Shadows */
  --shadow-sm: 0 1px 4px 0 rgba(8,145,178,.10);
  --shadow-md: 0 4px 16px 0 rgba(8,145,178,.13);
  --shadow-lg: 0 8px 32px 0 rgba(8,145,178,.16);
  --shadow-xl: 0 16px 56px 0 rgba(8,145,178,.20);

  /* Radius */
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   22px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast:   all .15s ease;
  --transition-normal: all .28s ease;
  --transition-slow:   all .48s ease;

  /* Layout */
  --header-height:  70px;
  --container-max: 1200px;
}

/* --------------------------------------------------------------------------
   2. RESET & BOX-SIZING
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 700; }
em { font-style: italic; }

/* --------------------------------------------------------------------------
   3. CONTAINER
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.container-sm {
  width: 100%;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* --------------------------------------------------------------------------
   4. MODAL
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 116, 144, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  padding: 1rem;
}

.modal-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 480px;
  width: 100%;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transform: translateY(20px);
  transition: transform .35s ease;
  border: 1.5px solid var(--border);
}

.modal-overlay.visible .modal-box {
  transform: translateY(0);
}

.modal-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  margin-bottom: 1.25rem;
}

.modal-logo img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
}

.modal-logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -.5px;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: .6rem;
}

.modal-body {
  color: var(--text-muted);
  font-size: .97rem;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.modal-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: var(--radius-full);
  margin: .9rem auto 1.1rem;
}

.modal-actions {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.modal-legal {
  margin-top: 1.2rem;
  font-size: .78rem;
  color: var(--text-muted);
}

.modal-legal a {
  color: var(--primary);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7rem 1.6rem;
  border-radius: var(--radius-full);
  font-size: .97rem;
  font-weight: 700;
  letter-spacing: .01em;
  transition: var(--transition-normal);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn:focus-visible {
  outline: 3px solid var(--primary-light);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 3px 14px rgba(8,145,178,.30);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  box-shadow: 0 5px 20px rgba(8,145,178,.40);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
  box-shadow: 0 3px 14px rgba(249,115,22,.28);
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
  color: #fff;
  box-shadow: 0 5px 20px rgba(249,115,22,.38);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(8,145,178,.25);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.7);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
  border-color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: transparent;
}

.btn-ghost:hover {
  background: rgba(8,145,178,.08);
  color: var(--primary-dark);
}

.btn-sm {
  padding: .45rem 1.1rem;
  font-size: .875rem;
}

.btn-lg {
  padding: .9rem 2.2rem;
  font-size: 1.08rem;
}

.btn-xl {
  padding: 1.05rem 2.6rem;
  font-size: 1.15rem;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .48rem 1.25rem;
  background: var(--primary);
  color: #fff !important;
  border-radius: var(--radius-full);
  font-size: .9rem;
  font-weight: 700;
  transition: var(--transition-normal);
  border: 2px solid var(--primary);
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   6. COOKIE BANNER
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 8888;
  background: var(--primary-dark);
  color: #fff;
  padding: 1rem 0;
  transform: translateY(100%);
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 -4px 24px rgba(8,116,144,.35);
}

.cookie-banner.active {
  transform: translateY(0);
}

.cookie-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 220px;
  font-size: .92rem;
  line-height: 1.55;
  color: rgba(255,255,255,.92);
}

.cookie-text a {
  color: var(--primary-light);
  text-decoration: underline;
}

.cookie-text a:hover {
  color: #fff;
}

.cookie-actions {
  display: flex;
  gap: .6rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-btn-accept {
  padding: .5rem 1.2rem;
  background: var(--secondary);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: .9rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.cookie-btn-accept:hover {
  background: var(--secondary-dark);
  transform: translateY(-1px);
}

.cookie-btn-decline {
  padding: .5rem 1.2rem;
  background: transparent;
  color: rgba(255,255,255,.8);
  border-radius: var(--radius-full);
  font-size: .9rem;
  font-weight: 600;
  border: 1.5px solid rgba(255,255,255,.35);
  cursor: pointer;
  transition: var(--transition-fast);
}

.cookie-btn-decline:hover {
  border-color: rgba(255,255,255,.7);
  color: #fff;
}

/* --------------------------------------------------------------------------
   7. HEADER
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 2px solid var(--border);
  transition: box-shadow .28s ease, background .28s ease;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(8,145,178,.14);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1.5rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  flex-shrink: 0;
}

.logo img {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -.5px;
  line-height: 1;
}

.logo-text span {
  color: var(--secondary);
}

.logo-tagline {
  display: block;
  font-size: .65rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: .02em;
  margin-top: 1px;
}

/* Desktop Nav */
.main-nav,
.nav-desktop {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-desktop a,
.main-nav a {
  display: inline-flex;
  align-items: center;
  padding: .42rem .85rem;
  color: var(--text-mid);
  font-size: .93rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  text-decoration: none;
}

.nav-desktop a:hover,
.main-nav a:hover,
.nav-desktop a.active,
.main-nav a.active {
  color: var(--primary);
  background: rgba(8,145,178,.07);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 6px;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease, width .3s ease;
  transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1),
.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2),
.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-btn.active span:nth-child(3),
.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: #fff;
  padding: 1.5rem 1.25rem;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  border-top: 1px solid var(--border);
}

.mobile-nav.active,
.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  margin-bottom: 1.5rem;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  padding: .85rem 1rem;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition-fast);
  border-bottom: 1px solid var(--border);
}

.mobile-nav-links a:last-child {
  border-bottom: none;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  color: var(--primary);
  background: rgba(8,145,178,.06);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.mobile-nav-actions .btn {
  width: 100%;
  justify-content: center;
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(12,35,64,.35);
  backdrop-filter: blur(2px);
}

.mobile-nav-overlay.active {
  display: block;
}

/* --------------------------------------------------------------------------
   8. PAGE HERO
   -------------------------------------------------------------------------- */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #0EA5C9 75%, var(--secondary) 100%);
  color: #fff;
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.18);
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff;
  padding: .35rem .9rem;
  border-radius: var(--radius-full);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  backdrop-filter: blur(4px);
}

.page-hero h1 {
  color: #fff;
  margin-bottom: .9rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.18);
}

.hero-lead,
.page-hero-sub {
  font-size: 1.18rem;
  color: rgba(255,255,255,.90);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 1.25rem;
  font-size: .82rem;
  color: rgba(255,255,255,.7);
}

/* Home hero variant */
.home-hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 5rem;
}

.home-hero .page-hero::after {
  height: 80px;
}

/* --------------------------------------------------------------------------
   9. SECTIONS
   -------------------------------------------------------------------------- */
.section {
  padding: 4.5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.section-lg {
  padding: 6rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--primary-dark);
  color: #fff;
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  margin-bottom: .6rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: rgba(8,145,178,.10);
  color: var(--primary-dark);
  padding: .3rem .9rem;
  border-radius: var(--radius-full);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .85rem;
}

.section-tag.coral {
  background: rgba(249,115,22,.12);
  color: var(--secondary-dark);
}

.section-divider {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: var(--radius-full);
  margin: .85rem auto 0;
}

/* --------------------------------------------------------------------------
   10. FEATURE GRID
   -------------------------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transition: transform .3s ease;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(8,145,178,.12), rgba(34,211,238,.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.1rem;
  flex-shrink: 0;
}

.feature-icon.coral {
  background: linear-gradient(135deg, rgba(249,115,22,.12), rgba(251,146,60,.15));
}

.feature-icon.teal {
  background: linear-gradient(135deg, rgba(8,145,178,.12), rgba(34,211,238,.15));
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--text);
}

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

/* --------------------------------------------------------------------------
   11. STEPS
   -------------------------------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--secondary));
  z-index: 0;
  opacity: .35;
}

.step-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
  transition: var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.step-num {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
  box-shadow: 0 4px 14px rgba(8,145,178,.35);
  position: relative;
  z-index: 2;
}

.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   12. TWO COLUMN
   -------------------------------------------------------------------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.two-col.reverse {
  direction: rtl;
}

.two-col.reverse > * {
  direction: ltr;
}

.two-col.wide-text {
  grid-template-columns: 1.2fr 1fr;
}

.col-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.col-text h2 {
  margin-bottom: .35rem;
}

.col-text p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.col-text .btn {
  align-self: flex-start;
  margin-top: .5rem;
}

.col-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.visual-card img {
  width: 100%;
  height: auto;
  display: block;
}

.card-teal {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.card-teal h3 {
  color: #fff;
  margin-bottom: .75rem;
}

.card-teal p {
  color: rgba(255,255,255,.85);
}

.card-coral {
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 60%, #FB923C 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.card-coral h3 {
  color: #fff;
  margin-bottom: .75rem;
}

.card-coral p {
  color: rgba(255,255,255,.85);
}

/* --------------------------------------------------------------------------
   13. VALUES
   -------------------------------------------------------------------------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  text-align: center;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.value-icon-teal,
.value-icon-coral,
.value-icon-amber {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin: 0 auto 1.1rem;
}

.value-icon-teal {
  background: linear-gradient(135deg, rgba(8,145,178,.15), rgba(34,211,238,.18));
  color: var(--primary);
}

.value-icon-coral {
  background: linear-gradient(135deg, rgba(249,115,22,.15), rgba(251,146,60,.18));
  color: var(--secondary);
}

.value-icon-amber {
  background: linear-gradient(135deg, rgba(245,158,11,.15), rgba(252,211,77,.18));
  color: #D97706;
}

.value-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.value-card p {
  color: var(--text-muted);
  font-size: .93rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   14. TEAM
   -------------------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.team-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
  overflow: hidden;
  border: 3px solid var(--border);
  box-shadow: 0 4px 14px rgba(8,145,178,.18);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-full);
}

.team-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .25rem;
}

.team-role {
  font-size: .82rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .6rem;
}

.team-bio {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   15. TIMELINE
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 2px;
  opacity: .35;
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -2.5rem;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background: var(--primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--primary), var(--shadow-sm);
  transition: var(--transition-fast);
  z-index: 1;
}

.timeline-item:hover .timeline-marker {
  transform: scale(1.2);
  background: var(--secondary);
  box-shadow: 0 0 0 2px var(--secondary), var(--shadow-sm);
}

.timeline-content {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.timeline-item:hover .timeline-content {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.timeline-date {
  font-size: .8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .35rem;
}

.timeline-content h3 {
  font-size: 1.05rem;
  margin-bottom: .35rem;
}

.timeline-content p {
  font-size: .92rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   16. CTA SECTION
   -------------------------------------------------------------------------- */
.cta-section {
  padding: 4.5rem 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #0EA5C9 75%, var(--secondary) 100%);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-box .container {
  position: relative;
  z-index: 1;
}

.cta-box h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  margin-bottom: .75rem;
}

.cta-box p {
  color: rgba(255,255,255,.88);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-note {
  margin-top: 1.1rem;
  font-size: .82rem;
  color: rgba(255,255,255,.7);
}

/* --------------------------------------------------------------------------
   17. COMMUNITY & TESTIMONIALS
   -------------------------------------------------------------------------- */
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.community-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  text-align: center;
}

.community-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.community-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(8,145,178,.12), rgba(34,211,238,.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.1rem;
}

.community-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.community-card p {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 4rem;
  color: var(--primary-light);
  line-height: 1;
  font-family: Georgia, serif;
  opacity: .4;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  color: #FBBF24;
  font-size: 1rem;
}

.testimonial-text {
  font-size: .97rem;
  color: var(--text-mid);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 700;
  font-size: .95rem;
  color: var(--text);
  line-height: 1.2;
}

.testimonial-loc {
  font-size: .82rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   18. FAQ
   -------------------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.faq-item.active,
.faq-item.open {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.5rem;
  cursor: pointer;
  gap: 1rem;
  user-select: none;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  transition: var(--transition-fast);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-item.active .faq-question,
.faq-item.open .faq-question {
  color: var(--primary-dark);
}

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  background: rgba(8,145,178,.10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-normal);
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 700;
  line-height: 1;
}

.faq-item.active .faq-icon,
.faq-item.open .faq-icon {
  background: var(--primary);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.75;
  border-top: 1px solid var(--border);
}

.faq-item.active .faq-answer,
.faq-item.open .faq-answer {
  display: block;
}

.faq-answer p { margin-bottom: .7rem; }
.faq-answer p:last-child { margin-bottom: 0; }

.faq-answer a {
  color: var(--primary);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   19. CONTACT
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info h2 {
  margin-bottom: .5rem;
}

.contact-info > p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.contact-detail:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(8,145,178,.12), rgba(34,211,238,.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-detail-body h4 {
  font-size: .85rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .2rem;
}

.contact-detail-body p,
.contact-detail-body a {
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.contact-form-box {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-md);
}

.contact-form-box h3 {
  margin-bottom: 1.5rem;
}

/* Form elements */
.form-group {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin-bottom: 1.15rem;
}

.form-group:last-of-type {
  margin-bottom: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group label {
  font-size: .88rem;
  font-weight: 700;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: .3rem;
}

.form-required {
  color: var(--secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .97rem;
  color: var(--text);
  background: var(--bg);
  transition: var(--transition-fast);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(8,145,178,.13);
  background: #fff;
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.10);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%233A6080' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-hint {
  font-size: .78rem;
  color: var(--text-muted);
}

.form-error-msg {
  display: none;
  font-size: .8rem;
  color: #EF4444;
  margin-top: .2rem;
  font-weight: 600;
}

.form-error-msg.visible {
  display: block;
}

.form-success-msg {
  display: none;
  background: rgba(5,150,105,.08);
  border: 1.5px solid rgba(5,150,105,.25);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  color: #065F46;
  font-weight: 600;
  margin-top: 1rem;
}

.form-success-msg.visible {
  display: block;
}

.form-success-msg .success-icon {
  font-size: 2.5rem;
  margin-bottom: .5rem;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.form-actions .btn {
  flex: 1;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   20. LEGAL PAGES
   -------------------------------------------------------------------------- */
.legal-main {
  max-width: 840px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}

.legal-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--border);
}

.legal-header h1 {
  margin-bottom: .5rem;
}

.legal-meta {
  font-size: .88rem;
  color: var(--text-muted);
}

.legal-toc {
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.5rem;
}

.legal-toc h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}

.legal-toc ol {
  list-style: decimal;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.legal-toc ol li a {
  font-size: .92rem;
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.legal-toc ol li a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.legal-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 1.35rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--primary-light);
  display: inline-block;
}

.legal-section h3 {
  font-size: 1.05rem;
  margin: 1.25rem 0 .5rem;
  color: var(--text);
}

.legal-section p {
  color: var(--text-muted);
  font-size: .97rem;
  line-height: 1.8;
}

.legal-section ul,
.legal-section ol {
  list-style: disc;
  padding-left: 1.5rem;
  margin: .75rem 0;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.legal-section ol {
  list-style: decimal;
}

.legal-section li {
  font-size: .97rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.contact-card {
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin-top: 1.5rem;
}

.contact-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .6rem;
}

.contact-card p {
  font-size: .92rem;
  color: var(--text-muted);
  margin-bottom: .35rem;
}

.contact-card p:last-child { margin-bottom: 0; }

.contact-card a {
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   21. HELP CENTRE
   -------------------------------------------------------------------------- */
.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.help-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.help-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
  color: inherit;
}

.help-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(8,145,178,.12), rgba(34,211,238,.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.1rem;
  transition: var(--transition-normal);
}

.help-card:hover .help-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  box-shadow: 0 6px 18px rgba(8,145,178,.30);
}

.help-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.help-card p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.help-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .85rem;
  font-size: .88rem;
  font-weight: 700;
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   22. GAME PAGE
   -------------------------------------------------------------------------- */
.game-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #063D52 40%, #1A1A2E 70%, #2D1B0E 85%, var(--secondary-dark) 100%);
  color: #fff;
  padding: 3.5rem 0 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.game-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(8,145,178,.25) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(249,115,22,.20) 0%, transparent 60%);
  pointer-events: none;
}

.game-hero .container {
  position: relative;
  z-index: 1;
}

.game-hero h1 {
  color: #fff;
  margin-bottom: .6rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.game-hero p {
  color: rgba(255,255,255,.82);
  max-width: 520px;
  margin: 0 auto;
}

.game-wrapper {
  padding: 2.5rem 0;
  background: var(--bg-alt);
}

.game-canvas {
  background: #111827;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-canvas iframe,
.game-canvas canvas {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.game-canvas-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  gap: 1rem;
  font-size: 1.1rem;
}

.game-disclaimer-box {
  background: rgba(8,116,144,.07);
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.game-disclaimer-box strong {
  color: var(--text);
}

.game-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.game-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.game-tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: rgba(8,145,178,.10);
  color: var(--primary-dark);
  padding: .25rem .7rem;
  border-radius: var(--radius-full);
  font-size: .78rem;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   23. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.85);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
  text-decoration: none;
}

.footer-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.footer-logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.4px;
}

.footer-logo-text span {
  color: var(--secondary);
}

.footer-desc {
  font-size: .9rem;
  color: rgba(255,255,255,.68);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.footer-address {
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
  font-style: normal;
}

.footer-social {
  display: flex;
  gap: .5rem;
  margin-top: 1.1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.75);
  font-size: 1rem;
  transition: var(--transition-fast);
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: .88rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.footer-col ul li a {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}

.footer-col ul li a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  padding: 1.5rem 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  line-height: 1.5;
}

.footer-disclaimer {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  line-height: 1.6;
  max-width: 580px;
  text-align: right;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

/* --------------------------------------------------------------------------
   24. STATS
   -------------------------------------------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.stat-number {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: .35rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: .88rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* Stats on dark bg */
.section-dark .stat-card {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.15);
}

.section-dark .stat-number {
  background: linear-gradient(135deg, var(--primary-light), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-dark .stat-label {
  color: rgba(255,255,255,.65);
}

/* --------------------------------------------------------------------------
   25. SCROLL REVEAL
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* --------------------------------------------------------------------------
   26. ANIMATIONS & KEYFRAMES
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.04); }
}

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

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.animate-fade-in    { animation: fadeIn .6s ease both; }
.animate-slide-up   { animation: slideUp .6s ease both; }
.animate-slide-down { animation: slideDown .5s ease both; }
.animate-pulse      { animation: pulse 2.5s ease-in-out infinite; }
.animate-float      { animation: float 3.5s ease-in-out infinite; }

/* --------------------------------------------------------------------------
   27. TOAST NOTIFICATIONS
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  pointer-events: none;
}

.toast {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: .9rem 1.25rem;
  box-shadow: var(--shadow-lg);
  font-size: .93rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: .75rem;
  max-width: 320px;
  pointer-events: all;
  animation: slideLeft .35s ease both;
  border-left: 4px solid var(--primary);
}

.toast.success { border-left-color: #059669; }
.toast.error   { border-left-color: #EF4444; }
.toast.warning { border-left-color: #F59E0B; }

.toast-icon { font-size: 1.25rem; flex-shrink: 0; }
.toast-msg  { flex: 1; }

.toast-dismiss {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text-muted);
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.toast-dismiss:hover { color: var(--text); }

/* --------------------------------------------------------------------------
   28. UTILITY CLASSES
   -------------------------------------------------------------------------- */
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }

.text-primary  { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-muted   { color: var(--text-muted); }
.text-white   { color: #fff; }

.font-bold    { font-weight: 700; }
.font-black   { font-weight: 900; }

.mt-0  { margin-top: 0; }
.mt-1  { margin-top: .5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mt-4  { margin-top: 2rem; }
.mt-6  { margin-top: 3rem; }

.mb-0  { margin-bottom: 0; }
.mb-1  { margin-bottom: .5rem; }
.mb-2  { margin-bottom: 1rem; }
.mb-3  { margin-bottom: 1.5rem; }
.mb-4  { margin-bottom: 2rem; }
.mb-6  { margin-bottom: 3rem; }

.pt-0  { padding-top: 0; }
.pb-0  { padding-bottom: 0; }

.flex         { display: flex; }
.flex-col     { flex-direction: column; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap    { flex-wrap: wrap; }
.gap-1        { gap: .5rem; }
.gap-2        { gap: 1rem; }
.gap-3        { gap: 1.5rem; }
.gap-4        { gap: 2rem; }

.hidden       { display: none !important; }
.visible      { display: block; }

.rounded-sm   { border-radius: var(--radius-sm); }
.rounded-md   { border-radius: var(--radius-md); }
.rounded-lg   { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

.w-full       { width: 100%; }
.max-w-sm     { max-width: 480px; }
.max-w-md     { max-width: 640px; }
.max-w-lg     { max-width: 840px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* --------------------------------------------------------------------------
   29. PILL / BADGE
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: .2rem .65rem;
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.badge-teal   { background: rgba(8,145,178,.12); color: var(--primary-dark); }
.badge-coral  { background: rgba(249,115,22,.12); color: var(--secondary-dark); }
.badge-green  { background: rgba(5,150,105,.12); color: #065F46; }
.badge-amber  { background: rgba(245,158,11,.12); color: #92400E; }
.badge-white  { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.3); }

/* --------------------------------------------------------------------------
   30. CARD GENERIC
   -------------------------------------------------------------------------- */
.card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.card-body { flex: 1; }

.card-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}

/* --------------------------------------------------------------------------
   31. MISC / DIVIDERS
   -------------------------------------------------------------------------- */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

.divider-gradient {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
  margin: 2.5rem 0;
}

.highlight {
  background: linear-gradient(135deg, rgba(8,145,178,.10), rgba(34,211,238,.12));
  border-radius: var(--radius-sm);
  padding: .05em .3em;
  color: var(--primary-dark);
  font-weight: 700;
}

.notice-box {
  background: rgba(8,145,178,.07);
  border: 1.5px solid rgba(8,145,178,.20);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.notice-box.warning {
  background: rgba(245,158,11,.07);
  border-color: rgba(245,158,11,.25);
}

.notice-box.error {
  background: rgba(239,68,68,.07);
  border-color: rgba(239,68,68,.22);
}

.notice-box strong {
  color: var(--text);
}

/* --------------------------------------------------------------------------
   32. PAGE LOADER
   -------------------------------------------------------------------------- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .4s ease;
}

.page-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid var(--border);
  border-top-color: var(--primary);
  border-radius: var(--radius-full);
  animation: spin .75s linear infinite;
}

/* --------------------------------------------------------------------------
   33. BREADCRUMB
   -------------------------------------------------------------------------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--border);
  font-size: .75rem;
}

/* --------------------------------------------------------------------------
   34. BACK-TO-TOP
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  z-index: 500;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  border: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s ease, transform .3s ease;
  text-decoration: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   35. RESPONSIVE — 1024px
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .feature-grid    { grid-template-columns: repeat(2, 1fr); }
  .values-grid     { grid-template-columns: repeat(2, 1fr); }
  .team-grid       { grid-template-columns: repeat(2, 1fr); }
  .stats-grid      { grid-template-columns: repeat(2, 1fr); }
  .steps-grid      { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .footer-grid     { grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
  .footer-brand    { grid-column: 1 / -1; }
  .two-col         { gap: 2.5rem; }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .community-grid  { grid-template-columns: repeat(2, 1fr); }
  .help-grid       { grid-template-columns: repeat(2, 1fr); }
  .contact-grid    { grid-template-columns: 1fr; }
  .cta-box         { padding: 3rem 2rem; }
}

/* --------------------------------------------------------------------------
   36. RESPONSIVE — 768px
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  :root { --header-height: 60px; }

  .nav-desktop,
  .main-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .feature-grid     { grid-template-columns: 1fr; }
  .values-grid      { grid-template-columns: 1fr; }
  .team-grid        { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .community-grid   { grid-template-columns: 1fr; }
  .help-grid        { grid-template-columns: 1fr; }
  .stats-grid       { grid-template-columns: repeat(2, 1fr); }
  .steps-grid       { grid-template-columns: 1fr; }

  .two-col,
  .two-col.reverse  {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-disclaimer { text-align: center; }

  .contact-grid    { grid-template-columns: 1fr; }
  .form-row        { grid-template-columns: 1fr; }

  .section         { padding: 3rem 0; }
  .section-header  { margin-bottom: 2rem; }

  .page-hero       { padding: 3.5rem 0 3rem; }
  .hero-lead,
  .page-hero-sub   { font-size: 1.05rem; }

  .cta-box         { padding: 2.5rem 1.5rem; border-radius: var(--radius-lg); }

  .timeline        { padding-left: 1.75rem; }

  .modal-box       { padding: 2rem 1.5rem; }

  .modal-actions   { flex-direction: column; }
  .modal-actions .btn { width: 100%; }

  .cookie-inner    { flex-direction: column; gap: 1rem; }
  .cookie-actions  { width: 100%; justify-content: flex-end; }

  .hero-actions    { flex-direction: column; }
  .hero-actions .btn { width: 100%; max-width: 320px; justify-content: center; }

  .cta-actions     { flex-direction: column; }
  .cta-actions .btn { width: 100%; max-width: 300px; justify-content: center; }

  .legal-toc       { padding: 1.25rem; }
  .legal-main      { padding: 2rem 1.25rem; }
}

/* --------------------------------------------------------------------------
   37. RESPONSIVE — 480px
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  :root { --header-height: 56px; }

  html { font-size: 15px; }

  .container { padding-left: 1rem; padding-right: 1rem; }

  .team-grid      { grid-template-columns: 1fr; }
  .stats-grid     { grid-template-columns: 1fr 1fr; }
  .footer-grid    { grid-template-columns: 1fr; }

  .steps-grid     { grid-template-columns: 1fr; }

  .page-hero      { padding: 2.75rem 0 2.5rem; }

  .btn-lg         { padding: .8rem 1.8rem; font-size: 1rem; }
  .btn-xl         { padding: .9rem 2rem; font-size: 1.05rem; }

  .section        { padding: 2.5rem 0; }

  .cta-box        { padding: 2rem 1.25rem; }

  .contact-form-box { padding: 1.5rem 1.25rem; }

  .faq-question   { padding: .95rem 1.1rem; font-size: .95rem; }
  .faq-answer     { padding: 0 1.1rem 1.1rem; }

  .toast-container { left: 1rem; right: 1rem; }
  .toast           { max-width: 100%; }

  .back-to-top     { bottom: 4.5rem; }

  .modal-box       { padding: 1.75rem 1.25rem; }

  h1 { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  h2 { font-size: clamp(1.35rem, 6vw, 1.9rem); }
}

/* --------------------------------------------------------------------------
   38. PRINT
   -------------------------------------------------------------------------- */
@media print {
  .header,
  .footer,
  .cookie-banner,
  .modal-overlay,
  .back-to-top,
  .mobile-menu-btn,
  .mobile-nav {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .container { max-width: 100%; padding: 0; }
  .section   { padding: 1.5rem 0; }

  .page-hero {
    background: none !important;
    color: #000;
    border-bottom: 2pt solid #ccc;
    padding: 1.5rem 0;
  }

  .page-hero h1,
  .page-hero p {
    color: #000 !important;
  }
}

/* --------------------------------------------------------------------------
   39. FOCUS / ACCESSIBILITY
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--primary-light);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 99999;
  background: var(--primary);
  color: #fff;
  padding: .6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   40. GAME LISTING GRID
   -------------------------------------------------------------------------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.game-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  text-decoration: none;
  color: inherit;
  display: block;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
  color: inherit;
}

.game-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  overflow: hidden;
  position: relative;
}

.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.game-card:hover .game-thumb img {
  transform: scale(1.05);
}

.game-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255,255,255,.6);
}

.game-card-body {
  padding: 1rem 1.1rem;
}

.game-card-title {
  font-size: .97rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-card-cat {
  font-size: .78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.game-card-play {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .65rem 1.1rem;
  border-top: 1px solid var(--border);
  font-size: .82rem;
  font-weight: 700;
  color: var(--primary);
}

@media (max-width: 1024px) {
  .games-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
}
