@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700&family=Rajdhani:wght@500;600;700;800&display=swap');

/* ==========================================
   RESET & SYSTEM VARIABLES
   ========================================== */
:root {
  --bg-deep: #020204;
  --bg-card: rgba(5, 5, 8, 0.97);
  --bg-card-hover: rgba(10, 10, 15, 0.99);
  --bg-portal: #010102;

  --crimson: #ff1a40;
  --crimson-glow: rgba(255, 26, 64, 0.65);
  --crimson-dark: #660515;

  --cyber-blue: #00e5ff;
  --cyber-blue-glow: rgba(0, 229, 255, 0.65);
  --cyber-blue-dark: #005c66;

  --text-primary: #ffffff;
  --text-secondary: #f8fafc;
  --text-muted: #cbd5e1;

  --border-glow: linear-gradient(135deg, var(--crimson), var(--cyber-blue));

  /* ====== PREMIUM FONT STACK ====== */
  --font-cyber: 'Orbitron', 'Rajdhani', system-ui, sans-serif;
  /* AAA Gaming HUD — Orbitron */
  --font-body: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  /* Premium body — Space Grotesk */
  --font-wide: 'Rajdhani', sans-serif;
  /* Secondary headings */

  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--crimson) var(--bg-deep);
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  /* slightly larger body size */
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

p {
  color: var(--text-secondary);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), 0 3px 12px rgba(0, 0, 0, 0.85);
  /* premium rich dark backing shadow */
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--crimson);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--cyber-blue);
}

/* ==========================================
   CINEMATIC CYBER PRELOADER
   ========================================== */
.cyber-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #020203;
  z-index: 9999999;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: transform 0.8s cubic-bezier(0.85, 0, 0.15, 1), opacity 0.8s ease;
}

.preloader-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 450px;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.preloader-logo {
  font-family: var(--font-cyber);
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  animation: logo-glow 1.5s infinite alternate;
}

.preloader-logo span span {
  color: var(--crimson);
}

@keyframes logo-glow {
  0% {
    filter: drop-shadow(0 0 5px rgba(0, 229, 255, 0.3));
  }

  100% {
    filter: drop-shadow(0 0 20px rgba(255, 26, 64, 0.7));
  }
}

.preloader-bar-container {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 15px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.preloader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--crimson), var(--cyber-blue));
  box-shadow: 0 0 10px var(--cyber-blue);
  transition: width 0.1s linear;
}

.preloader-status {
  font-family: var(--font-cyber);
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 5px;
  height: 15px;
  font-weight: 600;
}

.preloader-percentage {
  font-family: var(--font-cyber);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cyber-blue);
}

.preloader-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

/* ==========================================
   VISUAL EFFECTS & OVERLAYS
   ========================================== */
#canvas-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
}

.crt-scanlines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.3) 50%);
  background-size: 100% 4px;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.45;
}

.ambient-auras {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.aura-red {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--crimson-glow) 0%, rgba(255, 26, 64, 0) 70%);
  top: -200px;
  left: -200px;
  filter: blur(90px);
  animation: float-aura 15s infinite alternate;
  opacity: 0.65;
}

.aura-blue {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--cyber-blue-glow) 0%, rgba(0, 229, 255, 0) 70%);
  bottom: -200px;
  right: -200px;
  filter: blur(110px);
  animation: float-aura 18s infinite alternate-reverse;
  opacity: 0.65;
}

@keyframes float-aura {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(120px, 60px) scale(1.15);
  }
}

/* Spinning HUD backdrops */
.spinning-hud-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 650px;
  height: 650px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
}

.spinning-hud-svg {
  width: 100%;
  height: 100%;
  animation: rotate-hud 30s linear infinite;
}

@keyframes rotate-hud {
  100% {
    transform: rotate(360deg);
  }
}

/* ==========================================
   GLASSMORPHISM & CYBER UTILITIES
   ========================================== */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  /* boosted boundary borders for maximum HUD definition */
  border-radius: 12px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-panel::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 35px;
  background: linear-gradient(to bottom, transparent, rgba(0, 229, 255, 0.08), transparent);
  animation: scan-line 7s linear infinite;
  pointer-events: none;
}

.glass-panel.red::after {
  background: linear-gradient(to bottom, transparent, rgba(255, 26, 64, 0.08), transparent);
}

@keyframes scan-line {
  0% {
    top: -100%;
  }

  100% {
    top: 250%;
  }
}

.glass-panel:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.35);
}

.cyber-glow-blue {
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.3), inset 0 0 10px rgba(0, 229, 255, 0.15);
  border-color: rgba(0, 229, 255, 0.6) !important;
}

.cyber-glow-red {
  box-shadow: 0 0 30px rgba(255, 26, 64, 0.3), inset 0 0 10px rgba(255, 26, 64, 0.15);
  border-color: rgba(255, 26, 64, 0.6) !important;
}

.cyber-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}

/* Preserving 3D card tilt values */
.about-card,
.reward-card,
.pkg-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.about-card>*,
.reward-card>*,
.pkg-card>* {
  transform: translateZ(25px);
}

/* Scroll reveal items */
.reveal-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   TYPOGRAPHY & BUTTONS
   ========================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-cyber);
  /* Orbitron: premium space-age gaming font */
  text-transform: uppercase;
  letter-spacing: 1.5px;
  /* Orbitron is wider, slightly reduced spacing */
  font-weight: 700;
  color: #ffffff;
}

/* Body text uses Space Grotesk for premium readability */
body,
p,
span,
li,
label,
input,
select,
textarea,
button {
  font-family: var(--font-body);
}

/* Nav links: keep Orbitron for HUD feel */
.cyber-btn,
.nav-links a,
.sec-tag,
.panel-title,
.portal-menu-item,
.pkg-tier,
.reward-badge,
.timer-num,
.timer-label {
  font-family: var(--font-cyber);
}

.grad-text {
  background: linear-gradient(135deg, #ffffff 40%, #dcdfe8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.grad-text-cyber {
  background: linear-gradient(90deg, #ff1a40 0%, #00e5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(0, 229, 255, 0.3);
}

.cyber-btn {
  font-family: var(--font-cyber);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 14px 28px;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  z-index: 5;
}

.btn-primary {
  background: linear-gradient(90deg, var(--crimson) 0%, #d60c2d 100%);
  color: #fff;
  box-shadow: 0 4px 25px rgba(255, 26, 64, 0.45);
  border: 1px solid rgba(255, 26, 64, 0.6);
}

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

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

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(255, 26, 64, 0.75);
  border-color: #fff;
}

.btn-secondary {
  background: rgba(0, 229, 255, 0.04);
  color: var(--cyber-blue);
  border: 1px solid var(--cyber-blue);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.15);
}

.btn-secondary:hover {
  background: var(--cyber-blue);
  color: #000;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px var(--cyber-blue-glow);
}

.cyber-btn .btn-clip {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--bg-deep);
  z-index: 6;
}

.btn-clip.tl {
  top: -4px;
  left: -4px;
  transform: rotate(45deg);
}

.btn-clip.br {
  bottom: -4px;
  right: -4px;
  transform: rotate(45deg);
}

/* ==========================================
   NAVIGATION
   ========================================== */
.cyber-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 22px 50px;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

.cyber-nav.scrolled {
  padding: 14px 50px;
  background: rgba(3, 3, 5, 0.95);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-brand {
  font-family: var(--font-cyber);
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-brand span {
  color: var(--crimson);
  text-shadow: 0 0 10px var(--crimson-glow);
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-cyber);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 1.5px;
  transition: var(--transition-fast);
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--crimson), var(--cyber-blue));
  transition: var(--transition-fast);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: #fff;
}

.burger-menu {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.burger-menu div {
  width: 25px;
  height: 2px;
  background-color: #fff;
  transition: var(--transition-fast);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 8%;
  overflow: hidden;
  z-index: 5;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-img-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: contrast(1.15) brightness(0.85) saturate(1.1);
  transform: scale(1.02);
  transition: transform 0.1s ease-out;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 75% 50%, rgba(3, 3, 5, 0.15) 0%, rgba(3, 3, 5, 0.96) 80%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 680px;
  margin-top: 50px;
}

.hero-tag {
  font-family: var(--font-cyber);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cyber-blue);
  letter-spacing: 4px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: pulse-glow 2s infinite alternate;
}

.hero-tag::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--cyber-blue);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyber-blue);
}

.hero h1 {
  font-size: 3.8rem;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.hero p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 35px;
  max-width: 550px;
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

/* ==========================================
   COMMON SECTION STYLING
   ========================================== */
section {
  position: relative;
  padding: 120px 8%;
  z-index: 5;
  overflow: hidden;
}

.sec-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 70px;
  position: relative;
  z-index: 5;
}

.sec-tag {
  font-family: var(--font-cyber);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--crimson);
  letter-spacing: 3.5px;
  display: block;
  margin-bottom: 12px;
}

.sec-tag.blue {
  color: var(--cyber-blue);
}

.sec-title {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.sec-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  font-weight: 500;
}

/* ==========================================
   ABOUT ECOSYSTEM
   ========================================== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 30px;
}

.about-card {
  grid-column: span 4;
  padding: 45px 35px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

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

.card-hud-num {
  font-family: var(--font-cyber);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.02);
  position: absolute;
  top: 10px;
  right: 20px;
  user-select: none;
  transition: var(--transition-smooth);
}

.about-card:hover .card-hud-num {
  color: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px) scale(1.05);
}

.about-card.blue:hover {
  box-shadow: 0 0 35px rgba(0, 229, 255, 0.25);
  border-color: rgba(0, 229, 255, 0.35);
  transform: translateY(-5px);
}

.about-card.red:hover {
  box-shadow: 0 0 35px rgba(255, 26, 64, 0.25);
  border-color: rgba(255, 26, 64, 0.35);
  transform: translateY(-5px);
}

.card-icon {
  width: 55px;
  height: 55px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  color: var(--crimson);
  font-size: 1.6rem;
  transition: var(--transition-smooth);
}

.blue .card-icon {
  color: var(--cyber-blue);
}

.about-card:hover .card-icon {
  transform: scale(1.1) translateZ(10px);
  background: rgba(255, 255, 255, 0.08);
}

.about-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-card h3::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--crimson);
  border-radius: 50%;
}

.blue h3::after {
  background: var(--cyber-blue);
}

.about-card p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.1px;
}

/* ==========================================
   REWARD SYSTEM SECTION (3-COLUMN MATRIX)
   ========================================== */
.rewards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Clean three columns */
  gap: 30px;
  margin-bottom: 20px;
}

.reward-card {
  padding: 45px 30px;
  text-align: center;
  position: relative;
  border-radius: 12px;
}

.reward-header {
  margin-bottom: 25px;
}

.reward-badge {
  font-family: var(--font-cyber);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyber-blue);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.reward-card.crimson-style .reward-badge {
  color: var(--crimson);
  background: rgba(255, 26, 64, 0.08);
  border: 1px solid rgba(255, 26, 64, 0.2);
}

.reward-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 18px;
}

.reward-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  min-height: 40px;
  font-weight: 500;
}

.reward-levels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reward-level-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 0.95rem;
}

.reward-level-row span {
  font-family: var(--font-cyber);
  font-weight: 700;
  color: var(--cyber-blue);
}

.crimson-style .reward-level-row span {
  color: var(--crimson);
}

.reward-card:hover {
  transform: translateY(-5px);
}

/* ==========================================
   PACKAGE SECTION (DRAGON POWER STATIONS)
   ========================================== */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.pkg-card {
  padding: 0;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 200px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.15);
  /* boosted boundaries visibility */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transition: var(--transition-smooth);
}

.pkg-card:nth-child(odd) {
  border-left: 5px solid var(--crimson);
  box-shadow: 0 4px 20px rgba(255, 26, 64, 0.15);
}

.pkg-card:nth-child(even) {
  border-left: 5px solid var(--cyber-blue);
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.15);
}

.pkg-card-inner {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  position: relative;
  z-index: 2;
}

.pkg-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.35);
}

.pkg-card:nth-child(odd):hover {
  box-shadow: 0 12px 35px rgba(255, 26, 64, 0.4);
}

.pkg-card:nth-child(even):hover {
  box-shadow: 0 12px 35px rgba(0, 229, 255, 0.4);
}

.pkg-value {
  font-family: var(--font-cyber);
  font-size: 2.5rem;
  /* slightly larger values */
  font-weight: 800;
  line-height: 1;
  margin-bottom: 2px;
  background: #ffffff;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.35);
}

.pkg-tier {
  font-family: var(--font-cyber);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.pkg-card:nth-child(odd) .pkg-tier {
  color: var(--crimson);
}

.pkg-card:nth-child(even) .pkg-tier {
  color: var(--cyber-blue);
}

.pkg-details {
  list-style: none;
  font-size: 0.85rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 0;
  width: 100%;
  font-weight: 600;
}

.pkg-details li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 3px;
}

.pkg-details li span {
  font-family: var(--font-cyber);
  color: #ffffff;
  font-weight: 800;
}

/* ==========================================
   COUNTDOWN TIMER — PREMIUM VISIBLE STYLE
   ========================================== */
#countdown-widget {
  display: flex;
  gap: 12px;
  margin: 25px auto;
  justify-content: center;
  align-items: center;
}

.timer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 14px 20px;
  min-width: 80px;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.6), 0 4px 20px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.timer-unit::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--crimson), var(--cyber-blue));
  opacity: 0.7;
}

.timer-num {
  font-family: 'Orbitron', var(--font-cyber);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  display: block;
  letter-spacing: 2px;
  text-shadow: 0 0 20px currentColor;
}

.timer-num.crimson {
  color: var(--crimson);
  filter: drop-shadow(0 0 8px rgba(255, 26, 64, 0.8));
}

.timer-num.blue {
  color: var(--cyber-blue);
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.8));
}

.timer-num.white {
  color: #ffffff;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

.timer-label {
  font-family: 'Orbitron', var(--font-cyber);
  font-size: 0.58rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 6px;
  font-weight: 600;
}

.timer-sep {
  font-family: 'Orbitron', var(--font-cyber);
  font-size: 2rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1;
  padding-bottom: 14px;
}

/* ==========================================
   COMMUNITY SECTION
   ========================================== */
.community {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.comm-card {
  padding: 40px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
}

.comm-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--cyber-blue);
  transition: var(--transition-smooth);
  box-shadow: 0 0 0 rgba(0, 229, 255, 0);
}

.comm-card:hover .comm-icon {
  transform: translateY(-8px) scale(1.08);
  background: rgba(255, 255, 255, 0.06);
}

.comm-card:nth-child(odd):hover .comm-icon {
  color: #fff;
  border-color: var(--cyber-blue);
  box-shadow: 0 5px 25px var(--cyber-blue-glow);
}

.comm-card:nth-child(even):hover .comm-icon {
  color: #fff;
  border-color: var(--crimson);
  box-shadow: 0 5px 25px var(--crimson-glow);
}

.comm-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.comm-card span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================
   PORTAL ACCESS SECTION
   ========================================== */
.portal-cta {
  text-align: center;
  padding: 150px 8%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.portal-cta-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.portal-cta-img-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: grayscale(1) contrast(1.25) brightness(0.9);
}

.portal-cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(3, 3, 5, 0.3) 0%, rgba(3, 3, 5, 0.98) 90%);
  z-index: 2;
}

.portal-cta-content {
  position: relative;
  z-index: 5;
  max-width: 680px;
}

.portal-cta h2 {
  font-size: 3rem;
  margin-bottom: 25px;
}

.portal-cta p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

/* ==========================================
   PORTAL DASHBOARD OVERLAY
   ========================================== */
.portal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-portal);
  z-index: 99999;
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  overflow: hidden;
}

.portal-overlay.active {
  display: flex;
  opacity: 1;
}

.portal-sidebar {
  width: 260px;
  height: 100%;
  background: #06060a;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 20px;
  position: relative;
  z-index: 10;
}

.portal-logo {
  font-family: var(--font-cyber);
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 50px;
}

.portal-logo span {
  color: var(--crimson);
}

.portal-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.portal-menu-item {
  font-family: var(--font-cyber);
  font-size: 0.8rem;
  padding: 12px 18px;
  border-radius: 6px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 1px;
}

.portal-menu-item:hover,
.portal-menu-item.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}

.portal-menu-item.active {
  border-left: 3px solid var(--cyber-blue);
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.05) 0%, transparent 100%);
}

.portal-menu-item.btn-logout {
  color: var(--crimson);
  margin-top: auto;
}

.portal-menu-item.btn-logout:hover {
  background: rgba(255, 26, 64, 0.05);
}

.portal-user-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cyber);
  font-weight: 700;
  color: #fff;
  font-size: 0.85rem;
}

.user-details {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
}

.user-status {
  font-size: 0.65rem;
  color: var(--cyber-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Portal Content Area */
.portal-main {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-y: auto;
}

.portal-header {
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.portal-header h2 {
  font-size: 1.4rem;
}

.portal-wallet-pill {
  display: flex;
  align-items: center;
  gap: 15px;
}

.wallet-pill-data {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 8px 16px;
  border-radius: 20px;
  font-family: var(--font-cyber);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wallet-pill-data span {
  color: var(--cyber-blue);
  font-weight: 700;
}

.portal-body {
  padding: 40px;
  flex: 1;
}

.portal-section-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.portal-section-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

/* Dashboard Summary Cards */
.db-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 40px;
}

.db-card {
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-radius: 12px;
}

.db-icon {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--cyber-blue);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.db-card.red .db-icon {
  color: var(--crimson);
}

.db-info {
  display: flex;
  flex-direction: column;
}

.db-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.db-val {
  font-family: var(--font-cyber);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-top: 2px;
}

/* Dashboard Layout */
.db-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 25px;
}

.panel-title {
  font-size: 1rem;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 10px;
}

.panel-title span {
  font-size: 0.7rem;
  color: var(--cyber-blue);
}



/* Wallet Page */
.wallet-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.wallet-panel {
  padding: 30px;
  border-radius: 12px;
}

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

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

.form-group label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

.form-input,
.form-select {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 12px 16px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus,
.form-select:focus {
  border-color: var(--cyber-blue);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.15);
}

.mock-qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  margin-top: 10px;
}

.mock-qr {
  width: 140px;
  height: 140px;
  background: #fff;
  padding: 8px;
  border-radius: 6px;
}

.mock-qr img {
  width: 100%;
  height: 100%;
}

.wallet-address-copy {
  display: flex;
  width: 100%;
  gap: 10px;
}

.wallet-address-copy input {
  flex: 1;
  font-family: monospace;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 8px 12px;
  color: var(--text-secondary);
  outline: none;
}

/* Network Tree Node UI */
.network-tree-container {
  width: 100%;
  height: 400px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: hidden;
}

.tree-svg {
  width: 100%;
  height: 100%;
}

.tree-node-info-panel {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 15px 20px;
  background: rgba(6, 6, 10, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.node-info-details {
  display: flex;
  gap: 30px;
}

.node-info-item {
  display: flex;
  flex-direction: column;
}

.node-info-lbl {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.node-info-val {
  font-family: var(--font-cyber);
  font-size: 0.85rem;
  color: #fff;
  font-weight: 700;
}

/* Notification banner */
.noti-banner {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 15px 25px;
  border-radius: 6px;
  font-size: 0.85rem;
  z-index: 999999;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-smooth);
}

.noti-banner.active {
  transform: translateY(0);
  opacity: 1;
}

.noti-banner.success {
  background: rgba(0, 229, 255, 0.15);
  border: 1px solid var(--cyber-blue);
  color: #fff;
  box-shadow: 0 5px 20px rgba(0, 229, 255, 0.2);
}

/* Footer Section */
footer {
  padding: 40px 8%;
  background: #020203;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 5;
}

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

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: #fff;
}

/* ==========================================
   RESPONSIVE LAYOUTS
   ========================================== */

/* ---- 1366px: Small Laptops (HD Screens) ---- */
@media (max-width: 1366px) {
  .cyber-nav {
    padding: 18px 36px;
  }

  .cyber-nav.scrolled {
    padding: 12px 36px;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 0.82rem;
    letter-spacing: 1px;
  }

  .nav-brand {
    font-size: 1.45rem;
  }

  section {
    padding: 100px 6%;
  }

  .hero {
    padding: 0 6%;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .sec-title {
    font-size: 2.3rem;
  }

  .packages-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }

  .about-grid {
    gap: 22px;
  }

  .footer-grid {
    gap: 36px;
  }

  .coin-grid {
    gap: 36px;
  }

  .portal-body {
    padding: 30px;
  }

  .portal-header {
    padding: 22px 30px;
  }

  .portal-sidebar {
    width: 230px;
    padding: 24px 16px;
  }

  .db-grid {
    gap: 18px;
  }

  .portal-packages-grid {
    gap: 16px;
  }
}

/* ---- 1200px: Large Tablets & Small Laptops ---- */
@media (max-width: 1200px) {
  .about-card {
    grid-column: span 6;
  }

  .about-card.large {
    grid-column: span 12;
  }

  .packages-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---- 992px: Tablets ---- */
@media (max-width: 992px) {
  section {
    padding: 80px 6%;
  }

  .hero {
    padding: 110px 6% 80px;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
  }

  .hero-content {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    font-size: 2.6rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero-img-bg {
    object-position: center center !important;
    opacity: 0.4 !important;
  }

  .rewards-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

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

  .how-it-works-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .coin-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .portal-packages-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }

  /* Portal Mobile Drawer Sidebar */
  .portal-overlay {
    flex-direction: column !important;
  }

  .portal-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 280px !important;
    height: 100vh !important;
    background: rgba(6, 6, 10, 0.99) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-top: none !important;
    z-index: 100000 !important;
    transform: translateX(-100%) !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 30px 20px !important;
  }

  .portal-sidebar.open {
    transform: translateX(0) !important;
  }

  .portal-logo {
    display: flex !important;
    margin-bottom: 40px !important;
  }

  .portal-menu {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .portal-menu-item {
    padding: 12px 18px !important;
    font-size: 0.8rem !important;
    flex-direction: row !important;
    gap: 12px !important;
    align-items: center !important;
    border-left: 3px solid transparent !important;
    border-bottom: none !important;
    text-align: left !important;
    flex: none !important;
  }

  .portal-menu-item.active {
    border-left: 3px solid var(--cyber-blue) !important;
    border-bottom: none !important;
    background: linear-gradient(90deg, rgba(0, 229, 255, 0.05) 0%, transparent 100%) !important;
  }

  .portal-user-tag {
    display: flex !important;
    margin-top: 20px !important;
  }

  .portal-menu-item.btn-logout {
    display: flex !important;
    color: var(--crimson) !important;
    margin-top: auto !important;
  }

  .portal-mobile-exit {
    display: block !important;
  }

  .portal-mobile-menu-trigger {
    display: inline-flex !important;
  }

  .portal-sidebar-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.65);
    z-index: 99999;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  .portal-sidebar-backdrop.active {
    display: block;
  }

  .portal-main {
    padding-bottom: 30px !important;
  }

  .portal-body {
    padding: 25px 20px !important;
  }

  .wallet-layout {
    grid-template-columns: 1fr;
  }
}

/* ---- 768px: Mobile Landscape / Small Tablets ---- */
@media (max-width: 768px) {

  /* Navigation */
  .cyber-nav {
    padding: 14px 20px;
  }

  .cyber-nav.scrolled {
    padding: 10px 20px;
  }

  .cyber-nav .btn-portal-trigger {
    display: none !important;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(3, 3, 5, 0.97);
    flex-direction: column;
    padding: 20px 24px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    align-items: flex-start;
    gap: 4px;
    backdrop-filter: blur(20px);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 12px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    width: 100%;
  }

  .burger-menu {
    display: flex;
  }

  .burger-menu.active div:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .burger-menu.active div:nth-child(2) {
    opacity: 0;
  }

  .burger-menu.active div:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  /* Hero */
  section {
    padding: 70px 5%;
  }

  .hero {
    padding: 100px 5% 70px;
  }

  .hero h1 {
    font-size: 2.1rem;
    line-height: 1.15;
  }

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

  .hero-tag {
    font-size: 0.75rem;
    letter-spacing: 2.5px;
  }

  /* Sections */
  .sec-title {
    font-size: 2rem;
  }

  .sec-desc {
    font-size: 0.95rem;
  }

  .about-card {
    grid-column: span 12;
  }

  /* Packages */
  .packages-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .pkg-card {
    height: auto !important;
    min-height: 190px !important;
  }

  .pkg-value {
    font-size: 1.8rem !important;
  }

  .pkg-card-inner {
    padding: 20px 16px !important;
  }

  .pkg-details {
    gap: 6px !important;
  }

  /* How it Works inline styles override */
  #how-it-works {
    margin: 0 5% !important;
    padding: 40px 20px !important;
  }

  /* Coin / Token section */
  .coin-grid>div {
    padding: 0 !important;
  }

  /* Dashboard */
  .db-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .db-card {
    padding: 18px 20px;
  }

  .db-val {
    font-size: 1.2rem;
  }

  .db-layout {
    grid-template-columns: 1fr;
  }

  /* Portal header */
  .portal-header {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 15px 20px !important;
    gap: 12px !important;
  }

  .portal-header>div {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
  }

  .portal-header h2 {
    font-size: 1.1rem;
  }

  .portal-wallet-pill {
    flex-direction: row !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .wallet-pill-data {
    font-size: 0.68rem !important;
    padding: 6px 10px !important;
    flex: 1 !important;
    justify-content: center !important;
  }

  /* Network Tree */
  .network-tree-container {
    height: 320px;
  }

  .node-info-details {
    flex-wrap: wrap;
    gap: 14px;
  }

  .tree-node-info-panel {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* Notification banner */
  .noti-banner {
    bottom: 16px;
    right: 12px;
    left: 12px;
    font-size: 0.8rem;
    padding: 12px 18px;
    text-align: center;
  }

  /* Footer */
  footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 30px 5%;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer-copy {
    font-size: 0.7rem;
    line-height: 1.6;
  }

  /* Portal body padding */
  .portal-body {
    padding: 20px 16px !important;
  }

  /* Preloader */
  .preloader-logo {
    font-size: 1.8rem;
  }

  /* Sec header */
  .sec-header {
    margin-bottom: 50px;
  }
}

/* ---- 480px: Mobile Portrait ---- */
@media (max-width: 480px) {
  section {
    padding: 60px 4%;
  }

  .hero {
    padding: 90px 4% 60px;
  }

  .hero h1 {
    font-size: 1.75rem;
    letter-spacing: 1px;
  }

  .hero p {
    font-size: 0.9rem;
  }

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

  .hero-buttons .cyber-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .sec-title {
    font-size: 1.7rem;
  }

  /* One-column packages on tiny screens */
  .packages-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .pkg-card {
    min-height: 160px !important;
  }

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

  .portal-packages-grid {
    grid-template-columns: 1fr !important;
  }

  /* Portal node rows */
  .portal-node-row {
    padding: 12px 10px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .portal-node-row>div:last-child {
    text-align: left !important;
  }

  /* Coin section timer */
  #countdown-widget {
    gap: 8px !important;
  }

  #countdown-widget>div span:first-child {
    font-size: 1.4rem !important;
  }

  /* How-it-works section */
  #how-it-works {
    margin: 0 4% !important;
    padding: 30px 16px !important;
  }

  /* About cards */
  .about-card {
    padding: 30px 22px !important;
  }

  /* Wallet form */
  .wallet-panel {
    padding: 20px 16px !important;
  }

  .wallet-address-copy {
    flex-direction: column !important;
  }

  .wallet-address-copy button {
    width: 100% !important;
  }

  /* Network tree */
  .network-tree-container {
    height: 260px;
  }

  /* Preloader */
  .preloader-logo {
    font-size: 1.5rem;
    gap: 8px;
  }

  .preloader-percentage {
    font-size: 1.1rem;
  }

  /* Portal sidebar narrower touch-friendly */
  .portal-sidebar {
    width: 260px !important;
  }

  /* Noti banner full-width */
  .noti-banner {
    bottom: 12px;
    right: 8px;
    left: 8px;
    font-size: 0.78rem;
    padding: 10px 14px;
  }

  /* Scrollbar smaller on mobile */
  ::-webkit-scrollbar {
    width: 3px;
  }
}

/* ---- 360px: Very small phones ---- */
@media (max-width: 360px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .sec-title {
    font-size: 1.5rem;
  }

  .nav-brand {
    font-size: 1.35rem;
  }

  .cyber-btn {
    font-size: 0.78rem;
    padding: 12px 18px;
    letter-spacing: 1.5px;
  }

  .portal-sidebar {
    width: 240px !important;
  }

  #countdown-widget>div span:first-child {
    font-size: 1.2rem !important;
  }
}

/* ==========================================
   INTERACTIVE CYBER ANIMATIONS
   ========================================== */
.pkg-card::before,
.reward-card::before,
.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--cyber-blue), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 10;
}

.pkg-card:hover::before,
.reward-card:hover::before,
.about-card:hover::before {
  opacity: 0.8;
  animation: horizontal-laser 2s linear infinite;
}

.pkg-card:nth-child(odd):hover::before,
.reward-card.crimson-style:hover::before,
.about-card.red:hover::before {
  background: linear-gradient(90deg, transparent, var(--crimson), transparent);
}

@keyframes horizontal-laser {
  0% {
    top: 0%;
  }

  50% {
    top: 100%;
  }

  100% {
    top: 0%;
  }
}

.nav-links a:hover,
.nav-brand:hover,
.preloader-logo:hover {
  animation: text-glitch-micro 0.3s ease;
}

@keyframes text-glitch-micro {
  0% {
    transform: skew(0deg);
  }

  20% {
    transform: skew(-3deg);
    text-shadow: -2px 0 var(--cyber-blue), 2px 0 var(--crimson);
  }

  40% {
    transform: skew(3deg);
    text-shadow: 2px 0 var(--cyber-blue), -2px 0 var(--crimson);
  }

  60% {
    transform: skew(-1deg);
  }

  100% {
    transform: skew(0deg);
  }
}

/* ==========================================
   MOBILE ALIGNMENT & EXTRA RESPONSIVE FIXES
   ========================================== */
.how-it-works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 5;
}

.coin-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.portal-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.portal-node-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  padding: 15px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

/* ==========================================
   MOBILE SLIDE-IN NAV OVERLAY
   ========================================== */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(360px, 90vw);
  height: 100vh;
  background: #050508;
  border-left: 1px solid rgba(0, 229, 255, 0.12);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 40px;
  gap: 0;
  transition: right 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-nav-overlay.open {
  right: 0;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-nav-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-close {
  position: absolute;
  top: 22px;
  right: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 1.5rem;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  line-height: 1;
}

.mobile-nav-close:hover {
  background: rgba(255, 26, 64, 0.15);
  border-color: var(--crimson);
  color: #fff;
}

.mobile-nav-brand {
  font-family: var(--font-cyber);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  padding-top: 8px;
  letter-spacing: 1px;
}

.mobile-nav-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.2), transparent);
  margin: 12px 0;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  margin-bottom: 24px;
}

.mobile-nav-links li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 8px;
  font-family: var(--font-cyber);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--transition-fast);
}

.mobile-nav-links li a i {
  width: 18px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--cyber-blue);
  flex-shrink: 0;
}

.mobile-nav-links li a:hover {
  background: rgba(0, 229, 255, 0.06);
  color: #fff;
  border: none;
}

.mobile-nav-portal-btn {
  width: 100%;
  margin-top: auto;
}

/* ==========================================
   MEGA FOOTER — 4-COLUMN INTERLINK GRID
   ========================================== */
.site-footer-main {
  position: relative;
  z-index: 5;
  background: rgba(3, 3, 6, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 70px 8% 0;
}

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

/* Brand column */
.footer-brand-col .footer-logo {
  font-family: var(--font-cyber);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  letter-spacing: 1px;
}

.footer-brand-col .footer-logo span {
  color: var(--crimson);
  text-shadow: 0 0 10px var(--crimson-glow);
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-social-btn:hover {
  background: rgba(0, 229, 255, 0.1);
  border-color: var(--cyber-blue);
  color: var(--cyber-blue);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 229, 255, 0.2);
}

/* Link columns */
.footer-col-title {
  font-family: var(--font-cyber);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--crimson), var(--cyber-blue));
  border-radius: 1px;
}

.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-links li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.87rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-col-links li a i {
  font-size: 0.65rem;
  color: var(--cyber-blue);
  opacity: 0.7;
  transition: var(--transition-fast);
}

.footer-col-links li a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-col-links li a:hover i {
  opacity: 1;
  color: var(--crimson);
}

/* Status badge */
.footer-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  background: rgba(0, 255, 100, 0.05);
  border: 1px solid rgba(0, 255, 100, 0.15);
  border-radius: 20px;
  padding: 6px 14px;
  font-family: var(--font-cyber);
  font-size: 0.68rem;
  font-weight: 700;
  color: #4ade80;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.footer-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: status-blink 1.5s infinite alternate;
  flex-shrink: 0;
}

@keyframes status-blink {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0.3;
  }
}

/* Footer bottom bar */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.3px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  font-family: var(--font-cyber);
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

/* ---- Footer Responsive ---- */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-tagline {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .site-footer-main {
    padding: 50px 6% 0;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-bottom-links {
    justify-content: center;
  }
}

/* ==========================================
   V6 PLATFORM EVOLUTION OVERRIDES
   ========================================== */

/* 1. PREMIUM GLASSMORPHISM NAVBAR */
.cyber-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 5%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(2, 2, 4, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
}

.cyber-nav.scrolled {
  padding: 12px 5%;
  background: rgba(2, 2, 4, 0.85);
  border-bottom: 1px solid rgba(0, 229, 255, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-brand {
  font-family: var(--font-cyber);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  letter-spacing: 1px;
}

.nav-brand span {
  color: var(--crimson);
  text-shadow: 0 0 10px var(--crimson-glow);
}

.nav-links {
  display: flex;
  gap: 35px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-cyber);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyber-blue);
  transition: width 0.3s ease;
  box-shadow: 0 0 10px var(--cyber-blue);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

.nav-cta-btn {
  background: linear-gradient(135deg, var(--cyber-blue), #00b3cc);
  color: #000;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 700;
  font-family: var(--font-cyber);
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
  transition: all 0.3s ease;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.6);
  background: linear-gradient(135deg, #00b3cc, var(--cyber-blue));
}


/* 2. PREMIUM MULTI-COLUMN FOOTER */
.premium-footer {
  position: relative;
  background: linear-gradient(to top, rgba(2, 2, 4, 1) 0%, rgba(5, 5, 10, 0.95) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 80px 8% 20px;
  color: var(--text-secondary);
  font-family: var(--font-main);
}

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

.footer-brand-info .footer-logo {
  font-family: var(--font-cyber);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  text-decoration: none;
}

.footer-brand-info .footer-logo span {
  color: var(--cyber-blue);
}

.footer-brand-info p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
  max-width: 300px;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: var(--cyber-blue);
  border-color: var(--cyber-blue);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
  transform: translateY(-3px);
  color: #000;
}

.footer-col h4 {
  color: #fff;
  font-family: var(--font-cyber);
  font-size: 1.1rem;
  margin-bottom: 25px;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background: var(--cyber-blue);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col ul li a i {
  font-size: 0.7rem;
  color: var(--cyber-blue);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--cyber-blue);
}

.footer-col ul li a:hover i {
  opacity: 1;
  transform: translateX(0);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
}


/* 3. HOW IT WORKS - TIMELINE */
.timeline-section {
  padding: 100px 5%;
  position: relative;
  background: radial-gradient(circle at center, rgba(0, 229, 255, 0.03) 0%, transparent 70%);
}

.timeline-container {
  max-width: 900px;
  margin: 60px auto 0;
  position: relative;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--cyber-blue), var(--crimson), transparent);
  opacity: 0.3;
}

.timeline-step {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
  width: 100%;
}

.timeline-step:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  width: 45%;
  background: rgba(5, 5, 8, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 12px;
  position: relative;
  transition: all 0.4s ease;
}

.timeline-content:hover {
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.1);
  transform: translateY(-5px);
}

.timeline-step:nth-child(even) .timeline-content:hover {
  border-color: rgba(255, 26, 64, 0.3);
  box-shadow: 0 10px 30px rgba(255, 26, 64, 0.1);
}

.timeline-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: #000;
  border: 2px solid var(--cyber-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyber-blue);
  font-size: 1.2rem;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
  z-index: 2;
}

.timeline-step:nth-child(even) .timeline-icon {
  border-color: var(--crimson);
  color: var(--crimson);
  box-shadow: 0 0 20px rgba(255, 26, 64, 0.3);
}

.timeline-content h3 {
  color: #fff;
  font-family: var(--font-cyber);
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.timeline-step:nth-child(odd) .timeline-content h3 {
  color: var(--cyber-blue);
}

.timeline-step:nth-child(even) .timeline-content h3 {
  color: var(--crimson);
}

.timeline-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.timeline-content ul {
  margin-top: 15px;
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.timeline-content ul li {
  margin-bottom: 8px;
}

/* 4. PREMIUM PARTICIPATION PACKAGES */
.premium-packages-section {
  padding: 100px 5%;
  position: relative;
}

.packages-grid-v6 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 50px auto 0;
}

.premium-pkg-card {
  background: rgba(5, 5, 8, 0.7);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.premium-pkg-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--cyber-blue), var(--crimson));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.premium-pkg-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 229, 255, 0.2);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 229, 255, 0.1);
}

.premium-pkg-card:hover::before {
  opacity: 1;
}

.pkg-tier-name {
  font-family: var(--font-cyber);
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.pkg-amount {
  font-family: var(--font-cyber);
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.pkg-amount span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pkg-rate-badge {
  display: inline-block;
  background: rgba(0, 229, 255, 0.1);
  color: var(--cyber-blue);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 30px;
  border: 1px solid rgba(0, 229, 255, 0.2);
}

.pkg-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  flex-grow: 1;
}

.pkg-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.4;
}

.pkg-features li i {
  color: var(--cyber-blue);
  font-size: 1rem;
  margin-top: 2px;
}

.pkg-cta {
  width: 100%;
  padding: 15px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 8px;
  font-family: var(--font-cyber);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.premium-pkg-card:hover .pkg-cta {
  background: var(--cyber-blue);
  border-color: var(--cyber-blue);
  color: #000;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .premium-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .timeline-container::before {
    left: 30px;
  }

  .timeline-step,
  .timeline-step:nth-child(even) {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 80px;
  }

  .timeline-icon {
    left: 30px;
  }

  .timeline-content {
    width: 100%;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-cta-btn {
    display: none;
  }

  .premium-footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* ==========================================
   CINEMATIC 6-STEP WORKS TIMELINE
   ========================================== */
.works-timeline-container {
  position: relative;
  max-width: 1100px;
  margin: 60px auto 0;
  padding: 20px 0;
}

.works-timeline-line {
  position: absolute;
  top: 50px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyber-blue), var(--crimson));
  z-index: 1;
  opacity: 0.3;
}

.works-timeline-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  filter: blur(4px);
  opacity: 0.8;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}

.works-step-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px 15px;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.works-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cyber-blue);
  opacity: 0;
  transition: var(--transition-fast);
}

.works-step-card:nth-child(even)::before {
  background: var(--crimson);
}

.works-step-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
}

.works-step-card:hover::before {
  opacity: 1;
}

.works-step-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.1);
  color: var(--cyber-blue);
  border: 1px solid rgba(0, 229, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-cyber);
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 15px;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.works-step-card:nth-child(even) .works-step-badge {
  background: rgba(255, 26, 64, 0.1);
  color: var(--crimson);
  border-color: rgba(255, 26, 64, 0.3);
  box-shadow: 0 0 10px rgba(255, 26, 64, 0.2);
}

.works-step-icon {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 15px;
  transition: var(--transition-fast);
}

.works-step-card:hover .works-step-icon {
  transform: scale(1.15);
  color: var(--cyber-blue);
}

.works-step-card:nth-child(even):hover .works-step-icon {
  color: var(--crimson);
}

.works-step-card h3 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-family: var(--font-cyber);
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.works-step-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* Responsiveness for Works Grid */
@media (max-width: 992px) {
  .works-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .works-timeline-line {
    display: none;
  }
}

@media (max-width: 600px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 400px) {
  .works-grid {
    grid-template-columns: 1fr;
  }
}
/* ==========================================
   ADVANCED GLASSMORPHISM & TREES (UI OVERHAUL)
   ========================================== */
.glass-card {
  background: rgba(10, 10, 15, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}
.glass-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(0, 229, 255, 0.3);
  box-shadow: 0 15px 45px 0 rgba(0, 229, 255, 0.15);
}
.glass-card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.03) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  transition: all 0.75s ease;
}
.glass-card:hover::after {
  left: 200%;
}

.tree-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px;
  background: rgba(5, 5, 8, 0.5);
  border-radius: 20px;
  border: 1px solid rgba(0, 229, 255, 0.1);
  margin: 30px 0;
  overflow-x: auto;
}
.tree-node {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.1) 0%, rgba(0, 229, 255, 0.02) 100%);
  border: 1px solid var(--cyber-blue);
  color: #fff;
  padding: 15px 30px;
  border-radius: 8px;
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  text-align: center;
  position: relative;
  min-width: 200px;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
  z-index: 2;
  transition: all 0.3s ease;
}
.tree-node:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.4);
}
.tree-node.master {
  border-color: var(--crimson);
  box-shadow: 0 0 20px rgba(255, 0, 85, 0.3);
}
.tree-node.master:hover { box-shadow: 0 0 35px rgba(255, 0, 85, 0.5); }
.tree-connector {
  width: 2px;
  height: 30px;
  background: linear-gradient(to bottom, var(--cyber-blue), var(--text-muted));
  position: relative;
  z-index: 1;
}
.tree-connector::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: -4px;
  border-width: 5px 5px 0 5px;
  border-style: solid;
  border-color: var(--text-muted) transparent transparent transparent;
}
.tree-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
}
.tree-branch {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Home Page Specific Overhaul Classes */
.hero-overhaul {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 10;
  padding: 0 5%;
}
.hero-overhaul h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.section-overhaul {
  padding: 100px 5%;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.section-overhaul.darker { background: rgba(0, 0, 0, 0.3); }
.section-overhaul.lighter { background: rgba(5, 5, 8, 0.6); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } }

.animated-counter {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  color: var(--cyber-blue);
  font-weight: 800;
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}
.animated-counter.red {
  color: var(--crimson);
  text-shadow: 0 0 20px rgba(255, 0, 85, 0.4);
}

.giant-icon {
  font-size: 8rem;
  background: -webkit-linear-gradient(45deg, var(--cyber-blue), #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(0, 229, 255, 0.3));
}
.giant-icon.red {
  background: -webkit-linear-gradient(45deg, var(--crimson), #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(255, 0, 85, 0.3));
}
