/* ==========================================================================
   STONEBLOCK MINECRAFT WEBSITE - STYLESHEET
   Design System: Underground Dark Slate, Lava Glow & Fabric Cyan Accents
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700;900&family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;600;700&display=swap');

:root {
  /* Logo Hex Color Palette: Obsidian Dark, Magma Lava, Amethyst Purple & Rune Gold */
  --bg-dark: #0d0b14;
  --bg-surface: #15121f;
  --bg-card: rgba(26, 22, 36, 0.75);
  --bg-glass: rgba(20, 17, 28, 0.7);

  /* Magma Lava (Fiery Orange / Flame Red) */
  --lava-primary: #ff5e00;
  --lava-light: #ff8c00;
  --lava-red: #e63900;
  --lava-glow: rgba(255, 94, 0, 0.4);

  /* Amethyst Crystal (Glowing Purple / Violet) */
  --crystal-purple: #a855f7;
  --crystal-light: #c084fc;
  --crystal-dark: #6b21a8;
  --crystal-glow: rgba(168, 85, 247, 0.4);

  /* Rune Gold (Golden Amber Accent) */
  --rune-gold: #ffb703;
  --rune-gold-glow: rgba(255, 183, 3, 0.4);

  --emerald-green: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.3);

  --text-main: #f8fafc;
  --text-muted: #a09cb0;
  --text-dim: #69647b;

  --border-subtle: rgba(168, 85, 247, 0.15);
  --border-glow: rgba(255, 94, 0, 0.3);
  --border-purple: rgba(168, 85, 247, 0.35);
  --border-gold: rgba(255, 183, 3, 0.35);

  --font-heading: 'Cinzel', serif;
  --font-body: 'Inter', sans-serif;
  --font-code: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
  min-width: 1100px;
  overflow-x: auto;
}

/* Background Particles & Grid Canvas */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.bg-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 50% 15%, rgba(255, 94, 0, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 85% 60%, rgba(168, 85, 247, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 15% 75%, rgba(255, 183, 3, 0.08) 0%, transparent 45%),
    linear-gradient(to bottom, rgba(13, 11, 20, 0.2), rgba(13, 11, 20, 0.96));
  pointer-events: none;
  z-index: 1;
}

/* Content Container - Locked Fixed Proportion */
.app-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  min-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Utility Classes */
.glow-text-lava {
  background: linear-gradient(135deg, #fff 20%, #ff8c00 60%, #ff3b00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px var(--lava-glow);
}

.glow-text-purple,
.glow-text-cyan {
  background: linear-gradient(135deg, #ffffff 10%, #c084fc 60%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px var(--crystal-glow);
}

.glow-text-gold {
  background: linear-gradient(135deg, #ffffff 10%, #ffe066 60%, #ffb703 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px var(--rune-gold-glow);
}

/* Header & Navigation */
/* ── Animated gradient border keyframe ── */
@keyframes borderSpin {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes logoGlow {
  0%, 100% { box-shadow: 0 0 14px rgba(168,85,247,0.5), 0 0 30px rgba(255,94,0,0.15); }
  50%       { box-shadow: 0 0 22px rgba(168,85,247,0.9), 0 0 45px rgba(255,94,0,0.35); }
}

/* Wrapper that creates the animated gradient border */
.navbar-wrapper {
  position: sticky;
  top: 14px;
  z-index: 100;
  margin-top: 14px;
  margin-bottom: 32px;
  border-radius: 22px;
  padding: 2px;                      /* thickness of the gradient border */
  background: linear-gradient(135deg,
    rgba(168,85,247,0.7) 0%,
    rgba(255,94,0,0.55) 30%,
    rgba(255,183,3,0.45) 55%,
    rgba(168,85,247,0.7) 100%);
  background-size: 300% 300%;
  animation: borderSpin 5s ease infinite;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.6),
    0 0 40px rgba(168,85,247,0.12),
    0 0 60px rgba(255,94,0,0.06);
  transition: margin-right 0.2s ease;
}

@media (max-width: 1550px) {
  .navbar-wrapper { margin-right: 90px; }
}

.navbar {
  background: rgba(14, 11, 22, 0.92);
  backdrop-filter: blur(22px) saturate(1.4);
  border-radius: 20px;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* ── Brand ── */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 2px solid rgba(168,85,247,0.6);
  object-fit: cover;
  animation: logoGlow 3s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.nav-brand:hover .nav-logo-img {
  transform: scale(1.08) rotate(-3deg);
}

.nav-brand-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #ffffff 0%, #c084fc 60%, #ff8c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Nav links ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-link {
  position: relative;
  color: rgba(200,190,220,0.8);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 7px 13px;
  border-radius: 10px;
  transition: color 0.22s ease, background 0.22s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--crystal-purple), var(--lava-light));
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(168,85,247,0.1);
}

.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* ── Actions ── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* ── Server IP pill ── */
.server-ip-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(168,85,247,0.08);
  border: 1px solid rgba(168,85,247,0.3);
  border-radius: var(--radius-full);
  padding: 6px 14px 6px 10px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.server-ip-pill:hover {
  background: rgba(168,85,247,0.18);
  border-color: var(--crystal-purple);
  box-shadow: 0 0 18px rgba(168,85,247,0.4), 0 4px 16px rgba(0,0,0,0.5);
  transform: translateY(-2px);
}

/* Language Selector Dropdown - Floating in Top-Right Corner */
.lang-picker {
  position: relative;
  display: inline-block;
}

.lang-picker-corner {
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 1000;
}

.lang-btn {
  background: rgba(18, 14, 28, 0.88);
  backdrop-filter: blur(16px);
  border: 1.5px solid rgba(168, 85, 247, 0.35);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(168, 85, 247, 0.15);
}

.lang-btn:hover {
  background: rgba(26, 21, 40, 0.96);
  border-color: var(--crystal-purple);
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.45), 0 0 20px rgba(168, 85, 247, 0.25);
  transform: translateY(-2px);
}

.lang-flag {
  font-size: 1.05rem;
  line-height: 1;
}

.lang-code {
  letter-spacing: 0.8px;
  font-weight: 800;
}

.lang-chevron {
  transition: transform 0.25s ease;
  color: var(--crystal-light);
}

.lang-picker.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(20, 16, 32, 0.96);
  backdrop-filter: blur(20px);
  border: 1.5px solid rgba(168, 85, 247, 0.35);
  border-radius: var(--radius-md);
  padding: 6px;
  min-width: 155px;
  display: none;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(168, 85, 247, 0.25);
  z-index: 1001;
}

.lang-picker.open .lang-menu {
  display: flex;
  animation: fadeInModal 0.2s ease;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: var(--transition-fast);
}

.lang-option:hover {
  background: rgba(168, 85, 247, 0.2);
  color: #ffffff;
}

.lang-option.active {
  background: rgba(168, 85, 247, 0.28);
  color: #ffffff;
}

.lang-option .lang-opt-check {
  margin-left: auto;
  opacity: 0;
  color: var(--crystal-light);
  font-size: 0.9rem;
}

.lang-option.active .lang-opt-check {
  opacity: 1;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald-green);
  box-shadow: 0 0 10px var(--emerald-green);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.server-ip-text {
  font-family: var(--font-code);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.3px;
}

.copy-badge {
  font-size: 0.7rem;
  color: #0d0b14;
  background: linear-gradient(135deg, var(--crystal-light), var(--lava-light));
  padding: 3px 9px;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 94, 0, 0.12);
  border: 1px solid rgba(255, 94, 0, 0.3);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lava-light);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-normal);
  text-decoration: none;
  border: none;
  outline: none;
}

.btn-primary-lava {
  background: linear-gradient(135deg, var(--lava-primary), var(--lava-light));
  color: #ffffff;
  box-shadow: 0 6px 25px var(--lava-glow);
}

.btn-primary-lava:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(255, 94, 0, 0.5);
}

.btn-secondary-purple,
.btn-secondary-cyan {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid var(--crystal-purple);
  color: var(--crystal-light);
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.2);
}

.btn-secondary-purple:hover,
.btn-secondary-cyan:hover {
  background: rgba(168, 85, 247, 0.22);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--crystal-glow);
  color: #ffffff;
}

.hero-banner-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-purple);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 25px rgba(168, 85, 247, 0.15);
  width: 100%;
  height: 440px;
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.04);
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 1;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Slide Caption Bar */
.slide-caption-bar {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 6;
  background: rgba(13, 11, 20, 0.82);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(168, 85, 247, 0.3);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.slide-caption-title {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.slide-tag {
  position: static !important;
  font-size: 0.72rem !important;
  padding: 3px 10px !important;
  margin: 0 !important;
}

/* Carousel Arrow Buttons */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(13, 11, 20, 0.85);
  border: 1.5px solid var(--border-purple);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.carousel-arrow:hover {
  background: var(--crystal-purple);
  border-color: #ffffff;
  box-shadow: 0 0 20px var(--crystal-glow);
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev {
  left: 14px;
}

.carousel-arrow.next {
  right: 14px;
}

/* Carousel Indicators (Dots) */
.carousel-dots {
  position: absolute;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 8;
  background: rgba(13, 11, 20, 0.6);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.carousel-dot {
  width: 20px;
  height: 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.carousel-dot.active {
  background: var(--crystal-purple);
  width: 32px;
  box-shadow: 0 0 10px var(--crystal-glow);
}

.carousel-dot:hover {
  background: #ffffff;
}

.hero-banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(13, 11, 20, 0.96), transparent);
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 5;
}

.banner-stat {
  display: flex;
  flex-direction: column;
}

.banner-stat-value {
  font-family: var(--font-code);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
}

.banner-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Main Download Versions Section */
.download-section {
  padding: 60px 0;
  scroll-margin-top: 100px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.section-subtitle {
  font-family: var(--font-code);
  color: var(--crystal-light);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  font-weight: 700;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 14px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Download Cards Grid - 2 Columns Centered */
.version-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 480px));
  gap: 32px;
  justify-content: center;
}

.version-card {
  background: linear-gradient(165deg, rgba(26, 21, 38, 0.9) 0%, rgba(16, 13, 25, 0.95) 100%);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(168, 85, 247, 0.4);
  padding: 36px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 15px rgba(168, 85, 247, 0.06);
}

.version-card:hover {
  transform: translateY(-6px);
  border-color: var(--crystal-purple);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(168, 85, 247, 0.3);
}

.version-card.highlight,
.version-card.stable {
  /* Standardized unified theme - all cards have consistent border and background */
  border: 1.5px solid rgba(168, 85, 247, 0.4);
  background: linear-gradient(165deg, rgba(26, 21, 38, 0.9) 0%, rgba(16, 13, 25, 0.95) 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 15px rgba(168, 85, 247, 0.06);
}

.version-card.highlight:hover,
.version-card.stable:hover {
  border-color: var(--crystal-purple);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(168, 85, 247, 0.3);
}

.card-top-tag {
  position: absolute;
  top: -14px;
  right: 28px;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

.tag-purple {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.45);
}

.tag-cyan {
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.4);
}

.tag-lava {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.4);
}

.tag-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.4);
}

.version-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.version-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: var(--crystal-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: var(--transition-fast);
}

.version-card:hover .version-icon-box {
  border-color: var(--crystal-purple);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.35);
  transform: scale(1.05);
}

.version-icon-box.purple,
.version-icon-box.cyan,
.version-icon-box.lava {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: var(--crystal-light);
}

.version-title-wrapper {
  display: flex;
  flex-direction: column;
}

.version-number {
  font-family: var(--font-code);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.version-loader {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--crystal-light);
}

.version-features-list {
  list-style: none;
  margin: 24px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feature-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--crystal-light);
}

.feature-item.purple svg,
.feature-item.cyan svg,
.feature-item.lava svg {
  color: var(--crystal-light);
}

.download-btn-full {
  width: 100%;
  padding: 16px 20px;
  font-size: 1.02rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 22px rgba(168, 85, 247, 0.32) !important;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

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

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

.download-btn-full:hover {
  background: linear-gradient(135deg, #b86bfc 0%, #9333ea 100%) !important;
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.5) !important;
  transform: translateY(-2px);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.35);
}

.download-btn-full svg {
  color: #ffffff;
  transition: transform 0.2s ease;
}

.download-btn-full:hover svg {
  transform: translateY(2px);
}

/* Offline / disabled download button */
.download-btn-offline,
.download-btn-offline:hover {
  background: linear-gradient(135deg, #3a3a3a 0%, #252525 100%) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #666 !important;
  cursor: not-allowed !important;
  transform: none !important;
  opacity: 0.65;
}

.download-btn-offline svg {
  color: #666 !important;
}

.download-btn-offline::before {
  display: none;
}

/* Features Showcase Section */
.features-section {
  padding: 60px 0;
}

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

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition-fast);
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.feature-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--lava-light);
}

.feature-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.feature-card-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Mod Explorer Section */
.mods-section {
  padding: 60px 0;
}

.mod-search-bar {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.search-input-wrapper {
  flex: 1;
  min-width: 260px;
  position: relative;
}

.search-input {
  width: 100%;
  background: rgba(21, 18, 31, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px 14px 44px;
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.search-input:focus {
  border-color: var(--crystal-purple);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.25);
}

.search-icon-inside {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

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

.filter-tag-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-tag-btn.active,
.filter-tag-btn:hover {
  background: rgba(168, 85, 247, 0.18);
  border-color: var(--crystal-purple);
  color: var(--crystal-light);
}

.mods-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.mod-chip {
  background: rgba(26, 22, 36, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition-fast);
}

.mod-chip:hover {
  border-color: var(--border-purple);
  transform: translateX(4px);
}

.mod-chip-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.mod-chip-info {
  display: flex;
  flex-direction: column;
}

.mod-chip-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.mod-chip-cat {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* Gallery Section - Locked Fixed 2 Columns */
.gallery-section {
  padding: 60px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
}

.gallery-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-img {
  transform: scale(1.04);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(13, 11, 20, 0.96), transparent);
  font-weight: 600;
  font-size: 1rem;
}

/* FAQ Accordion Section */
.faq-section {
  padding: 60px 0 100px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  width: 100%;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question svg {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--crystal-purple);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 4px;
}

/* Modal Popup System */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 6, 14, 0.88);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-purple);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 650px;
  padding: 32px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.modal-subtitle {
  color: var(--crystal-light);
  font-family: var(--font-code);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.launcher-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
}

.tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.tab-btn.active {
  background: rgba(168, 85, 247, 0.15);
  color: var(--crystal-light);
}

.step-item {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--crystal-purple);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.step-text {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.modal-direct-btn {
  margin-top: 24px;
  width: 100%;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 2000;
}

.toast {
  background: rgba(18, 22, 34, 0.95);
  border: 1px solid var(--emerald-green);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  border-radius: var(--radius-md);
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  animation: slideInToast 0.3s ease forwards;
}

@keyframes slideInToast {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

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

/* Premium Footer Styling */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, rgba(14, 18, 28, 0.6) 0%, rgba(8, 10, 15, 0.95) 100%);
  backdrop-filter: blur(16px);
  padding: 50px 0 40px;
  margin-top: 80px;
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand-box {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1.5px solid var(--crystal-purple);
  box-shadow: 0 0 12px var(--crystal-glow);
}

.footer-brand-info {
  display: flex;
  flex-direction: column;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 1px;
}

.footer-brand-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--crystal-purple);
  text-shadow: 0 0 10px var(--crystal-glow);
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
  margin: 32px 0 24px;
}

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

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

.footer-copyright strong {
  color: var(--text-main);
}

.footer-disclaimer {
  color: var(--text-dim);
  font-size: 0.78rem;
  max-width: 680px;
  line-height: 1.5;
}

/* Responsive Media Queries - Smooth Mobile Breakpoint */
@media (max-width: 640px) {
  .hero-description {
    margin: 0 auto 32px;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .nav-links {
    display: none;
  }

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

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