/* ===================================================
   ZANETUTORS GAME HUB — Design System & Styles
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap');

/* --- CSS Variables --- */
:root {
  --navy: #000155;
  --navy-light: #0a0a7a;
  --navy-dark: #00003a;
  --green: #89C74A;
  --green-light: #a8e068;
  --green-dark: #6aaa2e;
  --bg: #f0f2ff;
  --bg-card: #ffffff;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border: rgba(0, 1, 85, 0.1);
  --shadow-sm: 0 2px 8px rgba(0, 1, 85, 0.08);
  --shadow-md: 0 8px 32px rgba(0, 1, 85, 0.12);
  --shadow-lg: 0 20px 60px rgba(0, 1, 85, 0.18);
  --shadow-green: 0 8px 32px rgba(137, 199, 74, 0.35);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Plus Jakarta Sans', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
button { cursor: pointer; font-family: var(--font); border: none; outline: none; }

/* ===================================================
   NAVBAR
   =================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 1, 85, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(137, 199, 74, 0.2);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(0, 1, 85, 1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(137, 199, 74, 0.4);
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-text .brand { color: #fff; font-weight: 800; font-size: 1rem; letter-spacing: -0.5px; }
.nav-logo-text .sub { color: var(--green); font-weight: 600; font-size: 0.65rem; letter-spacing: 1px; text-transform: uppercase; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--green);
  transition: var(--transition);
  border-radius: 2px;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

.nav-dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  min-width: 160px;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0;
  margin-top: 10px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(137, 199, 74, 0.2);
  z-index: 1001;
}
.nav-dropdown:hover .dropdown-menu {
  display: flex;
  flex-direction: column;
}
.dropdown-menu a {
  padding: 0.75rem 1.2rem;
  font-size: 0.85rem;
  white-space: nowrap;
}
.dropdown-menu a::after {
  display: none;
}
.dropdown-menu a:hover {
  background: rgba(137, 199, 74, 0.1);
  color: var(--green);
}
.mobile-sub-link {
  padding-left: 20px !important;
  font-size: 0.9em;
  opacity: 0.9;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.btn-nav {
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.875rem;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(137, 199, 74, 0.35);
}
.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(137, 199, 74, 0.45);
}
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}
.mobile-menu-btn span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* ===================================================
   HERO SECTION
   =================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #0d0d8a 100%);
  overflow: hidden;
  padding: 100px 2rem 60px;
}
.hero-bg-anim {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb:nth-child(1) {
  width: 600px; height: 600px;
  background: var(--green);
  top: -200px; right: -100px;
  animation-delay: 0s;
}
.hero-orb:nth-child(2) {
  width: 400px; height: 400px;
  background: #4040ff;
  bottom: -150px; left: -100px;
  animation-delay: 3s;
}
.hero-orb:nth-child(3) {
  width: 300px; height: 300px;
  background: var(--green-light);
  top: 50%; left: 40%;
  animation-delay: 6s;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(137, 199, 74, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(137, 199, 74, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-particles {
  position: absolute;
  inset: 0;
}
.particle {
  position: absolute;
  width: 4px; height: 4px;
  background: var(--green);
  border-radius: 50%;
  opacity: 0;
  animation: particleFly 6s linear infinite;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}
@keyframes particleFly {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-50px) scale(1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(137, 199, 74, 0.15);
  border: 1px solid rgba(137, 199, 74, 0.4);
  border-radius: 50px;
  padding: 6px 16px;
  color: var(--green-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
  width: fit-content;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
}
.hero-title .accent {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 5px 12px;
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  font-weight: 500;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(137, 199, 74, 0.5);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(137, 199, 74, 0.6);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.85rem 2rem;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(255,255,255,0.2);
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-3px);
}
.hero-stats {
  display: flex;
  gap: 2rem;
}
.hero-stat {
  display: flex;
  flex-direction: column;
}
.hero-stat .number {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
}
.hero-stat .label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  margin-top: 2px;
}
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card-stack {
  position: relative;
  width: 380px;
  height: 420px;
}
.floating-game-card {
  position: absolute;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  transition: var(--transition);
}
.floating-game-card:nth-child(1) {
  width: 200px;
  top: 0; left: 0;
  animation: cardFloat1 4s ease-in-out infinite;
}
.floating-game-card:nth-child(2) {
  width: 220px;
  top: 80px; right: 0;
  animation: cardFloat2 5s ease-in-out infinite;
}
.floating-game-card:nth-child(3) {
  width: 180px;
  bottom: 20px; left: 40px;
  animation: cardFloat3 6s ease-in-out infinite;
}
@keyframes cardFloat1 {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-12px) rotate(-3deg); }
}
@keyframes cardFloat2 {
  0%, 100% { transform: translateY(0) rotate(3deg); }
  50% { transform: translateY(-8px) rotate(3deg); }
}
@keyframes cardFloat3 {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(-1deg); }
}
.fgc-icon { font-size: 2rem; }
.fgc-name { color: #fff; font-weight: 700; font-size: 0.9rem; }
.fgc-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(137, 199, 74, 0.3);
  color: var(--green-light);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 0.7rem;
  font-weight: 600;
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  animation: scrollBounce 2s ease-in-out infinite;
}
.hero-scroll-indicator .arrow {
  width: 24px; height: 24px;
  border-right: 2px solid rgba(255,255,255,0.4);
  border-bottom: 2px solid rgba(255,255,255,0.4);
  transform: rotate(45deg);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===================================================
   HOW IT WORKS SECTION
   =================================================== */
.how-section {
  padding: 80px 2rem;
  background: #fff;
}
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  z-index: 0;
}
.step-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(137, 199, 74, 0.4);
}
.step-number {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.2rem;
  margin: 0 auto 1.25rem;
  box-shadow: 0 6px 20px rgba(0, 1, 85, 0.25);
}
.step-icon { font-size: 1.5rem; }
.step-title {
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.step-desc { color: var(--text-muted); font-size: 0.875rem; line-height: 1.6; }

/* ===================================================
   GAMES SECTION
   =================================================== */
.games-section {
  padding: 80px 2rem;
  background: var(--bg);
}
.games-filter {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: 0.5rem 1.25rem;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 50px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.filter-btn.active {
  box-shadow: 0 4px 16px rgba(0, 1, 85, 0.25);
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.game-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}
.game-card:not(.coming-soon):hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(137, 199, 74, 0.5);
}
.game-card.coming-soon { cursor: default; }
.game-card-header {
  padding: 2rem 1.75rem 1.25rem;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
  min-height: 130px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.game-card.coming-soon .game-card-header {
  background: linear-gradient(135deg, #1a1a3a 0%, #2a2a5a 100%);
  filter: grayscale(0.3);
}
.game-card-header::before {
  content: '';
  position: absolute;
  bottom: -30px; right: -30px;
  width: 120px; height: 120px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.game-card-header::after {
  content: '';
  position: absolute;
  top: -20px; left: 50%;
  width: 180px; height: 180px;
  background: rgba(137, 199, 74, 0.08);
  border-radius: 50%;
  transform: translateX(-50%);
}
.game-icon-wrap {
  width: 70px; height: 70px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}
.game-card:not(.coming-soon):hover .game-icon-wrap {
  transform: scale(1.1) rotate(5deg);
  background: rgba(137, 199, 74, 0.25);
  border-color: rgba(137, 199, 74, 0.5);
}
.game-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.07);
  line-height: 1;
  position: relative;
  z-index: 1;
}
.game-card-body {
  padding: 1.5rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.game-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0.75rem;
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
}
.status-dot.active { background: var(--green); animation: pulse 2s infinite; }
.status-dot.soon { background: #f59e0b; }
.status-text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.status-text.active { color: var(--green-dark); }
.status-text.soon { color: #d97706; }
.game-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.game-description {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
}
.game-category {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--bg);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}
.game-card-footer {
  padding: 0 1.75rem 1.5rem;
}
.btn-play {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0, 1, 85, 0.2);
}
.btn-play:hover {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  box-shadow: var(--shadow-green);
  transform: translateY(-2px);
}
.btn-coming-soon {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: var(--bg);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px dashed var(--border);
  cursor: not-allowed;
}
.game-card.coming-soon {
  opacity: 0.85;
}
.coming-soon-overlay {
  position: absolute;
  top: 1rem; right: 1rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #d97706;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
}
.play-count {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.play-count svg { width: 14px; height: 14px; }

/* ===================================================
   STATS BANNER
   =================================================== */
.stats-section {
  padding: 60px 2rem;
  background: linear-gradient(135deg, var(--navy) 0%, #0d0d8a 100%);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(137, 199, 74, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(137, 199, 74, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.stat-item {
  text-align: center;
  padding: 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-icon-wrap {
  width: 52px; height: 52px;
  background: rgba(137, 199, 74, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
  border: 1px solid rgba(137, 199, 74, 0.3);
}
.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  display: block;
  margin-bottom: 0.4rem;
}
.stat-label {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ===================================================
   NOTIFY SECTION (Coming Soon Signup)
   =================================================== */
.notify-section {
  padding: 70px 2rem;
  background: #fff;
}
.notify-card {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, var(--bg) 0%, #e8ecff 100%);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  border: 1px solid rgba(0, 1, 85, 0.12);
  box-shadow: var(--shadow-md);
}
.notify-emoji { font-size: 3rem; margin-bottom: 1rem; display: block; }
.notify-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}
.notify-subtitle {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}
.notify-form {
  display: flex;
  gap: 0.75rem;
  max-width: 440px;
  margin: 0 auto;
}
.notify-input {
  flex: 1;
  padding: 0.8rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  background: #fff;
  transition: var(--transition);
  outline: none;
}
.notify-input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(137, 199, 74, 0.15); }
.btn-notify {
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(137, 199, 74, 0.35);
}
.btn-notify:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(137, 199, 74, 0.5);
}

/* ===================================================
   FEATURES SECTION
   =================================================== */
.features-section {
  padding: 80px 2rem;
  background: var(--bg);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(137, 199, 74, 0.4);
}
.feature-icon {
  width: 58px; height: 58px;
  background: linear-gradient(135deg, var(--bg) 0%, #dce0ff 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  border: 1px solid var(--border);
}
.feature-title {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy);
}
.feature-desc { color: var(--text-muted); font-size: 0.875rem; line-height: 1.65; }

/* ===================================================
   CTA SECTION
   =================================================== */
.cta-section {
  padding: 80px 2rem;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #1a0a7a 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(137, 199, 74, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}
.cta-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.cta-title .accent {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===================================================
   FOOTER
   =================================================== */
footer {
  background: var(--navy-dark);
  padding: 50px 2rem 24px;
  border-top: 1px solid rgba(137, 199, 74, 0.15);
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}
.footer-logo-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.footer-logo-text .brand { color: #fff; font-weight: 800; font-size: 0.9rem; }
.footer-logo-text .sub { color: var(--green); font-size: 0.6rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.footer-tagline { color: rgba(255,255,255,0.6); font-size: 0.85rem; line-height: 1.6; margin-bottom: 1.5rem; max-width: 280px; }
.footer-social { display: flex; gap: 0.75rem; }
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.1);
}
.social-btn:hover { background: var(--green); color: #fff; border-color: var(--green); }
.footer-col h4 { color: #fff; font-weight: 700; font-size: 0.875rem; margin-bottom: 1rem; letter-spacing: 0.5px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 0.85rem; transition: var(--transition); }
.footer-links a:hover { color: var(--green); padding-left: 4px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { color: rgba(255,255,255,0.4); font-size: 0.8rem; }
.footer-copy a { color: var(--green); font-weight: 600; }
.footer-copy a:hover { text-decoration: underline; }
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(137, 199, 74, 0.1);
  border: 1px solid rgba(137, 199, 74, 0.25);
  border-radius: 50px;
  padding: 4px 12px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 600;
}

/* ===================================================
   GAME MODAL / IFRAME LAUNCHER
   =================================================== */
.game-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 30, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1rem;
}
.game-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.game-modal {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 1100px;
  height: 90vh;
  max-height: 800px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.game-modal-overlay.open .game-modal {
  transform: scale(1) translateY(0);
}
.game-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  gap: 1rem;
}
.modal-game-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.modal-game-icon { font-size: 1.5rem; }
.modal-game-name { color: #fff; font-weight: 800; font-size: 1rem; }
.modal-game-cat {
  background: rgba(137, 199, 74, 0.2);
  color: var(--green-light);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.modal-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.modal-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.15);
}
.modal-btn:hover { background: rgba(255,255,255,0.2); }
.modal-close-btn {
  width: 36px; height: 36px;
  background: rgba(255,80,80,0.15);
  border: 1px solid rgba(255,80,80,0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff8080;
  font-size: 1.1rem;
  transition: var(--transition);
}
.modal-close-btn:hover { background: rgba(255,80,80,0.3); color: #ff4040; }
.game-modal-iframe {
  flex: 1;
  border: none;
  width: 100%;
  background: var(--bg);
}
.modal-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  gap: 1rem;
}
.modal-loading .spinner {
  width: 48px; height: 48px;
  border: 4px solid var(--border);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.modal-loading p { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; }
.iframe-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ===================================================
   TOAST NOTIFICATION
   =================================================== */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(137, 199, 74, 0.3);
  z-index: 9999;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ===================================================
   MOBILE MENU
   =================================================== */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: 72px;
  background: rgba(0, 1, 85, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav a {
  color: rgba(255,255,255,0.9);
  font-size: 1.5rem;
  font-weight: 700;
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .mobile-nav { display: flex; }
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .hero-visual { display: none; }
  .hero-tags { justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .steps-grid::before { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 1.25rem; }
  .stat-item:last-child { border-bottom: none; }
  .notify-form { flex-direction: column; }
  .games-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .navbar { padding: 0 1rem; }
  .hero { padding: 90px 1rem 50px; }
  .hero-title { font-size: 2rem; }
  .how-section, .games-section, .features-section, .notify-section { padding: 60px 1rem; }
  .game-modal { border-radius: var(--radius-md); height: 95vh; }
}

/* ===================================================
   SCROLL ANIMATIONS
   =================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ===================================================
   MY STATS DASHBOARD
   =================================================== */
.stats-dashboard-section {
  padding: 80px 2rem;
  background: linear-gradient(180deg, var(--bg) 0%, #edf1ff 100%);
}
.my-stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1.25rem;
}
.my-stats-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 2rem;
  background: #fff;
  border-radius: var(--radius-xl);
  border: 2px dashed var(--border);
  color: var(--text-muted);
}
.my-stats-empty .stats-empty-icon { font-size: 3rem; display: block; margin-bottom: 1rem; }
.my-stats-empty p { font-size: 0.95rem; margin-bottom: 0.5rem; }

/* Individual played-game card */
.my-stats-game-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.my-stats-game-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(137, 199, 74, 0.4);
}
.msg-icon { font-size: 2.2rem; margin-bottom: 4px; }
.msg-name { font-size: 0.85rem; font-weight: 800; color: var(--navy); line-height: 1.3; }
.msg-sessions { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; }
.msg-score { font-size: 0.88rem; color: var(--green-dark); }
.msg-last { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }

/* Meta section (counters + recent) */
.my-stats-meta {
  grid-column: 1 / -1;
  margin-top: 1.5rem;
}
.stats-meta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  justify-content: center;
}
.stats-meta-card {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border-radius: var(--radius-lg);
  padding: 1.25rem 2rem;
  text-align: center;
  min-width: 120px;
  flex: 1;
  box-shadow: 0 8px 24px rgba(0,1,85,0.2);
}
.smc-val { font-size: 1.8rem; font-weight: 900; color: var(--green); line-height: 1; }
.smc-label { font-size: 0.75rem; font-weight: 600; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; }

.stats-recent-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}
.stats-recent-feed {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.recent-feed-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  transition: var(--transition);
}
.recent-feed-item:last-child { border-bottom: none; }
.recent-feed-item:hover { background: var(--bg); }
.rfi-icon { font-size: 1.2rem; flex-shrink: 0; }
.rfi-name { flex: 1; font-weight: 600; color: var(--navy); }
.rfi-score { font-weight: 800; color: var(--green-dark); background: rgba(137,199,74,0.1); padding: 2px 10px; border-radius: 50px; font-size: 0.8rem; }
.rfi-time { font-size: 0.75rem; color: var(--text-muted); white-space: nowrap; }

@media (max-width: 768px) {
  .stats-dashboard-section { padding: 60px 1rem; }
  .my-stats-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.75rem; }
  .stats-meta-card { padding: 1rem 1.25rem; }
  .smc-val { font-size: 1.5rem; }
}

/* --- OFFLINE BADGE --- */
.offline-badge {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1a1a2e;
    color: #fff;
    padding: 0.8rem 1.6rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 9999;
    border: 1px solid rgba(255,255,255,0.1);
}
.offline-badge.show { transform: translateX(-50%) translateY(0); }
.offline-dot {
    width: 10px;
    height: 10px;
    background: #ff9800;
    border-radius: 50%;
    box-shadow: 0 0 10px #ff9800;
    animation: offline-pulse 1.5s infinite;
}
@keyframes offline-pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

/* --- BANK SYNC BADGE --- */
.bank-sync-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(137, 199, 74, 0.15);
    color: var(--green-dark);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-left: auto;
    margin-right: auto;
}
.sync-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: sync-pulse 2s infinite;
}
@keyframes sync-pulse {
    0% { box-shadow: 0 0 0 0 rgba(137, 199, 74, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(137, 199, 74, 0); }
    100% { box-shadow: 0 0 0 0 rgba(137, 199, 74, 0); }
}
.bank-sync-status.offline {
    background: rgba(220, 38, 38, 0.1);
    color: var(--warning-red);
}
.bank-sync-status.offline .sync-dot {
    background: var(--warning-red);
    animation: none;
}
