/* ===========================
   VARIABLES
   =========================== */
:root {
  --bg-primary: #050507;
  --bg-secondary: #0f172a;
  --gold: #eab308;
  --gold-dark: #a16207;
  --gold-light: #fbbf24;
  --red: #ef4444;
  --red-dark: #b91c1c;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.08);
  --blur: 16px;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --max-width: 1280px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glow-gold: 0 0 30px rgba(234, 179, 8, 0.15);
  --shadow-glow-red: 0 0 30px rgba(239, 68, 68, 0.15);
}

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

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

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 {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

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

iframe {
  border: none;
}

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

.container-narrow {
  max-width: 860px;
}

/* ===========================
   SCANNER LINE ANIMATION
   =========================== */
.scanner-line {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  z-index: 10000;
  animation: scannerMove 4s ease-in-out infinite;
  opacity: 0.6;
  pointer-events: none;
}

@keyframes scannerMove {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(100vh); opacity: 0.2; }
}

/* ===========================
   PARTICLE DUST
   =========================== */
.particle-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat var(--duration) var(--delay) infinite;
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(0) translateX(0); }
  20% { opacity: 0.6; }
  80% { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-120px) translateX(40px); }
}

/* ===========================
   HEADER — INTELLIGENCE BAR
   =========================== */
.header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: var(--max-width);
  z-index: 9999;
  background: rgba(5, 5, 7, 0.75);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid rgba(234, 179, 8, 0.15);
  border-radius: var(--radius-xl);
  transition: all var(--transition);
}

.header.scrolled {
  background: rgba(5, 5, 7, 0.92);
  border-color: rgba(234, 179, 8, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.15rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-icon {
  font-size: 1.4rem;
}

.logo-text {
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.logo-accent {
  color: var(--gold);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
  background: rgba(234, 179, 8, 0.08);
}

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

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 10001;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

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

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

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

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn:hover::after {
  opacity: 1;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000;
  box-shadow: 0 4px 20px rgba(234, 179, 8, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(234, 179, 8, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.3);
}

.btn-secondary:hover {
  box-shadow: 0 6px 30px rgba(239, 68, 68, 0.5);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

.btn-icon {
  font-size: 1.1em;
}

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

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

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,5,7,0.7) 0%, rgba(5,5,7,0.4) 40%, rgba(5,5,7,0.85) 100%),
    radial-gradient(ellipse at 30% 50%, rgba(239,68,68,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(234,179,8,0.06) 0%, transparent 60%);
}

.hero-red-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.3;
}

.red-line-svg {
  width: 100%;
  height: 100%;
}

.red-string {
  stroke: var(--red);
  stroke-width: 1;
  stroke-dasharray: 8 4;
  animation: redStringMove 3s linear infinite;
  opacity: 0.6;
}

@keyframes redStringMove {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -24; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 32px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

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

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

.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-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

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

.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

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

.scroll-indicator {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
}

.scroll-indicator span {
  width: 3px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0.3; }
}

/* ===========================
   PAGE HERO (Inner pages)
   =========================== */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-hero-sm {
  min-height: 35vh;
}

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

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 140px 24px 60px;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 12px;
}

.page-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

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

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(234, 179, 8, 0.08);
  border: 1px solid rgba(234, 179, 8, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

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

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

.text-gold {
  color: var(--gold);
}

.text-red {
  color: var(--red);
}

/* ===========================
   GAME SECTION
   =========================== */
.game-section {
  padding: 100px 0;
  position: relative;
}

.game-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.game-frame-container {
  position: relative;
  margin-bottom: 32px;
}

.game-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(234,179,8,0.08) 0%, transparent 70%);
  border-radius: var(--radius-xl);
  z-index: 0;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.game-border {
  position: relative;
  z-index: 1;
  background: var(--glass);
  border: 1px solid rgba(234, 179, 8, 0.2);
  border-radius: var(--radius-xl);
  padding: 4px;
  overflow: hidden;
  box-shadow:
    0 0 40px rgba(234, 179, 8, 0.08),
    0 0 80px rgba(239, 68, 68, 0.05),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.game-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  z-index: 2;
}

.game-corner-tl {
  top: 0; left: 0;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  border-radius: var(--radius-xl) 0 0 0;
}

.game-corner-tr {
  top: 0; right: 0;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  border-radius: 0 var(--radius-xl) 0 0;
}

.game-corner-bl {
  bottom: 0; left: 0;
  border-bottom: 2px solid var(--red);
  border-left: 2px solid var(--red);
  border-radius: 0 0 0 var(--radius-xl);
}

.game-corner-br {
  bottom: 0; right: 0;
  border-bottom: 2px solid var(--red);
  border-right: 2px solid var(--red);
  border-radius: 0 0 var(--radius-xl) 0;
}

.game-iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: calc(var(--radius-xl) - 4px);
  display: block;
  background: var(--bg-secondary);
}

.game-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.game-info-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.game-info-card:hover {
  background: var(--glass-hover);
  border-color: rgba(234, 179, 8, 0.15);
}

.info-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.info-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.info-text strong {
  font-size: 0.85rem;
  font-weight: 600;
}

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

/* ===========================
   FEATURES / CARDS
   =========================== */
.features-section {
  padding: 100px 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(239,68,68,0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(234,179,8,0.03) 0%, transparent 50%);
}

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

.feature-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition);
  cursor: default;
}

.feature-card:hover {
  border-color: rgba(234, 179, 8, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-gold);
}

.feature-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.feature-card:hover .feature-img {
  transform: scale(1.05);
}

.feature-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(5,5,7,0.9) 100%);
}

.feature-body {
  padding: 28px;
}

.feature-number {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  opacity: 0.7;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.feature-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 12px;
  background: rgba(234, 179, 8, 0.08);
  border: 1px solid rgba(234, 179, 8, 0.15);
  border-radius: 100px;
  color: var(--gold);
  letter-spacing: 0.03em;
}

/* ===========================
   HOW IT WORKS (STEPS)
   =========================== */
.how-section {
  padding: 100px 0;
}

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

.step-card {
  position: relative;
  padding: 36px 28px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  transition: all var(--transition);
}

.step-card:hover {
  border-color: rgba(234, 179, 8, 0.2);
  box-shadow: var(--shadow-glow-gold);
}

.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), rgba(234,179,8,0.2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 20px;
}

.step-line {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
  margin-bottom: 20px;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===========================
   DISCLAIMER BANNER
   =========================== */
.disclaimer-banner {
  padding: 40px 0;
  background: rgba(239, 68, 68, 0.03);
  border-top: 1px solid rgba(239, 68, 68, 0.1);
  border-bottom: 1px solid rgba(239, 68, 68, 0.1);
}

.disclaimer-content {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: var(--radius-lg);
}

.disclaimer-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.disclaimer-text strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--red);
}

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

/* ===========================
   ABOUT PAGE
   =========================== */
.about-content {
  padding: 80px 0 100px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: start;
}

.about-block {
  margin-bottom: 48px;
}

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

.about-heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.about-block p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

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

.about-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 20px;
}

.about-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5,5,7,0.8) 100%);
}

.about-image-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.label-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.about-stats-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-stat {
  padding: 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.about-stat-val {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 4px;
}

.about-stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===========================
   CONTACT PAGE
   =========================== */
.contact-section {
  padding: 80px 0 100px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 36px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.contact-form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-form-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

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

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition);
}

.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.1);
  background: rgba(255,255,255,0.06);
}

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

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

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

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

.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card {
  padding: 24px;
  text-align: center;
}

.contact-info-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.contact-info-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-info-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-info-card a {
  color: var(--gold);
}

.contact-info-card a:hover {
  text-decoration: underline;
}

/* ===========================
   LEGAL PAGES
   =========================== */
.legal-content {
  padding: 60px 0 100px;
}

.legal-body {
  padding: 48px;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.legal-notice {
  padding: 20px 24px;
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: var(--radius-md);
  margin-bottom: 36px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.legal-notice strong {
  color: var(--red);
}

.legal-body h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--text-primary);
}

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

.legal-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

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

.legal-body li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 4px;
}

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

.legal-body a:hover {
  text-decoration: underline;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  padding: 80px 0 0;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 320px;
}

.social-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 16px;
  display: inline-block;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

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

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

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer-legal {
  font-size: 0.75rem !important;
  color: var(--text-muted) !important;
  opacity: 0.7;
}

/* ===========================
   ANIMATIONS — FADE IN
   =========================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ===========================
   UTILITIES
   =========================== */
@keyframes flicker {
  0%, 100% { opacity: 1; }
  92% { opacity: 1; }
  93% { opacity: 0.7; }
  94% { opacity: 1; }
  96% { opacity: 0.8; }
  97% { opacity: 1; }
}

/* ===========================
   RESPONSIVE — TABLET
   =========================== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid .feature-card:last-child {
    grid-column: span 2;
  }

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

  .steps-grid .step-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    justify-self: center;
  }

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

  .about-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

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

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

  .contact-info-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

/* ===========================
   RESPONSIVE — MOBILE
   =========================== */
@media (max-width: 768px) {
  .header {
    top: 8px;
    width: calc(100% - 16px);
    border-radius: var(--radius-lg);
  }

  .header-inner {
    padding: 10px 16px;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 7, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 10000;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    gap: 8px;
  }

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

  .mobile-toggle {
    display: flex;
  }

  .header-actions .btn {
    display: none;
  }

  .hero-content {
    padding: 100px 16px 60px;
  }

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

  .features-grid .feature-card:last-child {
    grid-column: span 1;
  }

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

  .steps-grid .step-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }

  .game-info {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 20px;
  }

  .stat-divider {
    display: none;
  }

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

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

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

  .legal-body {
    padding: 24px;
  }

  .glass-card {
    padding: 24px;
  }

  .disclaimer-content {
    flex-direction: column;
    text-align: center;
  }

  .page-hero-content {
    padding: 120px 16px 40px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .game-section,
  .features-section,
  .how-section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
  }

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

  .hero-badge {
    font-size: 0.65rem;
    padding: 6px 14px;
  }
}