/* ============================================
   LUMAVORY - Glassmorphism Mobile Game Website
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --secondary: #8b5cf6;
  --secondary-light: #a78bfa;
  --secondary-dark: #7c3aed;
  --accent: #ec4899;
  --accent-light: #f472b6;
  --accent-dark: #db2777;

  --bg-deep: #0a0a1a;
  --bg-dark: #0f0f2e;
  --bg-card: rgba(255, 255, 255, 0.06);
  --bg-card-hover: rgba(255, 255, 255, 0.1);
  --bg-glass: rgba(255, 255, 255, 0.08);
  --bg-glass-strong: rgba(255, 255, 255, 0.12);

  --border-glass: rgba(255, 255, 255, 0.12);
  --border-glass-hover: rgba(255, 255, 255, 0.25);

  --text-primary: #f1f1f8;
  --text-secondary: #b4b4d0;
  --text-muted: #7a7a9e;
  --text-dark: #1a1a2e;

  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow-primary: 0 0 40px rgba(99, 102, 241, 0.3);
  --shadow-glow-accent: 0 0 40px rgba(236, 72, 153, 0.3);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --font-display: "Sora", sans-serif;
  --font-body: "Outfit", sans-serif;
  --font-mono: "Space Mono", monospace;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  --container-max: 1200px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

body.no-scroll {
  overflow: hidden;
}

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

a:hover {
  color: var(--accent-light);
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Glass Card Utility ---------- */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass);
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(
    135deg,
    var(--primary-light),
    var(--accent),
    var(--secondary-light)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Section Styles ---------- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 16px;
  padding: 6px 16px;
  background: rgba(236, 72, 153, 0.1);
  border: 1px solid rgba(236, 72, 153, 0.2);
  border-radius: var(--radius-full);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
  color: white;
}

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

.btn-glow::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--accent),
    var(--secondary)
  );
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-base);
  filter: blur(12px);
}

.btn-glow:hover::before {
  opacity: 0.6;
}

.btn-glass {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
}

.btn-glass:hover {
  background: var(--bg-glass-strong);
  border-color: var(--border-glass-hover);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: all var(--transition-base);
}

.main-header.scrolled {
  background: rgba(10, 10, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  z-index: 1001;
}

.logo-gem {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  font-size: 1.2rem;
  color: white;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
  transition: transform var(--transition-spring);
}

.nav-logo:hover .logo-gem {
  transform: rotate(15deg) scale(1.1);
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: var(--bg-glass);
}

.nav-link.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-weight: 600;
  margin-left: 8px;
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.3);
}

.nav-link.nav-cta:hover {
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.5);
  transform: translateY(-1px);
  color: white;
}

/* Mobile Navigation */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
    z-index: 1000;
  }

  .nav-links.active {
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 12px 32px;
  }

  .nav-link.nav-cta {
    margin-left: 0;
    margin-top: 16px;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-height) + 40px) 0 80px;
}

.hero-bg-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 20% 40%,
      rgba(99, 102, 241, 0.15) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 60% 50% at 80% 60%,
      rgba(139, 92, 246, 0.12) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 40% 40% at 50% 80%,
      rgba(236, 72, 153, 0.08) 0%,
      transparent 60%
    ),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 100%);
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(99, 102, 241, 0.15);
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(236, 72, 153, 0.12);
  top: 50%;
  right: -5%;
  animation-delay: -3s;
}

.hero-orb-3 {
  width: 250px;
  height: 250px;
  background: rgba(139, 92, 246, 0.1);
  bottom: 10%;
  left: 30%;
  animation-delay: -5s;
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -20px) scale(1.05);
  }
  66% {
    transform: translate(-20px, 15px) scale(0.95);
  }
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}

.hero-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(236, 72, 153, 0.12);
  border: 1px solid rgba(236, 72, 153, 0.25);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-light);
  margin-bottom: 24px;
  animation: badgePulse 3s ease-in-out infinite;
  grid-column: 1;
}

@keyframes badgePulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.2);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(236, 72, 153, 0);
  }
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
  grid-column: 1;
}

.hero-title-line {
  display: block;
}

.hero-title-line-1 {
  opacity: 0;
  animation: slideInUp 0.8s ease-out 0.2s forwards;
}

.hero-title-line-2 {
  opacity: 0;
  animation: slideInUp 0.8s ease-out 0.4s forwards;
}

.hero-title-line-3 {
  opacity: 0;
  animation: slideInUp 0.8s ease-out 0.6s forwards;
  font-size: 1.15em;
}

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

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeIn 0.8s ease-out 0.8s forwards;
  grid-column: 1;
  line-height: 1.8;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  opacity: 0;
  animation: slideInUp 0.8s ease-out 1s forwards;
  grid-column: 1;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  animation: slideInUp 0.8s ease-out 1.2s forwards;
  grid-column: 1;
}

.avatar-stack {
  display: flex;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: white;
  border: 2px solid var(--bg-deep);
  margin-left: -10px;
}

.avatar:first-child {
  margin-left: 0;
}

.avatar-1 {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.avatar-2 {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
}
.avatar-3 {
  background: linear-gradient(135deg, var(--accent), var(--primary));
}
.avatar-4 {
  background: linear-gradient(135deg, #10b981, #059669);
}
.avatar-5 {
  background: var(--bg-glass-strong);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
}

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

.proof-count {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
}

.proof-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #10b981;
  margin-top: 4px;
}

.proof-live i {
  font-size: 0.5rem;
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* Hero Visual / Phone Frame */
.hero-visual {
  position: relative;
  grid-column: 2;
  grid-row: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: slideInRight 1s ease-out 0.5s forwards;
}

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

.hero-phone-frame {
  width: 280px;
  height: 560px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.03)
  );
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 40px;
  padding: 12px;
  position: relative;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(99, 102, 241, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: phoneFloat 6s ease-in-out infinite;
}

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

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: var(--bg-deep);
  border-radius: 0 0 16px 16px;
  z-index: 5;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0f0f3a 0%, #1a0a2e 50%, #0a1628 100%);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}

.phone-game-ui {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 16px 16px;
}

.game-hud-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hud-health {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hud-health span {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.6);
}

.health-bar {
  width: 100px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.health-fill {
  width: 85%;
  height: 100%;
  background: linear-gradient(90deg, #ef4444, #f97316);
  border-radius: 3px;
  transition: width 1s ease;
}

.hud-level {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 4px 10px;
  background: rgba(99, 102, 241, 0.3);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: var(--radius-full);
  color: var(--primary-light);
}

.game-character {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.character-icon {
  font-size: 3.5rem;
  color: var(--primary-light);
  filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5));
  animation: characterIdle 3s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

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

.character-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.3) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.8;
  }
}

.game-terrain {
  position: absolute;
  bottom: 60px;
  left: 0;
  right: 0;
  height: 100px;
  overflow: hidden;
}

.terrain-layer {
  position: absolute;
  bottom: 0;
  left: -10%;
  right: -10%;
  height: 60px;
  border-radius: 50% 50% 0 0;
}

.terrain-layer-1 {
  background: rgba(99, 102, 241, 0.15);
  bottom: 0;
  height: 50px;
  animation: terrainMove 8s ease-in-out infinite;
}

.terrain-layer-2 {
  background: rgba(139, 92, 246, 0.1);
  bottom: 10px;
  height: 40px;
  animation: terrainMove 10s ease-in-out infinite reverse;
}

.terrain-layer-3 {
  background: rgba(236, 72, 153, 0.08);
  bottom: 20px;
  height: 35px;
  animation: terrainMove 12s ease-in-out infinite;
}

@keyframes terrainMove {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(10px);
  }
}

.game-hud-bottom {
  display: flex;
  gap: 10px;
  justify-content: center;
  position: relative;
  z-index: 3;
}

.hud-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all var(--transition-fast);
}

.hud-btn-attack {
  background: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.hud-btn-shield {
  background: rgba(59, 130, 246, 0.3);
  color: #93c5fd;
}

.hud-btn-magic {
  background: rgba(139, 92, 246, 0.3);
  color: #c4b5fd;
}

.hud-btn-item {
  background: rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}

/* Hero Floating Cards */
.hero-floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-primary);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.floating-card-1 {
  top: 15%;
  right: -30px;
  animation: floatCard1 5s ease-in-out infinite;
}

.floating-card-1 i {
  color: #fbbf24;
}

.floating-card-2 {
  bottom: 30%;
  left: -40px;
  animation: floatCard2 6s ease-in-out infinite;
}

.floating-card-2 i {
  color: var(--accent-light);
}

.floating-card-3 {
  bottom: 15%;
  right: -20px;
  animation: floatCard3 7s ease-in-out infinite;
}

.floating-card-3 i {
  color: #fbbf24;
}

@keyframes floatCard1 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-5px, -10px) rotate(2deg);
  }
}

@keyframes floatCard2 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(8px, -8px) rotate(-2deg);
  }
}

@keyframes floatCard3 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-6px, -12px) rotate(3deg);
  }
}

/* Hero Responsive */
@media (max-width: 968px) {
  .hero-section .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-social-proof {
    justify-content: center;
  }

  .hero-visual {
    grid-column: 1;
    grid-row: auto;
    margin-top: 40px;
  }

  .hero-phone-frame {
    width: 220px;
    height: 440px;
  }

  .floating-card-1 {
    right: -10px;
  }
  .floating-card-2 {
    left: -10px;
  }
  .floating-card-3 {
    right: 0;
  }
}

@media (max-width: 480px) {
  .hero-phone-frame {
    width: 200px;
    height: 400px;
  }
  .hero-floating-card {
    font-size: 0.75rem;
    padding: 8px 14px;
  }
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.section-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(99, 102, 241, 0.05) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(236, 72, 153, 0.05) 0%,
      transparent 40%
    );
  z-index: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.feature-card {
  position: relative;
  padding: 36px 28px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary),
    var(--accent),
    transparent
  );
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

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

.feature-card-large {
  grid-column: span 2;
}

.feature-card-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition-slow);
  pointer-events: none;
}

.feature-card:hover .feature-card-bg {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 1.4rem;
  margin-bottom: 20px;
  transition: transform var(--transition-spring);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(-5deg);
}

.feature-icon-primary {
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary-light);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.feature-icon-secondary {
  background: rgba(139, 92, 246, 0.15);
  color: var(--secondary-light);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.feature-icon-accent {
  background: rgba(236, 72, 153, 0.15);
  color: var(--accent-light);
  border: 1px solid rgba(236, 72, 153, 0.2);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.feature-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 14px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-full);
  color: var(--primary-light);
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-card-large {
    grid-column: span 1;
  }
}

/* ============================================
   GAMEPLAY SECTION
   ============================================ */
.gameplay-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.gameplay-bg-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 40% at 30% 50%,
      rgba(139, 92, 246, 0.08) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 50% 40% at 70% 30%,
      rgba(99, 102, 241, 0.06) 0%,
      transparent 60%
    );
  z-index: 0;
}

.gameplay-steps {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
}

.gameplay-step {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 24px;
  align-items: start;
}

.step-number {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(99, 102, 241, 0.15);
  line-height: 1;
  min-width: 80px;
  text-align: right;
}

.step-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.step-icon-wrap {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 20px;
  font-size: 1.4rem;
  color: white;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
  transition: transform var(--transition-spring);
}

.gameplay-step:hover .step-icon-wrap {
  transform: scale(1.1) rotate(-5deg);
}

.step-connector {
  width: 2px;
  height: 60px;
  background: linear-gradient(180deg, var(--primary), transparent);
  border-radius: 1px;
}

.step-content h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 480px;
}

/* Gameplay Preview Cards */
.gameplay-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.preview-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.preview-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass-hover);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.preview-card-wide {
  grid-column: span 2;
}

.preview-card-wide .preview-card-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.preview-scene {
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scene-dungeon {
  background: linear-gradient(180deg, #1a0a2e 0%, #0f0f3a 100%);
}

.scene-elements {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dungeon-wall {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      transparent 40px,
      rgba(255, 255, 255, 0.03) 40px,
      rgba(255, 255, 255, 0.03) 42px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      transparent 30px,
      rgba(255, 255, 255, 0.02) 30px,
      rgba(255, 255, 255, 0.02) 32px
    );
}

.dungeon-torch {
  position: absolute;
  left: 20%;
  top: 30%;
  font-size: 1.5rem;
  color: #fbbf24;
  animation: torchFlicker 2s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.6));
}

.torch-right {
  left: auto;
  right: 20%;
  animation-delay: -1s;
}

@keyframes torchFlicker {
  0%,
  100% {
    opacity: 0.8;
    transform: scale(1);
  }
  25% {
    opacity: 1;
    transform: scale(1.1);
  }
  50% {
    opacity: 0.7;
    transform: scale(0.95);
  }
  75% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.dungeon-chest {
  font-size: 2.5rem;
  color: #fbbf24;
  filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.4));
  animation: chestBounce 4s ease-in-out infinite;
}

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

.scene-arena {
  background: linear-gradient(135deg, #1a0a2e 0%, #2d0a3e 100%);
}

.arena-ring {
  width: 100px;
  height: 100px;
  border: 3px solid rgba(236, 72, 153, 0.3);
  border-radius: 50%;
  position: absolute;
  animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.6;
  }
}

.arena-vs {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 2;
}

.scene-craft {
  background: linear-gradient(135deg, #0a1628 0%, #1a0a2e 100%);
}

.craft-anvil {
  font-size: 2.5rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 2;
}

.craft-sparks {
  position: absolute;
  top: 50%;
  left: 50%;
}

.craft-sparks span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #fbbf24;
  border-radius: 50%;
  animation: sparkFly 2s ease-out infinite;
}

.craft-sparks span:nth-child(1) {
  animation-delay: 0s;
}
.craft-sparks span:nth-child(2) {
  animation-delay: 0.5s;
}
.craft-sparks span:nth-child(3) {
  animation-delay: 1s;
}

@keyframes sparkFly {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(20px, -30px) scale(0);
    opacity: 0;
  }
}

.preview-info {
  padding: 24px;
}

.preview-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
}

.preview-info h4 {
  font-size: 1.15rem;
  margin-top: 8px;
}

.preview-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

@media (max-width: 768px) {
  .gameplay-step {
    grid-template-columns: auto 1fr;
  }
  .step-number {
    display: none;
  }
  .gameplay-preview-grid {
    grid-template-columns: 1fr;
  }
  .preview-card-wide {
    grid-column: span 1;
  }
  .preview-card-wide .preview-card-inner {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.stats-bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 50% 50% at 50% 50%,
    rgba(99, 102, 241, 0.06) 0%,
    transparent 70%
  );
  z-index: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.stat-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass-hover);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.stat-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 14px;
  font-size: 1.2rem;
  color: white;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(
    135deg,
    var(--text-primary),
    var(--primary-light)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
  margin-bottom: 16px;
}

.stat-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  transition: width 2s ease-out;
  width: 0;
}

/* Activity Feed */
.activity-feed {
  padding: 28px;
  position: relative;
  z-index: 1;
}

.feed-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}

.live-dot {
  font-size: 0.5rem;
  color: #10b981;
  animation: livePulse 2s ease-in-out infinite;
}

.feed-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 240px;
  overflow: hidden;
}

.feed-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--text-secondary);
  animation: feedSlideIn 0.5s ease-out;
}

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

.feed-item i {
  font-size: 0.9rem;
  min-width: 20px;
  text-align: center;
}

.feed-item .feed-name {
  font-weight: 600;
  color: var(--text-primary);
}

.feed-item .feed-time {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
}

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

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
  padding: 120px 0;
  position: relative;
}

.testimonials-carousel {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  min-height: 260px;
}

.testimonial-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px;
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars i {
  color: #fbbf24;
  font-size: 0.9rem;
}

.testimonial-card blockquote {
  font-size: 1.1rem;
  color: var(--text-primary);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
}

.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-base);
  cursor: pointer;
}

.dot.active {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.4);
  transform: scale(1.2);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  padding: 120px 0;
  position: relative;
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--border-glass-hover);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  text-align: left;
  transition: color var(--transition-fast);
  cursor: pointer;
  background: none;
  border: none;
}

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

.faq-arrow {
  transition: transform var(--transition-base);
  font-size: 0.8rem;
  color: var(--text-muted);
  min-width: 20px;
  text-align: center;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--primary-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

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

/* ============================================
   SIGNUP SECTION
   ============================================ */
.signup-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.signup-bg-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 50% at 30% 50%,
      rgba(99, 102, 241, 0.1) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 50% 40% at 70% 60%,
      rgba(236, 72, 153, 0.08) 0%,
      transparent 60%
    );
  z-index: 0;
}

.signup-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
}

.signup-orb-1 {
  width: 300px;
  height: 300px;
  background: rgba(99, 102, 241, 0.12);
  top: 20%;
  left: -5%;
}

.signup-orb-2 {
  width: 250px;
  height: 250px;
  background: rgba(236, 72, 153, 0.1);
  bottom: 10%;
  right: -5%;
}

.signup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.signup-info .section-tag {
  margin-bottom: 16px;
}

.signup-info .section-title {
  text-align: left;
  margin-bottom: 16px;
}

.signup-info > p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.8;
}

.signup-perks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.perk-item i {
  color: #10b981;
  font-size: 1rem;
}

.signup-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.trust-item i {
  color: var(--primary-light);
}

/* Signup Form */
.signup-form-wrap {
  padding: 40px;
}

.signup-form h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.input-wrap {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
  pointer-events: none;
  transition: color var(--transition-fast);
}

.input-wrap input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.input-wrap input::placeholder {
  color: var(--text-muted);
}

.input-wrap input:focus {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.05);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.input-wrap input:focus ~ .input-icon {
  color: var(--primary-light);
}

.input-wrap input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-error {
  display: block;
  font-size: 0.8rem;
  color: #ef4444;
  margin-top: 6px;
  min-height: 1.2em;
}

/* Checkbox */
.form-checkbox {
  margin-bottom: 16px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkmark {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 1px solid var(--border-glass-hover);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  position: relative;
  margin-top: 1px;
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark {
  background: var(--primary);
  border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked ~ .checkmark::after {
  content: "";
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

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

/* Submit Button */
#submitBtn {
  margin-top: 8px;
  padding: 16px 32px;
  font-size: 1.05rem;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Success State */
.signup-success {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  font-size: 4rem;
  color: #10b981;
  margin-bottom: 20px;
  animation: successBounce 0.8s ease-out;
}

@keyframes successBounce {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.signup-success h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.signup-success p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.success-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.success-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.success-detail i {
  color: var(--primary-light);
}

@media (max-width: 768px) {
  .signup-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .signup-info .section-title {
    text-align: center;
  }

  .signup-info {
    text-align: center;
  }

  .signup-perks {
    align-items: center;
  }

  .signup-trust {
    justify-content: center;
  }

  .signup-form-wrap {
    padding: 28px;
  }
}

/* ============================================
   RESPONSIBLE GAMING SECTION
   ============================================ */
.responsible-section {
  padding: 80px 0;
}

.responsible-card {
  padding: 40px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.responsible-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.responsible-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.responsible-card > p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 24px;
  line-height: 1.8;
}

.responsible-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.responsible-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.responsible-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-glass-hover);
  color: var(--text-primary);
}

/* ============================================
   FOOTER
   ============================================ */
.main-footer {
  position: relative;
  padding: 80px 0 40px;
  overflow: hidden;
}

.footer-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(10, 10, 26, 0.8) 30%),
    radial-gradient(
      ellipse 60% 40% at 50% 100%,
      rgba(99, 102, 241, 0.06) 0%,
      transparent 60%
    );
  z-index: 0;
}

.main-footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 32px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 16px;
}

.footer-logo .logo-gem {
  width: 40px;
  height: 40px;
  font-size: 1rem;
}

.footer-logo span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-primary);
}

.footer-brand > p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.footer-links-group h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links-group ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-group a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.footer-links-group a i {
  font-size: 0.8rem;
  min-width: 16px;
}

.footer-support-note {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.footer-trust-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trust-badge i {
  color: var(--primary-light);
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.footer-address {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 14px;
  color: white;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all var(--transition-base);
}

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

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

/* ============================================
   COOKIE CONSENT
   ============================================ */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: rgba(10, 10, 26, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid var(--border-glass);
  padding: 20px 24px;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.4);
}

.cookie-consent.visible {
  transform: translateY(0);
}

.cookie-consent-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
  min-width: 300px;
}

.cookie-icon {
  font-size: 1.5rem;
  color: var(--primary-light);
  margin-top: 2px;
}

.cookie-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}

.cookie-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
}

.cookie-btn-accept:hover {
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
  transform: translateY(-1px);
}

.cookie-btn-reject {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  border: 1px solid var(--border-glass);
}

.cookie-btn-reject:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.cookie-btn-settings {
  background: none;
  color: var(--text-muted);
  border: 1px solid transparent;
  text-decoration: underline;
}

.cookie-btn-settings:hover {
  color: var(--primary-light);
}

/* Cookie Settings Panel */
.cookie-settings-panel {
  max-width: var(--container-max);
  margin: 16px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--border-glass);
}

.cookie-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.cookie-setting-row strong {
  font-size: 0.9rem;
  display: block;
  margin-bottom: 2px;
}

.cookie-setting-row p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  min-width: 48px;
  cursor: pointer;
}

.toggle-switch.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  transition: background var(--transition-fast);
}

.toggle-slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: transform var(--transition-fast);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--primary);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(22px);
}

/* ============================================
   AGE GATE
   ============================================ */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(10, 10, 26, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

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

.age-gate-card {
  background: var(--bg-glass-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  max-width: 440px;
  width: 90%;
  box-shadow: var(--shadow-glass);
  animation: ageGateIn 0.6s ease-out;
}

@keyframes ageGateIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.age-gate-icon {
  font-size: 3rem;
  color: var(--primary-light);
  margin-bottom: 20px;
}

.age-gate-card h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.age-gate-card > p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.age-gate-small {
  font-size: 0.8rem !important;
  color: var(--text-muted) !important;
  margin-bottom: 28px !important;
}

.age-gate-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.age-btn {
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.age-btn-yes {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.age-btn-yes:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.age-btn-no {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  border: 1px solid var(--border-glass);
}

.age-btn-no:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-page {
  padding-top: var(--header-height);
}

.legal-hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
}

.legal-hero .hero-bg-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 50% 30%,
      rgba(99, 102, 241, 0.12) 0%,
      transparent 60%
    ),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 100%);
}

.legal-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.legal-hero-icon {
  font-size: 3rem;
  color: var(--primary-light);
  margin-bottom: 20px;
  display: block;
}

.legal-hero-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}

.legal-hero-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Legal Content Card */
.legal-content {
  padding: 48px;
  margin-bottom: 80px;
  background: rgba(255, 255, 255, 0.95) !important;
  color: var(--text-dark) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.legal-content h2 {
  font-size: 1.4rem;
  color: #1a1a2e;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(99, 102, 241, 0.2);
}

.legal-content p {
  font-size: 0.95rem;
  color: #3a3a5e;
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-content ul {
  margin: 12px 0 16px 20px;
  list-style: disc;
}

.legal-content ul li {
  font-size: 0.93rem;
  color: #3a3a5e;
  line-height: 1.8;
  margin-bottom: 6px;
}

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

.legal-content a:hover {
  color: var(--accent-dark);
}

.legal-section {
  margin-bottom: 36px;
}

.legal-section:last-of-type {
  margin-bottom: 24px;
}

.legal-footer-note {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
}

.legal-footer-note p {
  color: #6a6a8e !important;
  font-size: 0.85rem !important;
}

/* GDPR Rights Grid */
.gdpr-rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.gdpr-right-card {
  padding: 24px;
  background: rgba(99, 102, 241, 0.04);
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.gdpr-right-card:hover {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.2);
  transform: translateY(-2px);
}

.gdpr-right-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  color: white;
  font-size: 1rem;
  margin-bottom: 14px;
}

.gdpr-right-card h4 {
  font-size: 1.05rem;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.gdpr-right-card p {
  font-size: 0.88rem;
  color: #4a4a6e;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .legal-content {
    padding: 28px;
  }

  .gdpr-rights-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease-out,
    transform 0.7s ease-out;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grid items */
[data-reveal]:nth-child(1) {
  transition-delay: 0s;
}
[data-reveal]:nth-child(2) {
  transition-delay: 0.1s;
}
[data-reveal]:nth-child(3) {
  transition-delay: 0.2s;
}
[data-reveal]:nth-child(4) {
  transition-delay: 0.3s;
}
[data-reveal]:nth-child(5) {
  transition-delay: 0.4s;
}
[data-reveal]:nth-child(6) {
  transition-delay: 0.5s;
}
[data-reveal]:nth-child(7) {
  transition-delay: 0.6s;
}
[data-reveal]:nth-child(8) {
  transition-delay: 0.7s;
}

/* ============================================
   NOISE TEXTURE OVERLAY
   ============================================ */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.5);
}

/* ============================================
   SELECTION
   ============================================ */
::selection {
  background: rgba(99, 102, 241, 0.3);
  color: white;
}

/* ============================================
   FOCUS VISIBLE
   ============================================ */
*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .main-header,
  .cookie-consent,
  .age-gate-overlay,
  .back-to-top,
  .hero-visual,
  .hero-particles {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .legal-content {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}
