/* ==========================================================================
   FOF STUDIO - MASTER DESIGN SYSTEM & STYLESHEET
   Brand Colors: Electric Orange (#FF5E00), Onyx Dark (#050609), Holographic Silver
   ========================================================================== */

/* Google Fonts loaded via preconnect in HTML head for maximum speed */

:root {
  /* Color Palette */
  --bg-dark: #050609;
  --bg-surface: rgba(14, 17, 26, 0.75);
  --bg-card: rgba(22, 27, 42, 0.85);
  --bg-card-hover: rgba(32, 39, 60, 0.95);
  --bg-glass: rgba(12, 15, 24, 0.85);
  
  --primary: #ff5e00;
  --primary-bright: #ff7700;
  --primary-amber: #ff9800;
  --primary-dark: #cc4b00;
  --primary-glow: rgba(255, 94, 0, 0.45);
  --primary-glow-strong: rgba(255, 94, 0, 0.75);
  
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;
  
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(255, 94, 0, 0.45);
  
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  --shadow-card: 0 12px 35px -10px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 40px rgba(255, 94, 0, 0.35);
  
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', 'Outfit', sans-serif;
  
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
}

/* HIGH-PERFORMANCE AMBIENT BACKGROUND SYSTEM WITH FIXED CYBER GRID & PLASMA ORBS */
body {
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  background-color: #040507;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(255, 94, 0, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 85% 45%, rgba(255, 152, 0, 0.14) 0%, transparent 50%),
    radial-gradient(circle at 50% 85%, rgba(255, 94, 0, 0.15) 0%, transparent 50%),
    linear-gradient(rgba(255, 94, 0, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 94, 0, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 60px 60px, 60px 60px;
  background-attachment: fixed;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #1f2434;
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.15;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

.section {
  padding: 7rem 0;
  position: relative;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 4rem auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  background: rgba(255, 94, 0, 0.15);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-full);
  color: var(--primary-bright);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  box-shadow: 0 0 25px rgba(255, 94, 0, 0.25);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--primary);
  animation: pulseGlow 1.8s infinite;
}

.section-title {
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
  font-weight: 800;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 20%, var(--primary-bright) 70%, var(--primary-amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1.05rem 2.2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  user-select: none;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 6px 30px var(--primary-glow);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-bright) 0%, var(--primary) 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 35px var(--primary-glow-strong);
}

.btn-secondary {
  background: rgba(24, 29, 46, 0.85);
  backdrop-filter: blur(16px);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  color: var(--primary-bright);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  background: rgba(5, 6, 9, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 0.85rem 0;
  background: rgba(5, 6, 9, 0.95);
  border-bottom-color: rgba(255, 94, 0, 0.35);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.85);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.65rem;
  letter-spacing: -0.01em;
}

.logo-img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 0 14px rgba(255, 94, 0, 0.65));
  transition: var(--transition);
  object-fit: contain;
}

.logo-brand:hover .logo-img {
  transform: scale(1.08) rotate(-3deg);
}

.brand-orange {
  color: var(--primary-bright);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.3rem;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 1.02rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px var(--primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: rgba(14, 17, 28, 0.98);
  backdrop-filter: blur(25px);
  border-left: 1px solid var(--border-subtle);
  z-index: 1001;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transition: var(--transition);
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.9);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  list-style: none;
}

.drawer-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-muted);
}

.drawer-link:hover, .drawer-link.active {
  color: var(--primary-bright);
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   MASTERPIECE HERO SECTION - ARCHITECTS OF MOBILE FUTURE
   ========================================================================== */

.hero-master {
  position: relative;
  min-height: 96vh;
  padding-top: 10.5rem;
  padding-bottom: 7rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-backdrop-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 75% 50%, rgba(255, 94, 0, 0.28) 0%, transparent 60%),
              radial-gradient(circle at 20% 30%, rgba(255, 152, 0, 0.16) 0%, transparent 55%),
              linear-gradient(to bottom, transparent 0%, rgba(5, 6, 9, 0.5) 70%, #050609 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-cyber-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(255, 94, 0, 0.07) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 94, 0, 0.07) 1px, transparent 1px);
  background-size: 70px 70px;
  z-index: 2;
  opacity: 0.7;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.9) 30%, transparent 85%);
  pointer-events: none;
}

.hero-master-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4.5rem;
  align-items: center;
  width: 100%;
}

.hero-master-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}



.hero-master-title {
  font-size: clamp(3.4rem, 5.8vw, 5.5rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.text-plasma-glow {
  background: linear-gradient(135deg, #ffffff 10%, var(--primary-bright) 55%, var(--primary-amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 45px var(--primary-glow-strong);
  display: inline-block;
  position: relative;
}

.hero-master-sub {
  font-size: 1.28rem;
  max-width: 580px;
  margin-bottom: 2.75rem;
  color: #cbd5e1;
  line-height: 1.65;
  font-weight: 400;
}

.hero-master-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  width: 100%;
}

/* MASTERPIECE HERO RIGHT: HOLOGRAPHIC VIDEO PORTAL */
.hero-master-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-pure-lottie {
  position: relative;
  width: 100%;
  max-width: 680px;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  background: transparent;
  border: none;
  box-shadow: none;
}

.hero-video-player, .hero-lottie-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  z-index: 2;
  filter: drop-shadow(0 0 35px rgba(255, 94, 0, 0.28));
}

/* ==========================================================================
   THE GAMITRON-STYLE ANIMATED APP REEL IN THE #apps SECTION
   ========================================================================== */

.apps-showcase-section {
  padding-top: 5rem;
  padding-bottom: 7rem;
  background: radial-gradient(circle at 50% 10%, rgba(255, 94, 0, 0.1) 0%, transparent 60%);
  position: relative;
}

.app-reel-container {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-bottom: 5rem;
  padding: 0;
  overflow: hidden;
  position: relative;
}

.app-reel-track-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, #0d101a 0%, #07090e 100%);
  border-top: 1px solid rgba(255, 94, 0, 0.35);
  border-bottom: 1px solid rgba(255, 94, 0, 0.35);
  border-left: none;
  border-right: none;
  border-radius: 0;
  padding: 2.5rem 0;
  margin-bottom: 2rem;
  box-shadow: 0 0 60px rgba(255, 94, 0, 0.15), 0 30px 60px rgba(0,0,0,0.9);
}

/* Fade Gradients on Left/Right edges */
.app-reel-track-wrap::before, .app-reel-track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  width: 140px;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}
.app-reel-track-wrap::before {
  left: 0;
  background: linear-gradient(90deg, rgba(5, 6, 9, 0.98), transparent);
}
.app-reel-track-wrap::after {
  right: 0;
  background: linear-gradient(-90deg, rgba(5, 6, 9, 0.98), transparent);
}

/* Infinite Sliding Marquee Track - Hardware Accelerated */
.app-reel-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  perspective: 1000px;
}

.track-left {
  animation: reelSlideLeft 28s linear infinite;
}

.track-right {
  animation: reelSlideRight 28s linear infinite;
}

.app-reel-track-wrap:hover .app-reel-track {
  animation-play-state: paused;
}

@keyframes reelSlideLeft {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes reelSlideRight {
  0% { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* Big Image Showcase Item (No text, full screen impact!) */
.reel-app-image-item {
  display: block;
  width: 220px;
  height: 220px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.75), 0 0 20px rgba(255, 94, 0, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition);
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
  background: #0a0c14;
}

.reel-app-image-item:hover {
  transform: translateY(-10px) scale(1.1);
  border-color: var(--primary-bright);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9), 0 0 40px var(--primary-glow-strong);
  z-index: 20;
}

.reel-big-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reel-app-image-item:hover .reel-big-img {
  transform: scale(1.12);
}

/* Store Headers for Marquee Reel */
.reel-store-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 550px;
  margin: 0 auto 1.5rem auto;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, rgba(255, 94, 0, 0.15) 0%, rgba(18, 22, 36, 0.9) 100%);
  border: 1px solid rgba(255, 94, 0, 0.45);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(255, 94, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.reel-store-header:hover {
  transform: translateY(-4px) scale(1.02);
  background: linear-gradient(135deg, rgba(255, 94, 0, 0.28) 0%, rgba(28, 35, 56, 0.95) 100%);
  border-color: var(--primary-orange);
  box-shadow: 0 14px 40px rgba(255, 94, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.store-header-badge {
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-hover));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(255, 94, 0, 0.4);
}

.store-header-title {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.store-header-title span {
  color: var(--primary-orange);
  font-weight: 900;
  display: inline-block;
  transition: transform 0.3s ease;
}

.reel-store-header:hover .store-header-title span {
  transform: translate(4px, -4px);
}

/* Grids & Cards */
.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem;
}

.grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}

.game-card {
  background: linear-gradient(160deg, rgba(29, 34, 52, 0.85) 0%, rgba(20, 23, 36, 0.9) 100%);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 94, 0, 0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  will-change: transform;
}

.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--border-glow);
  box-shadow: 0 0 35px rgba(255, 94, 0, 0.35), 0 25px 50px rgba(0,0,0,0.8);
}

.game-thumb-wrap {
  position: relative;
  width: 100%;
  height: 230px;
  background: radial-gradient(circle at center, rgba(255, 94, 0, 0.18) 0%, rgba(14, 16, 23, 0.95) 100%), #0d0f18;
  padding: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.game-thumb {
  max-height: 175px;
  width: auto;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.6));
}

.game-card:hover .game-thumb {
  transform: scale(1.08) rotate(-1deg);
}

.game-rating-badge {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  background: rgba(7, 8, 12, 0.88);
  backdrop-filter: blur(10px);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 800;
  color: #fbbf24;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(251, 191, 36, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.game-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.game-card-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.65rem;
  line-height: 1.25;
}

.game-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

/* Contact Section */
.contact-card-box {
  background: linear-gradient(135deg, rgba(28, 33, 52, 0.9) 0%, rgba(18, 21, 34, 0.95) 100%);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.contact-card-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 94, 0, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.email-display-wrap {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(7, 8, 12, 0.88);
  border: 1px solid var(--border-glow);
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  margin: 2.25rem 0;
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}

.email-address {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-bright);
  word-break: break-all;
}

.copy-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.copy-btn:hover {
  background: var(--primary-bright);
  box-shadow: 0 0 15px var(--primary-glow);
}

/* Toast Alert */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--primary);
  color: var(--text-main);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glow);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* Legal Content */
.legal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-top: 2rem;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem 0;
  color: var(--primary-bright);
}

.legal-content p, .legal-content li {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.legal-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Footer */
.footer {
  background: rgba(8, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2.5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-column h4 {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary-bright);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* Keyframe Animations */
@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS & MOBILE 2 APPS PER ROW LAYOUT
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-master {
    min-height: auto;
    padding-top: 8.5rem;
    padding-bottom: 5rem;
  }

  .hero-master-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }
  
  .hero-master-left {
    align-items: center;
  }

  .hero-pure-lottie {
    max-width: 520px;
    height: 400px;
  }

  .grid-3col {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* MOBILE VIEW: SHOW 2 COMPACT APPS PER ROW */
@media (max-width: 768px) {
  .nav-links, .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .logo-img {
    height: 44px;
  }

  .hero-master {
    padding-top: 7.5rem;
    padding-bottom: 4rem;
  }

  .hero-master-title {
    font-size: 2.45rem;
    margin-bottom: 1rem;
  }

  .hero-master-sub {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }

  .hero-pure-lottie {
    max-width: 100%;
    height: 320px;
  }

  .app-reel-track-wrap {
    padding: 1.5rem 0;
  }

  .reel-app-image-item {
    width: 130px;
    height: 130px;
    border-radius: 22px;
  }

  /* 2 APPS PER ROW ON MOBILE PHONES */
  .grid-2x2, .grid-3col {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.85rem !important;
  }

  .game-card {
    border-radius: var(--radius-md) !important;
  }

  .game-thumb-wrap {
    height: 130px !important;
    padding: 0.75rem !important;
  }

  .game-thumb {
    max-height: 95px !important;
    border-radius: 12px !important;
  }

  .game-rating-badge {
    top: 0.4rem !important;
    right: 0.4rem !important;
    padding: 0.15rem 0.5rem !important;
    font-size: 0.725rem !important;
  }

  .game-card-body {
    padding: 0.85rem !important;
  }

  .game-card-title {
    font-size: 0.95rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.35rem !important;
  }

  .game-card-footer {
    padding-top: 0.75rem !important;
  }

  .game-card-footer .btn {
    font-size: 0.78rem !important;
    padding: 0.55rem 0.4rem !important;
    border-radius: 10px !important;
  }

  .reel-store-header {
    max-width: 90%;
    padding: 0.75rem 1.25rem;
    gap: 0.75rem;
  }

  .store-header-title {
    font-size: 1.15rem;
  }

  .store-header-badge {
    font-size: 0.68rem;
    padding: 0.25rem 0.65rem;
  }

  .legal-content {
    padding: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
