/* ============================================
   ORBIFRIENDAXIS — SWEET NEON GLASS
   Design System & Complete Styles
   ============================================ */

/* --- VARIABLES --- */
:root {
  --bg-primary: #0a0a12;
  --bg-secondary: #141426;
  --surface: rgba(255,255,255,0.06);
  --surface-hover: rgba(255,255,255,0.1);
  --surface-border: rgba(255,255,255,0.08);
  --blur: 20px;

  --candy-pink: linear-gradient(135deg, #ff4ecd, #ff85e1);
  --candy-orange: linear-gradient(135deg, #ff7a18, #ffb347);
  --candy-purple: linear-gradient(135deg, #7c3aed, #c084fc);
  --candy-mix: linear-gradient(135deg, #ff4ecd, #ff7a18, #7c3aed);

  --pink: #ff4ecd;
  --pink-light: #ff85e1;
  --orange: #ff7a18;
  --orange-light: #ffb347;
  --purple: #7c3aed;
  --purple-light: #c084fc;

  --glow-pink: rgba(255,78,205,0.45);
  --glow-orange: rgba(255,122,24,0.45);
  --glow-purple: rgba(124,58,237,0.45);

  --text-primary: #fdf4ff;
  --text-secondary: #fbcfe8;
  --text-muted: #c4b5fd;

  --font: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 26px;
  --radius-xl: 32px;

  --max-width: 1280px;
  --section-gap: 120px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
input, textarea { font-family: inherit; }

/* --- LAYOUT --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(10, 10, 18, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--surface-border);
  transition: var(--transition);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-spacer {
  flex: 1;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

.logo-orb {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--candy-mix);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--glow-pink), 0 0 40px rgba(255,78,205,0.2);
  animation: orbPulse 3s ease-in-out infinite;
}

.logo-orb-inner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.4);
}

.logo-swirl {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: rgba(255,255,255,0.3);
  animation: swirlSpin 4s linear infinite;
}

.logo-text {
  font-weight: 800;
  font-size: 1.2rem;
  background: var(--candy-mix);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 100%);
  pointer-events: none;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.btn-primary {
  background: linear-gradient(135deg, #ff4ecd, #ff7a18);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255,78,205,0.3), 0 0 40px rgba(255,78,205,0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,78,205,0.4), 0 0 60px rgba(255,78,205,0.25);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(255,78,205,0.3);
}

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

.btn-glass:hover {
  background: var(--surface-hover);
  transform: translateY(-2px);
  border-color: rgba(255,78,205,0.3);
  box-shadow: 0 4px 20px rgba(255,78,205,0.15);
}

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

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-header-cta {
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* --- SIDE NAVIGATION --- */
.side-nav {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
}

.side-nav-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 8px;
  background: rgba(20, 20, 38, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,78,205,0.15);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 60px rgba(124,58,237,0.1);
  position: relative;
}

.side-nav-container::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(180deg, rgba(255,78,205,0.2), rgba(124,58,237,0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.side-nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}

.side-nav-item:hover {
  color: var(--text-primary);
  background: rgba(255,78,205,0.1);
  transform: scale(1.08);
  box-shadow: 0 0 20px var(--glow-pink);
}

.side-nav-item.active {
  color: var(--pink);
  background: rgba(255,78,205,0.15);
}

.side-nav-item[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(20, 20, 38, 0.95);
  backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid var(--surface-border);
  color: var(--text-primary);
  pointer-events: none;
  animation: tooltipIn 0.2s ease;
}

/* --- HERO --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,10,18,0.3) 0%, var(--bg-primary) 70%);
  z-index: 2;
}

/* Floating candy shapes */
.candy-float {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  animation: candyFloat 20s ease-in-out infinite;
}

.candy-float-1 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,78,205,0.15) 0%, transparent 70%);
  top: 10%; left: 5%;
  animation-delay: 0s;
  animation-duration: 18s;
}

.candy-float-2 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, transparent 70%);
  top: 60%; right: 10%;
  animation-delay: -3s;
  animation-duration: 22s;
}

.candy-float-3 {
  width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(255,122,24,0.12) 0%, transparent 70%);
  bottom: 20%; left: 20%;
  animation-delay: -6s;
  animation-duration: 16s;
}

.candy-float-4 {
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(255,78,205,0.2) 0%, transparent 70%);
  top: 30%; right: 25%;
  animation-delay: -9s;
  animation-duration: 20s;
}

.candy-float-5 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(124,58,237,0.1) 0%, transparent 70%);
  top: 5%; right: 5%;
  animation-delay: -4s;
  animation-duration: 25s;
}

.candy-float-6 {
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(255,179,71,0.2) 0%, transparent 70%);
  bottom: 30%; right: 30%;
  animation-delay: -7s;
  animation-duration: 14s;
}

.candy-float-7 {
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(255,78,205,0.12) 0%, transparent 70%);
  bottom: 10%; left: 40%;
  animation-delay: -2s;
  animation-duration: 19s;
}

.candy-float-8 {
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 70%);
  top: 45%; left: 10%;
  animation-delay: -11s;
  animation-duration: 23s;
}

/* Sugar waves */
.hero-wave {
  position: absolute;
  width: 200%;
  height: 400px;
  z-index: 1;
  opacity: 0.3;
}

.hero-wave-1 {
  bottom: -100px;
  left: -50%;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,78,205,0.1) 0%, transparent 50%);
  animation: waveFloat 12s ease-in-out infinite;
}

.hero-wave-2 {
  bottom: -150px;
  left: -30%;
  background: radial-gradient(ellipse at 70% 50%, rgba(124,58,237,0.08) 0%, transparent 50%);
  animation: waveFloat 15s ease-in-out infinite reverse;
}

/* Particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  animation: particleFloat 10s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-title-accent {
  background: var(--candy-mix);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
  background-size: 200% 200%;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-legal {
  margin-top: 48px;
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.7;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.scroll-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(180deg, var(--pink), transparent);
  border-radius: 2px;
  animation: scrollPulse 2s ease-in-out infinite;
}

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

.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: var(--surface);
  backdrop-filter: blur(10px);
  border: 1px solid var(--surface-border);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

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

/* --- GAME SECTION --- */
.game-section {
  padding: var(--section-gap) 0;
  position: relative;
}

.game-card {
  position: relative;
  border-radius: var(--radius-lg);
  max-width: 1200px;
  margin: 0 auto;
}

.game-card-glow {
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-lg) + 2px);
  background: var(--candy-mix);
  opacity: 0.3;
  filter: blur(20px);
  z-index: 0;
  transition: var(--transition);
}

.game-card:hover .game-card-glow {
  opacity: 0.5;
  filter: blur(30px);
}

.game-card-inner {
  position: relative;
  z-index: 1;
  background: rgba(20, 20, 38, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,78,205,0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.game-card:hover .game-card-inner {
  transform: scale(1.005);
  border-color: rgba(255,78,205,0.35);
}

.game-card-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  z-index: 10;
}

.game-iframe-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: var(--bg-primary);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}

.game-iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.game-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 18, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: var(--transition-slow);
}

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

.game-overlay-content {
  text-align: center;
}

.game-overlay-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  animation: candyBounce 2s ease-in-out infinite;
}

.game-overlay-content h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.game-overlay-content p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.game-controls {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- MODAL --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 18, 0.85);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 1;
  transition: var(--transition);
}

.modal-overlay[hidden] {
  display: none;
}

.modal-card {
  background: rgba(20, 20, 38, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,78,205,0.2);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 560px;
  width: 100%;
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
}

.modal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

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

.modal-close:hover {
  background: rgba(255,78,205,0.15);
  border-color: rgba(255,78,205,0.3);
}

.modal-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  background: var(--candy-mix);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

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

.modal-step-num {
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--candy-mix);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.modal-step strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.modal-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.modal-legal {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.7;
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--surface-border);
}

/* --- FEATURES SECTION --- */
.features-section {
  padding: var(--section-gap) 0;
  position: relative;
}

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

.feature-card {
  grid-column: span 4;
  background: var(--surface);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 100%);
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,78,205,0.25);
  box-shadow: 0 8px 40px rgba(255,78,205,0.1);
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.feature-icon-pink {
  background: rgba(255,78,205,0.15);
  color: var(--pink);
  box-shadow: 0 0 30px rgba(255,78,205,0.15);
}

.feature-icon-orange {
  background: rgba(255,122,24,0.15);
  color: var(--orange);
  box-shadow: 0 0 30px rgba(255,122,24,0.15);
}

.feature-icon-purple {
  background: rgba(124,58,237,0.15);
  color: var(--purple);
  box-shadow: 0 0 30px rgba(124,58,237,0.15);
}

.feature-icon-mix {
  background: rgba(255,78,205,0.1);
  color: var(--pink-light);
  box-shadow: 0 0 30px rgba(255,78,205,0.1);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* --- REWARDS SECTION --- */
.rewards-section {
  padding: var(--section-gap) 0;
  position: relative;
}

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

.reward-card {
  background: var(--surface);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.reward-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.reward-card-shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(255,255,255,0.03), transparent 30%);
  animation: shineRotate 8s linear infinite;
  pointer-events: none;
}

.reward-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,179,71,0.3);
  box-shadow: 0 8px 40px rgba(255,179,71,0.1);
}

.reward-card-highlight {
  border-color: rgba(255,78,205,0.25);
  background: rgba(255,78,205,0.06);
}

.reward-card-highlight:hover {
  border-color: rgba(255,78,205,0.4);
  box-shadow: 0 8px 40px rgba(255,78,205,0.15);
}

.reward-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.reward-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.reward-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.reward-counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.counter-value {
  font-size: 2rem;
  font-weight: 900;
  background: var(--candy-orange);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.counter-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* --- CONTACT SECTION --- */
.contact-section {
  padding: var(--section-gap) 0;
}

.contact-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--surface);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255,78,205,0.4);
  box-shadow: 0 0 20px rgba(255,78,205,0.1);
  background: rgba(255,255,255,0.06);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.5;
}

/* --- FOOTER --- */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--surface-border);
  background: rgba(10, 10, 18, 0.8);
}

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

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-links h4 {
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-secondary);
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--pink);
}

.footer-bottom {
  border-top: 1px solid var(--surface-border);
  padding-top: 32px;
  text-align: center;
}

.footer-legal {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 8px;
  opacity: 0.7;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.8rem;
  opacity: 0.5;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 16px;
}

.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 0.8rem;
  transition: var(--transition);
}

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

/* --- MOBILE NAV --- */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 18, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--surface-border);
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
  justify-content: space-around;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 700;
  transition: var(--transition);
  border-radius: var(--radius-sm);
}

.mobile-nav-item.active {
  color: var(--pink);
}

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

/* --- PAGE LAYOUTS (Inner Pages) --- */
.page-main {
  padding: 140px 0 var(--section-gap);
  min-height: 80vh;
}

.page-header {
  margin-bottom: 48px;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  background: var(--candy-mix);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-content {
  line-height: 1.8;
}

.page-content h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

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

.page-content li {
  color: var(--text-muted);
  margin-bottom: 8px;
  list-style: disc;
}

.page-content a {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-content a:hover {
  color: var(--pink-light);
}

.glass-card {
  background: var(--surface);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.legal-highlight {
  background: rgba(255,78,205,0.08);
  border: 1px solid rgba(255,78,205,0.15);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-top: 24px;
  font-weight: 700;
  color: var(--text-secondary) !important;
  font-size: 0.9rem;
}

/* --- CURSOR GLOW --- */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,78,205,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}

.cursor-glow.active {
  opacity: 1;
}

/* --- ANIMATIONS --- */
.anim-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.anim-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.anim-delay-1 { transition-delay: 0.15s; }
.anim-delay-2 { transition-delay: 0.3s; }
.anim-delay-3 { transition-delay: 0.45s; }

@keyframes orbPulse {
  0%, 100% { box-shadow: 0 0 20px var(--glow-pink), 0 0 40px rgba(255,78,205,0.2); }
  50% { box-shadow: 0 0 30px var(--glow-pink), 0 0 60px rgba(255,78,205,0.3); }
}

@keyframes swirlSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes candyFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(40px, 30px) scale(1.02); }
}

@keyframes waveFloat {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5%); }
}

@keyframes particleFloat {
  0%, 100% { transform: translate(0, 0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  50% { transform: translate(var(--dx, 50px), var(--dy, -100px)); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; height: 40px; }
  50% { opacity: 1; height: 60px; }
}

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

@keyframes shineRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes tooltipIn {
  from { opacity: 0; transform: translateY(-50%) translateX(-4px); }
  to { opacity: 1; transform: translateY(-50%) translateX(0); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px var(--glow-pink); }
  50% { box-shadow: 0 0 40px var(--glow-pink), 0 0 60px var(--glow-purple); }
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  :root {
    --section-gap: 80px;
  }

  .side-nav {
    display: none;
  }

  .mobile-nav {
    display: flex;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  body {
    padding-bottom: 80px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 60px;
  }

  .hero {
    padding: 100px 20px 80px;
  }

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

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

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

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 28px;
  }

  .glass-card {
    padding: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .game-controls {
    padding: 12px 16px;
  }

  .modal-card {
    padding: 28px;
  }

  .game-iframe-wrapper {
    padding-top: 75%;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0 16px;
  }

  .logo-text {
    font-size: 1rem;
  }

  .btn-header-cta {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

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

  .hero-sub {
    font-size: 0.95rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

/* --- UTILITY --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Fullscreen game */
.game-iframe-wrapper.fullscreen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  padding-top: 0;
  border-radius: 0;
  background: #000;
}

.game-iframe-wrapper.fullscreen iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

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

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

::-webkit-scrollbar-thumb {
  background: rgba(255,78,205,0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255,78,205,0.4);
}

/* Selection */
::selection {
  background: rgba(255,78,205,0.3);
  color: var(--text-primary);
}