/* ==========================================================================
   TapTapCatch - Official Website Design System
   Developed by GloBizServe
   ========================================================================== */

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

:root {
  /* Color Palette */
  --bg-dark: #060a17;
  --bg-deep: #091129;
  --bg-surface: #0f1c42;
  --bg-card: rgba(18, 32, 73, 0.65);
  --bg-card-hover: rgba(26, 45, 102, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(0, 210, 255, 0.4);

  /* Neon Arcade Colors */
  --cyan-neon: #00d2ff;
  --cyan-glow: rgba(0, 210, 255, 0.35);
  --yellow-arcade: #ffb703;
  --yellow-gold: #fb8500;
  --pink-pop: #ff3366;
  --purple-magic: #8b5cf6;
  --green-emerald: #10b981;
  --red-hazard: #ef4444;

  /* Typography */
  --font-game: 'Fredoka', 'Outfit', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Text Colors */
  --text-white: #ffffff;
  --text-primary: #e6edfd;
  --text-secondary: #9cb1d9;
  --text-muted: #6277a3;

  /* UI Shadows & Elevations */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55);
  --shadow-neon-cyan: 0 0 25px rgba(0, 210, 255, 0.45);
  --shadow-neon-gold: 0 0 25px rgba(255, 183, 3, 0.45);
  --shadow-tile: 0 6px 0 rgba(0, 0, 0, 0.35), 0 10px 20px rgba(0, 0, 0, 0.4);

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
}

body {
  font-family: var(--font-body);
  background: radial-gradient(circle at 50% 0%, #152758 0%, #09122c 45%, #050915 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Background Animated Cosmic Grid */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    radial-gradient(1.5px 1.5px at 20px 30px, rgba(255, 255, 255, 0.4), rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 150px 180px, rgba(0, 210, 255, 0.6), rgba(0,0,0,0)),
    radial-gradient(2px 2px at 320px 80px, rgba(255, 183, 3, 0.5), rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 450px 320px, rgba(139, 92, 246, 0.5), rgba(0,0,0,0));
  background-repeat: repeat;
  background-size: 550px 550px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

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

a:hover {
  color: #6ae5ff;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(9, 17, 41, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(6, 10, 23, 0.95);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  border-bottom-color: rgba(0, 210, 255, 0.2);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.25);
  object-fit: cover;
  transition: transform var(--transition-bounce);
}

.brand-logo:hover .brand-icon {
  transform: rotate(-6deg) scale(1.08);
}

.brand-text {
  font-family: var(--font-game);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.brand-taptap {
  color: var(--cyan-neon);
  text-shadow: 0 2px 8px rgba(0, 210, 255, 0.4);
}

.brand-star {
  color: var(--yellow-arcade);
  font-size: 0.95rem;
  animation: pulse-star 2s infinite ease-in-out;
}

.brand-catch {
  color: var(--pink-pop);
  text-shadow: 0 2px 8px rgba(255, 51, 102, 0.4);
}

@keyframes pulse-star {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.25) rotate(180deg); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast), transform var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-neon), var(--purple-magic));
  transition: width var(--transition-normal);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, #00d2ff, #0077b6);
  color: #fff !important;
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 210, 255, 0.55);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-white);
}

.mobile-menu-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 5rem 0 4.5rem;
  overflow: hidden;
}

.hero-glow-blob-1 {
  position: absolute;
  top: -100px;
  left: 15%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.18) 0%, rgba(0,0,0,0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-blob-2 {
  position: absolute;
  top: 10%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 51, 102, 0.15) 0%, rgba(0,0,0,0) 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.35);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #d8b4fe;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 1.25rem;
}

.hero-badge .sparkle {
  color: var(--yellow-arcade);
}

.hero-title {
  font-family: var(--font-game);
  font-size: 3.75rem;
  line-height: 1.05;
  font-weight: 800;
  margin-bottom: 1.2rem;
  letter-spacing: -1px;
}

.hero-title .title-tap {
  color: #00d2ff;
  text-shadow: 0 4px 15px rgba(0, 210, 255, 0.45);
}

.hero-title .title-star {
  color: #ffb703;
  display: inline-block;
  margin: 0 4px;
  animation: pulse-star 3s infinite ease-in-out;
}

.hero-title .title-catch {
  color: #ff3366;
  text-shadow: 0 4px 15px rgba(255, 51, 102, 0.45);
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 2rem;
}

/* Floating Word Demo Tiles in Hero */
.hero-tile-sequence {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2.25rem;
}

.hero-tile-sequence .arrow-ind {
  color: var(--cyan-neon);
  font-size: 1.25rem;
  animation: arrow-bounce 1.5s infinite;
}

@keyframes arrow-bounce {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

.game-tile {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-game);
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  box-shadow: var(--shadow-tile);
  border-top: 2px solid rgba(255, 255, 255, 0.55);
  border-bottom: 3px solid rgba(0, 0, 0, 0.25);
  user-select: none;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.game-tile:hover {
  transform: translateY(-5px) scale(1.08);
}

.game-tile.cyan {
  background: linear-gradient(145deg, #38bdf8, #0284c7);
}

.game-tile.yellow {
  background: linear-gradient(145deg, #fbbf24, #d97706);
}

.game-tile.purple {
  background: linear-gradient(145deg, #a855f7, #7c3aed);
}

.game-tile.pink {
  background: linear-gradient(145deg, #f472b6, #db2777);
}

/* Hero CTA Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn-arcade-play {
  background: linear-gradient(180deg, #ffd166 0%, #ffb703 50%, #f77f00 100%);
  color: #2b1100;
  font-family: var(--font-game);
  font-size: 1.35rem;
  font-weight: 800;
  padding: 0.95rem 2.25rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 0 #b35600, 0 12px 25px rgba(255, 183, 3, 0.45);
  border-top: 2px solid rgba(255, 255, 255, 0.7);
  transition: all 0.15s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-arcade-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #b35600, 0 16px 30px rgba(255, 183, 3, 0.55);
  color: #1a0a00;
}

.btn-arcade-play:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #b35600, 0 6px 15px rgba(255, 183, 3, 0.35);
}

.btn-secondary-glass {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.95rem 1.8rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
}

.btn-secondary-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--cyan-neon);
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(0, 210, 255, 0.25);
}

/* Developer Credit Pill */
.hero-dev-credit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(15, 28, 66, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.hero-dev-credit strong {
  color: #ffffff;
  font-weight: 700;
}

/* Phone Frame Showcase in Hero */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup-frame {
  position: relative;
  width: 320px;
  max-width: 100%;
  border-radius: 44px;
  padding: 10px;
  background: linear-gradient(145deg, #2a3966, #0e1733);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 50px rgba(0, 210, 255, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transform: perspective(1000px) rotateY(-6deg) rotateX(4deg);
  transition: transform var(--transition-bounce);
}

.phone-mockup-frame:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-8px);
}

.phone-screen {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  background: #09122c;
  aspect-ratio: 9 / 19.5;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-dynamic-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #000;
  border-radius: 20px;
  z-index: 5;
}

/* Floating game elements around phone */
.floating-element-1 {
  position: absolute;
  top: 15%;
  left: -35px;
  animation: float-drift 4s infinite ease-in-out;
  z-index: 10;
}

.floating-element-2 {
  position: absolute;
  bottom: 25%;
  right: -30px;
  animation: float-drift 5s infinite ease-in-out reverse;
  z-index: 10;
}

.floating-powerup-pill {
  position: absolute;
  bottom: 8%;
  left: -20px;
  background: rgba(15, 28, 66, 0.95);
  border: 1px solid rgba(0, 210, 255, 0.4);
  padding: 8px 14px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--cyan-neon);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  animation: float-drift 3.5s infinite ease-in-out;
  z-index: 10;
}

@keyframes float-drift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(4deg); }
}

/* ==========================================================================
   Section Headers & Common Structure
   ========================================================================== */
.section {
  padding: 5.5rem 0;
  position: relative;
  z-index: 1;
}

.section-alt {
  background: rgba(8, 14, 34, 0.6);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.section-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--cyan-neon);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-title {
  font-family: var(--font-game);
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   Interactive Web Mini-Game Playground
   ========================================================================== */
.playground-wrapper {
  background: linear-gradient(160deg, rgba(17, 30, 68, 0.9), rgba(9, 17, 41, 0.95));
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 210, 255, 0.15);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.playground-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
}

.hud-stat-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(6, 11, 28, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 18px;
  border-radius: 16px;
}

.hud-stat-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-secondary);
}

.hud-stat-value {
  font-family: var(--font-game);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--yellow-arcade);
}

.hud-target-word-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.target-letter-slot {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(15, 25, 55, 0.8);
  border: 2px dashed rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-game);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.target-letter-slot.filled {
  background: linear-gradient(135deg, #00d2ff, #0077b6);
  border: 2px solid #ffffff;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.6);
  transform: scale(1.05);
}

.playground-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-icon-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 12px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-icon-toggle:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--cyan-neon);
}

.mini-game-arena {
  position: relative;
  width: 100%;
  height: 380px;
  background: radial-gradient(circle at center, #0e1c45 0%, #070d20 100%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  user-select: none;
  cursor: crosshair;
}

.arena-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-game);
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  text-transform: uppercase;
  letter-spacing: 4px;
  white-space: nowrap;
}

/* Floating interactive bubbles inside game */
.arena-letter-bubble {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-game);
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
  border-top: 2px solid rgba(255, 255, 255, 0.6);
  user-select: none;
  transition: transform 0.1s ease, filter 0.2s ease;
  z-index: 5;
}

.arena-letter-bubble:hover {
  filter: brightness(1.15);
}

.arena-letter-bubble:active {
  transform: scale(0.92);
}

.arena-message-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 11, 26, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: opacity 0.3s ease;
}

.arena-message-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.arena-overlay-title {
  font-family: var(--font-game);
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 0.5rem;
  text-align: center;
}

.arena-overlay-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  text-align: center;
  max-width: 440px;
}

/* ==========================================================================
   Games Details Section
   ========================================================================== */
.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.mode-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 2.25rem 1.75rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.mode-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.mode-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: rgba(0, 210, 255, 0.35);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 210, 255, 0.15);
}

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

.mode-icon-box {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.mode-card.pop .mode-icon-box {
  background: linear-gradient(135deg, #a855f7, #6366f1);
  color: #fff;
}

.mode-card.rain .mode-icon-box {
  background: linear-gradient(135deg, #0284c7, #06b6d4);
  color: #fff;
}

.mode-card.memory .mode-icon-box {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #fff;
}

.mode-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.mode-card.pop .mode-badge {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
}

.mode-card.rain .mode-badge {
  background: rgba(6, 182, 212, 0.2);
  color: #38bdf8;
}

.mode-card.memory .mode-badge {
  background: rgba(245, 158, 11, 0.2);
  color: #fcd34d;
}

.mode-title {
  font-family: var(--font-game);
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.mode-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.mode-features-list {
  list-style: none;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mode-features-list li {
  font-size: 0.88rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.5rem;
}

.mode-features-list li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: var(--cyan-neon);
}

/* Difficulty Section */
.difficulty-wrapper {
  margin-top: 4rem;
}

.difficulty-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.diff-card {
  border-radius: 20px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-bounce);
}

.diff-card:hover {
  transform: translateY(-6px);
}

.diff-card.kids {
  background: linear-gradient(165deg, #064e3b 0%, #022c22 100%);
  border-color: rgba(16, 185, 129, 0.4);
}

.diff-card.easy {
  background: linear-gradient(165deg, #075985 0%, #082f49 100%);
  border-color: rgba(14, 165, 233, 0.4);
}

.diff-card.intermediate {
  background: linear-gradient(165deg, #854d0e 0%, #451a03 100%);
  border-color: rgba(245, 158, 11, 0.4);
}

.diff-card.expert {
  background: linear-gradient(165deg, #881337 0%, #4c0519 100%);
  border-color: rgba(239, 68, 68, 0.4);
}

.diff-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.diff-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  font-size: 1.35rem;
}

.diff-title {
  font-family: var(--font-game);
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.diff-subtitle {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.25rem;
  min-height: 40px;
}

.diff-stats-pill-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.diff-stat-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.25);
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* Powerups Showcase */
.powerups-showcase {
  margin-top: 4.5rem;
  background: rgba(13, 24, 58, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 3rem 2.5rem;
}

.powerups-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.powerup-item {
  background: rgba(9, 17, 41, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.powerup-item:hover {
  transform: translateY(-4px);
  border-color: var(--yellow-arcade);
}

.powerup-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.powerup-icon-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-game);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.powerup-cost {
  background: rgba(255, 183, 3, 0.15);
  border: 1px solid rgba(255, 183, 3, 0.4);
  color: var(--yellow-arcade);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.powerup-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   Screenshots Gallery
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
}

.gallery-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #09122c;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  cursor: pointer;
  aspect-ratio: 9 / 19.5;
}

.gallery-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--cyan-neon);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 210, 255, 0.35);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.25rem 1.25rem;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 10, 23, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.gallery-card-title {
  font-family: var(--font-game);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.25rem;
}

.gallery-card-desc {
  font-size: 0.8rem;
  color: var(--cyan-neon);
  font-weight: 600;
}

/* ==========================================================================
   About Us Section (GloBizServe)
   ========================================================================== */
.about-box {
  background: linear-gradient(145deg, rgba(16, 29, 66, 0.8), rgba(9, 17, 41, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-box::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3.5rem;
}

.about-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--yellow-arcade);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.about-title {
  font-family: var(--font-game);
  font-size: 2.4rem;
  color: #fff;
  font-weight: 800;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.about-pillar-card {
  background: rgba(6, 11, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
}

.pillar-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.pillar-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.pillar-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.about-company-badge {
  background: rgba(9, 16, 38, 0.9);
  border: 2px solid rgba(0, 210, 255, 0.35);
  border-radius: 24px;
  padding: 2.25rem;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.company-logo-text {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 0.35rem;
}

.company-logo-text span {
  color: var(--cyan-neon);
}

.company-tagline {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.75rem;
}

.company-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--cyan-neon), #0284c7);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.95rem;
  box-shadow: 0 6px 20px rgba(0, 210, 255, 0.35);
}

/* ==========================================================================
   Support Page / Section (Direct Email ceo@globizserve.com)
   ========================================================================== */
.support-hero-box {
  background: linear-gradient(160deg, #101c40 0%, #080f24 100%);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: 28px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 210, 255, 0.12);
}

.support-icon-ring {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(0, 210, 255, 0.15);
  border: 2px solid var(--cyan-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  box-shadow: 0 0 25px rgba(0, 210, 255, 0.4);
}

.support-contact-card {
  max-width: 600px;
  margin: 2rem auto 2.5rem;
  background: rgba(5, 9, 21, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.support-email-info {
  text-align: left;
}

.support-email-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.support-email-address {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--cyan-neon);
  text-decoration: none;
}

.support-email-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-copy-email {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.btn-copy-email:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--cyan-neon);
}

.btn-email-direct {
  background: var(--yellow-arcade);
  color: #1a0a00 !important;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(255, 183, 3, 0.35);
}

.btn-email-direct:hover {
  background: #ffc324;
}

/* FAQ Accordion */
.faq-container {
  max-width: 820px;
  margin: 3.5rem auto 0;
}

.faq-title {
  text-align: center;
  font-family: var(--font-game);
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #fff;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: rgba(14, 25, 59, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: rgba(0, 210, 255, 0.4);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
}

.faq-toggle-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  display: none;
}

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

/* ==========================================================================
   Legal & Policy Dedicated Styles
   ========================================================================== */
.legal-wrapper {
  max-width: 900px;
  margin: 3rem auto;
  background: rgba(14, 25, 58, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.legal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.legal-title {
  font-family: var(--font-game);
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

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

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #fff;
  margin: 2rem 0 1rem;
  border-left: 4px solid var(--cyan-neon);
  padding-left: 12px;
}

.legal-content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-primary);
  margin: 1.5rem 0 0.75rem;
}

.legal-content p, .legal-content li {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.legal-content ul, .legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.legal-content strong {
  color: #ffffff;
}

.legal-highlight-box {
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #040711;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4.5rem 0 2rem;
  position: relative;
  z-index: 10;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 1.25rem 0;
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: 0.3px;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--cyan-neon);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Toast Notification for Copy */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #00d2ff;
  color: #03112a;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* Screenshot Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 6, 15, 0.92);
  backdrop-filter: blur(14px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-container {
  position: relative;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-height: 75vh;
  border-radius: 24px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 210, 255, 0.3);
}

.lightbox-caption {
  font-family: var(--font-game);
  font-size: 1.35rem;
  color: #fff;
  margin-top: 1rem;
  text-align: center;
}

.lightbox-close-btn {
  position: absolute;
  top: -45px;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-title {
    font-size: 3.2rem;
  }

  .hero-tagline, .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-tile-sequence {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }

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

  .difficulty-grid,
  .diff-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: #060a17;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-links.mobile-open {
    display: flex;
  }

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

  .hero-title {
    font-size: 2.5rem;
  }

  .difficulty-grid,
  .diff-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .diff-card {
    padding: 1.25rem 1.2rem;
    border-radius: 18px;
    min-width: 0;
  }

  .diff-title {
    font-size: 1.35rem;
  }

  .diff-subtitle {
    min-height: auto;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .diff-stats-pill-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px;
  }

  .diff-stat-pill {
    padding: 7px 12px;
    font-size: 0.82rem;
  }

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

  .legal-wrapper {
    padding: 1.75rem;
  }

  .support-contact-card {
    flex-direction: column;
    text-align: center;
  }

  .support-email-info {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 2rem;
  }

  .diff-stats-pill-group {
    grid-template-columns: 1fr;
  }

  .diff-stat-pill {
    justify-content: space-between;
  }
}
