@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;900&family=Rajdhani:wght@400;500;600;700&family=Share+Tech+Mono&display=swap");

:root {
  --tbx-bg: #020905;
  --tbx-bg-soft: #07150d;
  --tbx-panel: rgba(6, 20, 14, 0.78);
  --tbx-panel-strong: rgba(8, 26, 18, 0.9);
  --tbx-border: rgba(0, 255, 133, 0.26);
  --tbx-border-strong: rgba(0, 255, 133, 0.55);
  --tbx-text: #ebfff5;
  --tbx-muted: #95bea8;
  --tbx-primary: #00ff85;
  --tbx-primary-2: #39ff14;
  --tbx-cyan: #00e6ff;
  --tbx-warning: #ffae33;
  --tbx-danger: #ff3355;
  --tbx-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);

  --color-text: var(--tbx-text);
  --color-text-darker: #d8f5e5;
  --color-text-secondary: #93b9a6;
  --color-text-dark: #031108;
  --color-bg: var(--tbx-bg);
  --color-brighter-bg: var(--tbx-panel);
  --color-primary: var(--tbx-primary);
  --color-primary-hover: #8bffca;
  --color-primary-text: var(--color-text-dark);
  --color-primary-text-hover: var(--color-primary-text);
  --color-secondary: rgba(223, 255, 242, 0.14);
  --color-secondary-hover: rgba(223, 255, 242, 0.26);
  --color-secondary-text: var(--tbx-text);
  --color-secondary-text-hover: var(--tbx-text);
  --color-tertiary: rgba(0, 255, 133, 0.08);
  --color-tertiary-hover: rgba(0, 255, 133, 0.17);
  --color-tertiary-text: var(--tbx-text);
  --color-tertiary-text-hover: #f2fff8;
  --color-removed: var(--tbx-danger);
  --color-sale-banner-bg: rgba(0, 255, 133, 0.15);
  --color-sale-banner-text: #d7ffea;
  --bg-image: url("https://template-assets.tebex.io/images/page-bg.jpg");
}

html {
  scrollbar-color: rgba(0, 255, 133, 0.6) rgba(2, 9, 5, 0.9);
}

body {
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 0.01em;
  background:
    radial-gradient(1000px 500px at 8% -15%, rgba(0, 255, 133, 0.18), transparent 58%),
    radial-gradient(1100px 580px at 90% -20%, rgba(0, 230, 255, 0.14), transparent 60%),
    linear-gradient(160deg, #030b06, #030b10 52%, #020904);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(2, 10, 7, 0.9), rgba(2, 10, 7, 0.65) 36%, rgba(2, 9, 5, 0.98)),
    var(--bg-image) center top/cover no-repeat;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(transparent 97%, rgba(0, 255, 133, 0.04) 100%),
    linear-gradient(90deg, transparent 97%, rgba(0, 255, 133, 0.035) 100%);
  background-size: 26px 26px;
  opacity: 0.22;
  pointer-events: none;
}

::selection {
  color: #031008;
  background: rgba(57, 255, 20, 0.55);
}

h1,
h2,
h3,
h4,
h5,
h6,
.site-title,
.menu-title,
.widget-title,
.product-title {
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.04em;
}

[data-countdown],
.countdown,
.price strong,
.basket .basket-checkout .total strong {
  font-family: "Share Tech Mono", monospace;
}

a {
  transition: color 0.15s ease;
}

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

.btn-primary,
.btn-secondary,
.btn-tertiary {
  border-radius: 12px;
  border: 1px solid transparent;
  text-transform: uppercase;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.btn-primary {
  border-color: rgba(0, 255, 133, 0.8);
  background: linear-gradient(120deg, rgba(18, 172, 89, 0.95), rgba(57, 255, 20, 0.96));
  box-shadow: 0 8px 20px rgba(0, 255, 133, 0.22);
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-1px);
  border-color: #b7ffd8;
  box-shadow: 0 10px 24px rgba(0, 255, 133, 0.35);
}

.btn-secondary {
  border-color: rgba(0, 230, 255, 0.38);
  background: rgba(0, 32, 28, 0.72);
}

.btn-secondary:hover,
.btn-secondary:focus {
  transform: translateY(-1px);
  border-color: rgba(0, 230, 255, 0.8);
  box-shadow: 0 0 18px rgba(0, 230, 255, 0.24);
}

.btn-tertiary {
  border-color: rgba(255, 255, 255, 0.17);
  background: rgba(8, 16, 12, 0.55);
}

.btn-tertiary:hover,
.btn-tertiary:focus {
  border-color: rgba(0, 255, 133, 0.56);
  background: rgba(0, 255, 133, 0.13);
}

.btn-glyph::before,
.btn-glyph-text::before {
  opacity: 0.95;
}

.quantity-field {
  border: 1px solid var(--tbx-border);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.quantity-field input[type=number] {
  color: var(--tbx-text);
  font-family: "Share Tech Mono", monospace;
  border: none;
}

.quantity-field .open-basket {
  background: rgba(0, 255, 133, 0.14);
  color: #deffed;
}

.site-header-inner,
.site-sale-banner,
.navigation-horizontal .menu,
.navigation-horizontal .has-children > ul,
.site-home-categories .category,
.store-text,
.category-description,
.store-product,
.widget,
.no-products,
.store-product-full,
.store-category-tiered,
.popup-content,
.basket-popup-content,
.basket .basket-item,
.toast,
.tbx-panel,
.tbx-checkout-shell {
  border: 1px solid var(--tbx-border);
  border-radius: 18px;
  background:
    radial-gradient(700px 260px at 12% -20%, rgba(0, 255, 133, 0.1), transparent 58%),
    radial-gradient(620px 280px at 95% -20%, rgba(0, 230, 255, 0.09), transparent 60%),
    linear-gradient(160deg, rgba(7, 20, 14, 0.88), rgba(4, 13, 10, 0.83));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
}

.site-header-inner {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--tbx-shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  isolation: isolate;
}

.site-header-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 26px,
      rgba(0, 255, 133, 0.03) 26px 27px
    );
  opacity: 0.45;
  z-index: 0;
}

.site-header-inner > * {
  position: relative;
  z-index: 1;
}

.site-header-inner .site-title {
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(0, 255, 133, 0.26);
}

.site-header-inner .info {
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(3, 12, 10, 0.5);
  border-radius: 14px;
  padding-top: 8px;
  padding-bottom: 8px;
  backdrop-filter: blur(4px);
}

.site-header-inner .info .title {
  color: #e8fff4;
}

.site-header-inner .info .action {
  color: var(--tbx-primary);
}

.site-header-inner .info .value {
  border-color: rgba(0, 255, 133, 0.38);
  background: rgba(0, 255, 133, 0.12);
  color: #dffeed;
}

.site-sale-banner {
  margin-top: var(--widget-padding);
  margin-bottom: var(--widget-padding);
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.36);
}

.site-home-categories {
  gap: 18px;
}

.site-home-categories .category {
  min-height: 110px;
  padding: 16px var(--widget-padding);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.site-home-categories .category .image {
  filter: drop-shadow(0 0 14px rgba(0, 255, 133, 0.18));
}

.site-home-categories .category:hover {
  color: var(--tbx-primary);
  border-color: var(--tbx-border-strong);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
}

.site-content-widgets {
  align-items: start;
}

.store-text,
.category-description {
  color: #d9f2e5;
}

.store-text h1,
.store-text h2,
.store-text h3,
.store-text h4,
.store-text h5,
.store-text h6,
.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: left;
  text-shadow: 0 0 14px rgba(0, 255, 133, 0.18);
}

.store-products-images {
  gap: 20px;
}

.store-products-list .store-product,
.store-products-images .store-product {
  text-align: left;
  border-radius: 16px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.2s ease;
}

.store-products-images .store-product:hover,
.store-products-list .store-product:hover {
  border-color: var(--tbx-border-strong);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
}

.store-product .image-link {
  border-radius: 12px;
  border: 1px solid rgba(0, 255, 133, 0.16);
  background: rgba(3, 10, 8, 0.55);
  overflow: hidden;
}

.store-products-list .store-product .image-link {
  padding: 8px;
}

.store-products-images .store-product .image-link {
  padding: 12px;
}

.store-product .image-default::before,
.site-home-categories .category .image-default::before {
  background-color: rgba(216, 255, 236, 0.86);
}

.store-product .product-title {
  font-size: 18px;
  letter-spacing: 0.03em;
}

.store-product .descr {
  color: var(--tbx-muted);
}

.store-product .price {
  color: #d8f5e5;
}

.store-product .price strong {
  color: var(--tbx-primary);
  text-shadow: 0 0 12px rgba(0, 255, 133, 0.23);
}

.store-product .price .discount {
  color: #ff6c87;
}

.widget {
  border-radius: 16px;
}

.widget-title {
  text-align: left;
  font-size: 18px;
  letter-spacing: 0.05em;
  color: #dcffee;
}

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

.widget-gift-card .gift-card-input,
.store-form input[type=text],
.store-form input[type=password],
.store-form input[type=email],
.store-form input[type=number],
.store-form input[type=search],
.store-form input[type=url],
.store-form input[type=tel],
.store-form input[type=date],
.store-form input[type=time],
.store-form input[type=datetime-local],
.store-form input[type=file],
.store-form input[type=month],
.store-form input[type=week],
.store-form select,
.store-form textarea {
  border: 1px solid rgba(0, 255, 133, 0.26);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
  color: #dffeed;
}

.store-form input:focus,
.store-form select:focus,
.store-form textarea:focus,
.widget-gift-card .gift-card-input:focus {
  border-color: var(--tbx-primary);
  box-shadow: 0 0 0 2px rgba(0, 255, 133, 0.18), 0 0 14px rgba(0, 255, 133, 0.22);
}

.widget-community-goal .progress,
.widget-goal .progress {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(1, 8, 6, 0.65);
}

.widget-community-goal .progress-bar,
.widget-goal .progress-bar {
  border-radius: 999px;
  background-image: linear-gradient(90deg, var(--tbx-primary), var(--tbx-cyan));
}

.store-product-full {
  border-radius: 22px;
}

.store-product-full .image {
  border-radius: 12px;
  border: 1px solid rgba(0, 255, 133, 0.25);
  background: rgba(3, 10, 8, 0.58);
  padding: 8px;
}

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

@media (width > 960px) {
  .navigation-horizontal .menu {
    border-radius: 16px;
    border-color: rgba(0, 255, 133, 0.3);
    gap: 4px 2px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  }

  .navigation-horizontal .menu > li > a {
    border-radius: 10px;
    padding: 12px 14px;
  }

  .navigation-horizontal .menu > li > a:hover,
  .navigation-horizontal .menu > li > a.link-active {
    background: rgba(0, 255, 133, 0.13);
  }

  .navigation-horizontal .has-children > ul {
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 133, 0.24);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.42);
  }

  .site-header-inner .info.server {
    padding-left: 72px;
    padding-right: 14px;
  }

  .site-header-inner .info.discord {
    padding-left: 12px;
    padding-right: 90px;
  }
}

@media (width <= 960px) {
  .site-header-inner {
    border-radius: 18px;
  }

  .site-header-inner .info {
    border: 1px solid rgba(0, 255, 133, 0.18);
    background: rgba(2, 10, 8, 0.56);
  }

  .site-navigation {
    background: rgba(0, 4, 3, 0.55);
    backdrop-filter: blur(6px);
  }

  .site-navigation .menu {
    border-right: 1px solid rgba(0, 255, 133, 0.28);
    background:
      radial-gradient(500px 220px at 10% -10%, rgba(0, 255, 133, 0.12), transparent 62%),
      linear-gradient(160deg, rgba(7, 19, 14, 0.95), rgba(4, 10, 8, 0.95));
  }

  .widget.site-navigation {
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }
}

.popup {
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 255, 133, 0.16), transparent 40%),
    radial-gradient(circle at 88% 80%, rgba(0, 230, 255, 0.14), transparent 42%),
    rgba(0, 0, 0, 0.72);
}

.popup-content {
  border-radius: 16px;
  border-color: rgba(0, 255, 133, 0.35);
  box-shadow: var(--tbx-shadow);
}

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

.popup-close:hover {
  background: rgba(0, 255, 133, 0.12);
}

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

.basket .basket-header {
  background: linear-gradient(130deg, rgba(6, 20, 14, 0.85), rgba(4, 12, 9, 0.78));
  border-bottom: 1px solid rgba(0, 255, 133, 0.22);
}

.basket .basket-second-header {
  background: rgba(5, 18, 13, 0.88);
  border-bottom: 1px solid rgba(0, 255, 133, 0.12);
}

.basket .basket-title::before {
  background-color: #dffeed;
}

.basket .basket-item .title {
  font-size: 18px;
}

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

.basket-item {
  border-radius: 12px;
}

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

.basket .basket-checkout .total {
  color: var(--tbx-primary);
}

.toaster {
  max-width: 560px;
}

.toast {
  border-radius: 12px;
  border: 1px solid rgba(0, 255, 133, 0.24);
  color: #ecfff4;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45);
}

.toast.toast-warning {
  background: linear-gradient(140deg, rgba(65, 45, 4, 0.95), rgba(43, 28, 2, 0.95));
  border-color: rgba(255, 174, 51, 0.46);
}

.toast.toast-error {
  background: linear-gradient(140deg, rgba(55, 8, 18, 0.95), rgba(32, 4, 11, 0.95));
  border-color: rgba(255, 51, 85, 0.45);
}

.toast.toast-success {
  background: linear-gradient(140deg, rgba(6, 36, 20, 0.95), rgba(4, 23, 13, 0.95));
  border-color: rgba(0, 255, 133, 0.45);
}

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

.store-category-tiered {
  border-radius: 18px;
}

.store-product-tiered {
  border-radius: 14px;
  border: 1px solid rgba(0, 255, 133, 0.2);
  background: rgba(4, 15, 11, 0.72);
}

.store-product-tiered.store-product-cta {
  background-image:
    linear-gradient(to bottom, rgba(3, 10, 8, 0.8), rgba(0, 255, 133, 0.15)),
    linear-gradient(160deg, rgba(7, 20, 14, 0.88), rgba(4, 13, 10, 0.83));
}

.media-slider .slider,
.media-slider .thumb,
.popup.popup-media-slider .thumb {
  border-radius: 10px;
  border: 1px solid rgba(0, 255, 133, 0.2);
  background-color: rgba(2, 10, 7, 0.7);
}

.media-slider .open-lightbox {
  border-radius: 10px;
}

.site-footer {
  background: transparent;
}

.site-footer-inner {
  border: 1px solid rgba(0, 255, 133, 0.2);
  border-radius: 16px;
  background:
    radial-gradient(560px 220px at 12% -35%, rgba(0, 255, 133, 0.12), transparent 65%),
    linear-gradient(160deg, rgba(5, 16, 12, 0.86), rgba(3, 10, 8, 0.82));
}

.site-footer-inner .copyright {
  color: #a3cab6;
}

.site-footer-inner .site-footer-nav a {
  color: #d0f6e4;
}

.site-footer-inner .site-footer-nav a:hover {
  color: var(--tbx-primary);
}

.site-footer-inner .we-accept img {
  filter: saturate(0.85) brightness(0.95);
}

.site-footer-credit {
  background: rgba(3, 9, 7, 0.9);
  border-top: 1px solid rgba(0, 255, 133, 0.14);
}

.site-footer-credit .copyright,
.site-footer-credit .legal a {
  color: #9fc3b0;
}

.site-footer-credit .legal a:hover {
  color: var(--tbx-primary);
}

.tbx-panel {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  width: min(calc(100% - (var(--content-padding) * 2)), var(--content-inner-width));
  padding: clamp(18px, 2.4vw, 30px);
  border-radius: 22px;
  box-shadow: var(--tbx-shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  isolation: isolate;
}

.tbx-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 120% at 110% -10%, rgba(0, 230, 255, 0.08), transparent 55%),
    repeating-linear-gradient(
      90deg,
      transparent 0 28px,
      rgba(0, 255, 133, 0.03) 28px 29px
    );
}

.tbx-panel > * {
  position: relative;
  z-index: 1;
}

.tbx-panel-head {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0, 255, 133, 0.2);
}

.tbx-panel-head h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3.1vw, 2.4rem);
  color: #e8fff2;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(0, 255, 133, 0.22);
}

.tbx-panel-head p {
  margin: 0;
  max-width: 70ch;
  color: var(--tbx-muted);
  line-height: 1.4;
  font-size: 1rem;
}

.tbx-grid {
  display: grid;
  gap: 20px;
}

.tbx-package-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
}

.tbx-checkout-shell {
  border-radius: 14px;
  padding: clamp(12px, 2vw, 20px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.tbx-richtext {
  color: #d9f2e5;
  line-height: 1.6;
  font-size: 1.02rem;
}

.tbx-richtext h1,
.tbx-richtext h2,
.tbx-richtext h3,
.tbx-richtext h4,
.tbx-richtext h5,
.tbx-richtext h6 {
  margin-bottom: 12px;
  color: #e9fff3;
}

.tbx-richtext p,
.tbx-richtext ul,
.tbx-richtext ol {
  margin-bottom: 12px;
}

.tbx-richtext a {
  color: var(--tbx-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tbx-richtext a:hover {
  color: #82f3ff;
}

.tbx-hero {
  width: min(calc(100% - (var(--content-padding) * 2)), var(--content-inner-width));
  margin: 0 auto;
  padding: clamp(20px, 3vw, 34px);
  border-radius: 22px;
  border: 1px solid var(--tbx-border);
  background:
    radial-gradient(540px 260px at 10% -20%, rgba(0, 255, 133, 0.14), transparent 65%),
    radial-gradient(540px 260px at 100% -20%, rgba(0, 230, 255, 0.14), transparent 62%),
    linear-gradient(160deg, rgba(7, 20, 14, 0.9), rgba(4, 12, 10, 0.86));
  box-shadow: var(--tbx-shadow);
}

.tbx-kicker {
  margin: 0 0 8px;
  font-family: "Orbitron", sans-serif;
  color: var(--tbx-primary);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.tbx-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
  text-transform: uppercase;
}

.tbx-muted {
  margin: 0;
  color: var(--tbx-muted);
  font-size: 1rem;
}

.tbx-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tbx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: "Orbitron", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tbx-btn-primary {
  color: #04120b;
  border-color: rgba(0, 255, 133, 0.9);
  background: linear-gradient(120deg, rgba(18, 172, 89, 0.95), rgba(57, 255, 20, 0.96));
}

.tbx-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 255, 133, 0.33);
}

.tbx-btn-ghost {
  color: #ddfff0;
  border-color: rgba(0, 230, 255, 0.5);
  background: rgba(0, 25, 30, 0.52);
}

.tbx-btn-ghost:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 230, 255, 0.9);
  box-shadow: 0 10px 22px rgba(0, 230, 255, 0.26);
}

@media (width <= 600px) {
  .btn-primary,
  .btn-secondary,
  .btn-tertiary {
    border-radius: 10px;
    letter-spacing: 0.03em;
  }

  .store-product-full,
  .site-header-inner,
  .tbx-panel,
  .tbx-hero {
    border-radius: 16px;
  }

  .tbx-panel {
    width: calc(100% - (var(--content-padding) * 2));
    padding: 14px;
  }

  .tbx-package-grid {
    grid-template-columns: 1fr;
  }

  .tbx-hero-actions {
    flex-direction: column;
  }

  .tbx-btn {
    width: 100%;
  }
}
