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

/* =========================================================
   CouchSMP Tebex Theme - generic.css
   Fixed desktop + mobile version
   ========================================================= */

:root {
  --color-primary: #8b5cf6;
  --color-primary-hover: #38bdf8;
  --color-bg: #050611;
  --color-brighter-bg: rgba(16, 18, 40, 0.82);
  --neon-purple: #8b5cf6;
  --neon-blue: #38bdf8;
  --neon-pink: #d946ef;
  --glass: rgba(12, 14, 34, 0.78);
  --glass-strong: rgba(18, 22, 52, 0.92);
  --border-neon: rgba(139, 92, 246, 0.38);
  --shadow-neon:
    0 0 24px rgba(139, 92, 246, 0.22),
    0 0 42px rgba(56, 189, 248, 0.08);
  --bg-image:
    radial-gradient(circle at 20% 10%, rgba(139, 92, 246, 0.34), transparent 36%),
    radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.24), transparent 32%),
    linear-gradient(180deg, #08091d 0%, #050611 72%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, Lato, sans-serif;
  background: var(--color-bg);
  color: #ffffff;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 820px;
  z-index: -1;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  pointer-events: none;
  mask-image: linear-gradient(#000 72%, transparent);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at left bottom, rgba(139, 92, 246, 0.24) 0%, rgba(139, 92, 246, 0.10) 18%, transparent 42%),
    radial-gradient(circle at right bottom, rgba(56, 189, 248, 0.22) 0%, rgba(56, 189, 248, 0.08) 18%, transparent 42%);
  filter: blur(70px);
}

.site {
  max-width: 1360px !important;
  margin: 0 auto !important;
}

.site::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 900px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(2, 4, 18, 0) 0%, rgba(5, 4, 22, 0.45) 25%, rgba(3, 2, 16, 0.92) 100%);
}

.site-header-inner,
.site-content,
.site-home-categories,
.navigation-horizontal,
.site-sale-banner {
  width: 82% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.btn-primary,
.btn-secondary,
.btn-tertiary {
  border-radius: 999px;
  font-weight: 800;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
  color: #ffffff;
  box-shadow: var(--shadow-neon);
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-1px);
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-pink));
}

.btn-secondary,
.btn-tertiary {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header-inner {
  display: block !important;
  position: relative !important;
  height: 980px !important;
  filter: drop-shadow(0 0 22px rgba(139, 92, 246, 0.18));
}

.site-header-inner .site-title {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 30px !important;
  width: fit-content !important;
  margin: 0 auto !important;
  inset: auto 0 auto 0 !important;
  transform: none !important;
}

.site-header-inner .site-title a {
  display: inline-block;
}

.site-header-inner .site-title img {
  width: min(78vw, 620px) !important;
  max-width: 100% !important;
  max-height: unset !important;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.site-header-inner .site-title a:hover img {
  transform: scale(1.035);
  filter: drop-shadow(0 0 18px rgba(139, 92, 246, 0.62));
}

.hero-title {
  position: absolute;
  left: 50%;
  top: 58% !important;
  transform: translateX(-50%);
  z-index: 5;
  width: 100%;
  text-align: center;
  pointer-events: none;
}

.hero-title h2 {
  margin: 0;
  font-size: clamp(48px, 5vw, 82px) !important;
  font-weight: 900;
  letter-spacing: -3px;
  color: #ffffff;
  text-shadow:
    0 0 10px rgba(139, 92, 246, 0.72),
    0 0 28px rgba(56, 189, 248, 0.18),
    0 0 54px rgba(139, 92, 246, 0.18);
}

.hero-title span {
  display: inline-block;
  margin-top: 10px;
  padding: 9px 20px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.32);
  backdrop-filter: blur(10px);
  color: #c4b5fd;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2px;
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.20);
}

.site-header-inner .info {
  position: absolute !important;
  top: 120px !important;
  margin: 0 !important;
  min-height: 92px !important;
  padding: 18px 26px !important;
  border-radius: 24px;
  background: var(--glass);
  border: 1px solid var(--border-neon);
  box-shadow: var(--shadow-neon);
  backdrop-filter: blur(14px);
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
}

.site-header-inner .info.server {
  left: -120px !important;
  flex-direction: row !important;
  justify-content: flex-start !important;
  text-align: left !important;
}

.site-header-inner .info.discord {
  right: -120px !important;
  min-width: 270px !important;
  flex-direction: row !important;
  justify-content: flex-start !important;
  text-align: left !important;
}

.site-header-inner .info .image {
  position: static !important;
  width: 52px !important;
  height: 52px !important;
  flex: 0 0 52px !important;
  object-fit: contain;
  margin: 0 !important;
  transform: none !important;
}

.site-header-inner .info.discord .image {
  order: 2;
}

.site-header-inner .info.discord .title,
.site-header-inner .info.discord .action {
  order: 1;
}

.site-header-inner .info .title,
.site-header-inner .info .action {
  display: block !important;
  line-height: 1.18 !important;
  white-space: nowrap !important;
}

.site-header-inner .info .title {
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.18);
}

.site-header-inner .info .action {
  color: var(--neon-blue);
  font-weight: 800;
}

.site-header-inner .info:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.54);
}

.site-header-inner .user-actions,
.site-header-inner .log-in {
  position: absolute !important;
  right: -120px !important;
  top: 20px !important;
}

.server-copy-box {
  cursor: pointer;
  text-decoration: none !important;
}

.server-copy-box:hover {
  transform: translateY(-3px) scale(1.015);
  border-color: rgba(56, 189, 248, 0.65);
  box-shadow:
    0 0 24px rgba(139, 92, 246, 0.35),
    0 0 48px rgba(56, 189, 248, 0.16);
}

.server-copy-box .action {
  pointer-events: none;
}

.site-header-inner .info.server.server-copy-box {
  padding-left: 32px !important;
  padding-right: 22px !important;
  gap: 12px !important;
  justify-content: flex-start !important;
}

.site-header-inner .info.server.server-copy-box .image,
.site-header-inner .info.server.server-copy-box .server-copy-content {
  margin: 0 !important;
}

.scroll-down {
  position: absolute;
  left: 50%;
  bottom: 90px !important;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: rgba(12, 14, 34, 0.72);
  border: 1px solid rgba(139, 92, 246, 0.45);
  box-shadow:
    0 0 18px rgba(139, 92, 246, 0.32),
    0 0 32px rgba(56, 189, 248, 0.12);
  backdrop-filter: blur(12px);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.scroll-down span {
  width: 15px;
  height: 15px;
  border-right: 4px solid #ffffff;
  border-bottom: 4px solid #ffffff;
  transform: rotate(45deg);
  filter:
    drop-shadow(0 0 8px rgba(139, 92, 246, 0.8))
    drop-shadow(0 0 14px rgba(56, 189, 248, 0.45));
  animation: scrollArrowBounce 1.7s ease-in-out infinite;
}

.scroll-down:hover {
  transform: translateX(-50%) translateY(-4px) scale(1.05);
  border-color: rgba(56, 189, 248, 0.65);
  box-shadow:
    0 0 24px rgba(139, 92, 246, 0.48),
    0 0 44px rgba(56, 189, 248, 0.20);
}

.navigation-horizontal > ul,
.navigation-horizontal .has-children > ul {
  border-radius: 22px;
  background: rgba(8, 10, 28, 0.9);
  border: 1px solid var(--border-neon);
  box-shadow: var(--shadow-neon);
  backdrop-filter: blur(14px);
}

.navigation-horizontal a {
  font-weight: 800;
}

.navigation-horizontal a:hover {
  color: var(--neon-blue);
}

.widget.site-navigation {
  transform: scale(0.95);
  transform-origin: top left;
}

.site-sale-banner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: 82% !important;
  margin: 180px auto 10px auto !important;
  padding: 18px 28px !important;
  border-radius: 28px;
  border: 1px solid rgba(139, 92, 246, 0.45);
  background: linear-gradient(135deg, #5b21b6 0%, #4338ca 42%, #0e7490 100%);
  background-clip: padding-box;
  color: #ffffff;
  font-size: 17px !important;
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
  box-shadow:
    inset 0 0 26px rgba(255,255,255,0.045),
    inset 0 0 42px rgba(0,0,0,0.16),
    0 0 28px rgba(139,92,246,0.30),
    0 0 54px rgba(56,189,248,0.10);
  backdrop-filter: blur(14px);
}

.site-sale-banner::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 27px;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.10), transparent 28%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.06), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(0,0,0,0.16));
}

.site-sale-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: -140%;
  width: 70%;
  height: 100%;
  z-index: 1;
  transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.13), transparent);
  animation: bannerShine 5.5s ease-in-out infinite;
  pointer-events: none;
}

.site-sale-banner:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 30px rgba(255,255,255,0.06),
    inset 0 0 46px rgba(0,0,0,0.18),
    0 0 34px rgba(139,92,246,0.42),
    0 0 68px rgba(56,189,248,0.14);
}

.site-home-categories {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  width: 82% !important;
  margin-top: 25px !important;
  gap: 22px !important;
}

.site-home-categories .category {
  position: relative;
  justify-content: flex-start !important;
  min-height: 205px !important;
  padding: 18px 18px 34px !important;
  overflow: hidden;
  isolation: isolate;
  border-radius: 28px;
  border: 1px solid rgba(139, 92, 246, 0.52);
  background:
    radial-gradient(circle at 50% 12%, rgba(255,255,255,0.105), transparent 24%),
    radial-gradient(circle at 14% 24%, rgba(56,189,248,0.16), transparent 36%),
    radial-gradient(circle at 86% 78%, rgba(217,70,239,0.15), transparent 40%),
    radial-gradient(circle at 50% 112%, rgba(139,92,246,0.19), transparent 44%),
    linear-gradient(145deg, rgba(44,36,104,0.94), rgba(15,24,64,0.96) 56%, rgba(7,9,29,0.98));
  box-shadow:
    inset 0 0 28px rgba(255,255,255,0.035),
    inset 0 0 62px rgba(139,92,246,0.105),
    0 0 24px rgba(139,92,246,0.24),
    0 0 48px rgba(56,189,248,0.08);
  color: #ffffff !important;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
  text-shadow:
    0 2px 10px rgba(0,0,0,0.86),
    0 0 12px rgba(255,255,255,0.14);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.site-home-categories .category::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.10), transparent 16%),
    radial-gradient(circle at 70% 38%, rgba(56,189,248,0.095), transparent 20%),
    radial-gradient(circle at 45% 70%, rgba(217,70,239,0.075), transparent 22%);
  opacity: 0.72;
  animation: magicBreathDark 5.4s ease-in-out infinite;
}

.site-home-categories .category::after {
  content: "";
  position: absolute;
  inset: auto 18px 13px 18px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #6d28d9, #2563eb, #a21caf, #6d28d9);
  box-shadow:
    0 0 10px rgba(56,189,248,0.45),
    0 0 18px rgba(217,70,239,0.26);
  animation: magicLinePulseDark 3.6s ease-in-out infinite;
}

.site-home-categories .category:hover {
  transform: translateY(-8px) scale(1.022);
  border-color: rgba(217,70,239,0.68);
  box-shadow:
    inset 0 0 34px rgba(255,255,255,0.04),
    inset 0 0 74px rgba(139,92,246,0.14),
    0 0 26px rgba(139,92,246,0.36),
    0 0 50px rgba(56,189,248,0.16),
    0 0 70px rgba(217,70,239,0.10);
}

.site-home-categories .category .image {
  max-height: 155px !important;
  max-width: 175px !important;
  margin-top: -10px;
  margin-bottom: 14px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 13px rgba(56,189,248,0.36))
    drop-shadow(0 0 24px rgba(139,92,246,0.24));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.site-home-categories .category:hover .image {
  animation: floatingGemSoft 2.8s ease-in-out infinite;
  filter:
    drop-shadow(0 0 14px rgba(56,189,248,0.52))
    drop-shadow(0 0 24px rgba(139,92,246,0.34))
    drop-shadow(0 0 30px rgba(217,70,239,0.16));
}

.category-badge {
  position: absolute;
  top: -1px;
  left: -1px;
  z-index: 20;
  min-width: 96px;
  padding: 12px 20px 12px 18px;
  border-radius: 28px 0 22px 0;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow:
    0 0 16px rgba(139, 92, 246, 0.25),
    0 0 32px rgba(139, 92, 246, 0.10);
  animation: badgeFloat 3.5s ease-in-out infinite;
}

.category-badge.sale { background: linear-gradient(135deg, #7c3aed, #d946ef); }

.category-badge.new {
  background: linear-gradient(135deg, #ff003c, #ff4d6d);
  box-shadow:
    0 0 18px rgba(255, 0, 60, 0.35),
    0 0 36px rgba(255, 77, 109, 0.18);
}

.category-badge.rabatt { background: linear-gradient(135deg, #a21caf, #ec4899); }
.category-badge.top { background: linear-gradient(135deg, #6d28d9, #9333ea); }

.site-content {
  width: 82% !important;
  margin-top: 15px !important;
  padding-top: 0 !important;
}

.store-text,
.category-description,
.widget,
.store-products-list .store-product,
.store-products-images .store-product,
.store-product-full,
.no-products,
.store-category-tiered,
.popup-content {
  border-radius: 26px;
  background: var(--glass);
  border: 1px solid rgba(139, 92, 246, 0.24);
  box-shadow: var(--shadow-neon);
  backdrop-filter: blur(14px);
}

.store-text,
.category-description,
.widget,
.store-products-list .store-product,
.store-products-images .store-product {
  padding: 20px !important;
}

.store-text {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.075), transparent 28%),
    radial-gradient(circle at 10% 15%, rgba(56,189,248,0.10), transparent 34%),
    radial-gradient(circle at 90% 90%, rgba(217,70,239,0.09), transparent 36%),
    linear-gradient(145deg, rgba(19,18,50,0.94), rgba(8,12,32,0.98));
  border: 1px solid rgba(139,92,246,0.34);
  box-shadow:
    inset 0 0 34px rgba(255,255,255,0.025),
    inset 0 0 70px rgba(139,92,246,0.075),
    0 0 24px rgba(139,92,246,0.20),
    0 0 44px rgba(56,189,248,0.06);
}

.store-text::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 25% 35%, rgba(255,255,255,0.065), transparent 18%),
    radial-gradient(circle at 70% 30%, rgba(56,189,248,0.07), transparent 22%),
    radial-gradient(circle at 50% 85%, rgba(217,70,239,0.055), transparent 24%);
  animation: magicBreathDark 6.2s ease-in-out infinite;
}

.store-text h1,
.store-text h2,
.store-text h3,
.store-text h4,
.store-text h5,
.store-text h6,
.category-description h1,
.category-description h2,
.category-description h3 {
  color: #ffffff;
  font-weight: 900;
  text-align: center;
}

.store-text a,
.category-description a {
  color: var(--neon-blue);
  font-weight: 800;
}

.widget-title {
  color: #ffffff;
  font-weight: 900;
  text-align: center;
}

.store-category-header,
.category-description,
.store-text {
  margin-top: 38px;
}

.store-products-images .store-product,
.store-products-list .store-product {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 12%, rgba(255,255,255,0.075), transparent 24%),
    radial-gradient(circle at 15% 25%, rgba(56,189,248,0.125), transparent 36%),
    radial-gradient(circle at 85% 75%, rgba(217,70,239,0.115), transparent 40%),
    linear-gradient(145deg, rgba(34,29,82,0.92), rgba(12,20,54,0.96) 58%, rgba(6,8,26,0.98));
  border: 1px solid rgba(139,92,246,0.36);
  box-shadow:
    inset 0 0 28px rgba(255,255,255,0.025),
    inset 0 0 56px rgba(139,92,246,0.085),
    0 0 20px rgba(139,92,246,0.18),
    0 0 36px rgba(56,189,248,0.06);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.store-products-images .store-product::before,
.store-products-list .store-product::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 28% 24%, rgba(255,255,255,0.08), transparent 16%),
    radial-gradient(circle at 72% 38%, rgba(56,189,248,0.075), transparent 20%),
    radial-gradient(circle at 45% 75%, rgba(217,70,239,0.065), transparent 22%);
  opacity: 0.62;
  animation: magicBreathDark 5.6s ease-in-out infinite;
}

.store-products-images .store-product:hover,
.store-products-list .store-product:hover {
  transform: translateY(-7px) scale(1.014);
  border-color: rgba(217,70,239,0.56);
  box-shadow:
    inset 0 0 34px rgba(255,255,255,0.032),
    inset 0 0 68px rgba(139,92,246,0.12),
    0 0 24px rgba(139,92,246,0.30),
    0 0 42px rgba(56,189,248,0.12),
    0 0 58px rgba(217,70,239,0.08);
}

.store-products-images .store-product .image,
.store-products-list .store-product .image {
  max-height: 240px;
  object-fit: contain;
  transition: transform 0.25s ease, filter 0.25s ease;
  filter:
    drop-shadow(0 0 11px rgba(56,189,248,0.30))
    drop-shadow(0 0 20px rgba(139,92,246,0.20));
}

.store-products-images .store-product:hover .image,
.store-products-list .store-product:hover .image {
  transform: translateY(-4px) scale(1.035);
  filter:
    drop-shadow(0 0 13px rgba(56,189,248,0.46))
    drop-shadow(0 0 24px rgba(139,92,246,0.30))
    drop-shadow(0 0 28px rgba(217,70,239,0.14));
}

.store-product .product-title {
  color: #ffffff;
  font-weight: 900;
}

.store-product .product-title a:hover {
  color: var(--neon-blue);
}

.store-product .price strong {
  color: var(--neon-blue);
  font-weight: 900;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.34);
}

.store-product .descr {
  color: rgba(255, 255, 255, 0.76);
}

.shop-home-box { text-align: center; }

.shop-kicker {
  color: #c4b5fd;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2px;
}

.shop-home-box h1 {
  margin: 10px 0 14px;
  font-size: 34px;
  font-weight: 900;
}

.shop-intro {
  max-width: 780px;
  margin: 0 auto 28px;
  color: rgba(255,255,255,0.82);
  font-size: 16px;
  line-height: 1.6;
}

.shop-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.shop-info-card,
.shop-note {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.07), transparent 30%),
    linear-gradient(145deg, rgba(29,25,72,0.76), rgba(8,12,32,0.92));
  border: 1px solid rgba(139,92,246,0.25);
  box-shadow:
    inset 0 0 24px rgba(255,255,255,0.025),
    0 0 18px rgba(139,92,246,0.12);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.shop-info-card { padding: 18px; }

.shop-info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56,189,248,0.44);
  box-shadow:
    inset 0 0 26px rgba(255,255,255,0.03),
    0 0 22px rgba(139,92,246,0.22),
    0 0 34px rgba(56,189,248,0.08);
}

.shop-info-card h3 {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 17px;
}

.shop-info-card p,
.shop-note p {
  color: rgba(255,255,255,0.76);
  line-height: 1.55;
}

.shop-note {
  margin-top: 24px;
  padding: 22px;
  border-radius: 22px;
}

.shop-note h2 {
  margin-bottom: 10px;
  font-size: 24px;
}

.quantity-field {
  border-radius: 999px;
  border: 1px solid rgba(139, 92, 246, 0.42);
  background: rgba(255, 255, 255, 0.055);
}

.store-form input,
.store-form select,
.store-form textarea {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(139, 92, 246, 0.28);
  color: #ffffff;
}

.popup {
  padding: 22px;
  backdrop-filter: blur(10px);
}

.popup-content {
  max-width: 520px !important;
  width: 88% !important;
  margin: auto !important;
  border-radius: 26px;
  overflow: hidden;
}

.popup-content .image,
.popup-content .media-slider,
.popup-content .slider {
  max-height: 430px !important;
  object-fit: contain;
}

.store-product-full { padding: 14px !important; }

.popup-content .product-title {
  font-size: 28px !important;
  margin-bottom: 12px !important;
}

.popup-content .descr {
  font-size: 15px;
  line-height: 1.45;
}

.popup-content .store-product-footer,
.popup-content .store-product-actions {
  padding-top: 10px !important;
}

.popup-content .btn-primary,
.popup-content .btn-secondary,
.popup-content button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 11px 18px !important;
}

.popup-content .btn-primary .text,
.popup-content .btn-primary span {
  width: 100%;
  text-align: center !important;
}

.site-footer {
  background: rgba(5, 6, 17, 0.95);
  border-top: 1px solid rgba(139, 92, 246, 0.22);
}

.toast {
  border-radius: 18px;
  background: var(--glass-strong);
  border: 1px solid var(--border-neon);
  box-shadow: var(--shadow-neon);
}

#packages { scroll-margin-top: 80px; }

@keyframes floatingGemSoft {
  0% { transform: translateY(0) scale(1.04); }
  50% { transform: translateY(-5px) scale(1.065); }
  100% { transform: translateY(0) scale(1.04); }
}

@keyframes magicBreathDark {
  0% { opacity: 0.48; filter: saturate(0.95); }
  50% { opacity: 0.82; filter: saturate(1.12); }
  100% { opacity: 0.48; filter: saturate(0.95); }
}

@keyframes magicLinePulseDark {
  0% { opacity: 0.66; }
  50% { opacity: 0.92; }
  100% { opacity: 0.66; }
}

@keyframes bannerShine {
  0% { left: -140%; opacity: 0; }
  18% { opacity: 1; }
  45% { left: 140%; opacity: 0; }
  100% { left: 140%; opacity: 0; }
}

@keyframes scrollArrowBounce {
  0%, 100% { transform: translateY(-3px) rotate(45deg); opacity: 0.7; }
  50% { transform: translateY(6px) rotate(45deg); opacity: 1; }
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0px); filter: brightness(1); }
  50% { transform: translateY(2px); filter: brightness(1.08); }
}

/* =========================================================
   Responsive fixes
   ========================================================= */

@media (width <= 960px) {
  .site { max-width: 100% !important; }

  .site-header-inner,
  .site-content,
  .site-home-categories,
  .navigation-horizontal,
  .site-sale-banner {
    width: calc(100% - 32px) !important;
  }

  body::before {
    height: 620px;
    background-position: center top;
  }

  .site-header-inner {
    height: 640px !important;
    padding-top: 0 !important;
  }

  .site-header-inner .site-title {
    top: 82px !important;
    max-width: 84%;
  }

  .site-header-inner .site-title img {
    max-width: 100% !important;
    max-height: 175px !important;
  }

  .hero-title { top: 48% !important; }

  .hero-title h2 {
    font-size: clamp(42px, 12vw, 58px) !important;
    letter-spacing: -1.5px;
  }

  .hero-title span {
    font-size: 11px;
    padding: 7px 14px;
  }

  .site-header-inner .info {
    top: auto !important;
    bottom: 86px !important;
    min-height: 76px !important;
    transform: none !important;
  }

  .site-header-inner .info.server {
    left: 0 !important;
    width: calc(50% - 8px) !important;
    padding-left: 20px !important;
    padding-right: 18px !important;
  }

  .site-header-inner .info.discord {
    right: 0 !important;
    width: calc(50% - 8px) !important;
    min-width: 0 !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .site-header-inner .info .image {
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
  }

  .site-header-inner .info .title {
    font-size: 13px;
    line-height: 1.25;
  }

  .site-header-inner .info .action {
    font-size: 12px;
  }

  .site-header-inner .user-actions,
  .site-header-inner .log-in {
    top: 18px !important;
    right: 0 !important;
  }

  .scroll-down {
    bottom: 22px !important;
    width: 46px;
    height: 46px;
  }

  .site-sale-banner {
    width: calc(100% - 32px) !important;
    margin-top: 38px !important;
    padding: 16px 20px !important;
    border-radius: 22px;
    font-size: 15px !important;
    line-height: 1.35;
  }

  .site-sale-banner::before { border-radius: 21px; }

  .site-home-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    margin-top: 24px !important;
  }

  .site-home-categories .category {
    min-height: 190px !important;
    padding: 18px 14px 32px !important;
    font-size: 22px !important;
    text-align: center;
  }

  .site-home-categories .category .image {
    max-height: 130px !important;
    max-width: 145px !important;
  }

  .category-badge {
    min-width: 82px;
    padding: 10px 14px 10px 13px;
    font-size: 12px;
  }

  .site-content { margin-top: 18px !important; }
  .shop-info-grid { grid-template-columns: repeat(2, 1fr); }
  .popup { padding: 14px; }

  .popup-content {
    width: 94% !important;
    max-width: 500px !important;
  }
}

@media (width <= 600px) {
  body::before {
    height: 610px;
    background-size: auto 100%;
    background-position: center top;
  }

  .site-header-inner,
  .site-content,
  .site-home-categories,
  .navigation-horizontal,
  .site-sale-banner {
    width: calc(100% - 24px) !important;
  }

  .site-header-inner { height: 760px !important; }

  .site-header-inner .site-title {
    top: 92px !important;
    max-width: 92%;
  }

  .site-header-inner .site-title img { max-height: 155px !important; }

  .hero-title { top: 40% !important; }

  .hero-title h2 {
    font-size: clamp(38px, 15vw, 52px) !important;
    letter-spacing: -1px;
  }

  .hero-title span {
    margin-top: 8px;
    font-size: 10px;
    letter-spacing: 1.4px;
    padding: 7px 12px;
  }

  .site-header-inner .user-actions,
  .site-header-inner .log-in {
    top: 14px !important;
    right: 0 !important;
  }

  .site-header-inner .user-actions {
    display: flex !important;
    gap: 8px !important;
  }

  .site-header-inner .info {
    width: 100% !important;
    min-height: 72px !important;
    bottom: auto !important;
    text-align: left !important;
  }

  .site-header-inner .info.server {
    top: 470px !important;
    left: 0 !important;
    padding-left: 20px !important;
    padding-right: 18px !important;
  }

  .site-header-inner .info.discord {
    top: 556px !important;
    right: 0 !important;
    padding-left: 20px !important;
    padding-right: 18px !important;
  }

  .site-header-inner .info.discord .image {
    left: auto !important;
    right: auto !important;
  }

  .site-header-inner .info .image {
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px !important;
  }

  .site-header-inner .info .title { font-size: 14px; }
  .site-header-inner .info .action { font-size: 13px; }

  .scroll-down { bottom: 24px !important; }

  .site-sale-banner {
    width: calc(100% - 24px) !important;
    margin-top: 32px !important;
    padding: 15px 16px !important;
    font-size: 14px !important;
  }

  .site-home-categories {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-top: 22px !important;
  }

  .site-home-categories .category {
    flex-direction: row;
    justify-content: flex-start !important;
    min-height: 132px !important;
    padding: 18px 18px 26px !important;
    font-size: 23px !important;
    text-align: left;
  }

  .site-home-categories .category .image {
    max-width: 104px !important;
    max-height: 104px !important;
    margin: 0 14px 0 0;
  }

  .category-badge {
    min-width: 76px;
    padding: 8px 12px 8px 11px;
    border-radius: 22px 0 18px 0;
    font-size: 11px;
  }

  .store-text,
  .category-description,
  .widget,
  .store-products-list .store-product,
  .store-products-images .store-product {
    padding: 18px !important;
  }

  .shop-home-box h1 { font-size: 28px; }
  .shop-intro { font-size: 15px; }
  .shop-info-grid { grid-template-columns: 1fr; }
  .popup-content .product-title { font-size: 24px !important; }
}
