@import url("https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap");

/* ============================================================
   50 SHADES — EXO THEME SKIN
   High-End Criminal Enterprise Palette
   ============================================================ */

:root {
  /* Foundation */
  --color-bg:          #0b0b0d;
  --color-brighter-bg: #141417;
  --color-border:      #1f2026;
  --color-border-alt:  #23242a;

  /* Text */
  --color-text:           #a3a5ae;
  --color-text-secondary: #5e6070;
  --color-heading:        #ffffff;

  /* Primary Accent — Supporter & Showroom Gold */
  --color-primary:       #bfa15f;
  --color-primary-hover: #d4b574;

  /* No hero background image — clean dark base */
  --bg-image: none;

  /* Category Accents (available for description panel use) */
  --accent-armor:      #64748b;
  --accent-narco:      #a855f7;
  --accent-restaurant: #f97316;
  --accent-gun:        #b91c1c;
  --accent-nightlife:  #d946ef;
  --accent-unban:      #ef4444;
  --accent-unban-dark: #dc2626;
}

/* ============================================================
   BASE
   ============================================================ */

body {
  font-family: 'Exo 2', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
}

/* body::before removed — gold wash lives inside .site-hero now */

h1, h2, h3, h4, h5, h6 {
  color: var(--color-heading);
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
}

a {
  color: var(--color-primary);
  transition: color 0.15s ease;
}

a:hover {
  color: var(--color-primary-hover);
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn-primary,
.btn-secondary,
.btn-tertiary {
  border-radius: 2px;
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 0.77rem;
}

.btn-primary:hover, .btn-primary:focus,
.btn-secondary:hover, .btn-secondary:focus {
  box-shadow: 0 0 12px rgb(from var(--btn-color-bg-hover) r g b / 0.45);
}

.quantity-field {
  border-radius: 3px;
}

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.site-header-inner {
  padding-top: 6px;
  padding-bottom: 6px;
  min-height: unset;
}

.site-title {
  padding: 0;
}

.site-title img {
  max-height: 72px;
  width: auto;
}

.site-header-inner .info .image {
  border-radius: 4px;
}

.site-header-inner .info.discord {
  color: var(--color-text);
  transition: color 0.15s ease;
}

.site-header-inner .info.discord:hover {
  color: var(--color-primary);
}

/* ============================================================
   SALE BANNER
   ============================================================ */

.site-sale-banner {
  border-radius: 2px;
  background: rgba(191, 161, 95, 0.12);
  border: 1px solid rgba(191, 161, 95, 0.35);
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.navigation-horizontal {
  background: var(--color-brighter-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border-alt);
}

@media (width > 960px) {
  .navigation-horizontal > ul {
    border-radius: 0;
  }
}

.navigation-horizontal .has-children > ul {
  border-radius: 3px;
  background: var(--color-brighter-bg);
  border: 1px solid var(--color-border-alt);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.site-navigation a {
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  transition: color 0.15s ease;
}

.site-navigation a:hover,
.site-navigation a.link-active {
  color: var(--color-primary);
}

/* ============================================================
   SIDEBAR WIDGETS
   ============================================================ */

.widget {
  border-radius: 3px;
  background: var(--color-brighter-bg);
  border: 1px solid var(--color-border);
}

@media (width <= 960px) {
  .widget.site-navigation {
    border-radius: 0;
    background: transparent;
    border: none;
  }
}

.widget-title {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
}

.widget .store-product {
  text-align: center;
}

.widget-gift-card .gift-card-input {
  border-radius: 2px;
}

.widget-top-donator .avatar {
  border-radius: 50%;
}

.widget-community-goal .progress,
.widget-goal .progress {
  border-radius: 2px;
}

.widget-community-goal .progress-bar,
.widget-goal .progress-bar {
  border-radius: 2px;
}

/* ============================================================
   HOME — CATEGORY CARDS
   ============================================================ */

.site-home-categories .category {
  border-radius: 3px;
  padding: 20px var(--widget-padding);
  background: var(--color-brighter-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: color 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-home-categories .category:hover {
  color: var(--color-primary);
  border-color: rgba(191, 161, 95, 0.5);
  box-shadow: 0 4px 16px rgba(191, 161, 95, 0.08);
}

/* ============================================================
   CATEGORY PAGE
   ============================================================ */

.category-description {
  border-radius: 3px;
  background: var(--color-brighter-bg);
  border: 1px solid var(--color-border);
}

/* ============================================================
   STORE TEXT / DESCRIPTION PANELS
   ============================================================ */

.store-text {
  border-radius: 3px;
  background: var(--color-brighter-bg);
  border: 1px solid var(--color-border);
}

.store-text h1,
.store-text h2,
.store-text h3,
.store-text h4,
.store-text h5,
.store-text h6 {
  color: var(--color-heading);
  text-align: center;
}

/* ============================================================
   PRODUCT LISTINGS
   ============================================================ */

.store-products-list .store-product,
.store-products-images .store-product {
  border-radius: 3px;
  background: var(--color-brighter-bg);
  border: 1px solid var(--color-border);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.store-products-list .store-product:hover,
.store-products-images .store-product:hover {
  border-color: rgba(191, 161, 95, 0.45);
  box-shadow: 0 4px 20px rgba(191, 161, 95, 0.07);
}

.store-products-images .store-product {
  text-align: center;
}

.no-products {
  color: var(--color-text-secondary);
  background: var(--color-brighter-bg);
  border-radius: 3px;
  border: 1px solid var(--color-border);
}

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */

.store-product-full {
  border-radius: 3px;
  background: var(--color-brighter-bg);
  border: 1px solid var(--color-border);
}

.store-product .quantity-field {
  border-radius: 3px;
  background: var(--color-brighter-bg);
  border: 1px solid var(--color-border);
}

.store-product .quantity-field input[type=number] {
  border: none;
}

/* ============================================================
   TIERED CATEGORIES
   ============================================================ */

.store-category-tiered {
  border-radius: 3px;
  background: var(--color-brighter-bg);
  border: 1px solid var(--color-border);
}

.store-category-tiered-header h1,
.store-category-tiered-header h2,
.store-category-tiered-header h3,
.store-category-tiered-header h4,
.store-category-tiered-header h5,
.store-category-tiered-header h6 {
  color: var(--color-primary);
  text-align: center;
}

.store-product-tiered {
  border-radius: 3px;
  background: rgb(from var(--color-bg) r g b / 0.5);
  border: 1px solid var(--color-border-alt);
}

/* ============================================================
   POPUPS & BASKET
   ============================================================ */

.popup-content {
  border-radius: 5px;
  background: var(--color-brighter-bg);
  border: 1px solid var(--color-border-alt);
}

.popup-close {
  border-radius: 0 5px 0 5px;
}

.basket-popup-content,
.basket-popup-content .popup-close {
  border-radius: 0;
}

.basket-items {
  padding: var(--widget-padding) calc(var(--content-padding) - var(--widget-padding));
}

.basket-item {
  border-radius: 3px;
  border: 1px solid var(--color-border);
}

.basket-item .quantity {
  border-radius: 2px;
}

/* ============================================================
   MEDIA SLIDER
   ============================================================ */

.media-slider .slider,
.media-slider .thumb {
  border-radius: 3px;
}

.media-slider .open-lightbox {
  border-radius: 2px;
  border: 1px solid var(--color-border-alt);
}

.popup.popup-media-slider .thumb {
  border-radius: 3px;
}

.popup.popup-media-slider .popup-close {
  border-radius: 5px;
}

/* ============================================================
   TOASTS
   ============================================================ */

.toast {
  border-radius: 4px;
}

.toast-close {
  border-radius: 2px;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--color-brighter-bg);
  border-top: 1px solid var(--color-border);
}

.site-footer-inner {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.site-footer .copyright {
  color: var(--color-text-secondary);
  font-size: 0.8rem;
  font-family: 'Exo 2', sans-serif;
  text-align: center;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

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

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

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* ============================================================
   CATEGORY ACCENT HELPERS
   Use these class names in Tebex description panels & headers
   ============================================================ */

/* Gold — Supporter Hub / Showroom / High-Riser / FAQ */
.accent-gold        { color: #bfa15f !important; }
.accent-gold-bg     { background: rgba(191, 161, 95, 0.12) !important; border-color: rgba(191, 161, 95, 0.3) !important; }

/* Gray — Armored Import Pass */
.accent-armor       { color: #64748b !important; }
.accent-armor-bg    { background: rgba(100, 116, 139, 0.12) !important; border-color: rgba(100, 116, 139, 0.3) !important; }

/* Purple — Whitelisted Narcotic / Monopoly */
.accent-narco       { color: #a855f7 !important; }
.accent-narco-bg    { background: rgba(168, 85, 247, 0.12) !important; border-color: rgba(168, 85, 247, 0.3) !important; }

/* Orange — Restaurant / Cafe / Diner */
.accent-restaurant  { color: #f97316 !important; }
.accent-restaurant-bg { background: rgba(249, 115, 22, 0.12) !important; border-color: rgba(249, 115, 22, 0.3) !important; }

/* Red — Gun Store Franchise / Whitelisted Firearms */
.accent-gun         { color: #b91c1c !important; }
.accent-gun-bg      { background: rgba(185, 28, 28, 0.12) !important; border-color: rgba(185, 28, 28, 0.3) !important; }

/* Magenta — Bahama Mamas Nightclub */
.accent-nightlife   { color: #d946ef !important; }
.accent-nightlife-bg { background: rgba(217, 70, 239, 0.12) !important; border-color: rgba(217, 70, 239, 0.3) !important; }

/* Red — Unban Passes */
.accent-unban       { color: #ef4444 !important; }
.accent-unban-bg    { background: rgba(239, 68, 68, 0.12) !important; border-color: rgba(239, 68, 68, 0.3) !important; }

/* ============================================================
   HERO SECTION
   Appearance config keys (set in Tebex admin → Appearance → Config):
     hero-title      Main heading override (default: store name)
     hero-subtitle   Tagline / descriptor line
     hero-cta-text   Primary button label  (default: Browse Packages)
     hero-cta-url    Primary button URL    (default: #categories)
     discord-link    Shows a Discord button when set
     server-url      Shows a Copy IP button when set
     bg-image        Sets the hero background image
   ============================================================ */

.site-hero {
  position: relative;
  width: 100%;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px 56px;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

/* Radial gold glow — always visible */
.site-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 65% at 50% -10%, rgba(191, 161, 95, 0.13) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Background image layer — activated by .site-hero--bg */
.site-hero--bg {
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Dark overlay on top of the bg image */
.site-hero--bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 11, 13, 0.6) 0%,
    rgba(11, 11, 13, 0.88) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.site-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.site-hero-logo {
  max-height: 110px;
  max-width: 320px;
  width: auto;
  object-fit: contain;
  margin-bottom: 4px;
}

.site-hero-title {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 800;
  color: var(--color-heading);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.08;
  margin: 0;
}

.site-hero-subtitle {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(0.88rem, 2vw, 1.05rem);
  color: var(--color-text);
  font-weight: 400;
  letter-spacing: 0.07em;
  max-width: 580px;
  margin: 0;
  line-height: 1.65;
}

.site-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}

.site-hero-btn {
  padding: 11px 30px;
  font-family: 'Exo 2', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: opacity 0.15s ease, box-shadow 0.15s ease;
  border: none;
}

.site-hero-btn:hover {
  opacity: 0.88;
  text-decoration: none;
}

/* Gold divider rule below hero content */
.site-hero-divider {
  width: 52px;
  height: 2px;
  background: var(--color-primary);
  border: none;
  margin: 6px auto 0;
  opacity: 0.8;
}

@media (max-width: 640px) {
  .site-hero {
    min-height: 280px;
    padding: 48px 20px 42px;
  }

  .site-hero-btn {
    padding: 10px 22px;
    font-size: 0.75rem;
  }
}
