﻿@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter/Inter-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto';
  src: url('assets/fonts/Roboto/Roboto-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

:root {
  --bg-primary: #06050d;
  --bg-secondary: #0c0a18;
  --bg-tertiary: #14101f;
  --glass-dark: rgba(8, 6, 18, 0.7);
  --glass-dark-soft: rgba(12, 10, 24, 0.52);
  --surface: rgba(230, 220, 255, 0.11);
  --surface-strong: rgba(255, 255, 255, 0.18);
  --surface-soft: rgba(210, 200, 255, 0.07);
  --border: rgba(255, 255, 255, 0.2);
  --border-soft: rgba(255, 255, 255, 0.1);
  --highlight: rgba(255, 255, 255, 0.34);
  --text-primary: #f6f4ff;
  --text-secondary: rgba(234, 228, 252, 0.76);
  --accent-purple: #a78bfa;
  --accent-mint: #8ff5d8;
  --accent-rose: #ff9bb9;
  --accent-gold: #ffd890;
  --accent-lavender: #c1c9ff;
  --shadow-deep: 0 28px 70px -24px rgba(6, 0, 18, 0.9);
  --shadow-glow: 0 10px 40px rgba(167, 139, 250, 0.14);
  --transition-fast: 350ms cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-bounce: 600ms cubic-bezier(0.34, 1.25, 0.64, 1);
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background: #020204;
  overflow-x: hidden;
}

.bg-parallax-layer {
  position: fixed;
  inset: -8%;
  z-index: 0;
  pointer-events: none;
  background-image: url("assets/uranium-bg.png");
  background-position: 62% 16%;
  background-repeat: no-repeat;
  background-size: 74% auto;
  will-change: transform;
  transition: transform 0.18s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.52) 100%),
    repeating-linear-gradient(90deg,
      rgba(255, 255, 255, 0.012) 0,
      rgba(255, 255, 255, 0.012) 1px,
      transparent 1px,
      transparent 144px);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), transparent 88%);
}

body::after {
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.08), transparent 18%),
    linear-gradient(180deg, rgba(5, 7, 12, 0.1) 0%, rgba(2, 4, 8, 0.48) 100%);
  opacity: 0.72;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-shell {
  position: relative;
  z-index: 2;
}

.cursor,
.cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 30;
  transform: translate(-50%, -50%);
}

.cursor {
  background: rgba(255, 255, 255, 0.94);
  mix-blend-mode: screen;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.4);
  transition: transform 180ms ease, opacity 180ms ease;
}

.cursor-trail {
  width: 38px;
  height: 38px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.22) 0%, rgba(167, 139, 250, 0.05) 70%, transparent 100%);
  filter: blur(6px);
  opacity: 0.85;
  transition: transform 260ms ease-out, opacity 260ms ease-out;
}

.topbar,
.mobile-auth-bar,
.hero,
.stats,
.feature,
.footer {
  width: min(calc(100% - 32px), 1180px);
  margin-inline: auto;
}

.topbar,
.timer-card,
.hero-panel,
.stat-card,
.event-card,
.pricing-card,
.music-player,
.music-side,
.xray-card,
.mod-card,
.video-shell,
.download-panel,
.queue-card,
.mini-timer,
.ore-badge,
.mod-art,
.title-pill,
.ghost-button,
.pricing-button,
.icon-button,
.play-button,
.primary-button {
  --glow-x: 24%;
  --glow-y: 16%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(12, 8, 22, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
}

.topbar {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(26, 18, 42, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(255, 255, 255, 0.02),
    0 18px 46px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(80px) saturate(180%);
  -webkit-backdrop-filter: blur(80px) saturate(180%);
}

.timer-card,
.stat-card,
.event-card,
.pricing-card,
.pricing-button {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(26, 18, 42, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(255, 255, 255, 0.02),
    0 18px 46px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(80px) saturate(180%);
  -webkit-backdrop-filter: blur(80px) saturate(180%);
}

.topbar::before,
.timer-card::before,
.hero-panel::before,
.stat-card::before,
.event-card::before,
.pricing-card::before,
.music-player::before,
.music-side::before,
.xray-card::before,
.mod-card::before,
.video-shell::before,
.download-panel::before,
.queue-card::before,
.mini-timer::before,
.ore-badge::before,
.mod-art::before,
.title-pill::before,
.ghost-button::before,
.pricing-button::before,
.icon-button::before,
.play-button::before,
.primary-button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.06) 0%,
      transparent 40%);
  opacity: 1;
}

.topbar::after,
.timer-card::after,
.hero-panel::after,
.stat-card::after,
.event-card::after,
.pricing-card::after,
.music-player::after,
.music-side::after,
.xray-card::after,
.mod-card::after,
.video-shell::after,
.download-panel::after,
.queue-card::after,
.mini-timer::after,
.ore-badge::after,
.mod-art::after,
.title-pill::after,
.ghost-button::after,
.pricing-button::after,
.icon-button::after,
.play-button::after,
.primary-button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(40% 30% at var(--glow-x) var(--glow-y), rgba(255, 255, 255, 0.04), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.timer-card::after,
.stat-card::after,
.event-card::after,
.pricing-card::after,
.pricing-button::after {
  display: none;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 999px;
}

.mobile-auth-bar {
  display: none;
  margin: 12px auto 0;
}

.mobile-auth-button {
  width: 100%;
  justify-content: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-text {
  font-size: 1.4rem;
  font-weight: 800;
  animation: textGlow 8s ease-in-out infinite;
}

.nav {
  display: inline-flex;
  justify-content: center;
  gap: 36px;
}

.nav a,
.footer-links a {
  position: relative;
  z-index: 1;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.nav a:hover,
.footer-links a:hover {
  color: var(--text-primary);
}

.ghost-button,
.primary-button,
.icon-button,
.play-button {
  z-index: 1;
}

.ghost-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 132px;
  padding: 11px 18px;
  border-radius: 999px;
  color: var(--text-primary);
  text-align: center;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.ghost-button:hover,
.primary-button:hover,
.icon-button:hover,
.play-button:hover {
  transform: translateY(-2px);
}

.ghost-button:hover,
[data-hoverable]:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(14, 10, 28, 0.65);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 6px 32px rgba(0, 0, 0, 0.5);
}

.ghost-button:hover::before,
[data-hoverable]:hover::before,
.primary-button:hover::before,
.icon-button:hover::before,
.play-button:hover::before {
  opacity: 1;
}

.ghost-button:hover::after,
[data-hoverable]:hover::after,
.primary-button:hover::after,
.icon-button:hover::after,
.play-button:hover::after {
  opacity: 0.5;
}

.hero {
  position: relative;
  min-height: auto;
  padding: 128px 0 28px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 368px);
  gap: 44px;
  align-items: end;
}

.hero-copy {
  max-width: 760px;
  text-align: left;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-purple);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  position: relative;
  z-index: 1;
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 7.2vw, 5.1rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  max-width: 11ch;
  text-shadow: 0 0 28px rgba(255, 255, 255, 0.12);
}

.hero-title {
  display: grid;
  gap: 10px;
}

.title-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.title-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 10px;
  border-radius: 999px;
  color: var(--text-primary);
  font-size: clamp(1.05rem, 2vw, 1.7rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 600;
  animation: floatCard 6s ease-in-out infinite;
}

.title-pill-icon,
.title-pill-icon.alt {
  width: 32px;
  height: 32px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.title-pill-icon {
  background-image: url('star-fall.svg');
}

.title-pill-icon.alt {
  background-image: url('screen-share.svg');
}

.hero-lead,
.section-header p,
.panel-copy,
.event-card p,
.music-side p,
.download-panel p,
.footer-copy {
  color: var(--text-secondary);
  line-height: 1.75;
}

.hero-lead {
  margin-top: 24px;
  max-width: 620px;
  font-size: 1.12rem;
}

.hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
}

.timer-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 12px 18px;
  border-radius: 24px;
  transition: transform var(--transition-bounce), border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.timer-card:hover {
  background: rgba(24, 16, 40, 0.14);
  transform: translateY(-8px) scale(1.02);
}

.timer-copy {
  display: grid;
  gap: 8px;
}

.timer-chip,
.panel-label,
.music-kicker {
  color: rgba(246, 251, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.timer-value,
.event-time,
.mini-time,
.stat-number,
.panel-number {
  font-family: "JetBrains Mono", monospace;
}

.timer-value {
  flex: 0 0 auto;
  min-width: 96px;
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  font-weight: 800;
  color: var(--accent-purple);
  text-shadow: 0 0 28px rgba(167, 139, 250, 0.58);
  animation: countdownPulse 2s ease-in-out infinite;
}

.timer-label {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 700;
  color: rgba(246, 251, 255, 0.92);
}

.timer-icon {
  width: 52px;
  height: 52px;
  color: var(--accent-purple);
  flex-shrink: 0;
  filter: drop-shadow(0 0 16px rgba(167, 139, 250, 0.4));
  transition: transform var(--transition-bounce), filter var(--transition-fast);
}

.timer-card:hover .timer-icon {
  transform: scale(1.1) rotate(3deg);
  filter: drop-shadow(0 0 24px rgba(167, 139, 250, 0.6));
}

.hero-panel {
  min-height: 230px;
  padding: 24px;
  border-radius: 26px;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.panel-number {
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 700;
}

.neon-line {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 110px;
  stroke: rgba(167, 139, 250, 0.82);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 18 22;
  filter: drop-shadow(0 0 14px rgba(167, 139, 250, 0.28));
  animation: dashDrift 30s linear infinite;
}

.stats,
.feature {
  padding: 88px 0;
}

.stats {
  padding-top: 18px;
  padding-bottom: 72px;
}

.hero,
.stats,
.feature,
.footer {
  --parallax-offset: 0px;
}

.section-header {
  display: grid;
  gap: 18px;
  max-width: 820px;
  margin-bottom: 42px;
}

.feature-island>.section-header,
#hud-gui>.section-header,
#mods>.section-header,
#download>.section-header {
  margin-inline: auto;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.feature-island .section-header h2,
#hud-gui .section-header h2,
#pricing .section-header h2,
#download .section-header h2 {
  background: linear-gradient(90deg, #f8f4ff 0%, #e8d8ff 18%, var(--accent-purple) 48%, #f0e8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.feature-island .section-header h2 {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: var(--text-primary);
  font-size: clamp(2.5rem, 5.8vw, 4.6rem);
}

#events .section-header h2 {
  transform: translateX(-250px);
}

#events .section-header p {
  transform: translateX(-200px);
}

#events {
  position: relative;
}

.automarket-header {
  position: absolute;
  top: 200px;
  right: -100px;
  display: grid;
  gap: 12px;
  max-width: 500px;
  text-align: right;
  z-index: 5;
}

.automarket-header h2 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, #f8f4ff 0%, #e8d8ff 18%, var(--accent-purple) 48%, #f0e8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.automarket-header p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1.3rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 560px;
}

.stat-card {
  padding: 34px 30px;
  border-radius: 30px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.stat-card:hover {
  background: rgba(24, 16, 40, 0.14);
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.stat-number, .stat-text {
  font-size: clamp(3.2rem, 7vw, 4.8rem);
  line-height: 0.95;
  font-weight: 800;
  animation: idlePulse 5s ease-in-out infinite;
}

.stat-text {
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 1.04rem;
  color: var(--text-secondary);
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.event-card {
  padding: 24px;
  border-radius: 28px;
  min-height: 170px;
  display: grid;
  align-content: end;
  gap: 12px;
  transform-style: preserve-3d;
  transition: transform var(--transition-bounce), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.event-card p,
.pricing-tier-desc,
.pricing-features li,
.pricing-price,
.price-period {
  color: rgba(244, 239, 255, 0.78);
}

.event-card:hover {
  background: rgba(24, 16, 40, 0.14);
  transform: translateY(-16px) rotateY(8deg);
}

.event-time {
  font-size: clamp(2.2rem, 3vw, 2.55rem);
  font-weight: 700;
  color: #ffffff;
  animation: none;
  text-shadow: none;
}

.event-card h3 {
  font-size: 1.36rem;
  color: var(--text-primary);
}

#hud-gui .section-header {
  max-width: 1040px;
  margin-bottom: 0;
}

.hud-block,
.gui-block {
  max-width: 1040px;
  margin: 0 auto 60px;
  position: relative;
}

.gui-block {
  margin-top: -200px;
  text-align: right;
  z-index: 10;
}

.hud-word {
  display: block;
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.05em;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.12);
  font-size: clamp(4.6rem, 10vw, 7.6rem);
  margin: 0;
}

.hud-layout {
  display: flex;
  justify-content: flex-start;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 20px;
  padding-left: 40px;
}

.hud-stage {
  width: min(80%, 640px);
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  transform-origin: left center;
  transition: transform var(--transition-bounce);
  overflow: visible;
}

.hud-stage::before,
.hud-stage::after {
  display: none;
}

.hud-stage:hover {
  transform: translateY(-6px);
}

.hud-cutout-frame {
  display: block;
  width: 100%;
}

.hud-cutout-image,
.gui-cutout-image {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.5));
  border-radius: 16px;
}

.gui-layout {
  display: flex;
  justify-content: flex-end;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 20px;
  padding-right: 240px;
}

.gui-stage {
  width: min(80%, 640px);
  padding: 0;
  transform-origin: right center;
  transition: transform var(--transition-bounce);
  overflow: visible;
}

.gui-stage:hover {
  transform: translateY(-6px);
}

.hud-stage-surface {
  position: relative;
  min-height: 226px;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(175, 120, 255, 0.5) 0%, rgba(95, 128, 255, 0.4) 38%, rgba(47, 112, 175, 0.36) 62%, rgba(18, 45, 72, 0.84) 100%),
    radial-gradient(circle at 50% 120%, rgba(149, 222, 255, 0.2), transparent 46%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
}

.hud-stage-surface::before,
.hud-stage-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hud-stage-surface::before {
  background:
    repeating-linear-gradient(90deg,
      rgba(255, 255, 255, 0.06) 0,
      rgba(255, 255, 255, 0.06) 3px,
      transparent 3px,
      transparent 86px),
    repeating-linear-gradient(100deg,
      rgba(148, 116, 255, 0.18) 0,
      rgba(148, 116, 255, 0.18) 2px,
      transparent 2px,
      transparent 42px);
  opacity: 0.46;
}

.hud-stage-surface::after {
  background:
    linear-gradient(180deg, transparent 55%, rgba(10, 21, 36, 0.42) 55%, rgba(10, 21, 36, 0.9) 100%),
    radial-gradient(circle at 50% 100%, rgba(171, 148, 255, 0.14), transparent 30%);
}

.hud-chip,
.hud-armor-slot {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(49, 48, 87, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 24px rgba(4, 7, 16, 0.24);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hud-chip::before,
.hud-armor-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 40%);
  opacity: 1;
}

.hud-chip-top {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 11px 16px;
  gap: 14px;
  border-radius: 16px;
  font-size: 0.95rem;
  font-weight: 700;
}

.hud-chip-top span {
  position: relative;
  white-space: nowrap;
}

.hud-chip-top span:not(:first-child) {
  padding-left: 14px;
}

.hud-chip-top span:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  transform: translateY(-50%);
}

.hud-chip-potions {
  position: absolute;
  top: 110px;
  left: 18px;
  font-size: 0.95rem;
  font-weight: 700;
}

.hud-cluster {
  position: absolute;
  top: 73px;
  left: 176px;
  display: flex;
  align-items: flex-end;
  gap: 14px;
}

.hud-mini-stack {
  display: grid;
  gap: 8px;
}

.hud-chip-keybinds {
  margin-left: 10px;
}

.hud-chip-keybinds,
.hud-chip-aura {
  font-size: 0.94rem;
  font-weight: 700;
}

.hud-armor-row {
  display: flex;
  gap: 8px;
}

.hud-armor-slot {
  width: 64px;
  height: 74px;
  justify-content: center;
  align-items: flex-end;
  padding: 0 0 12px;
}

.hud-armor-slot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 16px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(74, 72, 78, 0.98), rgba(40, 39, 46, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 6px 10px rgba(0, 0, 0, 0.16);
}

.hud-armor-head::before {
  width: 26px;
  height: 24px;
  border-radius: 10px 10px 12px 12px;
}

.hud-armor-chest::before {
  width: 30px;
  height: 28px;
  clip-path: polygon(16% 20%, 34% 0%, 66% 0%, 84% 20%, 84% 92%, 16% 92%);
}

.hud-armor-legs::before {
  width: 26px;
  height: 30px;
  clip-path: polygon(18% 0%, 82% 0%, 82% 32%, 66% 100%, 34% 100%, 18% 32%);
}

.hud-armor-boots::before {
  width: 30px;
  height: 22px;
  clip-path: polygon(12% 18%, 42% 18%, 48% 64%, 88% 64%, 88% 86%, 12% 86%);
}

.hud-slot-bar {
  width: 34px;
  height: 7px;
  border-radius: 999px;
  background: rgba(241, 245, 255, 0.96);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.22);
}

.hud-chip-speed {
  position: absolute;
  left: 18px;
  bottom: 16px;
  min-width: 214px;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.95rem;
  font-weight: 700;
}

.hud-chip-speed span:last-child {
  color: rgba(241, 244, 255, 0.86);
  letter-spacing: 0.14em;
}

.music-layout,
.xray-grid,
.demo-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}

.music-player,
.music-side,
.download-panel {
  border-radius: 34px;
}

.music-layout {
  display: flex;
  justify-content: center;
}

.music-player {
  width: min(100%, 560px);
}

.music-player {
  padding: 32px;
  display: grid;
  gap: 28px;
}

.music-topline,
.queue-card,
.progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.music-topline h3,
.queue-card h4,
.download-panel h3,
.video-copy h3 {
  font-size: clamp(1.3rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.music-artist,
.queue-time {
  color: rgba(234, 244, 252, 0.64);
}

.icon-button {
  width: 64px;
  height: 64px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.pause-icon,
.play-triangle {
  display: inline-block;
}

.pause-icon {
  width: 16px;
  height: 20px;
  border-left: 4px solid var(--accent-purple);
  border-right: 4px solid var(--accent-purple);
}

.waveform {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
  gap: 8px;
  min-height: 72px;
}

.waveform span {
  display: block;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(196, 176, 255, 0.94), rgba(167, 139, 250, 0.18));
  animation: wavePulse 2.4s ease-in-out infinite;
}

.waveform span:nth-child(odd) {
  animation-delay: 0.2s;
}

.waveform span:nth-child(3n) {
  animation-delay: 0.4s;
}

.waveform span:nth-child(1) {
  height: 28px;
}

.waveform span:nth-child(2) {
  height: 52px;
}

.waveform span:nth-child(3) {
  height: 36px;
}

.waveform span:nth-child(4) {
  height: 64px;
}

.waveform span:nth-child(5) {
  height: 42px;
}

.waveform span:nth-child(6) {
  height: 58px;
}

.waveform span:nth-child(7) {
  height: 30px;
}

.waveform span:nth-child(8) {
  height: 68px;
}

.waveform span:nth-child(9) {
  height: 34px;
}

.waveform span:nth-child(10) {
  height: 54px;
}

.waveform span:nth-child(11) {
  height: 44px;
}

.waveform span:nth-child(12) {
  height: 62px;
}

.progress-row {
  gap: 14px;
  color: rgba(234, 244, 252, 0.72);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.94rem;
}

.progress-track {
  position: relative;
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 18%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(196, 176, 255, 0.72), rgba(167, 139, 250, 1));
  box-shadow: 0 0 16px rgba(167, 139, 250, 0.45);
  animation: progressLoop 7.5s ease-in-out infinite;
}

.queue-card {
  padding: 24px;
  border-radius: 26px;
}

.music-side,
.download-panel {
  padding: 32px;
  display: grid;
  align-content: end;
  gap: 18px;
}

.xray-card {
  padding: 28px;
  border-radius: 32px;
  min-height: 280px;
}

.mini-timers {
  display: grid;
  gap: 18px;
}

.mini-timer {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 24px;
}

.mini-time {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-purple);
}

.diamonds {
  color: var(--accent-gold);
  text-shadow: 0 0 18px rgba(255, 216, 144, 0.28);
}

.mini-label {
  color: rgba(246, 251, 255, 0.76);
}

.ore-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.ore-badge {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 24px;
  font-family: "JetBrains Mono", monospace;
  font-size: 1rem;
}

.badge-green {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, rgba(110, 234, 171, 0.22), rgba(110, 234, 171, 0.08));
}

.badge-blue {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, rgba(167, 139, 250, 0.22), rgba(167, 139, 250, 0.08));
}

.badge-gold {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, rgba(255, 216, 144, 0.22), rgba(255, 216, 144, 0.08));
}

#pricing {
  width: min(calc(100% - 32px), 1540px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}

.pricing-card {
  min-height: 480px;
  padding: 40px 32px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.pricing-card > * {
  position: relative;
  z-index: 1;
}

.pricing-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(167, 139, 250, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.pricing-card.popular {
  min-height: 520px;
  border: 2px solid var(--accent-purple);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.08) 0%, var(--bg-tertiary) 100%);
}

.pricing-card.popular:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent-purple);
  color: #fff;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.pricing-tier-name {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.pricing-card.popular .pricing-tier-name {
  color: var(--accent-purple);
}

.pricing-tier-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
}

.pricing-price {
  margin-bottom: 32px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-soft);
}

.price-amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.pricing-features svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-purple);
  flex-shrink: 0;
}

.pricing-button {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 18px 24px;
  border-radius: 999px;
  color: var(--text-primary);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
  background: rgba(18, 12, 32, 0.08);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.pricing-button:hover {
  transform: translateY(-4px);
  background: rgba(24, 16, 40, 0.16);
}

.pricing-card.popular .pricing-button {
  background: rgba(167, 139, 250, 0.15);
  border-color: rgba(167, 139, 250, 0.4);
}

.pricing-card.popular .pricing-button:hover {
  background: rgba(167, 139, 250, 0.25);
}

.feature-demo {
  padding-bottom: 130px;
}

.video-shell {
  border-radius: 36px;
  padding: 18px;
}

.video-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  overflow: hidden;
  background: #0a0612;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
}

.video-link {
  display: grid;
  place-items: center;
  text-decoration: none;
  cursor: pointer;
}

.video-thumbnail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.video-link:hover .video-thumbnail {
  opacity: 0.9;
}

.video-link:hover .play-button {
  transform: scale(1.1);
}

.video-screen::before,
.video-screen::after {
  content: "";
  position: absolute;
  inset: auto auto 12% 12%;
  width: 56%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 176, 255, 0.7), transparent);
  box-shadow: 0 0 18px rgba(196, 176, 255, 0.3);
}

.video-screen::after {
  inset: 18% 12% auto auto;
  width: 32%;
}

.video-glow {
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 176, 255, 0.15) 0%, transparent 70%);
  filter: blur(30px);
}

.play-button {
  width: 94px;
  height: 94px;
  border-radius: 50%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.03),
    0 10px 34px rgba(0, 0, 0, 0.4);
}

.play-triangle {
  position: relative;
  z-index: 1;
  margin-left: 6px;
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 25px solid var(--accent-purple);
}

.video-copy {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  display: grid;
  gap: 10px;
}

.video-copy p {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(234, 244, 252, 0.68);
}

.primary-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  padding: 18px 30px;
  border-radius: 999px;
  color: var(--text-primary);
  text-align: center;
  border: 1px solid rgba(167, 139, 250, 0.3);
  background: rgba(167, 139, 250, 0.12);
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(167, 139, 250, 0.15),
    0 8px 28px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.primary-button:hover {
  background: rgba(167, 139, 250, 0.2);
  border-color: rgba(167, 139, 250, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(167, 139, 250, 0.2),
    0 8px 36px rgba(0, 0, 0, 0.4);
}

.primary-button::after {
  background: radial-gradient(circle at var(--glow-x, 26%) var(--glow-y, 18%), rgba(167, 139, 250, 0.08), transparent 40%);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 40px 0 80px;
}

.footer-brand {
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.reveal,
.reveal-left,
.reveal-right {
  opacity: 1;
  filter: blur(0px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal,
.reveal.visible {
  transform: translate3d(0, var(--parallax-offset), 0) scale(1);
}

.reveal-left,
.reveal-left.visible {
  transform: translate3d(0, var(--parallax-offset), 0) scale(1);
}

.reveal-right,
.reveal-right.visible {
  transform: translate3d(0, var(--parallax-offset), 0) scale(1);
}

.motion-enhanced .reveal {
  opacity: 0;
  transform: translate3d(0, calc(60px + var(--parallax-offset)), 0) scale(0.94);
  filter: blur(6px);
}

.motion-enhanced .reveal.visible {
  opacity: 1;
  transform: translate3d(0, var(--parallax-offset), 0) scale(1);
  filter: blur(0px);
}

/* Slide from left */
.motion-enhanced .reveal-left {
  opacity: 0;
  transform: translate3d(-80px, var(--parallax-offset), 0) scale(0.95);
  filter: blur(4px);
}

.motion-enhanced .reveal-left.visible {
  opacity: 1;
  transform: translate3d(0, var(--parallax-offset), 0) scale(1);
  filter: blur(0px);
}

/* Slide from right */
.motion-enhanced .reveal-right {
  opacity: 0;
  transform: translate3d(80px, var(--parallax-offset), 0) scale(0.95);
  filter: blur(4px);
}

.motion-enhanced .reveal-right.visible {
  opacity: 1;
  transform: translate3d(0, var(--parallax-offset), 0) scale(1);
  filter: blur(0px);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

.ripple {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  transform: translate(-50%, -50%) scale(0);
  animation: rippleExpand 650ms ease-out forwards;
  pointer-events: none;
}

@keyframes countdownPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.04);
  }
}

@keyframes eventFlicker {

  0%,
  100% {
    opacity: 1;
  }

  45% {
    opacity: 0.86;
  }

  55% {
    opacity: 0.66;
  }
}

@keyframes idlePulse {

  0%,
  100% {
    transform: scale(1);
    text-shadow: 0 0 0 rgba(167, 139, 250, 0);
  }

  50% {
    transform: scale(1.04);
    text-shadow: 0 0 20px rgba(167, 139, 250, 0.16);
  }
}

@keyframes progressLoop {
  0% {
    width: 10%;
  }

  50% {
    width: 36%;
  }

  100% {
    width: 18%;
  }
}

@keyframes wavePulse {

  0%,
  100% {
    transform: scaleY(0.74);
    opacity: 0.58;
  }

  50% {
    transform: scaleY(1.16);
    opacity: 1;
  }
}

@keyframes dashDrift {
  to {
    stroke-dashoffset: -800;
  }
}

@keyframes rippleExpand {
  to {
    transform: translate(-50%, -50%) scale(20);
    opacity: 0;
  }
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
  }
}

@keyframes borderGlow {
  0%, 100% {
    border-color: rgba(255, 255, 255, 0.10);
  }
  50% {
    border-color: rgba(167, 139, 250, 0.25);
  }
}

@keyframes textGlow {
  0%, 100% {
    text-shadow: 0 0 0px rgba(167, 139, 250, 0);
  }
  50% {
    text-shadow: 0 0 30px rgba(167, 139, 250, 0.3);
  }
}

@media (max-width: 1100px) {
  .bg-parallax-layer {
    background-size: 82% auto;
    background-position: 58% 12%;
  }

  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hud-block,
  .gui-block {
    margin-bottom: 40px;
  }

  .gui-block {
    margin-top: 60px;
  }

  .hud-stage,
  .gui-stage {
    width: min(80%, 580px);
  }



  .hud-cluster {
    left: 164px;
    top: 74px;
    gap: 12px;
  }

  .hud-armor-slot {
    width: 60px;
    height: 70px;
  }

  .hero-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .music-layout,
  .xray-grid,
  .demo-layout,
  .mods-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .bg-parallax-layer {
    inset: -12%;
    background-size: 90% auto;
    background-position: center top;
  }

  .cursor,
  .cursor-trail {
    display: none;
  }

  .topbar {
    position: relative;
    top: 0;
    margin-top: 14px;
    padding: 14px 18px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .hero,
  .stats,
  .feature {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .mobile-auth-bar {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .brand {
    min-width: 0;
  }

  .brand-text {
    font-size: clamp(1.12rem, 5vw, 1.32rem);
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .topbar .ghost-button {
    display: none;
  }

  .mobile-auth-button {
    min-height: 48px;
    padding-inline: 18px;
  }

  .hero {
    min-height: auto;
    padding-top: 84px;
  }

  .hero-layout {
    gap: 28px;
  }

  .hud-word {
    font-size: clamp(3.6rem, 15vw, 4.6rem);
  }

  .hud-layout {
    width: 100vw;
    margin-top: -10px;
    padding-left: 0;
  }

  .gui-layout {
    width: 100vw;
    margin-top: -10px;
    padding-right: 0;
  }

  .hud-stage,
  .gui-stage {
    width: 90%;
    padding: 0;
  }



  .hud-stage-surface {
    min-height: 188px;
  }

  .hud-chip-top {
    top: 14px;
    left: 14px;
    right: 14px;
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: start;
    gap: 8px 14px;
    font-size: 0.72rem;
    padding: 10px 12px;
  }

  .hud-chip-top span:not(:first-child) {
    padding-left: 10px;
  }

  .hud-chip-potions {
    top: 90px;
    left: 14px;
    font-size: 0.86rem;
    padding: 10px 14px;
  }

  .hud-cluster {
    top: 78px;
    left: 132px;
    gap: 10px;
  }

  .hud-mini-stack {
    gap: 8px;
  }

  .hud-chip-keybinds {
    margin-left: 8px;
  }

  .hud-chip-keybinds,
  .hud-chip-aura {
    font-size: 0.82rem;
    padding: 10px 14px;
  }

  .hud-armor-row {
    gap: 6px;
  }

  .hud-armor-slot {
    width: 42px;
    height: 52px;
    padding-bottom: 8px;
  }

  .hud-armor-slot::before {
    top: 10px;
    transform: translateX(-50%) scale(0.72);
    transform-origin: top center;
  }

  .hud-slot-bar {
    width: 22px;
    height: 5px;
  }

  .hud-chip-speed {
    left: 14px;
    bottom: 14px;
    min-width: 164px;
    padding: 10px 14px;
    font-size: 0.84rem;
    gap: 14px;
  }

  .hero-grid {
    display: flex;
    overflow-x: auto;
    gap: 18px;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .hero-grid::-webkit-scrollbar {
    display: none;
  }

  .timer-card,
  .hero-panel {
    flex: 0 0 min(82vw, 320px);
    min-height: 120px;
    scroll-snap-align: start;
  }

  .title-line {
    gap: 12px;
  }

  .title-pill {
    padding: 9px 16px 9px 9px;
  }

  .stats-grid,
  .event-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .stat-card,
  .music-player,
  .music-side,
  .xray-card,
  .pricing-card,
  .download-panel,
  .video-shell {
    padding: 24px;
  }

  .event-card {
    min-height: 220px;
  }

  .music-topline,
  .queue-card,
  .progress-row,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    align-items: flex-start;
  }

  .icon-button {
    width: 56px;
    height: 56px;
  }

  .play-button {
    width: 82px;
    height: 82px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* â”€â”€ Modal â”€â”€ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 480px;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 40px 32px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Inter', sans-serif;
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: white;
  background: rgba(255, 255, 255, 0.05);
}

.modal-header {
  text-align: center;
  margin-bottom: 32px;
}

.modal-logo {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.modal-header h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: white;
  transition: opacity 0.15s ease;
}

.modal-header p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin: 0;
  transition: opacity 0.15s ease;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: opacity 0.15s ease;
}

#register-form {
  display: none;
}

.modal-forms-container {
  min-height: 0;
}

@keyframes formFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.form-group label {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  pointer-events: none;
  transition: all 0.2s ease;
}

.form-group label span {
  color: #ff4b4b;
}

.form-group input {
  width: 100%;
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 16px;
  color: white;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}

.form-group input:focus {
  border-color: rgba(167, 139, 250, 0.5);
  background: #1c1c1c;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
  opacity: 0;
  visibility: hidden;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  font-size: 0.9rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  user-select: none;
}

.checkbox-label input {
  display: none;
}

.checkbox-custom {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  background: #181818;
}

.checkbox-label input:checked + .checkbox-custom {
  background: var(--accent-purple);
  border-color: var(--accent-purple);
}

.checkbox-label input:checked + .checkbox-custom::after {
  content: "";
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.forgot-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.forgot-link:hover {
  color: var(--accent-purple);
}

.modal-submit {
  margin-top: 8px;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.modal-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
}

.switch-link {
  color: var(--accent-purple);
  text-decoration: none;
  font-weight: 500;
  margin-left: 4px;
  transition: color 0.2s;
}

.switch-link:hover {
  color: #c4b0ff;
}

.vps-flash {
  width: 100%;
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
}
.vps-flash.error {
  border-color: rgba(255, 130, 160, 0.45);
  background: rgba(255, 80, 120, 0.12);
}
.vps-flash.success {
  border-color: rgba(143, 245, 216, 0.45);
  background: rgba(143, 245, 216, 0.10);
}
#login-form > input[type="hidden"] {
  display: none;
}

.trap-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

img,
video {
  max-width: 100%;
  height: auto;
}

@media (max-width: 980px) {
  .topbar,
  .hero,
  .stats,
  .feature,
  .footer {
    width: min(calc(100% - 24px), 1180px);
  }

  .module-showcase,
  .download-layout,
  .pricing-grid,
  .pricing-grid-highlight,
  .video-layout {
    grid-template-columns: 1fr !important;
  }

  .module-showcase,
  .music-layout,
  .xray-grid,
  .demo-layout,
  .mods-grid {
    gap: 20px;
  }

  .module-video-container,
  .module-video-panel,
  .module-gui-wrapper,
  .download-panel,
  .music-player,
  .music-side {
    min-width: 0;
    width: 100%;
  }

  .custom-video-controls {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .video-timeline-container {
    min-width: 140px;
  }

  .video-time {
    margin-left: auto;
  }
}

@media (max-width: 760px) {
  .topbar,
  .hero,
  .stats,
  .feature,
  .footer {
    width: min(calc(100% - 18px), 1180px);
  }

  .topbar {
    border-radius: 22px;
  }

  .hero-grid > .timer-card {
    min-width: 72vw;
    scroll-snap-align: start;
  }

  .module-showcase {
    gap: 16px;
  }

  .module-video-panel,
  .download-panel,
  .music-player,
  .music-side,
  .xray-card {
    border-radius: 24px;
    padding: 18px;
  }

  .module-video-toolbar {
    gap: 10px;
  }

  .custom-video-controls {
    padding-top: 10px;
  }

  .video-time {
    width: 100%;
    margin-left: 0;
    text-align: center;
  }

  .hud-stage,
  .gui-stage {
    width: 100%;
  }

  .hud-cutout-frame,
  .hud-cutout-image,
  .gui-cutout-image,
  .module-main-image {
    width: 100%;
    display: block;
  }

  .section-header,
  .section-header p,
  .section-header h2 {
    max-width: 100%;
  }
}

@media (max-width: 540px) {
  .hero {
    padding-top: 72px;
    padding-bottom: 54px;
  }

  .hero-title {
    font-size: clamp(2.4rem, 13vw, 3.5rem);
    line-height: 0.98;
  }

  .title-line {
    display: block;
  }

  .hero-grid > .timer-card {
    min-width: 82vw;
  }

  .timer-card,
  .stat-card,
  .event-card,
  .pricing-card {
    border-radius: 20px;
  }

  .music-topline,
  .queue-card,
  .progress-row {
    flex-wrap: wrap;
  }

  .icon-button {
    width: 54px;
    height: 54px;
  }

  .modal-overlay {
    padding: 12px;
    overflow-y: auto;
    place-items: start center;
  }

  .modal-content {
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - 24px);
    margin: auto 0;
    padding: 24px 18px 20px;
    border-radius: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .modal-header {
    margin-bottom: 22px;
  }

  .modal-header h2 {
    font-size: 1.35rem;
  }

  .modal-header p {
    font-size: 0.9rem;
  }

  .modal-logo {
    width: 56px;
    height: 56px;
    margin-bottom: 14px;
  }

  .form-group input {
    padding: 15px 14px;
    font-size: 0.98rem;
  }

  .form-group label {
    left: 14px;
    font-size: 0.92rem;
  }

  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .modal-submit {
    margin-top: 4px;
    width: 100%;
    min-height: 48px;
  }

  .modal-footer {
    margin-top: 18px;
    font-size: 0.92rem;
    line-height: 1.45;
  }
}

@media (max-width: 420px) {
  .topbar {
    padding: 12px 12px;
    gap: 8px;
  }

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

  .topbar .ghost-button {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
}
