/* =============================================
   1. VARIABLES & RESET
============================================= */
:root {
  /* Colors */
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-card: #1a1f2e;
  --bg-card-hover: #1f2537;
  --border: #2a3040;
  --border-hover: #3b4560;
  --text-primary: #e8edf5;
  --text-secondary: #8892a4;
  --text-muted: #5c6478;
  --accent-blue: #3b82f6;
  --accent-blue-hover: #60a5fa;
  --accent-red: #ef4444;
  --accent-red-hover: #f87171;
  --accent-green: #22c55e;
  --accent-gold: #f59e0b;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-glow-blue: 0 0 20px rgba(59, 130, 246, 0.3);
  --shadow-glow-red: 0 0 20px rgba(239, 68, 68, 0.3);
  --shadow-glow-green: 0 0 20px rgba(34, 197, 94, 0.3);
  --shadow-glow-gold: 0 0 20px rgba(245, 158, 11, 0.2);

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a img {
  pointer-events: auto;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* =============================================
   2. BASE TYPOGRAPHY
============================================= */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

/* =============================================
   3. LOADING SCREEN
============================================= */
#loading-screen {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

.loading-logo {
  width: 80px;
  animation: pulse 1.5s ease-in-out infinite;
}

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

.loading-bar {
  width: 200px;
  height: 3px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.loading-bar-fill {
  width: 0;
  height: 100%;
  background: var(--accent-blue);
  border-radius: var(--radius-full);
  animation: loadingProgress 2s ease-in-out forwards;
}

@keyframes loadingProgress {
  0% { width: 0; }
  50% { width: 70%; }
  100% { width: 100%; }
}

/* =============================================
   4. VIDEO BACKGROUND & OVERLAY
============================================= */
.video-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 23, 0.82);
  z-index: -1;
}

/* =============================================
   ANNOUNCEMENT BANNER
============================================= */
.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: linear-gradient(90deg, #1e1b4b, #1e3a5f, #1e1b4b);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  animation: announcementShimmer 6s linear infinite;
  background-size: 200% auto;
}

@keyframes announcementShimmer {
  to { background-position: 200% center; }
}

.announcement-bar-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.2s;
  flex-wrap: wrap;
}

.announcement-bar-link:hover {
  color: var(--text-primary);
}

.announcement-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--accent-blue);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.announcement-bar-text {
  font-weight: 600;
  color: var(--text-primary);
}

.announcement-bar-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent-blue-hover);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .announcement-bar-link {
    font-size: 12px;
    gap: 8px;
    padding: 8px 12px;
  }

  .announcement-bar-text {
    display: none;
  }
}

/* =============================================
   5. HEADER & NAVIGATION
============================================= */
.site-header {
  position: fixed;
  top: 40px;
  left: 0;
  width: 100%;
  padding: var(--space-md) 5%;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(10, 14, 23, 0.95);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
}

.header-logo-link {
  display: flex;
  align-items: center;
}

.header-logo {
  height: 38px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.main-nav a {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 14px;
  transition: color var(--transition-fast);
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text-primary);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-blue);
  border-radius: var(--radius-full);
}

.nav-cta {
  background: var(--accent-blue) !important;
  color: white !important;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  transition: background var(--transition-fast), transform var(--transition-fast) !important;
}

.nav-cta:hover {
  background: var(--accent-blue-hover) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: var(--radius-full);
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

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

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

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

/* =============================================
   6. MOBILE NAVIGATION
============================================= */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 23, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

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

.mobile-nav nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}

.mobile-nav a {
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  transition: color var(--transition-fast);
}

.mobile-nav a:hover {
  color: var(--accent-blue);
}

.mobile-nav-cta {
  background: var(--accent-blue);
  padding: 12px 32px;
  border-radius: var(--radius-md);
  margin-top: var(--space-md);
}

/* =============================================
   7. HERO SECTION
============================================= */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 140px 20px 60px;
  position: relative;
  text-align: center;
}

.hero-content {
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--accent-blue-hover);
  padding: 6px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  margin-bottom: var(--space-md);
  letter-spacing: -1px;
  background: linear-gradient(135deg, var(--text-primary) 40%, var(--accent-blue-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-slogan {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: var(--space-xl);
}

.hero-stats {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.stat-card {
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 160px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-green);
}

.stat-number small {
  font-size: 1rem;
  color: var(--text-secondary);
}

.melonly-card .stat-number {
  color: var(--accent-gold);
}

.melonly-card .stat-label {
  color: var(--accent-gold);
}

.server-card .stat-number {
  color: var(--accent);
}

.server-status-icon {
  color: var(--text-secondary);
  animation: pulse-dot 2s ease-in-out infinite;
  vertical-align: middle;
  margin-right: 4px;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s ease infinite;
}

.chevron {
  display: block;
  width: 28px;
  height: 28px;
  border-right: 2px solid var(--text-secondary);
  border-bottom: 2px solid var(--text-secondary);
  transform: rotate(45deg);
  opacity: 0.5;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* =============================================
   8. BUTTONS
============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-red);
  color: white;
  box-shadow: var(--shadow-glow-red);
}

.btn-primary:hover {
  background: var(--accent-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  background: var(--border);
  border-color: var(--border-hover);
}

.btn-faction {
  background: var(--accent-blue);
  color: white;
  box-shadow: var(--shadow-glow-blue);
}

.btn-faction:hover {
  background: var(--accent-blue-hover);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 13px;
}

/* =============================================
   9. SECTIONS BASE
============================================= */
.section {
  padding: var(--space-3xl) 5%;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  flex-shrink: 0;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
}

/* =============================================
   10. ABOUT / FEATURES
============================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: center;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-glow-blue);
}

.feature-icon {
  margin-bottom: var(--space-md);
  color: var(--accent-blue);
}

.feature-icon svg {
  width: 36px;
  height: 36px;
}

.star-icon {
  color: var(--accent-gold);
  vertical-align: middle;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =============================================
   11. VIDEO FACADE (Lazy YouTube)
============================================= */
.video-facade {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-facade.loaded {
  cursor: default;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  pointer-events: none;
}

.video-facade:hover .video-thumbnail {
  transform: scale(1.03);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.9;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  z-index: 2;
}

.video-facade:hover .video-play-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.video-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: var(--space-xl) var(--space-lg) var(--space-md);
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 600;
  z-index: 1;
}

.video-facade iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* =============================================
   12. FACTIONS
============================================= */
.factions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.faction-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.faction-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-glow-blue);
}

.faction-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px;
  margin-bottom: var(--space-md);
  pointer-events: none;
}

.faction-card h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
}

.faction-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: var(--space-md);
}

.faction-card .btn {
  width: 100%;
  margin-top: auto;
}

/* =============================================
   13. RESOURCES
============================================= */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
}

.resource-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.resource-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-glow-blue);
}

.resource-comisaria:hover {
  border-color: var(--accent-green);
  box-shadow: var(--shadow-glow-green);
}

.resource-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.resource-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.resource-card h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}

.resource-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: var(--space-md);
}

.resource-link {
  color: var(--accent-blue);
  font-weight: 600;
  font-size: 14px;
  transition: color var(--transition-fast);
}

.resource-card:hover .resource-link {
  color: var(--accent-blue-hover);
}

/* =============================================
   14. GALLERY
============================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 260px;
  background: var(--bg-primary);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  pointer-events: none;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.08);
}

.gallery-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  padding: var(--space-xl) var(--space-md) var(--space-md);
  color: white;
  font-weight: 600;
  font-size: 14px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover figcaption {
  opacity: 1;
}

/* =============================================
   15. NEWS
============================================= */
.news-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.news-card:hover {
  transform: scale(1.01);
  border-color: var(--accent-blue);
}

.news-card-image {
  width: 200px;
  height: 200px;
  object-fit: cover;
  flex-shrink: 0;
  pointer-events: none;
}

.news-card-body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 0;
}

.news-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.news-card-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: var(--space-md);
}

.news-footer {
  display: block;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

/* Skeleton Loading */
.news-skeleton {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  overflow: hidden;
}

.skeleton-img {
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease infinite;
}

.skeleton-content {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.skeleton-line {
  height: 14px;
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease infinite;
  border-radius: var(--radius-sm);
  width: 80%;
}

.skeleton-title {
  height: 20px;
  width: 60%;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* =============================================
   16. TESTIMONIALS
============================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: left;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
}

.testimonial-stars {
  color: var(--accent-gold);
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: var(--space-lg);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: white;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 14px;
  color: var(--text-primary);
}

.testimonial-author span {
  font-size: 12px;
  color: var(--text-muted);
}

/* =============================================
   17. STORE & VIP
============================================= */
.store-tabs {
  display: flex;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-xl);
}

.store-tab {
  flex: 1;
  padding: var(--space-md) var(--space-lg);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  border: none;
  background: none;
}

.store-tab:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}

.store-tab.active {
  background: var(--accent-blue);
  color: white;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

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

/* VIP Grid */
.vip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
}

.vip-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.vip-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-glow-gold);
}

.vip-card-img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  margin-bottom: var(--space-md);
  border-radius: var(--radius-sm);
}

.vip-card h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
}

.vip-card-price {
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.vip-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.vip-card .btn {
  width: 100%;
}

/* Shop Tables */
.tab-panel h3 {
  font-size: 1.3rem;
  margin: var(--space-xl) 0 var(--space-md);
  text-align: center;
  color: var(--text-primary);
}

.tab-panel h3:first-child {
  margin-top: 0;
}

.tab-panel-desc {
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: var(--space-xl);
  margin-top: calc(-1 * var(--space-sm));
}

.shop-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-xl);
  font-size: 14px;
}

.shop-table th,
.shop-table td {
  padding: var(--space-md);
  border: 1px solid var(--border);
  text-align: left;
}

.shop-table thead {
  background: var(--bg-primary);
  font-family: var(--font-heading);
}

.shop-table tbody tr {
  transition: background var(--transition-fast);
}

.shop-table tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.15);
}

.shop-table tbody tr:hover {
  background: var(--border);
}

/* ---- Robux Cards ---- */
.robux-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.robux-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.robux-card:hover {
  transform: translateY(-4px);
  border-color: #00b2ff;
  box-shadow: 0 0 24px rgba(0, 178, 255, 0.2);
}

.robux-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}

.robux-card-header h4 {
  font-size: 1.25rem;
  color: var(--text-primary);
}

.robux-price {
  background: linear-gradient(135deg, #00b2ff, #0066ff);
  color: white;
  font-weight: 800;
  font-size: 1rem;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
}

.robux-benefits {
  list-style: none;
  flex-grow: 1;
  margin-bottom: var(--space-lg);
}

.robux-benefits li {
  padding: var(--space-sm) 0;
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.robux-benefits li::before {
  content: '✓';
  color: var(--accent-green);
  font-weight: 700;
  flex-shrink: 0;
}

.robux-card .btn {
  width: 100%;
  text-align: center;
}

/* ---- Boost Cards ---- */
.boost-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.boost-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.boost-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f47fff, #7b68ee);
}

.boost-card:hover {
  transform: translateY(-4px);
  border-color: #f47fff;
  box-shadow: 0 0 24px rgba(244, 127, 255, 0.15);
}

.boost-card-premium::before {
  height: 4px;
  background: linear-gradient(90deg, #f47fff, #7b68ee, #f47fff);
  background-size: 200% auto;
  animation: boostShimmer 3s linear infinite;
}

@keyframes boostShimmer {
  to { background-position: 200% center; }
}

.boost-card-badge {
  display: inline-block;
  background: linear-gradient(135deg, #f47fff, #7b68ee);
  color: white;
  font-weight: 800;
  font-size: 14px;
  padding: 6px 20px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
}

.boost-card-icon {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
  color: #f47fff;
}

.boost-benefits {
  list-style: none;
  text-align: left;
}

.boost-benefits li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.boost-benefits li:last-child {
  border-bottom: none;
}

.boost-benefits li::before {
  content: '';
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f47fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'%3E%3C/polygon%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

/* ---- Mystery Box ---- */
.mystery-intro {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.08));
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-xl) var(--space-lg);
  text-align: center;
  margin-bottom: var(--space-xl);
}

.mystery-intro-icon {
  color: #a855f7;
  margin-bottom: var(--space-md);
  animation: mysteryFloat 3s ease-in-out infinite;
}

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

.mystery-intro h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, #a855f7, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mystery-intro p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto var(--space-sm);
}

.mystery-how-it-works {
  margin-bottom: var(--space-xl);
}

.mystery-how-it-works h3 {
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: var(--space-lg);
}

.mystery-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg);
}

.mystery-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.mystery-step:hover {
  transform: translateY(-3px);
  border-color: #a855f7;
}

.mystery-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-family: var(--font-heading);
}

.mystery-step h4 {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.mystery-step p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.mystery-category {
  margin-bottom: var(--space-xl);
}

.mystery-category-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border);
}

.mystery-category-header svg {
  color: #a855f7;
  flex-shrink: 0;
}

.mystery-category-header h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
}

.mystery-box-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-md);
}

.mystery-box-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.mystery-box-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.mystery-box-item:hover {
  transform: translateY(-4px);
}

.mystery-box-wide {
  grid-column: 1 / -1;
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}

.mystery-tier-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}

/* Tier colors */
.mystery-tier-legendary::before { background: linear-gradient(90deg, #f59e0b, #eab308); }
.mystery-tier-legendary:hover { border-color: #f59e0b; box-shadow: 0 0 20px rgba(245, 158, 11, 0.2); }
.mystery-tier-legendary .mystery-tier-badge { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }

.mystery-tier-epic::before { background: linear-gradient(90deg, #a855f7, #7c3aed); }
.mystery-tier-epic:hover { border-color: #a855f7; box-shadow: 0 0 20px rgba(168, 85, 247, 0.2); }
.mystery-tier-epic .mystery-tier-badge { background: rgba(168, 85, 247, 0.15); color: #a855f7; }

.mystery-tier-rare::before { background: linear-gradient(90deg, #3b82f6, #2563eb); }
.mystery-tier-rare:hover { border-color: #3b82f6; box-shadow: 0 0 20px rgba(59, 130, 246, 0.2); }
.mystery-tier-rare .mystery-tier-badge { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }

.mystery-tier-uncommon::before { background: linear-gradient(90deg, #22c55e, #16a34a); }
.mystery-tier-uncommon:hover { border-color: #22c55e; box-shadow: 0 0 20px rgba(34, 197, 94, 0.2); }
.mystery-tier-uncommon .mystery-tier-badge { background: rgba(34, 197, 94, 0.15); color: #22c55e; }

.mystery-tier-common::before { background: var(--text-muted); }
.mystery-tier-common:hover { border-color: var(--text-secondary); box-shadow: 0 0 20px rgba(92, 100, 120, 0.15); }
.mystery-tier-common .mystery-tier-badge { background: rgba(92, 100, 120, 0.15); color: var(--text-secondary); }

.mystery-box-item h5 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.mystery-box-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

.mystery-box-price {
  display: inline-block;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--accent-gold);
  font-family: var(--font-heading);
}

.mystery-box-general {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.mystery-general-rewards {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.mystery-general-rewards h5 {
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.mystery-general-rewards ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-xs);
}

.mystery-general-rewards li {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  transition: background var(--transition-fast);
}

.mystery-general-rewards li:hover {
  background: var(--bg-card-hover);
}

.mystery-general-rewards li::before {
  content: '•';
  font-weight: 700;
  flex-shrink: 0;
}

.reward-legendary::before { color: #f59e0b !important; }
.reward-legendary { color: #f59e0b; }
.reward-epic::before { color: #a855f7 !important; }
.reward-epic { color: #c084fc; }
.reward-rare::before { color: #3b82f6 !important; }
.reward-rare { color: #60a5fa; }
.reward-uncommon::before { color: #22c55e !important; }
.reward-uncommon { color: #4ade80; }
.reward-common::before { color: var(--text-muted) !important; }
.reward-common { color: var(--text-secondary); }

.mystery-disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  line-height: 1.6;
}

/* =============================================
   18. TEAM
============================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: center;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-blue);
}

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto var(--space-md);
  border: 3px solid var(--border);
  background: var(--bg-secondary);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.team-card h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
}

.team-role {
  display: inline-block;
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent-blue-hover);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =============================================
   19. FOOTER
============================================= */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: var(--space-2xl) 5% var(--space-lg);
  flex-shrink: 0;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-logo {
  width: 60px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links h4,
.footer-social h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

.social-icons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--transition-fast);
}

.social-icons a:hover {
  border-color: var(--accent-blue);
  transform: translateY(-2px);
}

.social-icons svg {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.social-icons a:hover svg {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--space-lg);
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

/* =============================================
   20. MODAL
============================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

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

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.modal.open .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  color: var(--text-secondary);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: color var(--transition-fast);
  background: none;
  border: none;
  z-index: 1;
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.modal-vip-image {
  width: 100%;
  max-height: 160px;
  object-fit: contain;
  margin-bottom: var(--space-md);
  border-radius: var(--radius-sm);
}

.modal-header h2 {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.modal-vip-price {
  color: var(--accent-gold);
  font-size: 1.3rem;
  font-weight: 700;
}

.modal-benefits {
  list-style: none;
  margin-bottom: var(--space-lg);
}

.modal-benefits li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.modal-benefits li::before {
  content: '✓';
  color: var(--accent-green);
  font-weight: 700;
  flex-shrink: 0;
}

.modal-buy-btn {
  width: 100%;
  text-align: center;
}

/* =============================================
   21. FLOATING BUTTON
============================================= */
.floating-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #5865F2;
  color: white;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14px;
  z-index: 900;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  text-decoration: none;
}

.floating-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(88, 101, 242, 0.4);
}

.floating-btn img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  pointer-events: none;
}

.floating-btn span {
  display: none;
}

.floating-btn:hover span {
  display: inline;
}

/* =============================================
   22. SPOILER (Discord)
============================================= */
.spoiler {
  background: var(--bg-primary);
  color: transparent;
  border-radius: 3px;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.spoiler:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

/* =============================================
   23. RESPONSIVE
============================================= */

/* Tablet Landscape */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

/* Tablet Portrait / Large Phone */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .section {
    padding: var(--space-2xl) 5%;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
  }

  .stat-card {
    width: 100%;
    max-width: 280px;
  }

  .factions-grid,
  .resources-grid,
  .testimonials-grid,
  .vip-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

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

  .news-card {
    flex-direction: column;
  }

  .news-card-image {
    width: 100%;
    height: 180px;
  }

  .news-skeleton {
    flex-direction: column;
  }

  .skeleton-img {
    width: 100%;
    height: 180px;
  }

  .store-tabs {
    flex-direction: column;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-links {
    align-items: center;
  }

  .footer-social {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .floating-btn span {
    display: none !important;
  }

  .shop-table {
    font-size: 12px;
  }

  .shop-table th,
  .shop-table td {
    padding: var(--space-sm);
  }

  .robux-cards,
  .boost-cards {
    grid-template-columns: 1fr;
  }

  .mystery-box-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .mystery-general-rewards ul {
    grid-template-columns: 1fr;
  }
}

/* Small Phone */
@media (max-width: 480px) {
  .hero {
    padding: 80px 16px 40px;
  }

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

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

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

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

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

  .features-grid {
    gap: var(--space-md);
  }

  .feature-card {
    padding: var(--space-lg);
  }

  .mystery-box-grid {
    grid-template-columns: 1fr;
  }
}

/* Large Desktop */
@media (min-width: 1400px) {
  .section-container {
    max-width: 1400px;
  }

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

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .section {
    opacity: 1;
    transform: none;
  }
}
