/* =============================================
   VELATEAMLINKR - FROSTED NEON CHRISTMAS
   Design System & Complete Stylesheet
   ============================================= */

/* --- CSS Variables --- */
:root {
  --bg-primary: #05070c;
  --bg-secondary: #0f172a;
  --glass-surface: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.1);
  --glass-blur: 20px;

  --red-start: #ef4444;
  --red-end: #dc2626;
  --green-start: #22c55e;
  --green-end: #16a34a;
  --ice-start: #38bdf8;
  --ice-end: #60a5fa;

  --glow-red: rgba(239,68,68,0.45);
  --glow-green: rgba(34,197,94,0.45);
  --glow-ice: rgba(56,189,248,0.45);

  --text-primary: #f8fafc;
  --text-secondary: #cbd5f5;
  --text-muted: #94a3b8;

  --gradient-red: linear-gradient(135deg, var(--red-start), var(--red-end));
  --gradient-green: linear-gradient(135deg, var(--green-start), var(--green-end));
  --gradient-ice: linear-gradient(135deg, var(--ice-start), var(--ice-end));
  --gradient-festive: linear-gradient(135deg, var(--red-start), var(--green-start));
  --gradient-cta: linear-gradient(135deg, #ef4444, #dc2626, #22c55e);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 30px;
  --radius-full: 9999px;

  --spacing-desktop: 120px;
  --spacing-tablet: 80px;
  --spacing-mobile: 60px;

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s var(--transition-smooth);
}

ul, ol {
  list-style: none;
}

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

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

iframe {
  border: none;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--spacing-desktop) 0;
  position: relative;
}

@media (max-width: 1024px) {
  .section { padding: var(--spacing-tablet) 0; }
}
@media (max-width: 640px) {
  .section { padding: var(--spacing-mobile) 0; }
}

/* --- Glass Utility --- */
.glass {
  background: var(--glass-surface);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
}

/* --- Snow Canvas (Global) --- */
#snow-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* =============================================
   HEADER — Floating Frost Bar
   ============================================= */
.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 20px 24px;
  transition: padding 0.3s var(--transition-smooth);
}

.header-wrapper.scrolled {
  padding: 12px 24px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1100px;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  background: rgba(5, 7, 12, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.05);
  transition: all 0.4s var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56,189,248,0.4), rgba(239,68,68,0.4), rgba(34,197,94,0.4), transparent);
  animation: frost-shimmer 6s linear infinite;
}

@keyframes frost-shimmer {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(50%); }
}

.header-wrapper.scrolled .header {
  padding: 10px 28px;
  box-shadow:
    0 12px 40px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gradient-ice);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 20px var(--glow-ice);
  animation: logo-glow 3s ease-in-out infinite alternate;
  position: relative;
}

@keyframes logo-glow {
  0% { box-shadow: 0 0 15px var(--glow-ice); }
  100% { box-shadow: 0 0 30px var(--glow-ice), 0 0 60px rgba(56,189,248,0.2); }
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #f8fafc, #cbd5f5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.nav a {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--transition-smooth);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-festive);
  border-radius: 2px;
  transition: all 0.3s var(--transition-smooth);
  transform: translateX(-50%);
}

.nav a:hover {
  color: var(--text-primary);
}

.nav a:hover::after {
  width: 60%;
}

.nav a.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

/* CTA Button (Header) */
.header-cta {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--gradient-red);
  border-radius: var(--radius-full);
  box-shadow: 0 0 20px var(--glow-red);
  transition: all 0.3s var(--transition-smooth);
  z-index: 2;
  animation: cta-pulse 3s ease-in-out infinite;
  white-space: nowrap;
}

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 20px var(--glow-red); }
  50% { box-shadow: 0 0 30px var(--glow-red), 0 0 60px rgba(239,68,68,0.2); }
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px var(--glow-red), 0 4px 20px rgba(0,0,0,0.3);
}

.header-cta:active {
  transform: translateY(0) scale(0.97);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--glass-surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  transition: all 0.3s var(--transition-smooth);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--transition-smooth);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation Panel */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: rgba(5, 7, 12, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-left: 1px solid var(--glass-border);
  z-index: 999;
  padding: 100px 32px 32px;
  transition: right 0.4s var(--transition-smooth);
  flex-direction: column;
  gap: 8px;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav a {
  display: block;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--transition-smooth);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

.mobile-nav-cta {
  margin-top: 20px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--gradient-red);
  border-radius: var(--radius-full);
  box-shadow: 0 0 20px var(--glow-red);
  text-align: center;
  display: block;
}

.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s var(--transition-smooth);
}

.mobile-overlay.active {
  opacity: 1;
}

@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav { display: flex; }
}

/* =============================================
   HERO — Christmas Night Experience
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-primary);
}

/* Background layers */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 80%, rgba(239,68,68,0.12), transparent),
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(34,197,94,0.08), transparent),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(56,189,248,0.08), transparent),
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.hero-lights {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-light {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: float-light 8s ease-in-out infinite;
  opacity: 0.5;
}

.hero-light:nth-child(1) {
  width: 300px;
  height: 300px;
  background: var(--glow-red);
  top: 15%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 10s;
}

.hero-light:nth-child(2) {
  width: 250px;
  height: 250px;
  background: var(--glow-green);
  top: 60%;
  right: 10%;
  animation-delay: 2s;
  animation-duration: 12s;
}

.hero-light:nth-child(3) {
  width: 200px;
  height: 200px;
  background: var(--glow-ice);
  bottom: 20%;
  left: 40%;
  animation-delay: 4s;
  animation-duration: 9s;
}

.hero-light:nth-child(4) {
  width: 150px;
  height: 150px;
  background: rgba(239,68,68,0.3);
  top: 30%;
  right: 25%;
  animation-delay: 1s;
  animation-duration: 11s;
}

.hero-light:nth-child(5) {
  width: 180px;
  height: 180px;
  background: rgba(34,197,94,0.25);
  top: 10%;
  left: 60%;
  animation-delay: 3s;
  animation-duration: 13s;
}

@keyframes float-light {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -20px) scale(1.1); }
  50% { transform: translate(-20px, 30px) scale(0.9); }
  75% { transform: translate(15px, 15px) scale(1.05); }
}

/* Fog overlay */
.hero-fog {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(5,7,12,0.8), transparent);
  z-index: 1;
}

/* Christmas village silhouette */
.hero-village {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  z-index: 1;
  opacity: 0.15;
}

.village-svg {
  width: 100%;
  height: 100%;
}

/* Content */
.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: var(--glass-surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 28px;
  animation: fade-in-up 0.8s var(--transition-smooth) both;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-start);
  box-shadow: 0 0 10px var(--glow-green);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fade-in-up 0.8s 0.15s var(--transition-smooth) both;
}

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

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--red-start), #f97316, var(--green-start));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .ice-text {
  background: var(--gradient-ice);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
  animation: fade-in-up 0.8s 0.3s var(--transition-smooth) both;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fade-in-up 0.8s 0.45s var(--transition-smooth) both;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.3s var(--transition-smooth);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s var(--transition-smooth);
}

.btn:active {
  transform: scale(0.96);
}

.btn-primary {
  color: #fff;
  background: var(--gradient-red);
  box-shadow: 0 0 25px var(--glow-red), 0 4px 16px rgba(0,0,0,0.3);
}

.btn-primary::before {
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px var(--glow-red), 0 8px 30px rgba(0,0,0,0.4);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  color: var(--text-primary);
  background: var(--glass-surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3), 0 0 20px var(--glow-ice);
}

.btn-green {
  color: #fff;
  background: var(--gradient-green);
  box-shadow: 0 0 25px var(--glow-green), 0 4px 16px rgba(0,0,0,0.3);
}

.btn-green:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px var(--glow-green), 0 8px 30px rgba(0,0,0,0.4);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

.btn-icon {
  font-size: 18px;
}

/* Legal text in hero */
.hero-legal {
  margin-top: 40px;
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.7;
  animation: fade-in-up 0.8s 0.6s var(--transition-smooth) both;
}

/* Stars / sparkles */
.hero-sparkles {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
}

.sparkle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #fff;
  border-radius: 50%;
  animation: sparkle-twinkle 3s ease-in-out infinite;
}

.sparkle:nth-child(1) { top: 12%; left: 15%; animation-delay: 0s; }
.sparkle:nth-child(2) { top: 25%; left: 80%; animation-delay: 0.5s; }
.sparkle:nth-child(3) { top: 45%; left: 5%; animation-delay: 1s; }
.sparkle:nth-child(4) { top: 18%; left: 55%; animation-delay: 1.5s; }
.sparkle:nth-child(5) { top: 70%; left: 90%; animation-delay: 2s; }
.sparkle:nth-child(6) { top: 35%; left: 35%; animation-delay: 0.7s; }
.sparkle:nth-child(7) { top: 8%; left: 70%; animation-delay: 1.2s; }
.sparkle:nth-child(8) { top: 55%; left: 20%; animation-delay: 1.8s; }
.sparkle:nth-child(9) { top: 42%; left: 92%; animation-delay: 0.3s; }
.sparkle:nth-child(10) { top: 65%; left: 50%; animation-delay: 2.2s; }

@keyframes sparkle-twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1.5); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fade-in-up 0.8s 0.8s var(--transition-smooth) both;
}

.scroll-indicator span {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  position: relative;
}

.scroll-mouse::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  border-radius: 3px;
  background: var(--text-secondary);
  animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* =============================================
   SECTION TITLES
   ============================================= */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--glass-surface);
  border: 1px solid var(--glass-border);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.section-label-icon {
  font-size: 14px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* =============================================
   GAME SECTION
   ============================================= */
.game-section {
  background: var(--bg-secondary);
  position: relative;
}

.game-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.game-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.game-card {
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  position: relative;
  transition: all 0.5s var(--transition-smooth);
  box-shadow:
    0 0 30px rgba(239,68,68,0.1),
    0 0 30px rgba(34,197,94,0.1),
    0 20px 60px rgba(0,0,0,0.3);
}

.game-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(239,68,68,0.3), rgba(34,197,94,0.3), rgba(56,189,248,0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 0;
  animation: border-glow 4s linear infinite;
}

@keyframes border-glow {
  0% { opacity: 0.5; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 50px rgba(239,68,68,0.15),
    0 0 50px rgba(34,197,94,0.15),
    0 30px 80px rgba(0,0,0,0.4);
}

.game-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--glass-border);
  position: relative;
  z-index: 1;
}

.game-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.game-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--gradient-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 0 15px var(--glow-red);
}

.game-meta h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}

.game-meta p {
  font-size: 13px;
  color: var(--text-muted);
}

.game-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.game-action-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--glass-surface);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s var(--transition-smooth);
  color: var(--text-secondary);
}

.game-action-btn:hover {
  background: rgba(255,255,255,0.12);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.game-frame-wrapper {
  position: relative;
  z-index: 1;
  aspect-ratio: 16/9;
  background: var(--bg-primary);
}

.game-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.game-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  border-top: 1px solid var(--glass-border);
  position: relative;
  z-index: 1;
}

.game-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.game-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.game-stat-icon {
  font-size: 16px;
}

.game-stat-value {
  font-weight: 600;
  color: var(--text-secondary);
}

/* How to Play Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s var(--transition-smooth);
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  transform: scale(0.95);
  transition: transform 0.3s var(--transition-bounce);
}

.modal-overlay.active .modal {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--glass-surface);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-muted);
  transition: all 0.3s var(--transition-smooth);
}

.modal-close:hover {
  background: rgba(255,255,255,0.12);
  color: var(--text-primary);
}

.modal h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.modal-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.modal-step-num {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--gradient-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 0 15px var(--glow-red);
}

.modal-step-text h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.modal-step-text p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =============================================
   FEATURES — Gift Card Grid
   ============================================= */
.features-section {
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

.feature-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--glass-surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  padding: 36px;
  overflow: hidden;
  transition: all 0.4s var(--transition-smooth);
  cursor: default;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  opacity: 0;
  transition: opacity 0.4s var(--transition-smooth);
}

.feature-card:nth-child(1)::before { background: var(--gradient-red); }
.feature-card:nth-child(2)::before { background: var(--gradient-green); }
.feature-card:nth-child(3)::before { background: var(--gradient-ice); }
.feature-card:nth-child(4)::before { background: linear-gradient(135deg, #f97316, #eab308); }

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

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

/* Ribbon */
.feature-ribbon {
  position: absolute;
  top: -1px;
  right: 30px;
  width: 36px;
  height: 52px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s var(--transition-smooth);
}

.feature-card:hover .feature-ribbon {
  opacity: 1;
  transform: translateY(0);
}

.feature-ribbon-inner {
  width: 100%;
  height: 40px;
  border-radius: 0 0 4px 4px;
}

.feature-card:nth-child(1) .feature-ribbon-inner { background: var(--gradient-red); }
.feature-card:nth-child(2) .feature-ribbon-inner { background: var(--gradient-green); }
.feature-card:nth-child(3) .feature-ribbon-inner { background: var(--gradient-ice); }
.feature-card:nth-child(4) .feature-ribbon-inner { background: linear-gradient(135deg, #f97316, #eab308); }

.feature-ribbon::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-bottom: 12px solid var(--bg-primary);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  transition: all 0.4s var(--transition-smooth);
}

.feature-card:nth-child(1) .feature-icon {
  background: rgba(239,68,68,0.15);
  box-shadow: 0 0 20px rgba(239,68,68,0.1);
}
.feature-card:nth-child(2) .feature-icon {
  background: rgba(34,197,94,0.15);
  box-shadow: 0 0 20px rgba(34,197,94,0.1);
}
.feature-card:nth-child(3) .feature-icon {
  background: rgba(56,189,248,0.15);
  box-shadow: 0 0 20px rgba(56,189,248,0.1);
}
.feature-card:nth-child(4) .feature-icon {
  background: rgba(249,115,22,0.15);
  box-shadow: 0 0 20px rgba(249,115,22,0.1);
}

.feature-card:hover:nth-child(1) .feature-icon { box-shadow: 0 0 30px rgba(239,68,68,0.25); }
.feature-card:hover:nth-child(2) .feature-icon { box-shadow: 0 0 30px rgba(34,197,94,0.25); }
.feature-card:hover:nth-child(3) .feature-icon { box-shadow: 0 0 30px rgba(56,189,248,0.25); }
.feature-card:hover:nth-child(4) .feature-icon { box-shadow: 0 0 30px rgba(249,115,22,0.25); }

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

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

/* Feature tags */
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.feature-tag {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.06);
}

/* =============================================
   STATS SECTION
   ============================================= */
.stats-section {
  background: var(--bg-secondary);
  position: relative;
}

.stats-section::before,
.stats-section::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}
.stats-section::before { top: 0; }
.stats-section::after { bottom: 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

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

.stat-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: var(--glass-surface);
  border: 1px solid var(--glass-border);
  transition: all 0.3s var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.15);
}

.stat-number {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.stat-card:nth-child(1) .stat-number {
  background: var(--gradient-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-card:nth-child(2) .stat-number {
  background: var(--gradient-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-card:nth-child(3) .stat-number {
  background: var(--gradient-ice);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-card:nth-child(4) .stat-number {
  background: linear-gradient(135deg, #f97316, #eab308);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* =============================================
   RESPONSIBLE GAMING BANNER
   ============================================= */
.responsible-banner {
  position: relative;
}

.responsible-card {
  border-radius: var(--radius-lg);
  background: var(--glass-surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  padding: 48px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.responsible-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-ice);
}

.responsible-icon {
  font-size: 36px;
  margin-bottom: 20px;
}

.responsible-card h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 14px;
}

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

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

.responsible-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
  color: var(--text-muted);
}

.responsible-badge-icon {
  font-size: 16px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  padding: 64px 0 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

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

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

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-ice);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.footer-logo-text {
  font-size: 17px;
  font-weight: 700;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--glass-surface);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--text-muted);
  transition: all 0.3s var(--transition-smooth);
}

.footer-social a:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  padding: 5px 0;
  transition: all 0.3s var(--transition-smooth);
}

.footer-col a:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: var(--text-muted);
}

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

/* =============================================
   PAGE HERO (Sub-pages)
   ============================================= */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  background: var(--bg-secondary);
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.page-hero p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* Page Content */
.page-content {
  padding: var(--spacing-desktop) 0;
}

.page-content .container-narrow h2 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
}

.page-content .container-narrow h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.page-content .container-narrow p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.page-content .container-narrow ul {
  margin-bottom: 16px;
  padding-left: 20px;
}

.page-content .container-narrow ul li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.page-content .container-narrow ul li::before {
  content: '❄';
  position: absolute;
  left: 0;
  font-size: 12px;
}

.page-content .container-narrow a {
  color: var(--ice-start);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-content .container-narrow a:hover {
  color: var(--ice-end);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  font-size: 15px;
  font-family: var(--font-main);
  color: var(--text-primary);
  background: var(--glass-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--transition-smooth);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--ice-start);
  box-shadow: 0 0 20px rgba(56,189,248,0.15);
}

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

.form-group select option {
  background: var(--bg-secondary);
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s var(--transition-smooth);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.animate-on-scroll.visible .feature-card:nth-child(1) { transition-delay: 0s; }
.animate-on-scroll.visible .feature-card:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll.visible .feature-card:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll.visible .feature-card:nth-child(4) { transition-delay: 0.3s; }

/* Glow pulse utility */
.glow-pulse {
  animation: glow-pulse-anim 3s ease-in-out infinite;
}

@keyframes glow-pulse-anim {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.15); }
}

/* Floating animation */
.float {
  animation: float-anim 6s ease-in-out infinite;
}

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

/* =============================================
   FULLSCREEN GAME
   ============================================= */
.game-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: var(--bg-primary);
  display: none;
}

.game-fullscreen.active {
  display: block;
}

.game-fullscreen iframe {
  width: 100%;
  height: 100%;
}

.game-fullscreen-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  z-index: 3001;
  transition: all 0.3s var(--transition-smooth);
}

.game-fullscreen-close:hover {
  background: rgba(239,68,68,0.6);
  transform: scale(1.1);
}

/* =============================================
   UTILITIES
   ============================================= */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Selection */
::selection {
  background: rgba(239,68,68,0.3);
  color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.2);
}

/* =============================================
   CTA Section
   ============================================= */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-card {
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(239,68,68,0.15), transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(34,197,94,0.15), transparent 60%),
    var(--glass-surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
}

.cta-card h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.cta-card p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 640px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .game-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .game-card-footer {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .game-stats {
    flex-wrap: wrap;
    gap: 16px;
  }
  .stats-grid {
    gap: 16px;
  }
  .responsible-card {
    padding: 32px 24px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .cta-card {
    padding: 48px 24px;
  }
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  .cta-buttons .btn {
    width: 100%;
  }
  .modal {
    padding: 24px;
  }
  .page-hero {
    padding: 140px 0 60px;
  }
}