/* ============================================
   DRAGON EMBER CORE — Design System
   joyoutpostwave.guru
   ============================================ */

/* --- CSS Variables --- */
:root {
  /* Base Colors */
  --bg-primary: #050403;
  --bg-secondary: #0f0a07;

  /* Accent Colors */
  --ember-orange: #f97316;
  --lava-red: #dc2626;
  --gold: #facc15;
  --amber: #f59e0b;

  /* Gradients */
  --grad-ember: linear-gradient(135deg, #f97316, #dc2626);
  --grad-gold: linear-gradient(135deg, #facc15, #f59e0b);
  --grad-dragon: linear-gradient(135deg, #dc2626, #facc15);

  /* Glow */
  --glow-orange: rgba(249, 115, 22, 0.45);
  --glow-red: rgba(220, 38, 38, 0.45);
  --glow-gold: rgba(250, 204, 21, 0.45);

  /* Surface */
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --surface-active: rgba(255, 255, 255, 0.1);
  --blur: 14px;

  /* Typography */
  --text-primary: #f8fafc;
  --text-secondary: #d1d5db;
  --text-muted: #6b7280;

  /* Fonts */
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Cinzel', Georgia, serif;

  /* Spacing */
  --sidebar-width: 72px;
  --content-max: 1280px;

  /* Border */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(249, 115, 22, 0.2);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 20px;
}

body {
  font-family: var(--font-body);
  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;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

/* --- Ember Particles Canvas --- */
#ember-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* ============================================
   SIDEBAR NAVIGATION
   ============================================ */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: rgba(15, 10, 7, 0.95);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-right: 1px solid var(--border-glow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.sidebar::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--ember-orange), var(--lava-red), transparent);
  opacity: 0.3;
}

.sidebar-top {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.sidebar-logo:hover {
  transform: scale(1.1);
}

.logo-egg {
  filter: drop-shadow(0 0 8px var(--glow-orange));
  animation: eggPulse 3s ease-in-out infinite;
}

@keyframes eggPulse {
  0%, 100% { filter: drop-shadow(0 0 8px var(--glow-orange)); }
  50% { filter: drop-shadow(0 0 16px var(--glow-gold)); }
}

.sidebar-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.nav-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  transition: all 0.3s ease;
  cursor: pointer;
}

.nav-icon:hover {
  color: var(--ember-orange);
  background: var(--surface-hover);
  transform: scale(1.1);
  box-shadow: 0 0 16px rgba(249, 115, 22, 0.2);
}

.nav-icon.active {
  color: var(--ember-orange);
  background: rgba(249, 115, 22, 0.12);
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.15);
}

.nav-icon.active::before {
  content: '';
  position: absolute;
  left: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 20px;
  background: var(--grad-ember);
  border-radius: 0 4px 4px 0;
}

/* Tooltip */
.nav-icon[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 12px;
  background: rgba(15, 10, 7, 0.95);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  z-index: 1001;
  pointer-events: none;
  animation: tooltipIn 0.2s ease;
}

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

.sidebar-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: var(--grad-ember);
  color: #fff;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.4);
  transition: all 0.3s ease;
}

.nav-cta:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 24px rgba(249, 115, 22, 0.5);
}

.nav-cta:active {
  transform: scale(0.95);
}

/* ============================================
   MOBILE BOTTOM NAV
   ============================================ */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(15, 10, 7, 0.97);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-top: 1px solid var(--border-glow);
  z-index: 1000;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
}

.mobile-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--ember-orange), var(--lava-red), transparent);
  opacity: 0.4;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  min-width: 52px;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
  color: var(--ember-orange);
}

.mobile-nav-item.active {
  background: rgba(249, 115, 22, 0.1);
}

/* ============================================
   CONTENT AREA
   ============================================ */
.content-area {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 60px 40px;
}

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

.hero-lava-glow {
  position: absolute;
  bottom: -20%;
  left: 20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(220, 38, 38, 0.15) 0%, transparent 70%);
  animation: lavaGlow 6s ease-in-out infinite alternate;
}

@keyframes lavaGlow {
  0% {
    transform: scale(1) translateY(0);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.2) translateY(-10%);
    opacity: 1;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(5, 4, 3, 0.3) 0%, var(--bg-primary) 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--content-max);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--surface);
  border: 1px solid var(--border-glow);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ember-orange);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 4px var(--glow-orange); }
  50% { opacity: 0.5; box-shadow: 0 0 8px var(--glow-orange); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--grad-dragon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-legal {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 420px;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.dragon-egg-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.egg-main {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 40px var(--glow-orange)) drop-shadow(0 0 80px rgba(220, 38, 38, 0.3));
  animation: eggFloat 4s ease-in-out infinite;
}

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

.egg-glow-ring {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(249, 115, 22, 0.15);
  animation: ringPulse 4s ease-in-out infinite;
}

.egg-glow-ring.ring-2 {
  width: 340px;
  height: 340px;
  border-color: rgba(220, 38, 38, 0.1);
  animation-delay: 0.5s;
}

.egg-glow-ring.ring-3 {
  width: 420px;
  height: 420px;
  border-color: rgba(250, 204, 21, 0.06);
  animation-delay: 1s;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.05); opacity: 1; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--grad-ember);
  color: #fff;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(249, 115, 22, 0.5);
}

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

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

.btn-ghost:hover {
  background: var(--surface-hover);
  border-color: var(--ember-orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.2);
}

.btn-ghost:active {
  transform: translateY(0) scale(0.98);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}

.btn-full {
  width: 100%;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 100px 40px;
  position: relative;
}

.section-container {
  max-width: var(--content-max);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 5px 14px;
  background: var(--surface);
  border: 1px solid var(--border-glow);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ember-orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   GAME SECTION
   ============================================ */
.game-section {
  background: radial-gradient(ellipse at center top, rgba(220, 38, 38, 0.05) 0%, transparent 50%);
}

.game-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  backdrop-filter: blur(var(--blur));
  max-width: 1200px;
  margin: 0 auto;
}

.game-card-glow {
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--ember-orange), var(--lava-red), transparent);
  z-index: 1;
}

.game-frame-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: var(--bg-secondary);
}

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

.game-card-footer {
  padding: 20px 28px;
  border-top: 1px solid var(--border-subtle);
}

.game-info {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.game-info-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.game-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
  background: radial-gradient(ellipse at center bottom, rgba(249, 115, 22, 0.04) 0%, transparent 50%);
}

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

.feature-card {
  position: relative;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(var(--blur));
  transition: all 0.4s ease;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-glow), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  background: var(--surface-hover);
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(249, 115, 22, 0.1);
}

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

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.feature-icon.treasure {
  background: rgba(250, 204, 21, 0.1);
  color: var(--gold);
  border: 1px solid rgba(250, 204, 21, 0.15);
}

.feature-icon.fire {
  background: rgba(249, 115, 22, 0.1);
  color: var(--ember-orange);
  border: 1px solid rgba(249, 115, 22, 0.15);
}

.feature-icon.rune {
  background: rgba(220, 38, 38, 0.1);
  color: var(--lava-red);
  border: 1px solid rgba(220, 38, 38, 0.15);
}

.feature-icon.egg {
  background: rgba(245, 158, 11, 0.1);
  color: var(--amber);
  border: 1px solid rgba(245, 158, 11, 0.15);
}

.feature-icon.shield {
  background: rgba(250, 204, 21, 0.1);
  color: var(--gold);
  border: 1px solid rgba(250, 204, 21, 0.15);
}

.feature-icon.crown {
  background: rgba(249, 115, 22, 0.1);
  color: var(--ember-orange);
  border: 1px solid rgba(249, 115, 22, 0.15);
}

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

.feature-card:hover .feature-icon.treasure {
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.2);
}

.feature-card:hover .feature-icon.fire {
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.2);
}

.feature-card:hover .feature-icon.rune {
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.2);
}

.feature-card:hover .feature-icon.egg {
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

.feature-card:hover .feature-icon.shield {
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.2);
}

.feature-card:hover .feature-icon.crown {
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.2);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  background: radial-gradient(ellipse at center, rgba(250, 204, 21, 0.03) 0%, transparent 50%);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.about-card {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(var(--blur));
  transition: all 0.4s ease;
}

.about-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.about-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.about-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
}

.about-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.about-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
}

.about-card p:last-child {
  margin-bottom: 0;
}

.about-card strong {
  color: var(--text-primary);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  background: radial-gradient(ellipse at center top, rgba(220, 38, 38, 0.04) 0%, transparent 50%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

.contact-form-card {
  padding: 36px 32px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(var(--blur));
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 14px;
  transition: all 0.3s ease;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%236b7280' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--ember-orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

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

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

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success svg {
  margin: 0 auto 16px;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.form-success p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

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

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(var(--blur));
  transition: all 0.3s ease;
}

.contact-info-item:hover {
  border-color: var(--border-glow);
}

.contact-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
}

.contact-info-item h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.contact-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  background: rgba(249, 115, 22, 0.04);
  border: 1px solid rgba(249, 115, 22, 0.1);
  border-radius: var(--radius-md);
  margin-top: auto;
}

.contact-disclaimer svg {
  min-width: 16px;
  margin-top: 2px;
}

.contact-disclaimer p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 48px 40px 32px;
  background: rgba(15, 10, 7, 0.5);
}

.footer-container {
  max-width: var(--content-max);
  margin: 0 auto;
}

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

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

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

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 300px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 4px 0;
  transition: all 0.2s ease;
}

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

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.footer-legal {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.age-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--lava-red);
  font-size: 13px;
  font-weight: 800;
  color: var(--lava-red);
}

.footer-legal p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-section {
  padding-top: 80px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  backdrop-filter: blur(var(--blur));
}

.legal-update {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-content a {
  color: var(--ember-orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.legal-content ul {
  margin: 10px 0 14px 20px;
}

.legal-content ul li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
  padding-left: 8px;
  position: relative;
  list-style: disc;
}

.legal-content strong {
  color: var(--text-primary);
}

.legal-highlight {
  padding: 16px 20px;
  background: rgba(249, 115, 22, 0.06);
  border-left: 3px solid var(--ember-orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 24px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal-highlight strong {
  color: var(--ember-orange);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-legal {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-visual {
    order: -1;
  }

  .egg-main {
    width: 160px;
    height: auto;
  }

  .egg-glow-ring { width: 200px; height: 200px; }
  .egg-glow-ring.ring-2 { width: 260px; height: 260px; }
  .egg-glow-ring.ring-3 { width: 320px; height: 320px; }

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

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

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .about-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .sidebar {
    display: none;
  }

  .mobile-nav {
    display: flex;
  }

  .content-area {
    margin-left: 0;
    padding-bottom: 64px;
  }

  .hero {
    padding: 40px 20px;
    min-height: calc(100vh - 64px);
  }

  .section {
    padding: 60px 20px;
  }

  .hero-title {
    font-size: clamp(1.8rem, 6vw, 2.6rem);
  }

  .hero-badge {
    font-size: 11px;
  }

  .footer {
    padding: 36px 20px 24px;
  }

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

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

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

  .contact-form-card {
    padding: 24px 20px;
  }

  .legal-content {
    padding: 28px 20px;
  }

  .section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }

  .game-card {
    border-radius: var(--radius-lg);
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

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

  .game-info {
    flex-direction: column;
    gap: 8px;
  }

  .footer-legal {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

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

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

::-webkit-scrollbar-thumb {
  background: rgba(249, 115, 22, 0.3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(249, 115, 22, 0.5);
}

/* ============================================
   SELECTION
   ============================================ */
::selection {
  background: rgba(249, 115, 22, 0.3);
  color: #fff;
}

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