/* ==========================================================================
   NEW ERA COMMUNITY - Modern Dark Blue & Pitch Black Theme
   Inspired by FiveM premium roleplay portals (e.g. Everfall Community)
   ========================================================================== */

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

:root {
  --bg-black: #020617;
  --bg-navy-950: #050b1a;
  --bg-navy-900: #0a1329;
  --bg-navy-800: #0f1d3e;
  --bg-card: rgba(10, 20, 44, 0.75);
  --bg-card-hover: rgba(16, 32, 70, 0.85);
  --bg-glass: rgba(6, 12, 28, 0.85);

  --border-subtle: rgba(59, 130, 246, 0.18);
  --border-bright: rgba(56, 189, 248, 0.45);
  --border-card: rgba(37, 99, 235, 0.25);

  --accent-blue: #2563eb;
  --accent-blue-hover: #1d4ed8;
  --accent-cyan: #38bdf8;
  --accent-cyan-glow: rgba(56, 189, 248, 0.35);
  --accent-purple: #818cf8;
  --accent-pink: #ec4899;
  --accent-pink-glow: rgba(236, 72, 153, 0.35);
  --accent-rose: #f43f5e;

  --text-white: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --status-online: #10b981;
  --status-maintenance: #f59e0b;
  --status-offline: #ef4444;

  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Rajdhani', var(--font-main);

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

  --shadow-glow: 0 0 35px rgba(37, 99, 235, 0.25);
  --shadow-cyan-glow: 0 0 25px rgba(56, 189, 248, 0.28);
  --shadow-pink-glow: 0 0 25px rgba(236, 72, 153, 0.3);
}

/* Base Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-black);
  color: var(--text-white);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  background: radial-gradient(circle at 50% 0%, #0a193c 0%, #030712 65%, #020617 100%);
  background-attachment: fixed;
  color: var(--text-white);
  line-height: 1.6;
}

/* Subtle futuristic background grid overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.25s ease;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Announcement Banner
   ========================================================================== */
.announcement-banner {
  background: linear-gradient(90deg, #1e3a8a 0%, #0284c7 50%, #1e3a8a 100%);
  background-size: 200% auto;
  animation: shineGradient 6s linear infinite;
  color: #ffffff;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes shineGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.announcement-banner .banner-close {
  position: absolute;
  right: 20px;
  background: transparent;
  color: #fff;
  font-size: 1.2rem;
  padding: 2px 8px;
  opacity: 0.8;
}
.announcement-banner .banner-close:hover {
  opacity: 1;
}

/* ==========================================================================
   Navigation Bar (Everfall Glass Header)
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 90;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--bg-glass);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
}

.nav-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.45));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover .nav-logo-img {
  transform: scale(1.06);
  filter: drop-shadow(0 0 16px rgba(236, 72, 153, 0.65));
}

.logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #1d4ed8 0%, #ec4899 100%);
  border: 1px solid rgba(244, 114, 182, 0.6);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.4);
}

.logo-text span {
  background: linear-gradient(135deg, #38bdf8 0%, #f472b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-links a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  transition: width 0.3s ease;
  border-radius: 2px;
}

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

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  font-size: 0.9rem;
  font-weight: 600;
}
.btn-ghost:hover {
  background: rgba(37, 99, 235, 0.15);
  border-color: var(--accent-blue);
  color: #ffffff;
}

.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  background: #5865F2;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.35);
}
.btn-discord:hover {
  background: #4752c4;
  transform: translateY(-1px);
}

/* User Discord Authentication in Navbar */
.nav-user-auth {
  display: flex;
  align-items: center;
}

.btn-discord-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #5865F2;
  color: #ffffff;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.35);
}

.btn-discord-login:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.55);
}

.user-profile-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(88, 101, 242, 0.45);
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
}

.user-profile-pill:hover {
  border-color: #5865F2;
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.35);
}

.user-avatar-wrap {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: visible;
  flex-shrink: 0;
}

.user-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #5865F2;
  background: #1e1f22;
  display: block;
}

.user-online-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #23a55a;
  border: 2px solid #0b1120;
}

.user-meta-info {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.user-display-name {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: #ffffff;
  max-width: 110px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-verified-badge {
  font-size: 0.65rem;
  color: #38bdf8;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn-user-logout {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
  margin-left: 2px;
}

.btn-user-logout:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.15);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #1d4ed8 0%, #ec4899 100%);
  border: 1px solid rgba(244, 114, 182, 0.5);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #f43f5e 100%);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(236, 72, 153, 0.55);
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 50%, #2563eb 100%);
  background-size: 200% auto;
  border: 1px solid rgba(244, 114, 182, 0.6);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.45), 0 4px 15px rgba(37, 99, 235, 0.3);
  transition: all 0.3s ease;
}
.btn-store:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(236, 72, 153, 0.7), 0 6px 22px rgba(37, 99, 235, 0.45);
  color: #ffffff;
}

.mobile-toggle {
  display: none;
  background: transparent;
  color: #ffffff;
  font-size: 1.6rem;
}

/* ==========================================================================
   Hero Section & Background Video Trailer
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 100px 0 70px 0;
  text-align: center;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

/* Hero Background Video Container */
.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-video-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 aspect */
  min-height: 100%;
  min-width: 177.78vh; /* 16:9 aspect */
  transform: translate(-50%, -50%);
}

.hero-video-wrapper iframe,
.hero-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  opacity: 0.55;
  filter: contrast(1.15) saturate(1.2);
  pointer-events: none;
}

/* Dark Blue & Pitch Black Gradient Overlay so text is 100% readable */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 25%, rgba(10, 19, 41, 0.65) 0%, rgba(3, 7, 18, 0.88) 75%, #020617 100%);
  z-index: 1;
  pointer-events: none;
}

/* Futuristic background glow orb behind hero */
.hero-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 850px;
  height: 480px;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.3) 0%, rgba(236, 72, 153, 0.15) 45%, transparent 75%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 1;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  background: rgba(10, 20, 44, 0.85);
  border: 1px solid rgba(236, 72, 153, 0.4);
  box-shadow: 0 0 15px rgba(236, 72, 153, 0.2);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

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

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* 3D Official Community Logo in Hero */
.hero-logo-wrapper {
  margin: 10px auto 26px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-logo-img {
  width: 270px;
  max-width: 85vw;
  height: auto;
  object-fit: contain;
  animation: heroLogoFloat 4.5s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(236, 72, 153, 0.5)) drop-shadow(0 0 35px rgba(56, 189, 248, 0.45));
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.3s ease;
}

.hero-logo-img:hover {
  transform: scale(1.05);
}

@keyframes heroLogoFloat {
  0%, 100% {
    transform: translateY(0px) scale(1);
    filter: drop-shadow(0 18px 36px rgba(236, 72, 153, 0.45)) drop-shadow(0 0 28px rgba(56, 189, 248, 0.4));
  }
  50% {
    transform: translateY(-10px) scale(1.025);
    filter: drop-shadow(0 28px 50px rgba(236, 72, 153, 0.65)) drop-shadow(0 0 42px rgba(56, 189, 248, 0.6));
  }
}

.footer-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(236, 72, 153, 0.4));
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-shadow: 0 0 50px rgba(37, 99, 235, 0.5), 0 0 25px rgba(236, 72, 153, 0.3);
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #93c5fd 35%, #f472b6 75%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  max-width: 780px;
  margin: 0 auto 28px auto;
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   7-Bar Interactive Roleplay & Server Connect Showcase
   (Inspired by multi-character vertical hero gallery)
   ========================================================================== */
.hero-showcase-container {
  position: relative;
  max-width: 1240px;
  margin: 28px auto 14px auto;
  width: 100%;
}

.hero-watermark-text {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(3.5rem, 9.5vw, 8.2rem);
  font-weight: 900;
  letter-spacing: 6px;
  color: rgba(255, 255, 255, 0.035);
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
  text-shadow: 0 0 45px rgba(236, 72, 153, 0.18);
  user-select: none;
}

.hero-role-bars {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 12px;
  align-items: stretch;
  justify-content: center;
  min-height: 440px;
  contain: layout;
}

.role-bar {
  flex: 1;
  min-width: 0;
  position: relative;
  background: #080d19;
  background: linear-gradient(180deg, rgba(14, 23, 42, 0.85) 0%, rgba(6, 10, 20, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 12px;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  contain: paint;
  will-change: transform;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.22s ease,
              border-color 0.2s ease,
              opacity 0.2s ease;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
}

.hero-role-bars:hover .role-bar:not(:hover):not(.role-bar-center) {
  opacity: 0.72;
}

.role-bar:hover {
  transform: translate3d(0, -10px, 0);
  -webkit-transform: translate3d(0, -10px, 0);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.85), 0 0 28px var(--bar-accent-glow);
  z-index: 10;
}

.role-bar-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
  contain: strict;
}

.role-art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: translate3d(0, 0, 0) scale(1);
  -webkit-transform: translate3d(0, 0, 0) scale(1);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.role-bar:hover .role-art-img {
  transform: translate3d(0, 0, 0) scale(1.06);
  -webkit-transform: translate3d(0, 0, 0) scale(1.06);
}

.role-bar-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 7, 18, 0.15) 0%, rgba(3, 7, 18, 0.4) 40%, rgba(3, 7, 18, 0.95) 100%);
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.role-bar-badge {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(3, 7, 18, 0.72);
  backdrop-filter: blur(6px);
  color: #e2e8f0;
  white-space: nowrap;
  text-transform: uppercase;
}

.role-bar-content {
  position: relative;
  z-index: 3;
  text-align: center;
}

.role-category {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--bar-accent);
  margin-bottom: 2px;
}

.role-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.role-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transition: all 0.2s ease;
  opacity: 0.88;
}

.role-bar:hover .role-action-btn {
  background: var(--bar-accent);
  color: #ffffff;
  border-color: var(--bar-accent);
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--bar-accent-glow);
}

/* Individual Bar Color Accents */
.role-bar-police {
  --bar-accent: #3b82f6;
  --bar-accent-glow: rgba(59, 130, 246, 0.45);
  border-top: 3.5px solid #3b82f6;
}

.role-bar-mechanic {
  --bar-accent: #f97316;
  --bar-accent-glow: rgba(249, 115, 22, 0.45);
  border-top: 3.5px solid #f97316;
}

.role-bar-gang {
  --bar-accent: #a855f7;
  --bar-accent-glow: rgba(168, 85, 247, 0.45);
  border-top: 3.5px solid #a855f7;
}

.role-bar-sheriff {
  --bar-accent: #f59e0b;
  --bar-accent-glow: rgba(245, 158, 11, 0.45);
  border-top: 3.5px solid #f59e0b;
}

.role-bar-medical {
  --bar-accent: #f43f5e;
  --bar-accent-glow: rgba(244, 63, 94, 0.45);
  border-top: 3.5px solid #f43f5e;
}

.role-bar-citizen {
  --bar-accent: #38bdf8;
  --bar-accent-glow: rgba(56, 189, 248, 0.45);
  border-top: 3.5px solid #38bdf8;
}

/* Center Bar: START GAME */
.role-bar-center {
  flex: 1.25;
  background: radial-gradient(circle at 50% 30%, rgba(236, 72, 153, 0.35) 0%, rgba(190, 24, 93, 0.6) 45%, #050811 100%);
  border: 2px solid #ec4899;
  box-shadow: 0 0 35px rgba(236, 72, 153, 0.45), 0 16px 36px rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px 14px;
}

.role-bar-center:hover {
  transform: translate3d(0, -12px, 0);
  -webkit-transform: translate3d(0, -12px, 0);
  box-shadow: 0 0 55px rgba(236, 72, 153, 0.75), 0 24px 45px rgba(0, 0, 0, 0.95);
  border-color: #f472b6;
  z-index: 12;
}

.center-card-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.12;
  pointer-events: none;
  overflow: hidden;
}

.center-watermark-logo {
  width: 130%;
  height: auto;
  object-fit: contain;
  filter: blur(1px);
}

.center-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.center-play-button {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #ffffff;
  color: #db2777;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px #ffffff, 0 0 20px rgba(236, 72, 153, 0.6);
  margin-bottom: 16px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.role-bar-center:hover .center-play-button {
  transform: scale(1.12);
  box-shadow: 0 0 45px #ffffff, 0 0 35px #ec4899;
}

.center-play-button svg {
  margin-left: 3px;
}

.center-start-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #ffffff;
  margin-bottom: 8px;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.6);
}

.center-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(3, 7, 18, 0.75);
  border: 1px solid rgba(236, 72, 153, 0.4);
  padding: 4px 12px;
  border-radius: 999px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  color: #fdf2f8;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.center-quick-ip {
  background: rgba(3, 7, 18, 0.6);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  padding: 3px 10px;
  border-radius: 6px;
}

.center-quick-ip code {
  font-size: 0.72rem;
  color: #93c5fd;
  font-family: monospace;
}

/* Responsive Bar Layout */
@media (max-width: 1100px) {
  .hero-role-bars {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .role-bar {
    flex: 0 0 160px;
    min-height: 400px;
    scroll-snap-align: center;
  }
  .role-bar-center {
    flex: 0 0 190px;
  }
}

@media (max-width: 680px) {
  .hero-role-bars {
    gap: 10px;
  }
  .role-bar {
    flex: 0 0 145px;
    min-height: 360px;
  }
  .role-bar-center {
    flex: 0 0 175px;
  }
  .role-title {
    font-size: 1rem;
  }
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-buttons .btn-primary {
  padding: 14px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.hero-buttons .btn-ghost {
  padding: 14px 28px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
  background: rgba(10, 20, 44, 0.8);
  backdrop-filter: blur(10px);
}

/* Trailer Audio / Pause Floating Controls */
.trailer-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.trailer-control-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(10, 20, 44, 0.75);
  border: 1px solid rgba(236, 72, 153, 0.3);
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: all 0.2s ease;
}

.trailer-control-btn:hover {
  background: rgba(236, 72, 153, 0.2);
  border-color: var(--accent-pink);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(236, 72, 153, 0.3);
}

/* Server IP Quick Copy Box */
.server-ip-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  background: rgba(10, 20, 44, 0.8);
  border: 1px dashed var(--border-bright);
  border-radius: var(--radius-md);
  margin-top: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.server-ip-box:hover {
  background: rgba(20, 40, 80, 0.9);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.server-ip-box code {
  font-family: monospace;
  font-size: 0.95rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.copy-badge {
  font-size: 0.75rem;
  background: var(--accent-blue);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}

/* ==========================================================================
   Live Stats Ribbon Bar
   ========================================================================== */
.stats-ribbon {
  margin-top: 30px;
  margin-bottom: 60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

.stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid var(--border-bright);
  color: var(--accent-cyan);
  font-size: 1.3rem;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section {
  padding: 70px 0;
  position: relative;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

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

/* ==========================================================================
   Departments & Careers Section (Everfall Inspired)
   ========================================================================== */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
}

.dept-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  transition: all 0.35s ease;
  overflow: hidden;
}

.dept-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dept-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-cyan);
  box-shadow: 0 12px 35px rgba(37, 99, 235, 0.25);
  background: var(--bg-card-hover);
}

.dept-card:hover::before {
  opacity: 1;
}

.dept-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.dept-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
  border: 1px solid var(--border-bright);
  text-transform: uppercase;
}

.dept-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent-cyan);
}

.dept-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.dept-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.dept-features-list {
  list-style: none;
  margin-bottom: 24px;
}

.dept-features-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dept-features-list li::before {
  content: '✓';
  color: var(--accent-cyan);
  font-weight: bold;
}

.dept-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.dept-footer .btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Server Rules & Penal Code Explorer
   ========================================================================== */
.rules-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(14px);
}

.rules-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.rules-search-box {
  flex: 1;
  min-width: 280px;
  position: relative;
}

.rules-search-box input {
  width: 100%;
  padding: 12px 18px 12px 42px;
  background: rgba(2, 6, 23, 0.7);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.25s ease;
}

.rules-search-box input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
}

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

.rules-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.tab-btn.active,
.tab-btn:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #ec4899 100%);
  color: #ffffff;
  border-color: rgba(244, 114, 182, 0.5);
  box-shadow: 0 0 15px rgba(236, 72, 153, 0.3);
}

.rules-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rule-item {
  background: rgba(5, 11, 26, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.25s ease;
  position: relative;
}

.rule-item:hover {
  border-color: rgba(236, 72, 153, 0.4);
  background: rgba(10, 20, 44, 0.85);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(236, 72, 153, 0.15);
  transform: translateX(3px);
}

.rule-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 12px;
}

.rule-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rule-code-tag {
  color: var(--accent-pink);
  font-family: monospace;
  font-weight: 700;
  font-size: 1rem;
}

.rule-category-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(236, 72, 153, 0.12);
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.3);
  white-space: nowrap;
}

.rule-body {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Penal Code Table */
.penal-table-wrapper {
  overflow-x: auto;
  margin-top: 20px;
}

.penal-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.penal-table th {
  padding: 14px 16px;
  background: rgba(37, 99, 235, 0.15);
  color: var(--accent-cyan);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--border-card);
}

.penal-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-white);
}

.penal-table tr:hover td {
  background: rgba(37, 99, 235, 0.08);
}

.code-badge {
  font-family: monospace;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

/* ==========================================================================
   Applications Portal Section
   ========================================================================== */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

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

@media (max-width: 680px) {
  .apps-grid {
    grid-template-columns: 1fr;
  }
}

.app-card {
  --card-accent: #38bdf8;
  position: relative;
  background: #090e1a;
  background: linear-gradient(180deg, rgba(13, 21, 38, 0.85) 0%, rgba(7, 11, 20, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 3.5px solid var(--card-accent);
  border-radius: 14px;
  padding: 24px 22px 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
  border-top-color: var(--card-accent);
  box-shadow: 0 18px 35px -5px rgba(0, 0, 0, 0.75), 0 0 25px -4px var(--card-accent);
}

.app-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: radial-gradient(ellipse at 50% 0%, var(--card-accent), transparent 70%);
  opacity: 0.12;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.app-card:hover::before {
  opacity: 0.22;
}

.app-card-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  min-height: 46px;
}

.app-card-brand {
  display: flex;
  align-items: center;
}

.app-card-logo-img {
  height: 36px;
  max-width: 140px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

.app-card-badge-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}

.app-card:hover .app-card-badge-img {
  transform: scale(1.06);
}

.app-card-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid;
}

.app-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.app-card-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.58;
  margin-bottom: 22px;
  flex: 1;
  min-height: 56px;
}

.app-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
  gap: 12px;
}

.app-card-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #cbd5e1;
  font-weight: 500;
}

.app-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulseStatus 2.2s infinite ease-in-out;
}

@keyframes pulseStatus {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.app-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.app-card-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.12);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.app-card-btn:active {
  transform: translateY(0);
}

/* ==========================================================================
   Discord Banner & CTA
   ========================================================================== */
.discord-cta {
  background: radial-gradient(circle at 80% 50%, rgba(88, 101, 242, 0.25) 0%, rgba(10, 20, 44, 0.95) 70%);
  border: 1px solid rgba(88, 101, 242, 0.4);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  margin-top: 40px;
}

.discord-cta-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.discord-cta-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #020510;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px 0;
  margin-top: 80px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

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

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.footer-links a:hover {
  color: var(--accent-cyan);
  padding-left: 4px;
}

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

/* ==========================================================================
   Interactive Modals & Toasts
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: var(--bg-navy-950);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  position: relative;
  animation: modalPop 0.25s ease-out;
}

@keyframes modalPop {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 20, 44, 0.7);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

.modal-close {
  background: transparent;
  color: var(--text-muted);
  font-size: 1.5rem;
}
.modal-close:hover {
  color: #ffffff;
}

.modal-body {
  padding: 28px;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(2, 6, 23, 0.9);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: all 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #0f172a;
  border: 1px solid var(--accent-cyan);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  color: #ffffff;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Tebex Store Section
   ========================================================================== */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  margin-top: 40px;
}

.store-card {
  background: rgba(10, 20, 44, 0.82);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.store-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #8b5cf6, #ec4899);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.store-card:hover {
  transform: translateY(-8px);
  border-color: rgba(236, 72, 153, 0.5);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(236, 72, 153, 0.25);
}

.store-card:hover::before {
  opacity: 1;
}

.store-card.featured {
  border-color: rgba(236, 72, 153, 0.65);
  box-shadow: 0 0 35px rgba(236, 72, 153, 0.28), inset 0 0 25px rgba(236, 72, 153, 0.08);
}

.store-card.featured::before {
  opacity: 1;
}

.store-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 15px rgba(236, 72, 153, 0.5);
}

.store-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

.store-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.store-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
  min-height: 42px;
}

.store-price-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.store-price {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.store-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.store-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  flex-grow: 1;
}

.store-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.store-feature-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: #38bdf8;
}

.btn-store-card {
  width: 100%;
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #ec4899 100%);
  border: 1px solid rgba(244, 114, 182, 0.5);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.35);
  transition: all 0.3s ease;
}

.btn-store-card:hover {
  background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 50%, #2563eb 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(236, 72, 153, 0.5);
  color: #ffffff;
}

.tebex-trust-banner {
  margin-top: 48px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(10, 20, 44, 0.95) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-lg);
  padding: 30px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.tebex-trust-left {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 600px;
}

.tebex-shield-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #10b981;
}

.tebex-trust-text h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.tebex-trust-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.tebex-payments {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.payment-pill {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: #e2e8f0;
}

/* ==========================================================================
   Media Gallery & Community Showcase Section
   ========================================================================== */
.gallery-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 32px 0 36px 0;
}

.filter-btn {
  padding: 9px 20px;
  border-radius: var(--radius-full);
  background: rgba(10, 20, 44, 0.7);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.25s ease;
  cursor: pointer;
}

.filter-btn:hover {
  color: #ffffff;
  border-color: var(--accent-cyan);
  background: rgba(37, 99, 235, 0.15);
}

.filter-btn.active {
  background: linear-gradient(135deg, #1d4ed8 0%, #ec4899 100%);
  border-color: rgba(244, 114, 182, 0.6);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.4);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 26px;
}

.gallery-card {
  background: rgba(10, 20, 44, 0.85);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.gallery-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.2);
}

.gallery-thumb-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #020617;
}

.gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-thumb {
  transform: scale(1.08);
}

.gallery-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #38bdf8;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.gallery-badge.badge-video {
  color: #ec4899;
  border-color: rgba(236, 72, 153, 0.4);
}

.gallery-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(236, 72, 153, 0.85);
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.4rem;
  box-shadow: 0 0 25px rgba(236, 72, 153, 0.7);
  transition: all 0.3s ease;
  z-index: 2;
}

.gallery-card:hover .gallery-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
  background: #ec4899;
  box-shadow: 0 0 35px rgba(236, 72, 153, 0.95);
}

.gallery-content {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gallery-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.4;
}

.gallery-caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

.gallery-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #38bdf8;
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
}

.media-cta-banner {
  margin-top: 45px;
  background: radial-gradient(circle at top center, rgba(37, 99, 235, 0.2) 0%, rgba(10, 20, 44, 0.7) 100%);
  border: 1px dashed rgba(236, 72, 153, 0.4);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  text-align: center;
}

.media-cta-banner h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.media-cta-banner p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 18px auto;
}

/* Lightbox Modal Specifics */
.lightbox-content {
  max-width: 900px;
  width: 95%;
  background: rgba(3, 7, 18, 0.98);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(56, 189, 248, 0.2);
}

.lightbox-body {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.lightbox-media-wrapper {
  position: relative;
  width: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 70vh;
  overflow: hidden;
}

.lightbox-image {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.lightbox-video-container {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.lightbox-video-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.lightbox-details {
  padding: 20px 24px;
  background: #050b18;
  border-top: 1px solid var(--border-subtle);
}

.lightbox-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.lightbox-caption {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Responsive Mobile Media Queries
   ========================================================================== */
@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .discord-cta {
    flex-direction: column;
    text-align: center;
    padding: 32px;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-ghost,
  .hero-buttons .btn-store {
    width: 100%;
    justify-content: center;
  }
  .tebex-trust-banner {
    padding: 24px 20px;
    flex-direction: column;
    text-align: center;
  }
  .tebex-trust-left {
    flex-direction: column;
    text-align: center;
  }
  .tebex-payments {
    justify-content: center;
  }
  .store-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ==========================================================================
   Multi-Page Whitelist Application Wizard
   ========================================================================== */
.modal-wizard-content {
  max-width: 820px !important;
  width: 95% !important;
  max-height: 92vh !important;
  overflow-y: auto !important;
  display: flex;
  flex-direction: column;
}

.wizard-progress-header {
  padding: 20px 28px 14px;
  background: rgba(10, 18, 38, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
}

.wizard-steps-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.wizard-step-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.25s ease;
  user-select: none;
  cursor: pointer;
  white-space: nowrap;
}

.wizard-step-pill:hover {
  border-color: rgba(56, 189, 248, 0.4);
  color: #94a3b8;
}

.wizard-step-pill .step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
}

.wizard-step-pill.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2) 0%, rgba(236, 72, 153, 0.2) 100%);
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.25);
}

.wizard-step-pill.active .step-num {
  background: #38bdf8;
  color: #020617;
}

.wizard-step-pill.completed {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.4);
  color: #10b981;
}

.wizard-step-pill.completed .step-num {
  background: #10b981;
  color: #ffffff;
}

.wizard-step-divider {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  min-width: 8px;
}

.wizard-progress-bar-wrap {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

.wizard-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #ec4899);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.wizard-step-content {
  display: none;
  animation: wizardFadeIn 0.3s ease-out forwards;
}

.wizard-step-content.active {
  display: block;
}

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

.wizard-page-header {
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wizard-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.wizard-page-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.wizard-page-desc {
  font-size: 0.86rem;
  color: #94a3b8;
  margin: 0;
}

.wizard-info-card {
  background: rgba(15, 23, 42, 0.75);
  border-left: 3px solid #ec4899;
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 20px;
}

.wizard-info-card h5 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #f43f5e;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wizard-info-card p {
  font-size: 0.84rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0;
}

.field-hint {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 5px;
  line-height: 1.4;
}

.backstory-counter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  margin-top: 6px;
  color: #94a3b8;
  font-weight: 500;
}

.backstory-counter-bar.valid {
  color: #10b981;
}

.backstory-counter-bar.warning {
  color: #f59e0b;
}

/* Scenarios Box */
.scenario-box {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 20px;
  transition: all 0.25s ease;
}

.scenario-box:hover,
.scenario-box:focus-within {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.12);
}

.scenario-header {
  margin-bottom: 12px;
}

.scenario-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.scenario-q-en {
  font-size: 0.88rem;
  color: #e2e8f0;
  line-height: 1.55;
  margin-bottom: 8px;
  background: rgba(0, 0, 0, 0.25);
  padding: 8px 12px;
  border-radius: 6px;
  border-left: 2px solid #38bdf8;
}

.scenario-q-si {
  font-size: 0.86rem;
  color: #38bdf8;
  line-height: 1.6;
  margin-bottom: 12px;
  background: rgba(56, 189, 248, 0.05);
  padding: 8px 12px;
  border-radius: 6px;
  border-left: 2px solid #ec4899;
}

/* Requirement Checkboxes */
.req-checkbox-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.req-checkbox-card:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(56, 189, 248, 0.35);
}

.req-checkbox-card input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #10b981;
  cursor: pointer;
  margin-top: 2px;
  flex-shrink: 0;
}

.req-checkbox-label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  cursor: pointer;
}

.req-checkbox-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
}

.req-checkbox-desc {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.4;
}

.wizard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.wizard-step-tracker {
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 600;
}

@media (max-width: 640px) {
  .wizard-steps-indicator .step-name {
    display: none;
  }
  .wizard-footer {
    flex-direction: column-reverse;
  }
  .wizard-footer .wizard-footer-actions {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
}

/* Live Application Validation & Error Highlighting */
.input-error-highlight {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
  background-color: rgba(239, 68, 68, 0.05) !important;
  animation: shakeField 0.4s ease-in-out;
}

@keyframes shakeField {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

.apply-error-banner {
  border-left: 4px solid #ef4444 !important;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.15);
}

