@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");
:root {
  --color-primary: #41C4C3;
  --bg-image: url("https://template-assets.tebex.io/images/page-bg.jpg");
}

body {
  font-family: Lato, sans-serif;
}
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;
}

.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: 5px;
  padding: 20px var(--widget-padding);
  background: var(--color-brighter-bg);
  transition: color 0.15s ease-in-out;
}
.site-home-categories .category:hover {
  color: var(--color-primary);
}

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

.store-text {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}
.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: 5px;
  background: var(--color-brighter-bg);
}

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

.widget-title {
  text-align: center;
}

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

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

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

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

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

.widget {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}
@media (width <= 960px) {
  .widget.site-navigation {
    border-radius: 0;
    background: transparent;
  }
}

.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: 5px;
}

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

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

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

.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: 5px;
  background: rgb(from var(--color-bg) r g b/0.5);
}

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

:root {
  /* Rift brand */
  --rift-cyan: #55ffff;
  --rift-cyan-deep: #00aaaa;
  --rift-gold: #ffd700;
  --rift-gold-deep: #d4a017;

  /* Surface system matching the website */
  --rift-bg: #101015;
  --rift-surface-1: #18181f;
  --rift-surface-2: #22222c;
  --rift-text: #ffffff;
  --rift-text-muted: #a8a8b3;
  --rift-border: rgba(255, 255, 255, 0.08);
  --rift-border-strong: rgba(255, 255, 255, 0.14);

  /* Override Tebex variables */
  --color-primary: var(--rift-cyan);
  --color-primary-hover: var(--rift-cyan-deep);
  --color-primary-text: #000;
  --color-primary-text-hover: #000;
  --color-bg: var(--rift-bg);
  --color-brighter-bg: var(--rift-surface-1);
  --color-text: var(--rift-text);
  --color-text-darker: var(--rift-text);
  --color-text-secondary: var(--rift-text-muted);
  --color-text-dark: #0d0d0d;
  --color-secondary: var(--rift-surface-2);
  --color-secondary-hover: #2c2c38;
  --color-secondary-text: var(--rift-text);
  --color-sale-banner-bg: var(--rift-gold);
  --color-sale-banner-text: #000;
  --color-tertiary-hover: rgba(85, 255, 255, 0.08);
}

/* === Base === */
body {
  font-family: 'Outfit', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', system-ui, sans-serif;
  letter-spacing: -0.01em;
}

::selection {
  background: var(--rift-cyan);
  color: #000;
}

html {
  scrollbar-color: var(--rift-surface-2) var(--rift-bg);
}

/* === Buttons === */
.btn-primary,
.btn-secondary,
.btn-tertiary {
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--rift-cyan);
  color: #000;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--rift-cyan);
  box-shadow: 0 0 0 3px rgba(85, 255, 255, 0.2), 0 4px 16px rgba(85, 255, 255, 0.25);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--rift-surface-2);
  color: var(--rift-text);
  border: 1px solid var(--rift-border);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: #2c2c38;
  border-color: var(--rift-border-strong);
}

/* === Cards === */
.widget,
.store-product,
.store-product-full,
.category-description,
.store-text,
.no-products,
.popup-content,
.basket-item,
.store-category-tiered,
.store-product-tiered,
.site-home-categories .category {
  border-radius: 12px;
  background: var(--rift-surface-1);
  border: 1px solid var(--rift-border);
}

/* === Site header chrome === */
.site-title img {
  filter: drop-shadow(0 0 16px rgba(85, 255, 255, 0.25));
}

.site-header-inner .info .title {
  color: var(--rift-text);
  font-weight: 700;
}

.site-header-inner .info .action {
  color: var(--rift-cyan);
}

.site-header-inner .info:hover .action {
  color: var(--rift-text);
}

/* === Sale banner === */
.site-sale-banner {
  border-radius: 12px;
  background: linear-gradient(135deg, var(--rift-gold) 0%, var(--rift-gold-deep) 100%);
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
}

/* === Horizontal nav === */
.navigation-horizontal .menu {
  background: var(--rift-surface-1);
  border: 1px solid var(--rift-border);
  border-radius: 12px;
  font-weight: 600;
}

.navigation-horizontal a:hover,
.navigation-horizontal a.link-active {
  color: var(--rift-cyan);
}

.navigation-horizontal li li a:hover,
.navigation-horizontal li li a.link-active {
  background-color: var(--rift-cyan) !important;
  color: #000 !important;
}

.navigation-horizontal .has-children > ul {
  background: rgba(24, 24, 31, 0.92);
  border: 1px solid var(--rift-border);
  border-radius: 12px;
}

/* === Vertical sidebar nav - cyan left bar on active === */
.navigation-vertical .menu {
  color: var(--rift-text-muted);
}

.navigation-vertical a:hover,
.navigation-vertical a.link-active {
  color: var(--rift-cyan) !important;
}

.navigation-vertical a.link-active {
  position: relative;
}

.navigation-vertical a.link-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 18px;
  background: var(--rift-cyan);
  border-radius: 2px;
}

/* === Body content typography === */
.text-content h2 {
  position: relative;
  text-align: center;
  padding-bottom: 14px;
  margin-bottom: 24px;
}

.text-content h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: var(--rift-cyan);
  border-radius: 2px;
}

.text-content h3 {
  color: var(--rift-cyan);
  text-align: center;
  margin-top: 32px !important;
  margin-bottom: 14px !important;
  font-size: 20px;
  font-weight: 700;
}

/* === Custom diamond bullets === */
.text-content ul {
  list-style: none;
  padding-left: 0;
  max-width: 640px;
  margin-inline: auto;
}

.text-content ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.text-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--rift-cyan);
  transform: rotate(45deg);
  border-radius: 1px;
}

.text-content ul li strong {
  color: var(--rift-cyan);
  font-weight: 700;
}

.text-content p strong {
  color: var(--rift-text);
  font-weight: 700;
}

/* === Content links === */
.text-content a,
.category-description a {
  color: var(--rift-cyan);
  border-bottom: 1px solid rgba(85, 255, 255, 0.3);
  transition: all 0.15s ease;
}

.text-content a:hover,
.category-description a:hover {
  color: #fff;
  border-bottom-color: var(--rift-cyan);
}

/* === ToS / italic line at bottom === */
.text-content em {
  display: block;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--rift-border);
  color: var(--rift-text-muted);
  font-size: 0.9em;
  text-align: center;
  font-style: normal;
}

/* === Home category cards === */
.site-home-categories .category {
  padding: 24px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.site-home-categories .category:hover {
  color: var(--rift-cyan);
  border-color: rgba(85, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.site-home-categories .category .image-default::before {
  background-color: var(--rift-cyan);
  opacity: 0.7;
}

/* === Package cards === */
.store-product {
  transition: all 0.2s ease;
}

.store-product:hover {
  border-color: rgba(85, 255, 255, 0.2);
  transform: translateY(-1px);
}

.store-product .product-title {
  font-weight: 700;
  color: var(--rift-text);
}

.store-product .product-title a:hover {
  color: var(--rift-cyan);
}

.store-product .price strong {
  color: var(--rift-cyan);
}

.store-product .image-default::before {
  background-color: var(--rift-cyan);
  opacity: 0.7;
}

/* === Empty category placeholder (the box icon) === */
.store-category-tiered-header,
.no-products {
  color: var(--rift-text-muted);
}

/* === Quantity field & form inputs === */
.quantity-field {
  border-radius: 8px;
  background: var(--rift-bg);
  border: 1px solid var(--rift-border);
}

.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 select,
.store-form textarea,
.widget-gift-card .gift-card-input {
  border-radius: 8px;
  background: var(--rift-bg);
  border: 1px solid var(--rift-border);
  color: var(--rift-text);
}

.store-form input:focus,
.store-form select:focus,
.store-form textarea:focus,
.widget-gift-card .gift-card-input:focus {
  border-color: var(--rift-cyan);
  box-shadow: 0 0 0 3px rgba(85, 255, 255, 0.15);
}

/* === Footer === */
.site-footer {
  background: var(--rift-surface-1);
  border-top: 1px solid var(--rift-border);
}

.site-footer-inner .copyright {
  color: var(--rift-text-muted);
}

/* === Basket popup === */
.basket-popup-content {
  background: var(--rift-bg);
  border-left: 1px solid var(--rift-border);
}

.basket .basket-header {
  background: var(--rift-surface-1);
  border-bottom: 1px solid var(--rift-border);
}

.basket .basket-item .price,
.basket .basket-item .price strong {
  color: var(--rift-cyan);
}

/* === Toasts === */
.toast {
  border-radius: 8px;
  border: 1px solid var(--rift-border);
}

.toast.toast-success {
  background: var(--rift-cyan);
  color: #000;
}

/* === Sidebar widgets === */
.widget-title {
  font-weight: 700;
  color: var(--rift-text);
}

/* === Progress bars === */
.widget-community-goal .progress,
.widget-goal .progress {
  border-radius: 8px;
  background: var(--rift-bg);
  border: 1px solid var(--rift-border);
}

.widget-community-goal .progress-bar,
.widget-goal .progress-bar {
  border-radius: 8px;
  background: linear-gradient(90deg, var(--rift-cyan) 0%, var(--rift-gold) 100%);
}