@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
:root {
  --color-primary: #f4c75d;
  --color-main: #f4c75d;
  --color-main-light: #f2eaaa;
  --color-accent: #302409;
  --color-red: #ef4444;
  --color-green: #22c55e;
  --color-blue: #38bdf8;
  --bg-0: #0d0d0d;
  --bg-1: #1a1a1a;
  --bg-2: #141310;
  --color-gold-dark: #F6AD3B;
  --bg-image: url("https://template-assets.tebex.io/images/page-bg.jpg");
}

body {
  font-family: Montserrat, sans-serif;
  font-optical-sizing: auto;
}
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  max-height: 400px;
  z-index: -1;
  background: var(--bg-image) center center/cover no-repeat;
  mask-image: linear-gradient(rgba(0, 0, 0, 0.75) 50%, rgba(0, 0, 0, 0.25));
  pointer-events: none;
}

.my-text-primary {
  color: var(--color-text);
}
.my-text-secondary {
  color: var(--color-text-secondary);
}
.my-shadow {
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.5), 0 2px 4px -2px rgb(0 0 0 / 0.5);
}
.my-drop-shadow {
  filter: drop-shadow(0 4px 3px rgb(0 0 0 / 21%)) drop-shadow(0 2px 2px rgb(0 0 0 / 7%));
}
.main-bg {
  background: linear-gradient(90deg, var(--color-main) 0%, var(--color-main-light) 100%);
}
.discord-bg {
  background: linear-gradient(90deg, #5865f2 0%, #8791f6 100%);
}
.red-bg {
  background: linear-gradient(85.06deg, var(--color-red), #dc2626);
}
.green-bg {
  background: linear-gradient(85.06deg, var(--color-green), #16a34a);
}
.blue-bg {
  background: linear-gradient(85.06deg, var(--color-blue), #3b82f6);
}

.btn-primary,
.btn-secondary,
.btn-tertiary {
  border-radius: 2px;
}

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

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

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

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

.site-home-categories .category {
  border-radius: 6px;
  padding: 20px var(--widget-padding);
  background: var(--bg-1);
  border: 1px solid rgba(64, 64, 64, 0.22);
  transition: all 0.3s ease;
}
.site-home-categories .category:hover {
  color: var(--color-primary);
  border-color: rgba(244, 199, 93, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.5), 0 4px 10px -5px rgba(244,199,93,0.15);
}

.category-description {
  border-radius: 6px;
  background: var(--bg-1);
  border: 1px solid rgba(64, 64, 64, 0.22);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.5), 0 2px 4px -2px rgb(0 0 0 / 0.5);
}

.store-text {
  border-radius: 6px;
  background: var(--bg-1);
  border: 1px solid rgba(64, 64, 64, 0.22);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.5), 0 2px 4px -2px rgb(0 0 0 / 0.5);
}
.store-text h1,
.store-text h2,
.store-text h3,
.store-text h4,
.store-text h5,
.store-text h6 {
  text-align: center;
}

.store-products-list .store-product,
.store-products-images .store-product {
  border-radius: 6px;
  background: var(--bg-1);
  border: 1px solid rgba(64, 64, 64, 0.22);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.5), 0 2px 4px -2px rgb(0 0 0 / 0.5);
  transition: all 0.3s ease;
}
.store-products-list .store-product:hover,
.store-products-images .store-product:hover {
  border-color: rgba(244, 199, 93, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px -5px rgba(0,0,0,0.5), 0 4px 10px -5px rgba(244,199,93,0.15);
}

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

.widget-title {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  font-size: 18px;
}

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

.no-products {
  color: var(--color-text-secondary);
  background: var(--bg-1);
  border-radius: 6px;
  border: 1px solid rgba(64, 64, 64, 0.22);
}

.store-product-full {
  border-radius: 6px;
  background: var(--bg-1);
  border: 1px solid rgba(64, 64, 64, 0.22);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.5), 0 2px 4px -2px rgb(0 0 0 / 0.5);
  overflow: hidden;
}

.store-product .quantity-field {
  border-radius: 6px;
  background: var(--bg-0);
}
.store-product .quantity-field input[type=number] {
  border: none;
}

@media (width > 960px) {
  .navigation-horizontal > ul {
    border-radius: 6px;
    background: var(--bg-1);
    border: 1px solid rgba(64, 64, 64, 0.22);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.5), 0 2px 4px -2px rgb(0 0 0 / 0.5);
  }
}
.navigation-horizontal .has-children > ul {
  border-radius: 5px;
}

.widget {
  border-radius: 6px;
  background: var(--bg-1);
  border: 1px solid rgba(64, 64, 64, 0.22);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.5), 0 2px 4px -2px rgb(0 0 0 / 0.5);
  transition: all 0.3s ease;
}
@media (width <= 960px) {
  .widget.site-navigation {
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }
}

.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;
}

.popup-content {
  border-radius: 6px;
  background: var(--bg-1);
  border: 1px solid rgba(64, 64, 64, 0.22);
}

.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: 5px;
}
.basket-item .quantity {
  border-radius: 2px;
}

.toast {
  border-radius: 6px;
  border-left: 3px solid var(--color-primary);
  background: rgba(244, 199, 93, 0.08);
}
.toast.toast-warning {
  border-left-color: #cab600;
  background: rgba(202, 182, 0, 0.12);
}
.toast.toast-error {
  border-left-color: #ef4444;
  background: rgba(239, 68, 68, 0.12);
}
.toast.toast-success {
  border-left-color: #22c55e;
  background: rgba(34, 197, 94, 0.12);
}

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

.store-category-tiered {
  border-radius: 6px;
  background: var(--bg-1);
  border: 1px solid rgba(64, 64, 64, 0.22);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.5), 0 2px 4px -2px rgb(0 0 0 / 0.5);
}

.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: 6px;
  background: rgb(from var(--bg-1) r g b/0.6);
  border: 1px solid rgba(64, 64, 64, 0.22);
}

.media-slider .slider,
.media-slider .thumb {
  border-radius: 5px;
}
.media-slider .open-lightbox {
  border-radius: 2px;
}

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

.btn-primary {
  background: linear-gradient(90deg, var(--color-main) 0%, var(--color-main-light) 100%);
  border: none;
  transition: all 0.3s ease;
}
.btn-primary:hover, .btn-primary:focus {
  filter: brightness(1.15);
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(244,199,93,0.3);
}

.basket-item {
  background: var(--bg-1);
  border: 1px solid rgba(64, 64, 64, 0.22);
}
.basket .basket-header {
  background: linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 100%);
  border-bottom: 1px solid rgba(64, 64, 64, 0.22);
}
.basket .basket-second-header {
  background: var(--bg-2);
  border-bottom: 1px solid rgba(64, 64, 64, 0.22);
  color: var(--color-primary);
}
.basket .basket-second-header .total strong {
  color: var(--color-primary);
}
.basket .basket-item {
  border-radius: 6px;
  transition: all 0.2s ease;
}
.basket .basket-item:hover {
  border-color: rgba(244, 199, 93, 0.2);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.basket .basket-item .title a {
  color: var(--color-text);
  transition: color 0.2s ease;
}
.basket .basket-item .title a:hover {
  color: var(--color-primary);
}
.basket .basket-checkout {
  padding: var(--widget-padding) var(--content-padding);
  background: var(--bg-1);
  border-top: 1px solid rgba(64, 64, 64, 0.22);
}
.basket .basket-checkout h3 {
  color: var(--color-primary);
}
.basket .basket-checkout .total strong {
  color: var(--color-primary);
  font-size: 28px;
}
.basket .basket-checkout .checkout {
  width: 100%;
  padding: 16px;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.basket .quantity-field input[type="number"] {
  background: var(--bg-2);
  border: 1px solid rgba(64, 64, 64, 0.22);
  color: var(--color-text);
  border-radius: 4px;
}
.basket .quantity-field .btn-tertiary {
  background: var(--bg-2);
  border: 1px solid rgba(64, 64, 64, 0.22);
  color: var(--color-text);
  border-radius: 4px;
  transition: all 0.2s ease;
}
.basket .quantity-field .btn-tertiary:hover {
  background: rgba(244, 199, 93, 0.15);
  border-color: rgba(244, 199, 93, 0.3);
  color: var(--color-primary);
}
.basket-popup-content {
  background: var(--bg-0) !important;
}

.site-footer {
  background: var(--bg-1);
  border-top: 1px solid rgba(64, 64, 64, 0.22);
}

.navigation-horizontal a:hover, .navigation-horizontal a.link-active {
  color: var(--color-primary) !important;
}
.navigation-horizontal li li a:hover, .navigation-horizontal li li a.link-active {
  color: var(--color-primary-text) !important;
  background-color: var(--color-primary) !important;
}

.widget:hover {
  border-color: rgba(244, 199, 93, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px -5px rgba(0,0,0,0.5), 0 4px 10px -5px rgba(244,199,93,0.1);
}

.site-header-inner .info .value {
  color: var(--color-primary);
  border-color: rgba(244, 199, 93, 0.3);
}

.store-product-full .actions {
  background-color: rgba(26, 26, 26, 0.85);
}

.hexagon-box {
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  -webkit-clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(225deg, rgba(23,23,23,1) 0%, rgba(64,64,64,1) 100%);
  flex: none;
}
.hexagon-box .skin-body {
  width: 57px;
  height: 57px;
  object-fit: contain;
  filter: drop-shadow(0 4px 3px rgb(0 0 0 / 40%));
}
.login-wrap-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text);
  transition: color 0.3s ease;
}
.login-wrap-link:hover {
  color: var(--color-primary);
}
.login-head-group {
  display: flex;
  align-items: center;
  gap: 10px;
  position: absolute;
  top: var(--widget-padding);
  right: 0;
}
.user-head-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-top-donator {
  background: linear-gradient(90deg, #5865f2 0%, #8791f6 100%) !important;
  border-color: transparent !important;
}
.widget-top-donator .widget-title,
.widget-top-donator .widget-content {
  color: #fff;
}
.donator-empty-skin {
  border-radius: 0 !important;
}

.store-products-images .store-product .image-link {
  overflow: hidden;
}
.store-products-images .store-product .image-link img {
  transition: transform 0.4s ease;
}
.store-products-images .store-product:hover .image-link img {
  transform: scale(1.08);
}

@media (width <= 960px) {
  .login-head-group {
    position: absolute;
    top: var(--widget-padding);
    right: 0;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .login-head-group .hexagon-box {
    width: 36px;
    height: 36px;
  }
  .login-head-group .hexagon-box .skin-body {
    width: 36px;
    height: 36px;
  }
  .user-head-group .hexagon-box {
    width: 36px;
    height: 36px;
  }
  .user-head-group .hexagon-box .skin-body {
    width: 36px;
    height: 36px;
  }
}

.category-rangos {
  background: linear-gradient(135deg, rgba(244,199,93,0.12) 0%, var(--bg-1) 100%) !important;
  border-color: rgba(244, 199, 93, 0.25) !important;
}
.category-rangos .rangos-icon {
  background: linear-gradient(135deg, var(--color-main) 0%, var(--color-main-light) 100%);
  mask: url("https://template-assets.tebex.io/images/star.svg") center center / contain no-repeat;
  -webkit-mask: url("https://template-assets.tebex.io/images/star.svg") center center / contain no-repeat;
  background-size: 60% !important;
  background-repeat: no-repeat;
  background-position: center;
}

.rango-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
}
.rango-overlay:target {
  display: flex;
}
.rango-card {
  position: relative;
  background: var(--bg-1);
  border: 1px solid rgba(244, 199, 93, 0.2);
  border-radius: 12px;
  padding: 48px 40px 40px;
  max-width: 520px;
  width: 90%;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0,0,0,0.6), 0 0 40px rgba(244,199,93,0.08);
  animation: rangoFadeIn 0.3s ease;
}
@keyframes rangoFadeIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.rango-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 1;
}
.rango-close:hover {
  color: #fff;
}
.rango-title {
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin: 0 0 8px;
}
.rango-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin: 0 0 32px;
}
.rango-buttons {
  display: flex;
  gap: 16px;
}
.rango-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 16px 24px;
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
  border: 1px solid rgba(64, 64, 64, 0.4);
}
.rango-btn-temporal {
  background: linear-gradient(135deg, rgba(59,130,246,0.15) 0%, rgba(59,130,246,0.05) 100%);
}
.rango-btn-temporal:hover {
  border-color: rgba(59,130,246,0.5);
  box-shadow: 0 0 25px rgba(59,130,246,0.2);
  transform: translateY(-3px);
}
.rango-btn-permanente {
  background: linear-gradient(135deg, rgba(244,199,93,0.15) 0%, rgba(244,199,93,0.05) 100%);
}
.rango-btn-permanente:hover {
  border-color: rgba(244,199,93,0.5);
  box-shadow: 0 0 25px rgba(244,199,93,0.2);
  transform: translateY(-3px);
}
.rango-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.rango-btn-temporal .rango-btn-icon {
  color: #60a5fa;
}
.rango-btn-permanente .rango-btn-icon {
  color: var(--color-primary);
}
.rango-btn-label {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.rango-btn-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}