/* ═══════════════════════════════════════════════════════
   EXR.GG SCP-RP — CUSTOM THEME (Ground Up)
   ═══════════════════════════════════════════════════════ */

/* ── RESET & BASE ────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
*, html { scroll-behavior: smooth !important; line-height: normal; }
input:focus, input:focus-visible, input { outline: none; border: none; }
.scrollbar-hide { scrollbar-width: none; -ms-overflow-style: none; }
.scrollbar-hide::-webkit-scrollbar { display: none; }

/* ── SCROLLBAR ───────────────────────────────────────── */
::-webkit-scrollbar { width: 3px; background: transparent; }
::-webkit-scrollbar-thumb { background: var(--color-primary); }

/* ── BODY ────────────────────────────────────────────── */
.exr-body {
  background: #000 !important;
  color: #ccc;
  font-family: 'Rajdhani', sans-serif;
  overflow-x: hidden;
  cursor: crosshair;
  position: relative;
}

/* Pulsing red glow - top right */
.exr-body::before {
  content: '';
  position: fixed;
  top: -5%;
  right: -5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(160,10,10,0.3) 0%, rgba(100,5,5,0.12) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: exrGlow 6s ease-in-out infinite;
}

@keyframes exrGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* Noise overlay */
.exr-body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 0;
}

/* ── TYPOGRAPHY ──────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
}

/* ── NAV ─────────────────────────────────────────────── */
.exr-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.92);
  border-bottom: 1px solid rgba(192,57,43,0.2);
  backdrop-filter: blur(12px);
  transition: all 0.3s;
}

.exr-nav.scrolled {
  background: rgba(0,0,0,0.98);
  border-bottom-color: rgba(192,57,43,0.35);
}

.exr-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 40px;
  max-width: 100%;
}

/* Brand */
.exr-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.exr-brand-logo {
  width: 38px; height: 38px;
  object-fit: contain;
  border: 1px solid rgba(192,57,43,0.25);
  border-radius: 2px;
}
.exr-brand-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  display: block;
  line-height: 1;
}
.exr-brand-sub {
  font-family: 'Share Tech Mono', monospace;
  font-size: 8px;
  letter-spacing: 2px;
  color: rgba(192,57,43,0.6);
  text-transform: uppercase;
  display: block;
}

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

.exr-nav-link {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid transparent;
  transition: all 0.25s;
  position: relative;
  display: block;
}

.exr-nav-link::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--color-primary);
  transform: scaleY(0);
  transition: transform 0.2s;
}

.exr-nav-link:hover,
.exr-nav-link.active {
  color: #fff;
  border-color: rgba(192,57,43,0.3);
  background: rgba(192,57,43,0.06);
}

.exr-nav-link:hover::before,
.exr-nav-link.active::before {
  transform: scaleY(1);
}

/* Subnav */
.exr-nav-item { position: relative; }
.exr-subnav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: rgba(5,0,0,0.98);
  border: 1px solid rgba(192,57,43,0.2);
  backdrop-filter: blur(10px);
  z-index: 100;
  list-style: none;
  padding: 6px;
}
.exr-subnav.open { display: block; }
.exr-subnav-link {
  display: block;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  padding: 8px 12px;
  transition: all 0.2s;
}
.exr-subnav-link:hover { color: #fff; background: rgba(192,57,43,0.08); }
.exr-chevron { font-size: 8px; margin-left: 4px; transition: transform 0.2s; }
.exr-chevron.rotated { transform: rotate(180deg); }

/* Nav Right */
.exr-nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Currency */
.exr-currency { position: relative; }
.exr-currency-btn {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.5);
  background: rgba(10,0,0,0.8);
  border: 1px solid rgba(192,57,43,0.2);
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.25s;
}
.exr-currency-btn:hover { color: #fff; border-color: rgba(192,57,43,0.4); }
.exr-currency-menu {
  display: none;
  position: absolute;
  right: 0; top: 100%;
  background: rgba(5,0,0,0.98);
  border: 1px solid rgba(192,57,43,0.2);
  z-index: 100;
  list-style: none;
  padding: 6px;
  width: 160px;
  flex-wrap: wrap;
}
.exr-currency-menu.open { display: flex; }
.exr-currency-item {
  display: block;
  width: 50%;
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  padding: 6px 8px;
  transition: all 0.2s;
  text-align: center;
}
.exr-currency-item:hover { color: #fff; background: rgba(192,57,43,0.15); }

/* Profile */
.exr-profile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(10,0,0,0.8);
  border: 1px solid rgba(192,57,43,0.15);
  cursor: pointer;
  transition: all 0.25s;
}
.exr-profile:hover { border-color: rgba(192,57,43,0.35); }
.exr-avatar { width: 28px; height: 28px; object-fit: cover; }
.exr-username {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.7);
}
.exr-profile-menu {
  display: none;
  position: absolute;
  right: 0; top: 100%;
  background: rgba(5,0,0,0.98);
  border: 1px solid rgba(192,57,43,0.2);
  padding: 6px;
  z-index: 100;
  min-width: 140px;
}
.exr-profile-menu.open { display: block; }
.exr-logout {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ff4d4f;
  text-decoration: none;
  padding: 8px 12px;
  transition: background 0.2s;
}
.exr-logout:hover { background: rgba(255,77,79,0.1); }

/* Buttons */
.exr-cart-btn,
.exr-login-btn {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
}
.exr-cart-btn {
  background: var(--color-primary);
  color: #fff;
  padding: 9px 14px;
  border: 1px solid rgba(231,76,60,0.8);
}
.exr-cart-btn:hover { background: #e74c3c; box-shadow: 0 0 20px rgba(192,57,43,0.4); }

/* Hide duplicate basket icon from icon.twig */
.exr-cart-btn svg { display: none; }

.exr-login-btn {
  background: transparent;
  color: rgba(255,255,255,0.6);
  padding: 9px 20px;
  border: 1px solid rgba(192,57,43,0.35);
}
.exr-login-btn:hover { color: #fff; border-color: var(--color-primary); background: rgba(192,57,43,0.08); }

/* Mobile toggle */
.exr-mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(192,57,43,0.3);
  color: #fff;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 16px;
}

/* Mobile menu */
.exr-mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 20px 16px;
  border-top: 1px solid rgba(192,57,43,0.15);
  background: rgba(0,0,0,0.98);
  gap: 4px;
}
.exr-mobile-menu.open { display: flex; }
.exr-mobile-link {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  padding: 10px 12px;
  border: 1px solid transparent;
  transition: all 0.2s;
}
.exr-mobile-link:hover,
.exr-mobile-link.active {
  color: #fff;
  border-color: rgba(192,57,43,0.25);
  background: rgba(192,57,43,0.06);
}

@media (max-width: 1024px) {
  .exr-nav-links { display: none; }
  .exr-mobile-toggle { display: block; }
  .exr-nav-inner { padding: 0 20px; }
}

/* ── HERO ─────────────────────────────────────────────── */
.exr-hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 8vw;
  z-index: 1;
}

.exr-hero-bg {
  position: absolute;
  inset: 0;
  background: url('') center/cover no-repeat;
  opacity: 0;
}

.exr-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,1) 30%, rgba(0,0,0,0.65) 60%, rgba(0,0,0,0.25) 100%);
}

.exr-hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.7) 100%);
}

.exr-hero-content {
  position: relative;
  z-index: 5;
  max-width: 600px;
}

.exr-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(192,57,43,0.1);
  border: 1px solid rgba(192,57,43,0.35);
  padding: 7px 16px;
  margin-bottom: 20px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-primary);
}

.exr-hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 8px var(--color-primary);
  animation: exrBlink 1.5s infinite;
  flex-shrink: 0;
}

@keyframes exrBlink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.exr-hero-eyebrow {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.exr-hero-welcome {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.exr-hero-title {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: clamp(56px, 8vw, 110px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -2px;
  line-height: 0.88;
  color: #fff;
  margin-bottom: 20px;
}

.exr-hero-powered {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.exr-hero-powered-text {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
}
.exr-hero-tebex { height: 14px; opacity: 0.4; filter: grayscale(1); }

.exr-hero-desc {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  color: rgba(200,200,200,0.55);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}

.exr-hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.exr-btn-primary {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--color-primary);
  border: 1px solid rgba(231,76,60,0.8);
  padding: 13px 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.exr-btn-primary::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.08), transparent);
  transform: rotate(60deg) translate(-100%, -100%);
  transition: transform 0.6s;
}
.exr-btn-primary:hover::before { transform: rotate(60deg) translate(100%, 100%); }
.exr-btn-primary:hover { background: #e74c3c; box-shadow: 0 0 28px rgba(192,57,43,0.45); transform: translateY(-2px); }

.exr-btn-secondary {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255,255,255,0.6);
  background: transparent;
  border: 1px solid rgba(192,57,43,0.35);
  padding: 13px 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s;
}
.exr-btn-secondary:hover { color: #fff; border-color: var(--color-primary); background: rgba(192,57,43,0.08); transform: translateY(-2px); }

/* Hero right image */
.exr-hero-img-wrap {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 55%;
  pointer-events: none;
  overflow: hidden;
}
.exr-hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.4;
  filter: saturate(0.5) brightness(0.6);
  mask-image: linear-gradient(to right, transparent 0%, black 35%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 35%);
}
.exr-hero-img-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #000 0%, transparent 30%);
}

@media (max-width: 768px) {
  .exr-hero { padding: 60px 6vw; min-height: auto; }
  .exr-hero-img-wrap { display: none; }
}

/* ── TICKER ───────────────────────────────────────────── */
.exr-ticker {
  background: #0a0000;
  border-top: 1px solid rgba(192,57,43,0.2);
  border-bottom: 1px solid rgba(192,57,43,0.2);
  padding: 12px 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.exr-ticker-track {
  display: flex;
  gap: 40px;
  animation: exrTicker 28s linear infinite;
  width: max-content;
}

@keyframes exrTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.exr-ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

.exr-ticker-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 6px var(--color-primary);
  animation: exrBlink 2s infinite;
  flex-shrink: 0;
}

.exr-ticker-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
}

.exr-ticker-val {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  color: #fff;
  letter-spacing: 2px;
}

.exr-ticker-sep {
  width: 24px; height: 1px;
  background: rgba(192,57,43,0.25);
  flex-shrink: 0;
  align-self: center;
}

/* ── SECTIONS ─────────────────────────────────────────── */
.exr-section-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 6px;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.exr-section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -1px;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.exr-section-title span { color: var(--color-primary); }

.exr-section-sub {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  color: rgba(200,200,200,0.4);
  margin-bottom: 40px;
}

/* ── STAFF ────────────────────────────────────────────── */
.exr-staff {
  padding: 80px 8vw;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(192,57,43,0.1);
}

.exr-staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.exr-staff-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 20px;
  background: rgba(8,0,0,0.8);
  border: 1px solid rgba(192,57,43,0.15);
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}

.exr-staff-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--color-primary), transparent);
  transform: scaleX(0);
  transition: transform 0.35s;
}

.exr-staff-card:hover { border-color: rgba(192,57,43,0.35); transform: translateY(-3px); }
.exr-staff-card:hover::before { transform: scaleX(1); }

.exr-staff-avatar {
  width: 68px; height: 68px;
  border: 2px solid rgba(192,57,43,0.25);
  background: rgba(192,57,43,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: rgba(192,57,43,0.4);
  flex-shrink: 0;
  overflow: hidden;
}

.exr-staff-role {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.exr-staff-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 2px;
}

.exr-staff-clearance {
  font-family: 'Share Tech Mono', monospace;
  font-size: 8px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
}

/* ── PACKAGES ─────────────────────────────────────────── */
.exr-packages {
  padding: 80px 8vw;
  position: relative;
  z-index: 1;
}

/* Override Tebex default package card styles to match theme */
.packages-grid,
[class*="grid"] {
  gap: 1px !important;
  background: rgba(192,57,43,0.08) !important;
}

/* Package cards */
[class*="package-card"],
[class*="pkg"],
.package {
  background: #000 !important;
  border-radius: 0 !important;
  border: none !important;
  transition: all 0.35s !important;
}

[class*="package-card"]:hover,
[class*="pkg"]:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8) !important;
}

/* Package titles */
[class*="package"] h2,
[class*="package"] h3,
[class*="package"] h4 {
  font-family: 'Barlow Condensed', sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

/* Package buy buttons */
[class*="package"] button,
[class*="package"] a[class*="btn"],
[class*="add-to-basket"] {
  font-family: 'Share Tech Mono', monospace !important;
  font-size: 10px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
  background: var(--color-primary) !important;
  border: 1px solid rgba(231,76,60,0.8) !important;
  transition: all 0.25s !important;
}

[class*="package"] button:hover,
[class*="add-to-basket"]:hover {
  background: #e74c3c !important;
  box-shadow: 0 0 20px rgba(192,57,43,0.4) !important;
}

/* Package description */
.package-description {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  color: rgba(240,236,226,1);
}
.package-description h1,
.package-description h2,
.package-description h3,
.package-description h4 {
  font-family: 'Barlow Condensed', sans-serif !important;
  text-transform: uppercase !important;
  font-weight: 700;
}
.package-description a { color: var(--color-primary); }
.package-description ul li:before {
  content: "";
  position: absolute;
  left: 0; top: .5rem;
  height: .5rem; width: .5rem;
  border-radius: .5rem;
  background-color: var(--color-primary);
}
.package-description ol li:before {
  content: counter(ol-counter) ". ";
  position: absolute;
  left: 0; font-weight: 700;
  color: var(--color-primary);
}
.package-description img { max-width: 100%; }
.package-description hr { color: white; opacity: 0.1; }

/* ── FOOTER ───────────────────────────────────────────── */
.exr-footer {
  background: #000;
  border-top: 1px solid rgba(192,57,43,0.2);
  padding: 50px 8vw 24px;
  position: relative;
  z-index: 1;
}

.exr-footer-inner {
  margin-bottom: 32px;
}

.exr-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.exr-footer-logo {
  width: 36px; height: 36px;
  object-fit: contain;
  border: 1px solid rgba(192,57,43,0.2);
}

.exr-footer-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
}

.exr-footer-sub {
  font-family: 'Share Tech Mono', monospace;
  font-size: 8px;
  letter-spacing: 3px;
  color: rgba(192,57,43,0.5);
  text-transform: uppercase;
}

.exr-footer-desc {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  color: rgba(200,200,200,0.3);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 24px;
}

.exr-footer-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.exr-footer-link {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  padding: 7px 14px;
  border: 1px solid rgba(192,57,43,0.15);
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.exr-footer-link:hover {
  color: #fff;
  border-color: var(--color-primary);
  background: rgba(192,57,43,0.08);
}

.exr-footer-bottom {
  border-top: 1px solid rgba(192,57,43,0.1);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.exr-footer-copy {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.15);
  text-transform: uppercase;
}

.exr-footer-pay { display: flex; gap: 6px; }

.exr-pay-badge {
  font-family: 'Share Tech Mono', monospace;
  font-size: 8px;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 3px 8px;
}

/* ── SWIPER ───────────────────────────────────────────── */
.swiper-slide { display: flex; align-items: center; justify-content: center; background: var(--dark-color-secondary); }
.packageMainSwiper .swiper-slide { overflow: hidden; }
.packageMainSwiper .swiper-slide img { display: block; width: 100%; height: 100%; }
.packageThumbsSwiper .swiper-slide { opacity: 0.2; transition: opacity 0.3s ease, border 0.3s ease; cursor: pointer; border: 2px solid transparent; }
.packageThumbsSwiper .swiper-slide-thumb-active { opacity: 1 !important; border-color: var(--color-primary) !important; }
.packageThumbsSwiper .swiper-slide:hover { opacity: 0.8; }
.swiper-button-next, .swiper-button-prev {
  background: rgba(10,0,0,0.9) !important;
  width: 40px !important; height: 40px !important;
  border-radius: 0 !important;
  border: 1px solid rgba(192,57,43,0.3) !important;
}
.swiper-button-next:hover, .swiper-button-prev:hover { background-color: var(--color-primary) !important; }
.swiper-button-next:after, .swiper-button-prev:after { font-size: 14px !important; color: #fff; }

/* ── ALERTS ───────────────────────────────────────────── */
.colored-toast.swal2-icon-success { background-color: #1a3a1a !important; }
.colored-toast.swal2-icon-error   { background-color: #3a0808 !important; }
.colored-toast.swal2-icon-warning { background-color: #3a2200 !important; }
.colored-toast.swal2-icon-info    { background-color: #0a1a3a !important; }
.colored-toast .swal2-title,
.colored-toast .swal2-close,
.colored-toast .swal2-html-container { color: white; }

/* ── LOADING ──────────────────────────────────────────── */
.loading-data {
  width: 40px; padding: 6px; aspect-ratio: 1;
  background: var(--color-primary);
  --_m: conic-gradient(#0000 10%,#000), linear-gradient(#000 0 0) content-box;
  -webkit-mask: var(--_m); mask: var(--_m);
  -webkit-mask-composite: source-out; mask-composite: subtract;
  animation: spin 1s infinite linear;
}
@keyframes spin { to { transform: rotate(1turn); } }

.btn-loading {
  width: 24px; height: 24px;
  border-radius: 50%;
  position: relative;
  animation: rotate1 1s linear infinite;
}
.btn-loading::before {
  content: '';
  box-sizing: border-box;
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid #0d0000;
  animation: prixClipFix 2s linear infinite;
}
@keyframes rotate1 { 100% { transform: rotate(360deg); } }
@keyframes prixClipFix {
  0%   { clip-path: polygon(50% 50%,0 0,0 0,0 0,0 0,0 0); }
  25%  { clip-path: polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0); }
  50%  { clip-path: polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%); }
  75%  { clip-path: polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%); }
  100% { clip-path: polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0); }
}

/* ── MISC ─────────────────────────────────────────────── */
.flex-center { display: flex; align-items: center; justify-content: center; }
.bg-delete { background-color: #D84141; }
.bg-primary { background-color: var(--color-primary) !important; }
.gradient-btn { position: relative; overflow: hidden; }

/* Tebex legal footer */
tebex-js-footer, [class*="tebex-legal"] {
    
    /* Hero title glitch effect */
.exr-hero-title {
  position: relative;
  display: inline-block;
}

.exr-hero-title::before,
.exr-hero-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.exr-hero-title::before {
  color: rgba(192,57,43,0.9);
  animation: exrGlitchTop 6s infinite linear;
  left: 3px;
}

.exr-hero-title::after {
  color: rgba(100,5,5,0.8);
  animation: exrGlitchBot 6s infinite linear;
  left: -3px;
}

@keyframes exrGlitchTop {
  0%, 87%, 100% { opacity: 0; clip-path: none; }
  88% { opacity: 1; transform: translate(-3px,-1px); clip-path: polygon(0 0,100% 0,100% 38%,0 38%); }
  90% { opacity: 1; transform: translate(2px,0); clip-path: polygon(0 10%,100% 10%,100% 50%,0 50%); }
  92% { opacity: 0; }
}

@keyframes exrGlitchBot {
  0%, 87%, 100% { opacity: 0; clip-path: none; }
  89% { opacity: 1; transform: translate(3px,1px); clip-path: polygon(0 62%,100% 62%,100% 100%,0 100%); }
  91% { opacity: 1; transform: translate(-2px,0); clip-path: polygon(0 72%,100% 72%,100% 88%,0 88%); }
  93% { opacity: 0; }
}
  background: #000 !important;
  border-top: 1px solid rgba(192,57,43,0.1) !important;
}

.exr-hero-title {
  font-size: clamp(48px, 6vw, 90px) !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Split hero title color - first word white, rest red */
.exr-hero-title {
  font-size: clamp(48px, 6vw, 90px) !important;
  background: linear-gradient(to bottom, #fff 50%, #9b1111 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glitch animation */
.exr-hero-title::before {
  color: rgba(192,57,43,0.9) !important;
  -webkit-text-fill-color: rgba(192,57,43,0.9) !important;
}

.exr-hero-title::after {
  color: rgba(100,5,5,0.8) !important;
  -webkit-text-fill-color: rgba(100,5,5,0.8) !important;
}

.exr-hero-title {
  font-size: clamp(48px, 5.5vw, 80px) !important;
  letter-spacing: -2px !important;
  line-height: 0.9 !important;
  white-space: nowrap !important;
}

/* ── TITLE GLITCH ─────────────────────────────────────── */
.exr-title-wrap {
  position: relative;
  display: inline-block;
}

.exr-hero-title {
  font-size: clamp(48px, 5.5vw, 80px) !important;
  letter-spacing: -2px !important;
  line-height: 0.9 !important;
  white-space: nowrap !important;
  background: linear-gradient(to bottom, #fff 50%, #9b1111 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 2;
}

.exr-hero-title-ghost {
  position: absolute;
  top: 0; left: 0;
  font-size: clamp(48px, 5.5vw, 80px) !important;
  letter-spacing: -2px !important;
  line-height: 0.9 !important;
  white-space: nowrap !important;
  margin: 0 !important;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}

.exr-ghost-top {
  color: rgba(192,57,43,0.9);
  animation: exrGlitchTop 6s infinite linear;
  left: 3px;
}

.exr-ghost-bot {
  color: rgba(80,5,5,0.85);
  animation: exrGlitchBot 6s 0.5s infinite linear;
  left: -3px;
}

@keyframes exrGlitchTop {
  0%, 87%, 100% { opacity: 0; clip-path: none; transform: translate(0); }
  88% { opacity: 1; transform: translate(-3px,-1px); clip-path: polygon(0 0,100% 0,100% 38%,0 38%); }
  90% { opacity: 1; transform: translate(2px,0); clip-path: polygon(0 10%,100% 10%,100% 50%,0 50%); }
  92% { opacity: 0; }
}

@keyframes exrGlitchBot {
  0%, 87%, 100% { opacity: 0; clip-path: none; transform: translate(0); }
  89% { opacity: 1; transform: translate(3px,1px); clip-path: polygon(0 62%,100% 62%,100% 100%,0 100%); }
  91% { opacity: 1; transform: translate(-2px,0); clip-path: polygon(0 72%,100% 72%,100% 88%,0 88%); }
  93% { opacity: 0; }
}

/* Fix basket sidebar */
.basket {
  z-index: 9999 !important;
  position: fixed !important;
}

.basket-inner-wrapper {
  height: 100vh !important;
  max-height: 100vh !important;
  overflow-y: auto !important;
}

.basket > div {
  height: 100% !important;
  overflow: hidden !important;
}

/* Fix package cards visibility */
.package-list {
  position: relative;
  z-index: 1;
}

.package-list > * {
  background: rgba(10,0,0,0.8) !important;
  border: 1px solid rgba(192,57,43,0.15) !important;
  border-radius: 0 !important;
}

.package-list .package-name,
.package-list h2,
.package-list h3,
.package-list h4 {
  color: #fff !important;
  font-family: 'Barlow Condensed', sans-serif !important;
  text-transform: uppercase !important;
}

.package-list p,
.package-list span {
  color: rgba(200,200,200,0.7) !important;
}

/* Fix search bar */
.search {
  background: rgba(10,0,0,0.8) !important;
  border: 1px solid rgba(192,57,43,0.2) !important;
  color: #fff !important;
  font-family: 'Share Tech Mono', monospace !important;
  font-size: 11px !important;
  letter-spacing: 2px !important;
  border-radius: 0 !important;
}

.search::placeholder {
  color: rgba(255,255,255,0.25) !important;
  font-family: 'Share Tech Mono', monospace !important;
  letter-spacing: 2px !important;
}

/* Fix checkout button in basket */
.checkout-btn,
[class*="checkout"] button,
.basket .checkout-btn {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: var(--color-primary) !important;
  color: #fff !important;
  border-radius: 0 !important;
  font-family: 'Share Tech Mono', monospace !important;
  letter-spacing: 2px !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  width: 100% !important;
  padding: 14px !important;
  justify-content: center !important;
  align-items: center !important;
  cursor: pointer !important;
  border: 1px solid rgba(231,76,60,0.8) !important;
  margin-top: 16px !important;
}

.checkout-btn:hover {
  background: #e74c3c !important;
  box-shadow: 0 0 20px rgba(192,57,43,0.4) !important;
}

/* Fix basket height so checkout button is visible */
.basket-inner-wrapper {
  display: flex !important;
  flex-direction: column !important;
  height: 100vh !important;
  overflow-y: auto !important;
  padding-bottom: 20px !important;
}

/* Fix basket */
.basket {
  z-index: 9999 !important;
}

.basket-inner-wrapper {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.basket-inner-wrapper .checkout-btn {
  position: sticky !important;
  bottom: 0 !important;
  background: var(--color-primary) !important;
  color: #fff !important;
  width: 100% !important;
  padding: 14px !important;
  font-family: 'Share Tech Mono', monospace !important;
  font-size: 11px !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  border: none !important;
  cursor: pointer !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin-top: auto !important;
  flex-shrink: 0 !important;
}

.basket-inner-wrapper .checkout-btn:hover {
  background: #e74c3c !important;
}

/* Remove any previous broken basket CSS */
.basket > div {
  height: auto !important;
  overflow: visible !important;
}

/* Fix package card colors - remove yellow/gold */
.package-list > * {
  border-radius: 0 !important;
}

/* Fix description text - remove uppercase on body text */
.package-description,
.package-description p,
.package-description span {
  text-transform: none !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
}

/* Fix search bar position and styling */
.search-wrapper, 
[class*="search-wrapper"] {
  background: rgba(10,0,0,0.8) !important;
  border: 1px solid rgba(192,57,43,0.2) !important;
  border-radius: 0 !important;
}

/* Fix tag filter dropdown */
#tagFilterButton {
  background: rgba(10,0,0,0.8) !important;
  border: 1px solid rgba(192,57,43,0.2) !important;
  border-radius: 0 !important;
  font-family: 'Share Tech Mono', monospace !important;
  font-size: 10px !important;
  letter-spacing: 2px !important;
  color: rgba(255,255,255,0.5) !important;
}

/* Fix category page */
.search {
  background: rgba(15,0,0,0.9) !important;
  border: 1px solid rgba(192,57,43,0.25) !important;
  border-radius: 0 !important;
  color: #fff !important;
  font-family: 'Share Tech Mono', monospace !important;
  font-size: 11px !important;
  letter-spacing: 2px !important;
}

.search::placeholder {
  color: rgba(255,255,255,0.25) !important;
}

#tagFilterButton {
  background: rgba(15,0,0,0.9) !important;
  border: 1px solid rgba(192,57,43,0.25) !important;
  border-radius: 0 !important;
  color: rgba(255,255,255,0.5) !important;
  font-family: 'Share Tech Mono', monospace !important;
  font-size: 10px !important;
  letter-spacing: 2px !important;
}

#tagFilterMenu {
  background: rgba(5,0,0,0.98) !important;
  border: 1px solid rgba(192,57,43,0.2) !important;
  border-radius: 0 !important;
  backdrop-filter: blur(10px) !important;
}

.tag-option {
  font-family: 'Share Tech Mono', monospace !important;
  font-size: 10px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.5) !important;
  border-radius: 0 !important;
}

.tag-option:hover {
  background: rgba(192,57,43,0.15) !important;
  color: #fff !important;
}

/* Also update Schema! color-primary must be #c0392b */