/* ═══════════════════════════════════════════════════════════════
   SOULVMC — Premium Gaming Store Theme
   Glassmorphism + Dynamic Gradients + Micro-animations
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  --color-primary: #4F46E5;
  --color-primary-hover: #6366F1;
  --color-accent: #06B6D4;
  --gradient-primary: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #06B6D4 100%);
  --gradient-primary-btn: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  --gradient-surface: linear-gradient(145deg, rgba(25, 25, 35, 0.7) 0%, rgba(15, 15, 25, 0.8) 100%);
  --glass-bg: rgba(15, 15, 25, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(255, 255, 255, 0.15);
  --glass-blur: blur(20px);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-pill: 100px;
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.03) inset;
  --shadow-card-hover: 0 20px 50px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  --shadow-glow: 0 0 30px rgba(79, 70, 229, 0.2);
  --bg-image: url("https://www.dropbox.com/scl/fi/ff4jk1c21g4096lt4ohlb/bg-solven.webp?rlkey=ruz8dfalnb4r642w5uvz9goqu&st=de9k8p65&dl=1");
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.01em;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--bg-image) center center/cover no-repeat;
  filter: blur(3px) brightness(0.6) saturate(1.2);
  transform: scale(1.03);
  transform-origin: center center;
  pointer-events: none;
}

/* ─── Buttons ─── */
.btn-primary,
.btn-secondary,
.btn-tertiary {
  border-radius: var(--radius-md);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background: var(--gradient-primary-btn);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.3), 0 1px 0 rgba(255, 255, 255, 0.1) inset;
}
.btn-primary:hover, .btn-primary:focus {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(79, 70, 229, 0.45), 0 1px 0 rgba(255, 255, 255, 0.15) inset;
  filter: brightness(1.1);
}

.btn-secondary:hover, .btn-secondary:focus {
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.btn-tertiary {
  border: 1px solid transparent;
}
.btn-tertiary:hover, .btn-tertiary:focus {
  border-color: var(--glass-border);
  background: rgba(255, 255, 255, 0.06);
}

/* ─── Quantity Field ─── */
.quantity-field {
  border-radius: var(--radius-md);
  border-color: var(--glass-border);
  background: rgba(0, 0, 0, 0.3);
}

/* ─── Header Info ─── */
.site-header-inner .info .image {
  border-radius: var(--radius-sm);
}

/* ─── Sale Banner ─── */
.site-sale-banner {
  border-radius: var(--radius-lg);
  background: var(--gradient-primary-btn);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.3);
  font-weight: 600;
}

/* ─── Home Categories ─── */
.site-home-categories .category {
  border-radius: var(--radius-lg);
  padding: 24px var(--widget-padding);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-home-categories .category:hover {
  color: var(--color-primary);
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-card-hover), var(--shadow-glow);
}

/* ─── Category Description ─── */
.category-description {
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
}

/* ─── Store Text (Home / CMS) ─── */
.store-text {
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
}
.store-text h1,
.store-text h2,
.store-text h3,
.store-text h4,
.store-text h5,
.store-text h6 {
  text-align: center;
}

/* ─── Product Cards ─── */
.store-products-list .store-product,
.store-products-images .store-product {
  border-radius: var(--radius-lg);
  background: var(--gradient-surface);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.store-products-list .store-product:hover,
.store-products-images .store-product:hover {
  border-color: rgba(79, 70, 229, 0.3);
  box-shadow: var(--shadow-card-hover), 0 0 40px rgba(79, 70, 229, 0.15);
  transform: translateY(-6px);
}

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

/* ─── Widget Titles ─── */
.widget-title {
  text-align: center;
  font-weight: 700;
}

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

/* ─── No Products ─── */
.no-products {
  color: var(--color-text-secondary);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

/* ─── Product Full (Detail) ─── */
.store-product-full {
  border-radius: var(--radius-xl);
  background: var(--gradient-surface);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
}

/* ─── Product Quantity Field ─── */
.store-product .quantity-field {
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.3);
  border-color: var(--glass-border);
}
.store-product .quantity-field input[type=number] {
  border: none;
}

/* ─── Navigation ─── */
@media (width > 960px) {
  .navigation-horizontal > ul {
    border-radius: var(--radius-lg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
  }
}
.navigation-horizontal .has-children > ul {
  border-radius: var(--radius-md);
}

/* ─── Widgets ─── */
.widget {
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
}
@media (width <= 960px) {
  .widget.site-navigation {
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
  }
}

.widget-gift-card .gift-card-input {
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  transition: all 0.2s ease;
}
.widget-gift-card .gift-card-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.widget-top-donator .avatar {
  border-radius: 50%;
  border: 2px solid var(--glass-border);
  box-shadow: 0 0 20px rgba(79, 70, 229, 0.2);
}

.widget-community-goal .progress,
.widget-goal .progress {
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.widget-community-goal .progress-bar,
.widget-goal .progress-bar {
  border-radius: var(--radius-pill);
  background: var(--gradient-primary-btn);
}

/* ─── Popups ─── */
.popup-content {
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.popup-close {
  border-radius: 0 var(--radius-xl) 0 var(--radius-md);
}

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

/* ─── Basket Items ─── */
.basket-items {
  padding: var(--widget-padding) calc(var(--content-padding) - var(--widget-padding));
}

.basket-item {
  border-radius: var(--radius-lg);
}
.basket-item .quantity {
  border-radius: var(--radius-sm);
}

/* ─── Toast ─── */
.toast {
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
}

.toast-close {
  border-radius: var(--radius-sm);
}

/* ─── Tiered Category ─── */
.store-category-tiered {
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-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 {
  text-align: center;
}

.store-product-tiered {
  border-radius: var(--radius-lg);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}
.store-product-tiered:hover {
  border-color: rgba(79, 70, 229, 0.3);
  box-shadow: 0 0 30px rgba(79, 70, 229, 0.1);
}

/* ─── Media Slider ─── */
.media-slider .slider,
.media-slider .thumb {
  border-radius: var(--radius-md);
}
.media-slider .open-lightbox {
  border-radius: var(--radius-sm);
}

.popup.popup-media-slider .thumb {
  border-radius: var(--radius-md);
}
.popup.popup-media-slider .popup-close {
  border-radius: var(--radius-md);
}

/* ─── Server IP Copy Button in Nav ─── */
.navigation-horizontal .server-ip-copy {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 8px 16px !important;
  font-size: 14px !important;
  transition: all 0.2s ease;
}
.navigation-horizontal .server-ip-copy::after {
  opacity: 0.5;
  transition: opacity 0.2s ease;
}
.navigation-horizontal .server-ip-copy:hover {
  border-color: var(--color-primary);
  box-shadow: 0 0 16px rgba(79, 70, 229, 0.2);
}
.navigation-horizontal .server-ip-copy:hover::after {
  opacity: 1;
}