/* ============================================
   MOONACLICKSPRINT — ADVENTURER ELITE UI
   Premium Social Casino Design System
   ============================================ */

/* === VARIABLES === */
:root {
  --bg-primary: #020617;
  --bg-secondary: #0f172a;
  --bg-tertiary: #1e293b;
  --glass-bg: rgba(255,255,255,0.05);
  --glass-bg-hover: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.15);
  --glass-border-hover: rgba(255,255,255,0.25);
  --blur: 24px;
  --gold-1: #d4af37;
  --gold-2: #facc15;
  --gold-3: #fde68a;
  --gold-gradient: linear-gradient(135deg, #d4af37, #facc15, #fde68a);
  --emerald-1: #065f46;
  --emerald-2: #10b981;
  --emerald-gradient: linear-gradient(135deg, #065f46, #10b981);
  --blue-1: #0ea5e9;
  --blue-2: #38bdf8;
  --blue-gradient: linear-gradient(135deg, #0ea5e9, #38bdf8);
  --gold-glow: rgba(250, 204, 21, 0.35);
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --blue-glow: rgba(56, 189, 248, 0.25);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --font-heading: 'Cinzel', 'Playfair Display', serif;
  --font-body: 'Inter', 'Poppins', sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --max-width: 1280px;
  --side-nav-width: 72px;
  --header-height: 72px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 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-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

ul { list-style: none; }

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

.section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.page-content {
  padding-left: var(--side-nav-width);
  padding-top: var(--header-height);
  min-height: 100vh;
  overflow-x: hidden;
}

/* === SIDE NAV === */
.side-nav {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--side-nav-width);
  height: 100vh;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-right: 1px solid var(--glass-border);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.side-nav-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

.compass-icon {
  animation: compassSpin 20s linear infinite;
  filter: drop-shadow(0 0 8px var(--gold-glow));
  flex-shrink: 0;
}

.compass-icon.small {
  animation: none;
}

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

.nav-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
  flex-shrink: 0;
}

.nav-icon-link::after {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) scale(0.8);
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 10;
}

.nav-icon-link:hover::after {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.nav-icon-link:hover {
  color: var(--gold-2);
  background: var(--glass-bg);
  transform: translateY(-2px);
  box-shadow: 0 0 20px var(--gold-glow);
}

.nav-icon-link.active {
  color: var(--gold-2);
  background: rgba(250, 204, 21, 0.1);
  box-shadow: 0 0 16px rgba(250, 204, 21, 0.2);
}

/* === TOP HEADER === */
.top-header {
  position: fixed;
  top: 0;
  left: var(--side-nav-width);
  right: 0;
  height: var(--header-height);
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 999;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-text {
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.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 NAV === */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-bottom: 1px solid var(--glass-border);
  z-index: 998;
  flex-direction: column;
  padding: 1rem 2rem;
  transform: translateY(-100%);
  opacity: 0;
  transition: var(--transition);
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
}

.mobile-nav.active {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav-link {
  padding: 0.75rem 0;
  font-size: 1rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
  color: var(--gold-2);
}

/* === BOTTOM NAV (MOBILE) === */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-top: 1px solid var(--glass-border);
  z-index: 1000;
  justify-content: space-around;
  padding: 0.5rem 0;
  padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--text-muted);
  font-size: 0.65rem;
  padding: 0.35rem 0.5rem;
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
  min-width: 0;
}

.bottom-nav-item svg {
  flex-shrink: 0;
}

.bottom-nav-item span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60px;
  text-align: center;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
  color: var(--gold-2);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #020617;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--gold-glow);
}

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

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

.btn-glass:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.08);
}

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
}

.btn-full {
  width: 100%;
}

.btn-glow {
  box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-glow:hover {
  box-shadow: 0 8px 40px var(--gold-glow);
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-left: var(--side-nav-width);
  padding-top: var(--header-height);
}

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

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: heroZoom 30s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% { transform: scale(1.05) translate(0, 0); }
  50% { transform: scale(1.1) translate(-1%, 1%); }
  100% { transform: scale(1.05) translate(1%, -0.5%); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 6, 23, 0.3) 0%,
    rgba(2, 6, 23, 0.6) 40%,
    rgba(2, 6, 23, 0.85) 70%,
    rgba(2, 6, 23, 1) 100%
  );
}

.hero-fog {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 80%, rgba(250, 204, 21, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(16, 185, 129, 0.06) 0%, transparent 50%);
  animation: fogMove 15s ease-in-out infinite alternate;
}

@keyframes fogMove {
  0% { opacity: 0.6; transform: translateX(-2%); }
  100% { opacity: 1; transform: translateX(2%); }
}

.hero-rays {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(250, 204, 21, 0.1) 0%, transparent 60%);
  animation: raysGlow 8s ease-in-out infinite alternate;
}

@keyframes raysGlow {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

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

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--gold-2);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 10s infinite;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1.25rem;
  border-radius: 50px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  font-size: 0.8rem;
  color: var(--gold-2);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px var(--gold-glow));
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-legal {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold-2), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

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

/* === SECTIONS === */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.section-desc {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.8;
}

/* === GAME PREVIEW SECTION (HOME) === */
.game-preview-section {
  padding-left: var(--side-nav-width);
  overflow: hidden;
}

.game-card-showcase {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.game-card-glow {
  position: absolute;
  inset: -4px;
  border-radius: calc(var(--radius-xl) + 4px);
  background: var(--gold-gradient);
  opacity: 0.4;
  filter: blur(20px);
  animation: cardGlowPulse 4s ease-in-out infinite;
}

@keyframes cardGlowPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.game-card-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: var(--glass-bg);
  transition: var(--transition);
}

.game-card-frame:hover {
  transform: scale(1.015);
  border-color: rgba(212, 175, 55, 0.5);
}

.game-card-inner {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.game-placeholder {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.game-preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-placeholder-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.game-placeholder:hover .game-placeholder-overlay {
  opacity: 1;
}

.game-card-info {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.game-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.game-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  flex-shrink: 0;
}

.game-info-icon.gold { color: var(--gold-2); box-shadow: 0 0 12px var(--gold-glow); }
.game-info-icon.emerald { color: var(--emerald-2); box-shadow: 0 0 12px var(--emerald-glow); }
.game-info-icon.blue { color: var(--blue-2); box-shadow: 0 0 12px var(--blue-glow); }

.game-info-item strong {
  display: block;
  font-size: 0.9rem;
}

.game-info-item span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* === FEATURES === */
.features-section {
  padding-left: var(--side-nav-width);
  overflow: hidden;
}

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

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  backdrop-filter: blur(var(--blur));
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

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

.feature-icon {
  width: 100%;
  height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.5rem;
  position: relative;
}

.feature-icon.gold-glow::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg-primary), transparent 60%); }
.feature-icon.emerald-glow::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg-primary), transparent 60%); }
.feature-icon.blue-glow::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg-primary), transparent 60%); }

.feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.feature-card:hover .feature-image {
  transform: scale(1.08);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

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

/* === REWARDS PREVIEW === */
.rewards-preview-section {
  padding-left: var(--side-nav-width);
  overflow: hidden;
}

.rewards-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.rewards-content .section-tag,
.rewards-content .section-title {
  text-align: left;
}

.rewards-content .section-desc {
  text-align: left;
  margin-bottom: 2rem;
}

.reward-tiers {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.reward-tier {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.reward-tier:hover {
  background: var(--glass-bg-hover);
  transform: translateX(4px);
}

.tier-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tier-badge.bronze { color: #cd7f32; background: rgba(205, 127, 50, 0.15); }
.tier-badge.silver { color: #c0c0c0; background: rgba(192, 192, 192, 0.15); }
.tier-badge.gold { color: var(--gold-2); background: rgba(250, 204, 21, 0.15); }
.tier-badge.legendary { color: #e879f9; background: rgba(232, 121, 249, 0.15); }

.reward-tier strong { display: block; font-size: 0.9rem; }
.reward-tier span { font-size: 0.75rem; color: var(--text-muted); }

.rewards-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.rewards-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.rewards-image-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, var(--bg-primary) 100%);
  border-radius: var(--radius-xl);
}

/* === CTA SECTION === */
.cta-section {
  padding-left: var(--side-nav-width);
  overflow: hidden;
}

.cta-card {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cta-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.75);
  backdrop-filter: blur(4px);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 2rem;
  width: 100%;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.cta-legal {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* === GAME PAGE === */
.game-page .page-header { margin-bottom: 2rem; }

.game-container {
  max-width: 960px;
  margin: 0 auto;
}

.game-frame-wrapper {
  position: relative;
}

.game-frame-glow {
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--radius-xl) + 3px);
  background: var(--gold-gradient);
  opacity: 0.35;
  filter: blur(16px);
  animation: cardGlowPulse 4s ease-in-out infinite;
}

.game-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: #000;
  aspect-ratio: 16/9;
  width: 100%;
}

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

.game-controls {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.game-legal {
  text-align: center;
  margin-top: 2rem;
  padding: 1.25rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
}

.game-legal p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* === MODAL === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

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

.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  max-width: 560px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.75rem;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}

.modal-close:hover { color: var(--gold-2); }

.how-to-step {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.how-to-step strong {
  display: block;
  margin-bottom: 0.25rem;
}

.how-to-step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* === EXPLORE PAGE === */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.explore-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.explore-card.large {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
  min-height: 300px;
}

.explore-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.explore-card:hover .explore-card-image {
  transform: scale(1.08);
}

.explore-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2,6,23,0.9) 0%, rgba(2,6,23,0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: var(--transition);
}

.explore-card:hover .explore-card-overlay {
  background: linear-gradient(to top, rgba(2,6,23,0.95) 0%, rgba(2,6,23,0.5) 60%, rgba(2,6,23,0.2) 100%);
}

.explore-card-tag {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  background: rgba(250, 204, 21, 0.2);
  color: var(--gold-2);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  width: fit-content;
}

.explore-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  margin-bottom: 0.5rem;
}

.explore-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* === REWARDS PAGE === */
.rewards-tiers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.reward-tier-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.reward-tier-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.reward-tier-card.bronze::before { background: linear-gradient(90deg, #cd7f32, #e8a96b); }
.reward-tier-card.silver::before { background: linear-gradient(90deg, #a8a8a8, #e0e0e0); }
.reward-tier-card.gold::before { background: var(--gold-gradient); }
.reward-tier-card.legendary::before { background: linear-gradient(90deg, #a855f7, #e879f9, #f0abfc); }

.reward-tier-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.reward-tier-card.bronze .tier-card-icon { color: #cd7f32; }
.reward-tier-card.silver .tier-card-icon { color: #c0c0c0; }
.reward-tier-card.gold .tier-card-icon { color: var(--gold-2); }
.reward-tier-card.legendary .tier-card-icon { color: #e879f9; }

.tier-card-header {
  margin-bottom: 1.5rem;
}

.tier-card-header h3 {
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
}

.tier-level {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.tier-perks li {
  padding: 0.5rem 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.tier-perks li:last-child { border-bottom: none; }

/* === ACHIEVEMENTS === */
.achievements-section { margin-bottom: 3rem; }

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

.achievement-badge {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--transition);
}

.achievement-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  border-color: var(--gold-glow);
}

.achievement-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.achievement-badge span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* === CONTENT CARDS (ABOUT, LEGAL) === */
.content-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(var(--blur));
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.content-card h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 1rem;
  margin-top: 2rem;
}

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

.content-card p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.8;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.content-card ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.content-card ul li {
  list-style: disc;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.content-card a {
  color: var(--gold-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}

.content-card a:hover {
  color: var(--gold-3);
}

.highlight-card {
  border-color: rgba(250, 204, 21, 0.3);
  background: rgba(250, 204, 21, 0.05);
}

.page-legal-text {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 2rem 0;
}

/* === ABOUT FEATURES === */
.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.about-feature {
  padding: 1.25rem;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.08);
}

.about-feature h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.about-feature p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* === CONTACT === */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-form-card h2 {
  font-family: var(--font-heading);
  margin-bottom: 1.5rem;
  margin-top: 0;
}

.form-group {
  margin-bottom: 1.25rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-2);
  box-shadow: 0 0 16px rgba(250, 204, 21, 0.15);
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.form-group option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

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

.contact-info-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-side .content-card {
  margin-bottom: 0;
  padding: 1.5rem;
}

.contact-info-side .content-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.contact-info-side .content-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* === LEGAL CONTENT === */
.legal-content .content-card h2 {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
}

/* === PAGE HEADER === */
.page-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  padding-top: 2rem;
}

/* === FOOTER === */
.footer {
  padding-left: var(--side-nav-width);
  border-top: 1px solid var(--glass-border);
  background: rgba(2, 6, 23, 0.9);
  padding-top: 4rem;
  padding-bottom: 2rem;
  overflow: hidden;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

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

.footer-links h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--gold-2);
}

.footer-links a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.3rem 0;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-badge {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.badge-18,
.badge-free {
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.badge-18 {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-free {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-2);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* === ANIMATIONS === */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

body:hover .cursor-glow {
  opacity: 1;
}

/* === GRADIENT FLOW === */
@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* === UTILITIES === */
.text-center { text-align: center; }
.text-gold { color: var(--gold-2); }

/* ==============================================
   RESPONSIVE BREAKPOINTS
   ============================================== */

/* === ULTRA-WIDE (1920px+) === */
@media (min-width: 1920px) {
  :root {
    --max-width: 1440px;
  }
  
  .hero-title {
    font-size: 5rem;
  }
  
  .hero-subtitle {
    font-size: 1.35rem;
  }
  
  .section-title {
    font-size: 3.25rem;
  }
  
  .section-desc {
    font-size: 1.15rem;
  }
  
  .features-grid {
    gap: 2.5rem;
  }
  
  .feature-icon {
    height: 200px;
  }
  
  .rewards-image {
    height: 600px;
  }
  
  .explore-card.large {
    min-height: 450px;
  }
}

/* === LARGE DESKTOP (1280–1919px) — Default styles apply === */

/* === MEDIUM DESKTOP / SMALL LAPTOP (1024–1279px) === */
@media (max-width: 1279px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
  }
  
  .rewards-split {
    gap: 3rem;
  }
  
  .rewards-image {
    height: 420px;
  }
}

/* === TABLET LANDSCAPE (1024px) === */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .rewards-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .rewards-content .section-tag,
  .rewards-content .section-title,
  .rewards-content .section-desc {
    text-align: center;
  }
  
  .rewards-visual {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .rewards-image {
    height: 380px;
  }
  
  .rewards-tiers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .explore-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .explore-card.large {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 280px;
  }
  
  .achievements-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .game-card-info {
    gap: 1.5rem;
  }
}

/* === TABLET PORTRAIT (768px) === */
@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  .side-nav {
    display: none;
  }
  
  .top-header {
    left: 0;
    padding: 0 1rem;
  }
  
  .page-content {
    padding-left: 0;
    padding-bottom: 80px;
    padding-top: var(--header-height);
  }
  
  .hero {
    padding-left: 0;
    min-height: 100svh;
    padding-top: var(--header-height);
  }
  
  .game-preview-section,
  .features-section,
  .rewards-preview-section,
  .cta-section,
  .footer {
    padding-left: 0;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .mobile-nav {
    display: flex;
  }
  
  .bottom-nav {
    display: flex;
  }
  
  .header-actions .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .section-header {
    margin-bottom: 3rem;
  }
  
  .container {
    padding: 0 1.25rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .feature-icon {
    height: 180px;
  }
  
  .rewards-tiers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .reward-tier-card {
    padding: 1.5rem 1rem;
  }
  
  .explore-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .explore-card.large {
    grid-column: span 1;
    min-height: 250px;
  }
  
  .explore-card {
    aspect-ratio: 16/10;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .footer-brand {
    grid-column: span 2;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .footer-legal {
    text-align: center;
  }
  
  .hero-content {
    padding: 2rem 1.25rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-ctas .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .hero-badge {
    font-size: 0.7rem;
    padding: 0.35rem 1rem;
    letter-spacing: 1px;
  }
  
  .game-card-info {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .game-info-item {
    width: 100%;
    max-width: 280px;
    padding: 0.75rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
  }
  
  .cursor-glow {
    display: none;
  }
  
  .cta-content {
    padding: 2rem 1.5rem;
  }
  
  .cta-card {
    min-height: 320px;
    border-radius: var(--radius-xl);
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .content-card {
    padding: 1.75rem;
  }
  
  .rewards-visual {
    max-width: 100%;
  }
  
  .rewards-image {
    height: 300px;
  }
  
  .page-header {
    padding-top: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .modal {
    padding: 2rem 1.5rem;
    margin: 1rem;
    max-height: 85vh;
  }
  
  .modal h2 {
    font-size: 1.4rem;
  }
  
  .hero-scroll-indicator {
    bottom: 1.5rem;
  }
  
  .game-frame {
    border-radius: var(--radius-lg);
  }
  
  .game-controls .btn {
    flex: 1;
    min-width: 0;
  }
}

/* === LARGE PHONE / SMALL TABLET (640px) === */
@media (max-width: 640px) {
  .rewards-tiers-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-brand {
    grid-column: span 1;
  }
  
  .footer {
    padding-top: 3rem;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .feature-icon {
    height: 150px;
  }
  
  .explore-card {
    aspect-ratio: 16/9;
  }
  
  .explore-card-overlay {
    padding: 1.25rem;
  }
  
  .rewards-image {
    height: 250px;
  }
  
  .game-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .game-controls .btn {
    width: 100%;
    justify-content: center;
  }
}

/* === MOBILE (480px) === */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .hero-content {
    padding: 1.5rem 1rem;
  }
  
  .hero-badge {
    font-size: 0.65rem;
    padding: 0.3rem 0.85rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
  }
  
  .hero-ctas .btn {
    max-width: 100%;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
  }
  
  .hero-legal {
    font-size: 0.7rem;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .section-desc {
    font-size: 0.9rem;
  }
  
  .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .achievement-badge {
    padding: 1rem 0.75rem;
  }
  
  .achievement-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
  
  .achievement-badge span {
    font-size: 0.75rem;
  }
  
  .content-card {
    padding: 1.25rem;
    border-radius: var(--radius-lg);
  }
  
  .content-card h2 {
    font-size: 1.15rem;
  }
  
  .content-card p {
    font-size: 0.9rem;
  }
  
  .about-feature {
    padding: 1rem;
  }
  
  .about-feature h3 {
    font-size: 0.9rem;
  }
  
  .about-feature p {
    font-size: 0.85rem;
  }
  
  .explore-card h3 {
    font-size: 1rem;
  }
  
  .explore-card p {
    font-size: 0.8rem;
  }
  
  .reward-tier-card {
    padding: 1.25rem 1rem;
  }
  
  .tier-card-header h3 {
    font-size: 0.95rem;
  }
  
  .tier-perks li {
    font-size: 0.8rem;
    padding: 0.4rem 0;
  }
  
  .feature-card {
    padding: 1.25rem;
  }
  
  .feature-icon {
    height: 140px;
  }
  
  .feature-card h3 {
    font-size: 1rem;
  }
  
  .feature-card p {
    font-size: 0.85rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px; /* Prevents iOS zoom */
    padding: 0.7rem 0.85rem;
  }
  
  .footer-links h4 {
    font-size: 0.85rem;
  }
  
  .footer-links a {
    font-size: 0.8rem;
  }
  
  .footer-brand p {
    font-size: 0.85rem;
  }
  
  .footer-legal p {
    font-size: 0.7rem;
  }
  
  .page-legal-text {
    font-size: 0.75rem;
    padding: 1.5rem 0;
  }
  
  .game-legal {
    padding: 1rem;
  }
  
  .game-legal p {
    font-size: 0.75rem;
  }
  
  .cta-content {
    padding: 1.5rem 1rem;
  }
  
  .cta-card {
    min-height: 280px;
    border-radius: var(--radius-lg);
  }
  
  .rewards-image {
    height: 220px;
  }
  
  .bottom-nav {
    padding: 0.4rem 0;
    padding-bottom: calc(0.4rem + env(safe-area-inset-bottom));
  }
  
  .bottom-nav-item {
    font-size: 0.6rem;
    padding: 0.3rem 0.25rem;
  }
  
  .bottom-nav-item svg {
    width: 20px;
    height: 20px;
  }
  
  .bottom-nav-item span {
    max-width: 50px;
    font-size: 0.58rem;
  }
  
  .modal {
    padding: 1.5rem 1.25rem;
    margin: 0.5rem;
    border-radius: var(--radius-lg);
  }
  
  .modal h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .how-to-step {
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }
  
  .step-num {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }
  
  .how-to-step p {
    font-size: 0.85rem;
  }
  
  .contact-form-card h2 {
    font-size: 1.2rem;
  }
  
  .page-header {
    padding-top: 1rem;
    margin-bottom: 1.5rem;
  }
}

/* === VERY SMALL PHONES (360px) === */
@media (max-width: 360px) {
  .container {
    padding: 0 0.75rem;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 1.35rem;
  }
  
  .hero-badge {
    font-size: 0.6rem;
    padding: 0.25rem 0.75rem;
  }
  
  .hero-subtitle {
    font-size: 0.85rem;
  }
  
  .btn-lg {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .content-card {
    padding: 1rem;
  }
  
  .feature-icon {
    height: 120px;
  }
  
  .top-header {
    padding: 0 0.75rem;
  }
  
  .header-actions .btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
  }
  
  .mobile-nav {
    padding: 0.75rem 1rem;
  }
  
  .explore-card-overlay {
    padding: 1rem;
  }
  
  .explore-card h3 {
    font-size: 0.9rem;
  }
  
  .achievements-grid {
    gap: 0.5rem;
  }
  
  .achievement-badge {
    padding: 0.75rem 0.5rem;
  }
  
  .achievement-icon {
    font-size: 1.75rem;
  }
  
  .achievement-badge span {
    font-size: 0.7rem;
  }
  
  .bottom-nav-item span {
    max-width: 44px;
    font-size: 0.55rem;
  }
  
  .bottom-nav-item svg {
    width: 18px;
    height: 18px;
  }
}

/* === LANDSCAPE PHONE FIX === */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
    padding-top: var(--header-height);
  }
  
  .hero-content {
    padding: 1rem;
  }
  
  .hero-title {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }
  
  .hero-subtitle {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }
  
  .hero-badge {
    margin-bottom: 0.75rem;
  }
  
  .hero-ctas {
    flex-direction: row;
    margin-bottom: 1rem;
  }
  
  .hero-ctas .btn {
    width: auto;
    max-width: none;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
  }
  
  .hero-scroll-indicator {
    display: none;
  }
  
  .hero-legal {
    font-size: 0.65rem;
  }
}

/* === HIGH DPI / RETINA DISPLAY ADJUSTMENTS === */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .game-card-glow,
  .game-frame-glow {
    filter: blur(12px);
  }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero-bg-image {
    animation: none;
    transform: scale(1);
  }
  
  .compass-icon {
    animation: none;
  }
  
  .hero-fog,
  .hero-rays {
    animation: none;
  }
  
  .particle {
    display: none;
  }
  
  .animate-fade-up {
    opacity: 1;
    transform: none;
    animation: none;
  }
  
  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
  
  .feature-card::before {
    animation: none;
  }
  
  .scroll-line {
    animation: none;
  }
}

/* === PRINT === */
@media print {
  .side-nav, .top-header, .bottom-nav, .cursor-glow, .particles, .hero-scroll-indicator, .mobile-nav {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .page-content {
    padding-left: 0;
    padding-bottom: 0;
  }
  
  .hero {
    padding-left: 0;
    min-height: auto;
  }
  
  .footer {
    padding-left: 0;
  }
  
  .game-preview-section,
  .features-section,
  .rewards-preview-section,
  .cta-section {
    padding-left: 0;
  }
  
  .gold-text {
    -webkit-text-fill-color: #d4af37;
    color: #d4af37;
  }
  
  .brand-text {
    -webkit-text-fill-color: #d4af37;
    color: #d4af37;
  }
}