:root {
  --color-text: #fff;
  --color-text-darker: #e5e5e5;
  --color-text-secondary: #ccc;
  --color-text-dark: #0D0D0D;
  --color-bg: #000;
  --color-brighter-bg: #1e1e1e;
  --color-primary: #a0a0a0;
  --color-primary-hover: #c8c8c8;
  --color-primary-text: var(--color-text-dark);
  --color-primary-text-hover: var(--color-primary-text);
  --color-secondary: #ccc;
  --color-secondary-hover: #e5e5e5;
  --color-secondary-text: var(--color-text-dark);
  --color-secondary-text-hover: var(--color-secondary-text);
  --color-tertiary: transparent;
  --color-tertiary-hover: rgb(255 255 255 / 15%);
  --color-tertiary-text: var(--color-text);
  --color-tertiary-text-hover: var(--color-tertiary-text);
  --color-removed: #C12E2E;
  --color-sale-banner-bg: var(--color-primary);
  --color-sale-banner-text: var(--color-primary-text);
  --tebex-footer-height: 35px;
  --widget-padding: 24px;
  --content-padding: var(--widget-padding);
  --content-inner-width: 1280px;
  --content-width: calc((var(--content-padding) * 2) + var(--content-inner-width));
  --sidebar-width: 287px;
  --tebex-legal-footer-max-width: min(
    var(--content-inner-width),
    calc(100vw - (var(--content-padding) * 2))
  );
  --tebex-legal-footer-background-color: var(--color-brighter-bg);
  --tebex-legal-footer-border-color: var(--color-brighter-bg);
  --tebex-legal-footer-text-color: var(--color-text-secondary);
}
@media (width > 960px) {
  :root {
    --content-padding: calc(var(--widget-padding) * 2);
  }
}
@media (max-width: 900px) {
  :root {
    --tebex-footer-height: 70px;
  }
}
@media (max-width: 600px) {
  :root {
    --tebex-footer-height: 80px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  vertical-align: baseline;
  color: inherit;
  background: transparent;
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

strong,
b {
  font-weight: 700;
}

em,
i {
  font-style: italic;
}

input[type=submit],
button {
  appearance: none;
  cursor: pointer;
  text-align: left;
}

textarea {
  resize: none;
}

symbol,
use,
svg {
  overflow: visible;
}

svg,
img {
  display: block;
}

li {
  display: block;
}

button {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

:root *[hidden] {
  display: none;
}

:focus {
  outline: 0;
}

::placeholder {
  color: inherit;
  opacity: 1;
}

@view-transition {
  navigation: auto;
}
::view-transition-group(root) {
  animation-duration: var(--page-transition-duration);
  animation-timing-function: ease;
}

@keyframes pageMoveOut {
  0% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
}
@keyframes pageMoveIn {
  0%, 50% {
    scale: 0.98;
    opacity: 0;
  }
  100% {
    scale: 1;
    opacity: 1;
  }
}
::view-transition-old(siteContent) {
  animation: var(--page-transition-duration) ease both pageMoveOut;
  transform-origin: center top;
}

::view-transition-new(siteContent) {
  animation: var(--page-transition-duration) ease both pageMoveIn;
  transform-origin: center top;
}

::view-transition-group(siteContent) {
  z-index: 2;
}

::view-transition-group(siteHeaderTop),
::view-transition-group(siteHeader),
::view-transition-group(siteNavigation),
::view-transition-group(siteBgImage),
::view-transition-group(siteFooter) {
  animation-duration: var(--page-transition-duration);
  animation-timing-function: ease;
  z-index: 3;
}

::view-transition-group(siteBgImage) {
  z-index: 1;
}

html,
body {
  min-height: 100vh;
}

html {
  overflow: hidden scroll;
  scrollbar-width: thin;
  scrollbar-color: var(--color-secondary) var(--color-bg);
  scrollbar-gutter: stable;
}
html.no-scroll {
  overflow: hidden;
  overscroll-behavior-y: none;
}

body {
  position: relative;
  max-width: 100%;
  width: 100%;
  line-height: normal;
  color: var(--color-text);
  background: var(--color-bg);
  accent-color: var(--color-primary);
  font-family: sans-serif;
  font-size: 16px;
}
body::before {
  view-transition-name: siteBgImage;
}

::selection {
  color: var(--color-text);
  background-color: var(--color-primary);
  text-shadow: none;
}

select option {
  color: var(--color-text);
  background-color: var(--color-bg);
}

h1:not(.hero-headline), h2, h3, h4, h5, h6 {
  font-weight: 700;
}

.text-content {
  line-height: 1.4;
  word-wrap: break-word;
  word-break: break-word;
}
.text-content h1:not(:last-child),
.text-content h2:not(:last-child),
.text-content h3:not(:last-child),
.text-content h4:not(:last-child),
.text-content h5:not(:last-child),
.text-content h6:not(:last-child) {
  margin-bottom: 24px;
}
.text-content p:not(:last-child) {
  margin-bottom: 12px;
}
.text-content h1 {
  font-size: 32px;
}
.text-content h2 {
  font-size: 26px;
}
.text-content h3 {
  font-size: 20px;
}
.text-content h4 {
  font-size: 18px;
}
.text-content img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
.text-content ol, .text-content ul {
  margin-left: 1em;
}
.text-content ol:not(:last-child), .text-content ul:not(:last-child) {
  margin-bottom: 12px;
}
.text-content li {
  display: list-item;
}

.btn-primary,
.btn-secondary,
.btn-tertiary {
  --btn-color-text: var(--color-text);
  --btn-color-text-hover: var(--btn-color-text);
  --btn-color-bg: var(--color-bg);
  --btn-color-bg-hover: var(--btn-color-bg);
  display: block;
  width: fit-content;
  height: 46px;
  padding: 0 10px;
  line-height: 46px;
  color: var(--btn-color-text);
  background-color: var(--btn-color-bg);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (width > 960px) {
  .btn-primary,
  .btn-secondary,
  .btn-tertiary {
    padding: 0 14px;
  }
}
.btn-primary:disabled,
.btn-secondary:disabled,
.btn-tertiary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-primary:hover, .btn-primary:focus,
.btn-secondary:hover,
.btn-secondary:focus,
.btn-tertiary:hover,
.btn-tertiary:focus {
  color: var(--btn-color-text-hover);
  background-color: var(--btn-color-bg-hover);
}

.btn-primary {
  --btn-color-text: var(--color-primary-text);
  --btn-color-bg: var(--color-primary);
  --btn-color-text-hover: var(--color-primary-text-hover);
  --btn-color-bg-hover: var(--color-primary-hover);
}

.btn-secondary {
  --btn-color-text: var(--color-secondary-text);
  --btn-color-bg: var(--color-secondary);
  --btn-color-text-hover: var(--color-secondary-text-hover);
  --btn-color-bg-hover: var(--color-secondary-hover);
}

.btn-tertiary {
  --btn-color-text: var(--color-tertiary-text);
  --btn-color-bg: var(--color-tertiary);
  --btn-color-text-hover: var(--color-tertiary-text-hover);
  --btn-color-bg-hover: var(--color-tertiary-hover);
}

.btn-icon {
  position: relative;
  flex: none;
  width: 46px;
  height: 46px;
  padding: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 18px;
}
:root .btn-icon {
  line-height: 0;
  font-size: 0;
  color: transparent;
}

.btn-icon-text {
  display: flex;
  align-items: center;
  min-width: 46px;
}
.btn-icon-text::before {
  content: "";
  display: block;
  margin-right: 8px;
  width: 18px;
  height: 18px;
  flex: none;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}
@media (width <= 960px) {
  :root .btn-icon-text {
    justify-content: center;
    font-size: 0;
    color: transparent;
  }
  :root .btn-icon-text::before {
    margin-right: 0;
  }
}

.btn-glyph::before,
.btn-glyph-text::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  flex: none;
  background-color: var(--btn-color-text);
  mask-position: center center;
  mask-repeat: no-repeat;
  mask-size: contain;
  transition: background-color 0.15s ease-in-out;
}
.btn-glyph:hover::before, .btn-glyph:focus::before,
.btn-glyph-text:hover::before,
.btn-glyph-text:focus::before {
  background-color: var(--btn-color-text-hover);
}

.btn-glyph {
  position: relative;
  flex: none;
  width: 46px;
  height: 46px;
}
:root .btn-glyph {
  padding: 0;
  line-height: 0;
  font-size: 0;
  color: transparent;
}
.btn-glyph::before {
  position: absolute;
  inset: 0;
  margin: auto;
}

.btn-glyph-text {
  display: flex;
  align-items: center;
  min-width: 46px;
}
.btn-glyph-text::before {
  margin-right: 8px;
}
@media (width <= 960px) {
  :root .btn-glyph-text {
    justify-content: center;
    font-size: 0;
    color: transparent;
  }
  :root .btn-glyph-text::before {
    margin-right: 0;
  }
}

.link-text {
  color: var(--color-text-darker);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-position: under;
  transition: color 0.15s ease-in-out;
}
.link-text:hover {
  color: var(--color-text);
}

.quantity-field {
  display: flex;
  align-items: stretch;
  justify-content: center;
  color: var(--color-text);
  background: var(--color-bg);
  height: 36px;
  border: 1px solid var(--color-secondary);
}
.quantity-field input[type=number] {
  position: relative;
  z-index: 1;
  flex: none;
  -moz-appearance: textfield;
  appearance: textfield;
  field-sizing: content;
  min-width: 40px;
  height: 100%;
  font-size: 16px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.quantity-field input[type=number]:focus, .quantity-field input[type=number]:hover {
  border-color: var(--color-secondary-hover);
}
.quantity-field input[type=number]::-webkit-inner-spin-button, .quantity-field input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.quantity-field.with-open-basket input[type=number] {
  margin: 0 -12px 0 -15px;
  min-width: auto;
  padding: 0 15px;
  order: 1;
  text-align: right;
  transition: color 0.15s ease-in-out;
}
.quantity-field .open-basket {
  margin-right: 5px;
  width: fit-content;
  height: 100%;
  order: 2;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s ease-in-out;
}
.quantity-field .open-basket:focus, .quantity-field .open-basket:hover {
  color: var(--color-primary);
}
.quantity-field .open-basket:focus ~ input[type=number], .quantity-field .open-basket:hover ~ input[type=number] {
  color: var(--color-primary);
}
.quantity-field .adjust {
  position: relative;
  z-index: 2;
  flex: none;
  width: 34px;
  height: 100%;
  padding: 0;
  line-height: 0;
  font-size: 0;
  color: transparent;
}
.quantity-field .adjust.decrease {
  margin-right: auto;
  order: -1;
}
.quantity-field .adjust.increase {
  margin-left: auto;
  order: 100;
}
.quantity-field .adjust::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: var(--color-text);
  mask: url("https://webstore-template-assets.tebex.io/images/plus.svg") no-repeat center center;
  mask-size: 10px;
}
.quantity-field .adjust.decrease::before {
  mask-image: url("https://webstore-template-assets.tebex.io/images/minus.svg");
}

@media (width > 960px) {
  .mobile-only {
    display: none;
  }
}

@media (width <= 960px) {
  .desktop-only {
    display: none;
  }
}

.site {
  grid-auto-rows: auto 1fr auto;
  grid-template-columns: 100%;
  align-items: start;
  gap: var(--widget-padding);
  min-height: calc(100vh - var(--tebex-footer-height));
  font-size: 14px;
  view-transition-name: site;
}
.page-index.home-categories-enabled .site {
  grid-auto-rows: auto auto 1fr auto;
}

.site-header,
.site-sale-banner,
.site-home-categories,
.site-content,
.site-footer-inner {
  margin: 0 auto;
  padding: 0 var(--content-padding);
  width: 100%;
}
@media (width > 960px) {
  .site-header,
  .site-sale-banner,
  .site-home-categories,
  .site-content,
  .site-footer-inner {
    max-width: var(--content-width);
  }
}

.site-header {
  position: relative;
  z-index: 2;
  view-transition-name: siteHeader;
}

.site-header-inner .user-name {
  contain: paint;
}
.site-header-inner .user-name .text,
.site-header-inner .user-name .text-hover {
  transition: opacity 0.15s ease-in-out, font-size 0.15s ease-in-out, visibility 0.15s ease-in-out;
}
.site-header-inner .user-name:not(:hover):not(:focus-within) .text-hover {
  visibility: hidden;
  color: transparent;
  font-size: 0;
}
.site-header-inner .user-name:hover .text, .site-header-inner .user-name:focus-within .text {
  visibility: hidden;
  opacity: 0;
  font-size: 0;
}
@media (width <= 960px) {
  .site-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--widget-padding) 0;
    position: relative;
    padding: 110px 0 calc(50px - var(--widget-padding));
    flex-wrap: wrap;
  }
  .site-header-inner .actions {
    position: absolute;
    top: var(--widget-padding);
    left: 0;
    display: flex;
    gap: 6px;
  }
  .site-header-inner .toggle-navigation {
    background-image: url("https://webstore-template-assets.tebex.io/images/burger.svg");
  }
  .site-header-inner .log-in,
  .site-header-inner .user-actions {
    position: absolute;
    top: var(--widget-padding);
    right: 0;
  }
  .site-header-inner .user-actions {
    display: flex;
    gap: 12px;
  }
  .site-header-inner .open-basket::before {
    mask-image: url("https://webstore-template-assets.tebex.io/images/checkout.svg");
  }
  .site-header-inner .user-name {
    display: none;
  }
  .site-header-inner .site-title {
    position: absolute;
    top: var(--widget-padding);
    left: 70px;
    width: auto;
    line-height: 1;
    font-size: 0;
    text-align: left;
    z-index: 1000;
  }
  .site-header-inner .site-title img {
    max-width: 140px;
    height: auto;
    object-fit: contain;
  }

  .site-header-inner .info {
    display: block;
    position: relative;
    flex: none;
    width: 50%;
    padding-left: 42px;
    line-height: 18px;
  }
  .site-header-inner .info.discord {
    right: 0;
    left: auto;
    padding-left: 0;
    padding-right: 42px;
    text-align: right;
  }
  .site-header-inner .info .image {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    width: 32px;
    height: 32px;
    object-fit: contain;
  }
  .site-header-inner .info.discord .image {
    left: auto;
    right: 0;
  }
  .site-header-inner .info .title {
    display: block;
    line-height: 20px;
    color: var(--color-text);
    font-size: 12px;
    font-weight: 600;
  }
  .site-header-inner .info .action {
    display: block;
    color: var(--color-primary);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    transition: color 0.15s ease-in-out;
    cursor: pointer;
  }
  .site-header-inner .info:hover .action {
    color: var(--color-primary-hover);
  }
  .site-header-inner .info .value {
    width: fit-content;
    border: 1px solid #606060;
    padding: 0 5px;
    background: rgba(96, 96, 96, 0.5);
    color: #CCC;
    font-size: 12px;
  }
}
@media (width > 960px) {
  .site-header-inner {
    position: relative;
    height: calc(355px - var(--widget-padding) * 2);
  }
  body.is-navigation-horizontal .site-header-inner {
    height: 1px;
  }
  .site-header-inner .actions {
    position: absolute;
    top: var(--widget-padding);
    left: 0;
    display: flex;
    gap: 6px;
  }
  .site-header-inner .toggle-navigation {
    display: none;
    background-image: url("https://webstore-template-assets.tebex.io/images/burger.svg");
  }
  .site-header-inner .log-in,
  .site-header-inner .user-actions {
    position: absolute;
    top: var(--widget-padding);
    right: 0;
  }
  .site-header-inner .user-actions {
    display: flex;
    gap: var(--widget-padding);
  }
  .site-header-inner .open-basket::before {
    mask-image: url("https://webstore-template-assets.tebex.io/images/checkout.svg");
  }
  .site-header-inner .user-name {
    position: relative;
    text-align: center;
    justify-content: center;
  }
  .site-header-inner .user-name::before {
    mask-image: url("https://webstore-template-assets.tebex.io/images/user.svg");
  }
  .site-header-inner .site-title {
    display: none;
  }
  .site-header-inner .site-title img {
    display: none;
  }
  .site-header-inner .info {
    position: absolute;
    top: calc(var(--widget-padding) + 46px);
    left: 0;
    bottom: 0;
    margin: auto 0;
    max-width: 280px;
    width: 33.3333333333%;
    height: fit-content;
    line-height: 22px;
  }
  .site-header-inner .info.server {
    padding-left: 64px;
  }
  .site-header-inner .info.discord {
    right: 0;
    left: auto;
    padding-right: 82px;
    text-align: right;
  }
  .site-header-inner .info .image {
    position: absolute;
    top: -50px;
    left: 0;
    bottom: -50px;
    margin: auto 0;
    width: 46px;
    height: 46px;
    object-fit: contain;
  }
  .site-header-inner .info.discord .image {
    left: auto;
    right: 0;
    width: 64px;
    height: 64px;
  }
  .site-header-inner .info .title {
    display: block;
    line-height: 28px;
    color: var(--color-text);
    font-size: 18px;
    font-weight: 600;
  }
  .site-header-inner .info .action {
    display: block;
    color: var(--color-primary);
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    transition: color 0.15s ease-in-out;
    cursor: pointer;
  }
  .site-header-inner .info:hover .action {
    color: var(--color-primary-hover);
  }
  .site-header-inner .info .value {
    width: fit-content;
    border: 1px solid #606060;
    padding: 0 6px;
    background: rgba(96, 96, 96, 0.5);
    color: #CCC;
    font-size: 16px;
  }
}

.site-sale-banner {
  margin-top: var(--widget-padding);
  margin-bottom: var(--widget-padding);
  padding: var(--widget-padding) var(--content-padding);
  color: var(--color-sale-banner-text);
  background: var(--color-sale-banner-bg);
  font-size: 21px;
  text-align: center;
}

.site-footer {
  background: var(--color-brighter-bg);
}

/* Tebex-injected theme promo: hidden so no faint “Like this store design?” strip */
.theme-promo-strip {
  display: none !important;
}

.site-home-categories {
  display: flex;
  flex-direction: column;
  gap: var(--widget-padding);
}
@media (width > 600px) {
  .site-home-categories {
    flex-direction: row;
    justify-content: center;
    gap: var(--widget-padding) 36px;
  }
}
.site-home-categories .category {
  display: flex;
  align-items: center;
  gap: var(--widget-padding);
  flex-basis: 100%;
  line-height: 26px;
  font-size: 24px;
  font-weight: 700;
}
@media (width <= 600px) {
  .site-home-categories .category {
    width: 100%;
  }
}
@media (width > 600px) {
  .site-home-categories .category {
    flex-direction: column;
    align-items: center;
    gap: var(--widget-padding);
    max-width: 240px;
    text-align: center;
  }
}
.site-home-categories .category img {
  max-width: 130px;
}
@media (width > 600px) {
  .site-home-categories .category img {
    margin: auto;
    max-width: 100%;
  }
}

.store-text {
  padding: var(--content-padding);
  line-height: 1.375;
  font-size: 16px;
  font-weight: 400;
}

.store-form {
  font-size: 18px;
}
.store-form h1,
.store-form h2,
.store-form h3,
.store-form h4,
.store-form h5,
.store-form h6,
.store-form p {
  margin-bottom: 24px;
}
.store-form .input-group,
.store-form .field,
.store-form .field-inline {
  margin-bottom: 24px;
}
.store-form .input-group > p,
.store-form .field > p,
.store-form .field-inline > p {
  margin-bottom: 12px;
}
.store-form .field-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 12px;
}
@media (width > 600px) {
  .store-form .field-inline {
    gap: 0 24px;
  }
}
.store-form input,
.store-form select,
.store-form textarea {
  display: block;
}
.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 {
  margin-bottom: 12px;
  width: 100%;
  padding: 14px 12px;
  color: var(--color-text-secondary);
  background: var(--color-bg);
  font-size: 14px;
}
.popup .store-form input[type=text],
.popup .store-form input[type=password],
.popup .store-form input[type=email],
.popup .store-form input[type=number],
.popup .store-form input[type=search],
.popup .store-form input[type=url],
.popup .store-form input[type=tel],
.popup .store-form input[type=date],
.popup .store-form input[type=time],
.popup .store-form input[type=datetime-local],
.popup .store-form input[type=file],
.popup .store-form input[type=month],
.popup .store-form input[type=week],
.popup .store-form select,
.popup .store-form textarea {
  background: #242424;
}
.popup.drawer .store-form input[type=text],
.popup.drawer .store-form input[type=password],
.popup.drawer .store-form input[type=email],
.popup.drawer .store-form input[type=number],
.popup.drawer .store-form input[type=search],
.popup.drawer .store-form input[type=url],
.popup.drawer .store-form input[type=tel],
.popup.drawer .store-form input[type=date],
.popup.drawer .store-form input[type=time],
.popup.drawer .store-form input[type=datetime-local],
.popup.drawer .store-form input[type=file],
.popup.drawer .store-form input[type=month],
.popup.drawer .store-form input[type=week],
.popup.drawer .store-form select,
.popup.drawer .store-form textarea {
  user-select: auto;
}
@media (width > 960px) {
  .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 {
    padding: 12px;
    font-size: 16px;
  }
}
.store-form .field-inline input,
.store-form .field-inline select,
.store-form .field-inline textarea {
  width: auto;
}
.store-form .actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.store-form .actions .link-text {
  align-self: center;
  font-size: 18px;
  font-weight: 700;
  margin: 0 16px;
}

@media (width <= 960px) {
  .site-content-widgets {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
}
@media (width > 960px) {
  .site-content-widgets {
    grid-template-columns: var(--sidebar-width) 1fr;
    align-items: start;
    gap: 48px;
  }
  body.is-sidebar-right .site-content-widgets {
    grid-template-columns: 1fr var(--sidebar-width);
  }
  .site-content-widgets .store-sidebar {
    order: -1;
  }
  body.is-sidebar-right .site-content-widgets .store-sidebar {
    order: 1;
  }
}

.category-description {
  margin-bottom: var(--widget-padding);
  padding: var(--widget-padding);
  line-height: 1.4;
  font-size: 18px;
  border-radius: 8px;
  border: 1px solid #2D2D2D;
  background: var(--color-brighter-bg);
}

.no-products {
  padding: var(--widget-padding);
  font-size: 18px;
  text-align: center;
}

.store-products-list {
  display: flex;
  flex-direction: column;
  gap: calc(var(--widget-padding) / 2);
}

.store-products-images {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.store-product .product-title {
  font-size: 20px;
  font-weight: 600;
}
.store-product .product-title a {
  color: inherit;
  transition: color 0.15s ease-in-out;
}
.store-product .product-title a:hover {
  color: var(--color-primary);
}
.store-product .product-title .countdown {
  display: block;
  margin-top: 4px;
  color: var(--color-removed);
  font-size: 0.75em;
  font-variant-numeric: tabular-nums;
}
.store-product .product-title .countdown::before {
  content: "";
  display: inline-block;
  vertical-align: -0.15em;
  margin-right: 0.25em;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  mask: url("https://webstore-template-assets.tebex.io/images/countdown.svg") center center/contain no-repeat;
}
.store-product .image-link {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  width: fit-content;
}
.store-product .image-link:hover ~ .product-title a {
  color: var(--color-primary);
}

.store-product .descr {
  color: var(--color-text-secondary);
}
.store-product .actions {
  display: flex;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.store-product .actions.updating {
  pointer-events: none;
}
.store-product .actions.updating > * {
  opacity: 0.3;
  filter: grayscale(100%);
}
.store-product .actions.updating::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 10;
  margin: auto;
  width: 30px;
  height: 30px;
  background: url("https://webstore-template-assets.tebex.io/images/loading.svg") center center no-repeat;
  background-size: contain;
}
.store-product:not(.store-product-full) .actions {
  flex-wrap: wrap;
}
.store-products-images .store-product:not(.store-product-full) .actions {
  flex: 1 1 auto;
  align-content: flex-end;
}
.store-product .price {
  font-size: 14px;
}
.store-product .price .discount {
  margin-right: 1ch;
  color: var(--color-removed);
  font-weight: 400;
  text-decoration-line: line-through;
}
.store-product .price strong {
  font-size: 20px;
  font-weight: inherit;
}
.store-product:not(.store-product-full) .price {
  width: 100%;
}
.store-products-images .store-product:not(.store-product-full) .price {
  margin-bottom: auto;
}
.store-product .quantity-field {
  height: 46px;
}
.store-product .half {
  flex: 0 1 calc(50% - 6px);
}
.store-product .wide {
  flex: 1 1 auto;
}
.store-product .gift {
  flex: none;
  background-image: url("https://webstore-template-assets.tebex.io/images/gift.svg");
}
.store-product .remove {
  flex: none;
  background-image: url("https://webstore-template-assets.tebex.io/images/delete.svg");
}

.store-products-images .store-product .image-link {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
}
.store-products-images .store-product .descr {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.store-products-list .store-product {
  padding: calc(var(--widget-padding) * 0.75);
}
.store-products-list .store-product .image {
  width: 60px;
}
.store-products-list .store-product .actions {
  flex-wrap: nowrap;
  align-items: center;
}
.store-products-list .store-product .wide {
  flex: 0 1 auto;
}
.store-products-list .store-product .price {
  width: auto;
}
@media (width <= 600px) {
  .store-products-list .store-product .wide {
    width: 100%;
  }
}
@media (width > 600px) {
  .store-products-list .store-product {
    flex-direction: row;
    align-items: center;
    gap: 12px calc(var(--widget-padding) * 0.75);
  }
  .store-products-list .store-product .actions {
    gap: calc(var(--widget-padding) * 0.75);
  }
  .store-products-list .store-product .actions .wide {
    width: 170px;
  }
  .store-products-list .store-product .image-link {
    margin: 0;
  }
  .store-products-list .store-product .product-title {
    margin-right: auto;
  }
}


@media (width > 600px) {
  .store-product-full {
    display: grid;
    grid-template: "image title" auto "image descr" 1fr "actions actions" auto/180px 1fr;
    gap: var(--widget-padding);
  }
  .store-product-full .image,
  .store-product-full .image-link {
    grid-area: image;
  }
  .store-product-full .image {
    max-width: 100%;
  }
  .store-product-full .product-title {
    grid-area: title;
  }
  .store-product-full .descr {
    grid-area: descr;
  }
  .store-product-full .actions {
    grid-area: actions;
    align-self: start;
  }
}
.store-product-full .actions {
  position: sticky !important;
  align-items: center;
  bottom: 0;
  margin: 0 calc(var(--widget-padding) * -1);
  padding: var(--widget-padding);
  background-color: rgb(from var(--color-brighter-bg) r g b/0.9);
  backdrop-filter: blur(5px);
}
@media (width <= 600px) {
  .store-product-full .actions {
    order: 1;
  }
}
@media (width > 600px) {
  .store-product-full .actions {
    padding-left: calc(180px + var(--widget-padding) * 2);
  }
}
.store-product-full .actions .wide {
  max-width: 240px;
}
.store-product-full .price {
  margin-right: auto;
}

.store-product-options .product-title {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 600;
}
.store-product-options .actions {
  position: sticky !important;
  bottom: var(--widget-padding);
  justify-content: start;
  width: fit-content;
  max-width: 100%;
}
.store-product-options .actions.updating {
  pointer-events: none;
}
.store-product-options .actions.updating > * {
  opacity: 0.3;
  filter: grayscale(100%);
}
.store-product-options .actions.updating::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 10;
  margin: auto;
  width: 30px;
  height: 30px;
  background: url("https://webstore-template-assets.tebex.io/images/loading.svg") center center no-repeat;
  background-size: contain;
}
.store-product-options .actions .btn-primary,
.store-product-options .actions .btn-secondary,
.store-product-options .actions .btn-tertiary {
  width: 230px;
}
.store-product-options .actions-multiple {
  width: auto;
}
.store-product-options .actions-multiple .btn-primary,
.store-product-options .actions-multiple .btn-secondary,
.store-product-options .actions-multiple .btn-tertiary {
  width: auto;
  flex: 1 1 auto;
}

.site-navigation {
  --fade-duration: 200ms;
  view-transition-name: siteNavigation;
}
@media (width <= 960px) {
  .site-navigation {
    position: fixed;
    inset: 0;
    z-index: 100000;
    padding: 0;
    transition: display var(--fade-duration) allow-discrete, opacity var(--fade-duration) ease;
  }
  @starting-style {
    .site-navigation {
      opacity: 0;
    }
  }
  body:not(.show-navigation) .site-navigation {
    visibility: hidden;
    opacity: 0;
  }
  .site-navigation.drawer {
    user-select: none;
  }
  .site-navigation .close-navigation {
    position: absolute;
    top: 12px;
    right: 72px;
    background-image: url("https://webstore-template-assets.tebex.io/images/close.svg");
    background-size: 24px;
  }
  .site-navigation .menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    inset: 0 60px 0 0;
    padding: 72px var(--widget-padding) var(--widget-padding);
    background: var(--color-bg);
    line-height: 24px;
    color: var(--color-text-secondary);
    font-size: 18px;
    overflow: hidden auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-secondary) var(--color-bg);
    transition: opacity var(--fade-duration) ease, scale var(--fade-duration) ease, translate var(--fade-duration) ease;
  }
  @starting-style {
    .site-navigation .menu {
      translate: -100% 0;
    }
  }
  .site-navigation.drawer .menu::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 7px;
    bottom: 0;
    margin-block: auto;
    width: 4px;
    height: 100px;
    background: rgb(from var(--color-text-secondary) r g b/0.33);
    border-radius: 2px;
    pointer-events: none;
  }
  body:not(.show-navigation) .site-navigation .menu {
    translate: -100% 0;
  }
  .site-navigation.touching .menu {
    transition: opacity var(--fade-duration) ease, scale var(--fade-duration) ease;
  }
  body:not(.show-navigation) .site-navigation .menu {
    opacity: 0.8;
    scale: 0.95;
  }
  .site-navigation.may-close .menu {
    opacity: 0.8;
  }
  .site-navigation ul ul {
    padding-left: var(--widget-padding);
    line-height: 22px;
    font-size: 16px;
  }
  .site-navigation li {
    position: relative;
    width: 100%;
  }
  .site-navigation .log-out {
    margin-top: auto;
  }
  .site-navigation .log-out a {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .site-navigation .log-out a::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background-color: currentColor;
    mask: url("https://webstore-template-assets.tebex.io/images/log-out.svg") center center no-repeat;
    mask-size: contain;
  }
  .site-navigation .has-children {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .site-navigation .has-children > a {
    flex: 1 1 auto;
  }
  .site-navigation .has-children .toggle {
    background-image: url("https://webstore-template-assets.tebex.io/images/chevron.svg");
    background-size: 20px;
    transition: rotate 0.15s ease-in-out;
  }
  .site-navigation .has-children.expanded > .toggle {
    rotate: 180deg;
  }
  .site-navigation .has-children > ul {
    width: 100%;
  }
  .site-navigation .has-children:not(.expanded) > ul {
    display: none;
  }
  /* Exclude account menu rows — they need flex row layout (see generic.css). */
  .site-navigation a:not(.user-dropdown-item) {
    display: block;
    padding: 11px 0;
    transition: color 0.15s ease-in-out;
  }
  .site-navigation a:not(.user-dropdown-item):hover {
    color: var(--color-primary);
  }
  .site-navigation a:not(.user-dropdown-item).active {
    color: var(--color-primary);
    font-weight: 700;
  }
  .site-navigation ul ul a {
    padding: 8px 0;
  }
}

@media (width > 960px) {
  .navigation-horizontal .close-navigation {
    display: none;
  }
  .navigation-horizontal .menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: calc(var(--widget-padding) / 2);
    line-height: 28px;
    font-size: 18px;
    font-weight: 700;
  }
  .navigation-horizontal .menu > li > a {
    padding: 1px calc(var(--widget-padding) / 2);
  }
  .navigation-horizontal .menu > li.has-children > a {
    padding-right: 0;
  }
  .navigation-horizontal ul ul {
    line-height: 24px;
    font-size: 16px;
    font-weight: 400;
  }
  .navigation-horizontal > ul > li > a {
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 18ch;
  }
  .navigation-horizontal .has-children {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .navigation-horizontal .has-children .toggle {
    flex: none;
    width: 28px;
    height: 28px;
    background-color: transparent;
    background-image: url("https://webstore-template-assets.tebex.io/images/chevron.svg");
    background-size: 20px;
    transition: rotate 0.15s ease-in-out;
  }
  .navigation-horizontal .has-children:hover > .toggle {
    rotate: 180deg;
  }
  .navigation-horizontal .has-children > ul {
    position: absolute;
    top: calc(100% - var(--widget-padding) / 2);
    left: 0;
    width: max-content;
    padding: calc(var(--widget-padding) / 2) 0;
    background: rgb(from var(--color-brighter-bg) r g b/0.7);
    backdrop-filter: blur(10px);
    transition: all 0.15s ease-in-out;
  }
  .navigation-horizontal .has-children:not(:hover) > ul {
    visibility: hidden;
    opacity: 0;
    translate: 0 -10px;
  }
  .navigation-horizontal a:not(.user-dropdown-item) {
    display: block;
    transition: color 0.15s ease-in-out;
  }
  .navigation-horizontal a:not(.user-dropdown-item):hover,
  .navigation-horizontal a:not(.user-dropdown-item).link-active {
    color: var(--color-primary);
  }
  .navigation-horizontal li li a {
    width: 100%;
    max-width: 24ch;
    padding: 4px calc(var(--widget-padding) / 2);
    transition: all 0.15s ease-in-out;
  }
  .navigation-horizontal li li a:hover, .navigation-horizontal li li a.link-active {
    color: var(--color-bg);
    background-color: var(--color-primary);
  }
}

@media (width > 960px) {
  .navigation-vertical.widget {
    padding: calc(var(--widget-padding) / 2);
  }
  .navigation-vertical .close-navigation {
    display: none;
  }
  .navigation-vertical .menu {
    line-height: 28px;
    color: var(--color-text-secondary);
    font-size: 18px;
    font-weight: 400;
  }
  .navigation-vertical ul ul {
    padding-left: 12px;
    line-height: 22px;
    font-size: 15px;
  }
  .navigation-vertical .has-children {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .navigation-vertical .has-children > a {
    flex: 1 1 auto;
    max-width: calc(100% - 46px);
  }
  .navigation-vertical .has-children .toggle {
    background-color: transparent !important;
    background-image: url("https://webstore-template-assets.tebex.io/images/chevron.svg");
    background-size: 20px;
    transition: rotate 0.15s ease-in-out;
  }
  .navigation-vertical .has-children.expanded > .toggle {
    rotate: 180deg;
  }
  .navigation-vertical .has-children > ul {
    width: 100%;
  }
  .navigation-vertical .has-children:not(.expanded) > ul {
    display: none;
  }
  .navigation-vertical a:not(.user-dropdown-item) {
    display: block;
    padding: calc(var(--widget-padding) / 2);
    transition: color 0.15s ease-in-out;
  }
  .navigation-vertical a:not(.user-dropdown-item):hover,
  .navigation-vertical a:not(.user-dropdown-item).link-active {
    color: var(--color-primary);
  }
  .navigation-vertical a:not(.user-dropdown-item).link-active {
    font-weight: 600;
  }
  .navigation-vertical ul ul a {
    padding: 8px calc(var(--widget-padding) / 2);
  }
}

.widget {
  padding: var(--widget-padding);
}
.widget + .widget {
  margin-top: var(--widget-padding);
}

.widget-title {
  margin-bottom: var(--widget-padding);
  font-size: 20px;
  font-weight: 700;
}

/* Featured Package modules: config lives in Tebex sidebar; UI only on homepage */
.store-sidebar .widget-featured-package,
.store-sidebar .widget-featured,
.store-sidebar .nl-sidebar-featured-suppressed {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
}

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

.widget-gift-card {
  text-align: center;
}
.widget-gift-card .gift-card-input {
  margin-bottom: 12px;
  width: 100%;
  padding: 14px 12px;
  color: var(--color-text-secondary);
  background: var(--color-bg);
  font-size: 14px;
}
.popup .widget-gift-card .gift-card-input {
  background: #242424;
}
.widget-gift-card .check {
  width: 100%;
}

/* Gift card balance — SaaS layout (module.giftcardbalance.html + /gift-card-balance) */
.nl-module-giftcard#gift-card-balance {
  scroll-margin-top: 100px;
  font-family: var(--nl-font-family, 'Satoshi', sans-serif);
}
.nl-module-giftcard .giftcard-balance-cms-hint {
  margin: 0 0 2px;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.42);
  font-weight: 400;
}
.nl-module-giftcard .giftcard-balance-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.nl-module-giftcard .giftcard-balance-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}
.nl-module-giftcard .giftcard-balance-input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.38);
  color: #f4f4f5;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.nl-module-giftcard .giftcard-balance-input::placeholder {
  color: rgba(255, 255, 255, 0.28);
  font-size: 12px;
  font-weight: 400;
}
.nl-module-giftcard .giftcard-balance-input:focus {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 2px rgb(from var(--theme-accent, #4fd1c5) r g b / 0.45);
}
.nl-module-giftcard .giftcard-balance-submit {
  width: 100%;
  margin-top: 6px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 1.25;
  cursor: pointer;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #2a2a2e;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 42%);
  color: #fafafa;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.nl-module-giftcard .giftcard-balance-submit:hover {
  background-color: #323238;
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 10px 28px rgba(0, 0, 0, 0.35);
}
.nl-module-giftcard .giftcard-balance-submit:active {
  transform: translateY(0);
  background-color: #26262a;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}
.nl-module-giftcard .giftcard-balance-submit:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px rgb(from var(--theme-accent, #4fd1c5) r g b / 0.45),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
}
/* Legacy copy removed from template; hide if CDN/store still serves old HTML */
.nl-module-giftcard .giftcard-balance-hint {
  display: none !important;
}
.nl-module-giftcard .giftcard-balance-result {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  line-height: 1.55;
}
.nl-module-giftcard .giftcard-balance-msg--ok strong {
  color: var(--theme-accent, #ff995b);
}
.nl-module-giftcard .giftcard-balance-msg--void,
.nl-module-giftcard .giftcard-balance-msg--err {
  color: rgba(255, 160, 160, 0.95);
}
.nl-module-giftcard .giftcard-balance-meta {
  margin: 8px 0 0;
  font-size: 12px;
  opacity: 0.65;
}

/* Dedicated page: /gift-card-balance — sidebar slot required for Tebex gift card POST */
.gc-balance-page {
  margin: 0 auto;
  padding: 48px var(--content-padding, 24px) 88px;
  font-family: var(--nl-font-family, 'Satoshi', sans-serif);
}
.page-gift-card-balance .site-content-widgets.gc-balance-page {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  max-width: 640px;
  gap: 8px;
  grid-template-columns: none !important;
}
.page-gift-card-balance .site-content-widgets.gc-balance-page .gc-balance-main {
  width: 100%;
  max-width: 520px;
}
.page-gift-card-balance .site-content-widgets.gc-balance-page .store-sidebar {
  width: 100%;
  max-width: 440px;
  margin-top: 0;
}
.page-gift-card-balance .site-content-widgets.gc-balance-page .store-sidebar .widget:not(.nl-module-giftcard) {
  display: none !important;
}
.gc-balance-hero {
  text-align: center;
  margin-bottom: 28px;
}
.gc-balance-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--theme-accent, #4fd1c5);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 0 32px rgb(from var(--theme-accent, #4fd1c5) r g b / 0.18);
  filter: drop-shadow(0 0 14px rgb(from var(--theme-accent, #4fd1c5) r g b / 0.32));
}
.gc-balance-icon-svg {
  width: 20px;
  height: 20px;
}
.gc-balance-title {
  margin: 0 0 12px;
  font-family: var(--nl-font-family, 'Satoshi', sans-serif);
  font-size: clamp(1.75rem, 4.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.08;
  background: linear-gradient(180deg, #ffffff 0%, #a0a0a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gc-balance-lede {
  margin: 0 auto;
  max-width: 400px;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
}
.page-gift-card-balance .store-sidebar .nl-module-giftcard.widget {
  position: relative;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}
.page-gift-card-balance .store-sidebar .nl-module-giftcard.widget::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -20px;
  transform: translateX(-50%);
  width: min(100%, 360px);
  height: 100px;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(255, 255, 255, 0.04) 0%, transparent 72%);
  opacity: 0.85;
  z-index: 0;
}
.page-gift-card-balance .store-sidebar .nl-module-giftcard .widget-content {
  position: relative;
  z-index: 1;
}
.page-gift-card-balance .nl-module-giftcard .widget-title {
  display: none !important;
}

.widget-recent .purchase {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  margin-bottom: 6px;
  line-height: 1.4;
}
.widget-recent .avatar {
  flex: none;
  max-width: 40px;
  max-height: 40px;
  object-fit: contain;
}
.widget-recent .username {
  font-weight: 700;
}
.widget-recent .empty {
  text-align: center;
}
.widget-recent time {
  opacity: 0.5;
  font-size: 0.9em;
}
.widget-recent .sep {
  margin: 0 0.3em;
}

.widget-top-donator .avatar {
  margin: 0 auto 12px;
  width: 96px;
}
.widget-top-donator .username {
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 18px;
}
.widget-top-donator .empty {
  text-align: center;
}

.widget-community-goal .widget-content,
.widget-goal .widget-content {
  text-align: center;
}
.widget-community-goal p:not(:last-child),
.widget-goal p:not(:last-child) {
  margin-bottom: 12px;
}
.widget-community-goal .progress,
.widget-goal .progress {
  height: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--color-bg);
}
@keyframes progressBarAnimation {
  to {
    background-position: 100% 0;
  }
}
.widget-community-goal .progress-bar,
.widget-goal .progress-bar {
  height: 12px;
  background: var(--color-primary);
}
.widget-community-goal .progress-bar.striped,
.widget-goal .progress-bar.striped {
  background: var(--color-primary) linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary) 33%, rgb(from var(--color-primary-hover) r g b/0.35) 33%, rgb(from var(--color-primary-hover) r g b/0.35) 66%, var(--color-primary) 66%, var(--color-primary) 100%) repeat;
  background-size: 24px 100%;
}
.widget-community-goal .progress-bar.striped.animated,
.widget-goal .progress-bar.striped.animated {
  animation: progressBarAnimation 10s infinite linear;
}

.widget-community-goal .goal-image {
  margin: 0 auto 12px;
  max-width: 96px;
}
.widget-community-goal .descr {
  margin-bottom: 12px;
}

.widget-server-status .widget-content {
  text-align: center;
}
.widget-server-status h6 {
  margin-bottom: 12px;
}

.site-footer-inner {
  position: relative;
  padding: 20px var(--content-padding);
}
@media (width <= 960px) {
  .site-footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--widget-padding);
  }
}
.site-footer-inner .site-footer-nav {
  line-height: 150%;
  font-size: 14px;
}
@media (width > 960px) {
  .site-footer-inner .site-footer-nav {
    margin-bottom: 12px;
  }
}
.site-footer-inner .site-footer-nav ul {
  display: flex;
}
@media (width <= 960px) {
  .site-footer-inner .site-footer-nav ul {
    flex-direction: column;
    gap: var(--widget-padding);
    text-align: center;
  }
}
@media (width > 960px) {
  .site-footer-inner .site-footer-nav ul {
    gap: calc(var(--widget-padding) * 2);
  }
}
.site-footer-inner .site-footer-nav a {
  color: var(--color-text-darker);
  text-decoration-line: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease-in-out;
}
.site-footer-inner .site-footer-nav a:hover {
  color: var(--color-primary);
}
.site-footer-inner .copyright {
  line-height: 16px;
  color: var(--color-text-secondary);
  font-size: 12px;
}
.site-footer-inner .we-accept {
  display: flex;
  align-items: center;
  gap: 12px;
}
@media (width > 960px) {
  .site-footer-inner .we-accept {
    position: absolute;
    top: 0;
    right: var(--content-padding);
    bottom: 0;
    pointer-events: none;
  }
}
.site-footer-inner .we-accept li {
  display: block;
}
.site-footer-inner .we-accept img {
  display: block;
  max-width: 57px;
  max-height: 26px;
}

.site-footer-credit {
  color: var(--color-text-secondary);
  background: #101010;
  font-size: 11px;
}
.site-footer-credit .site-footer-credit-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
  gap: 22px;
  margin: auto;
  padding-top: 16px;
  padding-bottom: 16px;
  min-height: 45px;
}
@media (width > 960px) {
  .site-footer-credit .site-footer-credit-inner {
    align-items: center;
    flex-direction: row;
  }
}
.site-footer-credit .copyright {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}
@media (width > 960px) {
  .site-footer-credit .copyright {
    align-items: center;
  }
}
.site-footer-credit .copyright .tebex-logo-link {
  flex: none;
}
.site-footer-credit .legal {
  display: flex;
  gap: 16px;
  white-space: nowrap;
}
@media (width > 960px) {
  .site-footer-credit .legal {
    gap: 20px;
  }
}
.site-footer-credit .legal a {
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease-in-out;
}
.site-footer-credit .legal a:hover {
  color: var(--color-primary);
}

.popup {
  --fade-duration: 300ms;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 1000;
  overflow: hidden scroll;
  scrollbar-width: thin;
  scrollbar-color: var(--color-secondary) transparent;
  background-color: rgba(0, 0, 0, 0.8);
  transition: background-color var(--fade-duration) ease, opacity var(--fade-duration) ease-in-out, display var(--fade-duration) allow-discrete;
}
@starting-style {
  .popup {
    opacity: 0;
  }
}
.popup.drawer {
  user-select: none;
}
.popup.may-close {
  user-select: none;
  background-color: rgba(0, 0, 0, 0.4);
}
.popup[hidden] {
  opacity: 0;
  display: none;
}

.popup-scroll-cont {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: calc(var(--content-padding) / 2);
  overscroll-behavior: none;
}
@media (width > 600px) {
  .popup-scroll-cont {
    padding: var(--content-padding);
  }
}
@media (pointer: coarse) {
  .popup .popup-scroll-cont {
    align-items: flex-end;
    padding-bottom: 0;
  }
}

.popup-content {
  position: relative;
  width: 100%;
  max-width: 550px;
  padding: var(--widget-padding);
  background: var(--color-brighter-bg);
  transition: translate var(--fade-duration) ease, opacity var(--fade-duration) ease;
}
@starting-style {
  .popup-content {
    translate: 0 20px;
  }
}
@media (pointer: coarse) {
  .popup-content {
    padding-bottom: calc(var(--widget-padding) * 2);
  }
}
.popup.touching .popup-content {
  transition: opacity var(--fade-duration) ease, scale var(--fade-duration) ease;
}
.popup.may-close .popup-content, .popup.drawer[hidden] .popup-content {
  opacity: 0.8;
  scale: 0.95;
}
.popup.drawer-up[hidden] .popup-content {
  translate: 0 -100%;
}
.popup.drawer-down[hidden] .popup-content {
  translate: 0 100%;
}
.popup.drawer-right[hidden] .popup-content {
  translate: 100% 0;
}
.popup.drawer-left[hidden] .popup-content {
  translate: -100% 0;
}
.popup:not(.drawer)[hidden] .popup-content {
  translate: 0 20px;
}
.popup.popup-loading .popup-content {
  min-height: 180px;
}
.popup.popup-loading .popup-content::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  margin: auto;
  width: 38px;
  height: 38px;
  background: url("https://webstore-template-assets.tebex.io/images/loading.svg") center center no-repeat;
  background-size: contain;
}
.drawer-up .popup-content::after, .drawer-down .popup-content::after, .drawer-left .popup-content::after, .drawer-right .popup-content::after {
  content: "";
  display: block;
  position: absolute;
  background: rgb(from var(--color-text-secondary) r g b/0.33);
  border-radius: 2px;
  pointer-events: none;
}
.drawer-up .popup-content::after, .drawer-down .popup-content::after {
  left: 0;
  right: 0;
  margin-inline: auto;
  height: 4px;
  width: 100px;
}
.drawer-up .popup-content::after {
  bottom: 7px;
}
.drawer-down .popup-content::after {
  top: 7px;
}
.drawer-left .popup-content::after, .drawer-right .popup-content::after {
  top: 0;
  bottom: 0;
  margin-block: auto;
  width: 4px;
  height: 100px;
}
.drawer-left .popup-content::after {
  right: 7px;
}
.drawer-right .popup-content::after {
  left: 7px;
}

.popup-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background: url("https://webstore-template-assets.tebex.io/images/close.svg") center center no-repeat;
  background-size: 20px;
  opacity: 0.5;
  line-height: 0;
  font-size: 0;
  color: transparent;
  transition: all 0.15s ease-in-out;
}
@media (width <= 600px) {
  .popup-close {
    width: 50px;
    height: 50px;
    background-size: 24px;
  }
}
.popup-close:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.1);
}

.store-product-popup-content {
  max-width: 800px;
}

.product-options-popup .popup-content {
  max-width: 480px;
}

.gift-form-popup .popup-content h1, .gift-form-popup .popup-content h2, .gift-form-popup .popup-content h3, .gift-form-popup .popup-content h4, .gift-form-popup .popup-content h5, .gift-form-popup .popup-content h6 {
  margin-bottom: 12px;
}
.gift-form-popup .popup-content .btn-primary {
  width: 240px;
}
.gift-form-popup .popup-content .actions {
  position: relative;
  width: fit-content;
  max-width: 100%;
}
.gift-form-popup .popup-content .actions.updating {
  pointer-events: none;
}
.gift-form-popup .popup-content .actions.updating > * {
  opacity: 0.3;
  filter: grayscale(100%);
}
.gift-form-popup .popup-content .actions.updating::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 10;
  margin: auto;
  width: 30px;
  height: 30px;
  background: url("https://webstore-template-assets.tebex.io/images/loading.svg") center center no-repeat;
  background-size: contain;
}

.login-popup {
  z-index: 1002;
}

.login-popup-content {
  max-width: 480px;
  padding-bottom: calc(var(--widget-padding) - 12px);
}

.basket {
  position: relative;
  z-index: 1001;
}
.site-content .basket {
  display: none;
}
.basket .basket-empty {
  margin: auto;
  text-align: center;
  font-size: 18px;
}
.basket .basket-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 50px var(--content-padding) 30px;
  font-size: 22px;
  font-weight: 600;
  background: rgba(40, 40, 40, 0.5);
}
@media (width > 960px) {
  .basket .basket-header {
    padding-top: 70px;
  }
}
.basket .basket-title {
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
}
.basket .basket-title::before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  background-color: var(--color-text);
  mask: url("https://webstore-template-assets.tebex.io/images/user.svg") center center no-repeat;
  mask-size: contain;
}
.basket .basket-second-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px var(--content-padding);
  background: var(--color-brighter-bg);
  background: rgb(from var(--color-brighter-bg) r g b/0.9);
  font-size: 18px;
  font-weight: 300;
  text-align: center;
}
.basket .basket-second-header .total {
  font-size: 14px;
}
.basket .basket-second-header .total strong {
  font-size: 18px;
  font-weight: inherit;
}
.basket .basket-second-header .currency {
  display: flex;
  align-items: center;
  gap: 6px;
}
.basket .basket-second-header .currency::after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background: url("https://webstore-template-assets.tebex.io/images/dropdown-arrow.svg") center center no-repeat;
}
.basket .basket-content {
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
}
.basket .basket-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: var(--widget-padding);
}
.basket .basket-item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  padding: var(--widget-padding);
  background: var(--color-brighter-bg);
}
.basket .basket-item .info {
  margin-right: auto;
}
.basket .basket-item .options {
  list-style-position: inside;
}
.basket .basket-item .options:has(li) {
  padding: 5px 0;
}
.basket .basket-item .options li {
  display: block;
  padding: 1px 0;
}
.basket .basket-item .options li::before {
  content: "";
  display: inline-block;
  margin-right: 0.4em;
  width: 3px;
  height: 3px;
  vertical-align: middle;
  background-color: currentColor;
  border-radius: 50%;
}
.basket .basket-item .title {
  font-size: 20px;
  font-weight: 600;
}
.basket .basket-item .price {
  color: var(--color-primary);
  font-size: 14px;
}
.basket .basket-item .price strong {
  font-size: 18px;
  font-weight: inherit;
}
.basket .basket-item .quantity-field {
  height: 40px;
}
.basket .basket-item .remove {
  width: 40px;
  height: 40px;
}
.basket .basket-item .remove::before {
  mask-image: url("https://webstore-template-assets.tebex.io/images/delete.svg");
}
.basket .basket-checkout {
  margin-top: auto;
  padding: 0 var(--content-padding) 50px;
}
@media (width > 960px) {
  .basket .basket-checkout {
    padding-bottom: 100px;
  }
}
.basket .basket-checkout h3 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--widget-padding);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
}
.basket .basket-checkout .total {
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 400;
}
.basket .basket-checkout .total strong {
  font-size: 24px;
  font-weight: inherit;
}
.basket .basket-checkout .checkout {
  width: 100%;
}

.basket-popup .popup-scroll-cont {
  justify-content: flex-end;
  padding: 0;
}

.basket-popup-content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 520px;
  height: 100vh;
  height: 100dvh;
  padding: 0;
  background: var(--color-bg);
  transition: translate var(--fade-duration) ease-in-out;
}
@starting-style {
  .basket-popup-content {
    translate: 100% 0;
  }
}
:root .basket-popup[hidden] .basket-popup-content {
  translate: 100% 0;
}
.basket-popup-content.updating {
  pointer-events: none;
}
.basket-popup-content.updating::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 10;
  margin: auto;
  width: 38px;
  height: 38px;
  background: url("https://webstore-template-assets.tebex.io/images/loading.svg") center center no-repeat;
  background-size: contain;
}
.basket-popup-content.updating > * {
  filter: grayscale(100%);
}

.toaster {
  display: flex;
  flex-direction: column-reverse;
  gap: 12px;
  position: fixed;
  bottom: var(--widget-padding);
  left: 0;
  right: 0;
  z-index: 10000;
  margin: 0 auto;
  padding: 0 var(--widget-padding);
  width: 100%;
  height: 100%;
  max-width: 520px;
  pointer-events: none;
}
.toaster:empty {
  display: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 50px;
  padding: 0 8px 0 24px;
  background: var(--color-brighter-bg);
  font-size: 16px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  pointer-events: auto;
  transition: height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
@starting-style {
  .toast {
    opacity: 0;
    height: 0;
  }
}
.toast[hidden] {
  display: block;
  opacity: 0;
  height: 0;
}
.toast.toast-warning {
  background: #cab600;
}
.toast.toast-error {
  background: #C12E2E;
}
.toast.toast-success {
  background: #4caf50;
}

.toast-close {
  margin-left: auto;
  flex: none;
  width: 30px;
  height: 30px;
  background: url("https://webstore-template-assets.tebex.io/images/close.svg") center center/20px no-repeat;
  opacity: 0.5;
  line-height: 0;
  font-size: 0;
  color: transparent;
  transition: opacity 0.15s ease-in-out, background-color 0.15s ease-in-out;
}
.toast-close:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.1);
}

.store-category-tiered {
  --gap: calc(var(--widget-padding) * .75);
  padding: var(--widget-padding);
}

.store-category-tiered-header {
  margin-bottom: var(--widget-padding);
  font-size: 18px;
}
.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,
.store-category-tiered-header p {
  margin-bottom: 24px;
}

.store-products-tiered {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: var(--gap);
}

.store-product-tiered {
  --border-color: rgb(from var(--color-text) r g b / .1);
  --primary-color: rgb(from var(--color-primary) r g b / .25);
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  gap: var(--gap);
  padding: var(--gap);
}
.store-product-tiered.store-product-cta {
  background-image: linear-gradient(to bottom, transparent 67%, var(--primary-color));
}
.store-product-tiered .image {
  margin: auto;
  max-width: 100%;
  object-fit: contain;
}
.store-product-tiered .product-title {
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}
.store-product-tiered .countdown {
  display: block;
  margin-top: 4px;
  color: var(--color-removed);
  font-size: 0.75em;
  font-variant-numeric: tabular-nums;
}
.store-product-tiered .countdown::before {
  content: "";
  display: inline-block;
  vertical-align: -0.15em;
  margin-right: 0.25em;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  mask: url("https://webstore-template-assets.tebex.io/images/countdown.svg") center center/contain no-repeat;
}
.store-product-tiered .descr {
  padding-block: var(--gap);
  border-block: 1px solid var(--border-color);
  color: var(--color-text-secondary);
}
.store-product-tiered .price {
  font-size: 14px;
  text-align: center;
}
.store-product-tiered .price .discount {
  margin-right: 1ch;
  color: var(--color-removed);
  font-weight: 400;
  text-decoration-line: line-through;
}
.store-product-tiered .price strong {
  font-size: 20px;
  font-weight: inherit;
}
.store-product-tiered .actions {
  gap: var(--gap);
}
.store-product-tiered .actions .wide {
  width: 100%;
}

.store-quote {
  padding: var(--widget-padding);
}
.store-quote .wide {
  flex: 1 1 50%;
}:root {
  --color-text: #fff;
  --color-text-darker: #e5e5e5;
  --color-text-secondary: #ccc;
  --color-text-dark: #0D0D0D;
  --color-bg: #000;
  --color-brighter-bg: #1e1e1e;
  --color-primary: #a0a0a0;
  --color-primary-hover: #c8c8c8;
  --color-primary-text: var(--color-text-dark);
  --color-primary-text-hover: var(--color-primary-text);
  --color-secondary: #ccc;
  --color-secondary-hover: #e5e5e5;
  --color-secondary-text: var(--color-text-dark);
  --color-secondary-text-hover: var(--color-secondary-text);
  --color-tertiary: transparent;
  --color-tertiary-hover: rgb(255 255 255 / 15%);
  --color-tertiary-text: var(--color-text);
  --color-tertiary-text-hover: var(--color-tertiary-text);
  --color-removed: #C12E2E;
  --color-sale-banner-bg: var(--color-primary);
  --color-sale-banner-text: var(--color-primary-text);
  --tebex-footer-height: 35px;
  --widget-padding: 24px;
  --content-padding: var(--widget-padding);
  --content-inner-width: 1280px;
  --content-width: calc((var(--content-padding) * 2) + var(--content-inner-width));
  --sidebar-width: 287px;
  --tebex-legal-footer-max-width: min(
    var(--content-inner-width),
    calc(100vw - (var(--content-padding) * 2))
  );
  --tebex-legal-footer-background-color: var(--color-brighter-bg);
  --tebex-legal-footer-border-color: var(--color-brighter-bg);
  --tebex-legal-footer-text-color: var(--color-text-secondary);
}
@media (width > 960px) {
  :root {
    --content-padding: calc(var(--widget-padding) * 2);
  }
}
@media (max-width: 900px) {
  :root {
    --tebex-footer-height: 70px;
  }
}
@media (max-width: 600px) {
  :root {
    --tebex-footer-height: 80px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  vertical-align: baseline;
  color: inherit;
  background: transparent;
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

strong,
b {
  font-weight: 700;
}

em,
i {
  font-style: italic;
}

input[type=submit],
button {
  appearance: none;
  cursor: pointer;
  text-align: left;
}

textarea {
  resize: none;
}

symbol,
use,
svg {
  overflow: visible;
}

svg,
img {
  display: block;
}

li {
  display: block;
}

button {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

:root *[hidden] {
  display: none;
}

:focus {
  outline: 0;
}

::placeholder {
  color: inherit;
  opacity: 1;
}

@view-transition {
  navigation: auto;
}
::view-transition-group(root) {
  animation-duration: var(--page-transition-duration);
  animation-timing-function: ease;
}

@keyframes pageMoveOut {
  0% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
}
@keyframes pageMoveIn {
  0%, 50% {
    scale: 0.98;
    opacity: 0;
  }
  100% {
    scale: 1;
    opacity: 1;
  }
}
::view-transition-old(siteContent) {
  animation: var(--page-transition-duration) ease both pageMoveOut;
  transform-origin: center top;
}

::view-transition-new(siteContent) {
  animation: var(--page-transition-duration) ease both pageMoveIn;
  transform-origin: center top;
}

::view-transition-group(siteContent) {
  z-index: 2;
}

::view-transition-group(siteHeaderTop),
::view-transition-group(siteHeader),
::view-transition-group(siteNavigation),
::view-transition-group(siteBgImage),
::view-transition-group(siteFooter) {
  animation-duration: var(--page-transition-duration);
  animation-timing-function: ease;
  z-index: 3;
}

::view-transition-group(siteBgImage) {
  z-index: 1;
}

html,
body {
  min-height: 100vh;
}

html {
  overflow: hidden scroll;
  scrollbar-width: thin;
  scrollbar-color: var(--color-secondary) var(--color-bg);
  scrollbar-gutter: stable;
}
html.no-scroll {
  overflow: hidden;
  overscroll-behavior-y: none;
}

body {
  position: relative;
  max-width: 100%;
  width: 100%;
  line-height: normal;
  color: var(--color-text);
  background: var(--color-bg);
  accent-color: var(--color-primary);
  font-family: sans-serif;
  font-size: 16px;
}
body::before {
  view-transition-name: siteBgImage;
}

::selection {
  color: var(--color-text);
  background-color: var(--color-primary);
  text-shadow: none;
}

select option {
  color: var(--color-text);
  background-color: var(--color-bg);
}

h1:not(.hero-headline), h2, h3, h4, h5, h6 {
  font-weight: 700;
}

.text-content {
  line-height: 1.4;
  word-wrap: break-word;
  word-break: break-word;
}
.text-content h1:not(:last-child),
.text-content h2:not(:last-child),
.text-content h3:not(:last-child),
.text-content h4:not(:last-child),
.text-content h5:not(:last-child),
.text-content h6:not(:last-child) {
  margin-bottom: 24px;
}
.text-content p:not(:last-child) {
  margin-bottom: 12px;
}
.text-content h1 {
  font-size: 32px;
}
.text-content h2 {
  font-size: 26px;
}
.text-content h3 {
  font-size: 20px;
}
.text-content h4 {
  font-size: 18px;
}
.text-content img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
.text-content ol, .text-content ul {
  margin-left: 1em;
}
.text-content ol:not(:last-child), .text-content ul:not(:last-child) {
  margin-bottom: 12px;
}
.text-content li {
  display: list-item;
}

.btn-primary,
.btn-secondary,
.btn-tertiary {
  --btn-color-text: var(--color-text);
  --btn-color-text-hover: var(--btn-color-text);
  --btn-color-bg: var(--color-bg);
  --btn-color-bg-hover: var(--btn-color-bg);
  display: block;
  width: fit-content;
  height: 46px;
  padding: 0 10px;
  line-height: 46px;
  color: var(--btn-color-text);
  background-color: var(--btn-color-bg);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (width > 960px) {
  .btn-primary,
  .btn-secondary,
  .btn-tertiary {
    padding: 0 14px;
  }
}
.btn-primary:disabled,
.btn-secondary:disabled,
.btn-tertiary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-primary:hover, .btn-primary:focus,
.btn-secondary:hover,
.btn-secondary:focus,
.btn-tertiary:hover,
.btn-tertiary:focus {
  color: var(--btn-color-text-hover);
  background-color: var(--btn-color-bg-hover);
}

.btn-primary {
  --btn-color-text: var(--color-primary-text);
  --btn-color-bg: var(--color-primary);
  --btn-color-text-hover: var(--color-primary-text-hover);
  --btn-color-bg-hover: var(--color-primary-hover);
}

.btn-secondary {
  --btn-color-text: var(--color-secondary-text);
  --btn-color-bg: var(--color-secondary);
  --btn-color-text-hover: var(--color-secondary-text-hover);
  --btn-color-bg-hover: var(--color-secondary-hover);
}

.btn-tertiary {
  --btn-color-text: var(--color-tertiary-text);
  --btn-color-bg: var(--color-tertiary);
  --btn-color-text-hover: var(--color-tertiary-text-hover);
  --btn-color-bg-hover: var(--color-tertiary-hover);
}

.btn-icon {
  position: relative;
  flex: none;
  width: 46px;
  height: 46px;
  padding: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 18px;
}
:root .btn-icon {
  line-height: 0;
  font-size: 0;
  color: transparent;
}

.btn-icon-text {
  display: flex;
  align-items: center;
  min-width: 46px;
}
.btn-icon-text::before {
  content: "";
  display: block;
  margin-right: 8px;
  width: 18px;
  height: 18px;
  flex: none;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}
@media (width <= 960px) {
  :root .btn-icon-text {
    justify-content: center;
    font-size: 0;
    color: transparent;
  }
  :root .btn-icon-text::before {
    margin-right: 0;
  }
}

.btn-glyph::before,
.btn-glyph-text::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  flex: none;
  background-color: var(--btn-color-text);
  mask-position: center center;
  mask-repeat: no-repeat;
  mask-size: contain;
  transition: background-color 0.15s ease-in-out;
}
.btn-glyph:hover::before, .btn-glyph:focus::before,
.btn-glyph-text:hover::before,
.btn-glyph-text:focus::before {
  background-color: var(--btn-color-text-hover);
}

.btn-glyph {
  position: relative;
  flex: none;
  width: 46px;
  height: 46px;
}
:root .btn-glyph {
  padding: 0;
  line-height: 0;
  font-size: 0;
  color: transparent;
}
.btn-glyph::before {
  position: absolute;
  inset: 0;
  margin: auto;
}

.btn-glyph-text {
  display: flex;
  align-items: center;
  min-width: 46px;
}
.btn-glyph-text::before {
  margin-right: 8px;
}
@media (width <= 960px) {
  :root .btn-glyph-text {
    justify-content: center;
    font-size: 0;
    color: transparent;
  }
  :root .btn-glyph-text::before {
    margin-right: 0;
  }
}

.link-text {
  color: var(--color-text-darker);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-position: under;
  transition: color 0.15s ease-in-out;
}
.link-text:hover {
  color: var(--color-text);
}

.quantity-field {
  display: flex;
  align-items: stretch;
  justify-content: center;
  color: var(--color-text);
  background: var(--color-bg);
  height: 36px;
  border: 1px solid var(--color-secondary);
}
.quantity-field input[type=number] {
  position: relative;
  z-index: 1;
  flex: none;
  -moz-appearance: textfield;
  appearance: textfield;
  field-sizing: content;
  min-width: 40px;
  height: 100%;
  font-size: 16px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.quantity-field input[type=number]:focus, .quantity-field input[type=number]:hover {
  border-color: var(--color-secondary-hover);
}
.quantity-field input[type=number]::-webkit-inner-spin-button, .quantity-field input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.quantity-field.with-open-basket input[type=number] {
  margin: 0 -12px 0 -15px;
  min-width: auto;
  padding: 0 15px;
  order: 1;
  text-align: right;
  transition: color 0.15s ease-in-out;
}
.quantity-field .open-basket {
  margin-right: 5px;
  width: fit-content;
  height: 100%;
  order: 2;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s ease-in-out;
}
.quantity-field .open-basket:focus, .quantity-field .open-basket:hover {
  color: var(--color-primary);
}
.quantity-field .open-basket:focus ~ input[type=number], .quantity-field .open-basket:hover ~ input[type=number] {
  color: var(--color-primary);
}
.quantity-field .adjust {
  position: relative;
  z-index: 2;
  flex: none;
  width: 34px;
  height: 100%;
  padding: 0;
  line-height: 0;
  font-size: 0;
  color: transparent;
}
.quantity-field .adjust.decrease {
  margin-right: auto;
  order: -1;
}
.quantity-field .adjust.increase {
  margin-left: auto;
  order: 100;
}
.quantity-field .adjust::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: var(--color-text);
  mask: url("https://webstore-template-assets.tebex.io/images/plus.svg") no-repeat center center;
  mask-size: 10px;
}
.quantity-field .adjust.decrease::before {
  mask-image: url("https://webstore-template-assets.tebex.io/images/minus.svg");
}

/* Hero Section */
.hero-section {
  padding: 72px 0;
  margin: 0;
  position: relative;
}

.hero-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Custom grid image: tile at native size so it doesn’t look glitched.
   Must beat generic.css .hero-bg-grid (loads after shared). */
.hero-bg-grid.hero-bg-grid-image {
  background-size: auto !important;
  background-repeat: repeat !important;
  background-position: -140px -80px !important;
}

.hero-container {
  margin: 0 auto;
  padding: 0 var(--content-padding);
  max-width: var(--content-width);
  position: relative;
  z-index: 1;
}

.hero-content {
  text-align: center;
  margin-bottom: 48px;
}

.hero-section h1.hero-headline,
.hero-headline {
  font-family: var(--nl-hero-font) !important;
  font-size: var(--nl-hero-size, clamp(2.25rem, 5.25vw, 3.375rem));
  font-weight: var(--nl-hero-weight, 700) !important;
  font-synthesis: none;
  margin-bottom: 24px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

.hero-headline-line {
  display: block;
}

.hero-headline-line--muted {
  color: rgba(255, 255, 255, 0.82);
  font-weight: var(--nl-hero-weight-muted, 600) !important;
  letter-spacing: -0.028em;
}

@media (width <= 600px) {
  .hero-headline {
    font-size: clamp(2rem, 7vw, 2.5rem);
  }
}

.hero-accent {
  color: rgba(255, 255, 255, 0.52);
  display: block;
}

.hero-subcopy {
  font-family: var(--nl-hero-font) !important;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.44);
  margin: 0 auto 28px;
  max-width: 460px;
  line-height: 1.75;
  letter-spacing: 0.005em;
  font-weight: 400 !important;
  font-synthesis: none;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  background: #eceae7;
  color: #1f1f22;
  font-weight: 500;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  font-family: var(--nl-nav-font);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.hero-cta:hover {
  background: #f5f4f2;
  border-color: rgba(255, 255, 255, 0.55);
  color: #1f1f22;
  transform: none;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.hero-visual {
  text-align: center;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(160, 160, 160, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-logo {
  max-width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}

/* Features Section */
.features-section {
  --features-padding-top: 72px;
  --features-padding-bottom: 80px;
  padding: var(--features-padding-top) 0 var(--features-padding-bottom);
  margin-bottom: 0;
  background: transparent;
  position: relative;
}

.features-container {
  margin: 0 auto;
  padding: 0 var(--content-padding);
  max-width: var(--content-width);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: start;
}

@media (width <= 960px) {
  .features-section {
    --features-padding-top: 32px;
    --features-padding-bottom: 48px;
  }
  .features-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (width <= 600px) {
  .features-section {
    --features-padding-top: 28px;
    --features-padding-bottom: 40px;
  }
  .features-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Feature Card - Clean Flexbox Layout */
.feature-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  padding: 0;
  background: transparent;
  border: none;
}

.feature-card:hover {
  transform: none;
}

/* Feature Icon - Fixed Size */
.feature-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  color: #ffffff;
  stroke: #ffffff;
  flex-shrink: 0;
}

.features-section .feature-icon svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

/* Feature Content - Proper Text Alignment */
.feature-content {
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feature-title {
  font-family: var(--nl-font-family);
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  padding: 0;
  color: #fff;
  line-height: 1.35;
  letter-spacing: -0.1px;
}

.feature-description {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
  margin: 0;
  padding: 0;
}

/* Premium Fonts Import */
/* Satoshi loaded via nl-fonts.css in head.twig */

/* ============================================
   FEATURED SCRIPTS SECTION - AAA PREMIUM
   ============================================ */
.featured-scripts-section {
  --section-spacing-top: 72px;
  --section-spacing-bottom: 80px;
  --separator-spacing: 48px;
  padding: var(--section-spacing-top) 0 var(--section-spacing-bottom);
  background: transparent;
  position: relative;
  overflow: hidden;
}

/* Ambient glow behind section */
.featured-scripts-section::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.012) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.featured-scripts-container {
  margin: 0 auto;
  padding: 0 var(--content-padding);
  width: 100%;
  max-width: var(--content-width);
  position: relative;
  z-index: 1;
}

/* Section Separator - Centered with balanced spacing */
.featured-scripts-container::before {
  content: none;
}

/* Section Header - Clean Centered */
.section-header {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}

/* Micro label above title */
.section-header::before {
  content: 'FEATURED';
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
  display: block;
  margin-bottom: 12px;
  font-size: 10px;
  font-weight: 700;
  color: #383838;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero-cta--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero-cta--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.section-title {
  font-family: var(--nl-font-family, 'Satoshi', sans-serif);
  font-size: 40px;
  font-weight: 800;
  margin: 0 0 12px;
  color: #fff;
  letter-spacing: -1.5px;
  .hero-cta-row {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  line-height: 1.05;
  background: linear-gradient(180deg, #ffffff 0%, #a0a0a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Scripts Grid - Premium Layout */
.featured-scripts-loading {
  grid-column: 1 / -1;
  margin: 0;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.45);
}

.featured-scripts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

@media (width <= 1100px) {
  .featured-scripts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (width <= 700px) {
  .featured-scripts-section {
    --separator-spacing: 32px;
  }
  .featured-scripts-container::before {
    width: 48px;
  }
  .section-header::before {
    font-size: 9px;
    letter-spacing: 2.5px;
    margin-bottom: 10px;
  }
  .section-title {
    font-size: 30px;
  }
  .section-header {
    margin-bottom: 28px;
  }
  .featured-scripts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 24px;
  }
}

/* Featured Card - Luxury Product Box */
.featured-script-card {
  --card-radius: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255,255,255,0.01) 0%, rgba(0,0,0,0.6) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.5);
  transition: transform 0.22s cubic-bezier(0.2,0.9,0.3,1), box-shadow 0.22s ease;
  cursor: pointer;
  height: 100%;
  min-height: 380px;
}

/* Card glow effect */
.featured-script-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--card-radius) + 1px);
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

/* Card shine sweep on hover */
.featured-script-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.02) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 10;
}

.featured-script-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(0,0,0,0.65);
}

.featured-script-card:hover::before {
  opacity: 1;
}

.featured-script-card:hover::after {
  left: 150%;
}

/* Focus state for accessibility */
.featured-script-link:focus .featured-script-card,
.featured-script-card:focus {
  outline: 3px solid rgba(255,255,255,0.08);
  outline-offset: 4px;
}

/* Card Image - Cinematic */
.featured-script-image {
  position: relative;
  width: 100%;
  height: 200px;
  flex-shrink: 0;
  overflow: hidden;
  background: #050505;
}

/* Vignette overlay */
.featured-script-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Bottom gradient fade */
.featured-script-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
  z-index: 2;
}

.featured-script-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.92) saturate(0.95);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.featured-script-card:hover .featured-script-image img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1);
}

/* Premium Badge System */
.featured-script-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);
  transition: all 0.3s ease;
}

.featured-script-tag i {
  font-size: 10px;
  color: rgba(255,255,255,0.7);
}

.featured-script-card:hover .featured-script-tag {
  background: rgba(0,0,0,0.7);
  color: #fff;
}

/* Card Content - Refined */
.featured-script-content {
  position: relative;
  z-index: 3;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  background: transparent;
}

.featured-script-name {
  font-family: var(--nl-font-family);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.2px;
}

.featured-script-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Price - Bold & Premium */
.featured-script-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}

.featured-script-price-current {
  font-family: var(--nl-font-family);
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
}

.featured-script-price-old {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-decoration: line-through;
  font-weight: 500;
}

/* CTA Arrow - Elegant Reveal */
.featured-script-cta {
  position: absolute;
  bottom: 18px;
  right: 18px;
  z-index: 5;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  opacity: 0;
  transform: translateX(-6px) scale(0.9);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-script-cta svg {
  width: 14px;
  height: 14px;
  color: #fff;
  transition: transform 0.25s ease;
}

.featured-script-card:hover .featured-script-cta {
  opacity: 1;
  transform: translateX(0) scale(1);
  background: rgba(255,255,255,0.1);
}

.featured-script-cta:hover {
  background: rgba(255,255,255,0.15);
}

.featured-script-cta:hover svg {
  transform: translateX(2px);
}

/* View All CTA - Premium Button */
.featured-scripts-cta {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.featured-scripts-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 170px;
  justify-content: center;
  padding: 10px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.18s ease;
}

.featured-scripts-cta a:hover {
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.04);
  transform: translateY(-4px);
}

.featured-scripts-cta a:focus {
  outline: 3px solid rgba(255,255,255,0.06);
  outline-offset: 4px;
}

.featured-scripts-cta a i {
  font-size: 11px;
  transition: transform 0.2s ease;
}

.featured-scripts-cta a:hover i {
  transform: translateX(3px);
}

/* Legacy link support */
.featured-script-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* ============================================
   LIVE STATS + SUPPORT - AAA PREMIUM DASHBOARD
   ============================================ */
.community-impact-section {
  --section-spacing-top: 64px;
  --section-spacing-bottom: 72px;
  padding: var(--section-spacing-top) 0 var(--section-spacing-bottom);
  position: relative;
  overflow: hidden;
}

/* Ambient background glow */
.community-impact-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 450px;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.015) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.community-impact-container {
  margin: 0 auto;
  padding: 0 var(--content-padding);
  max-width: var(--content-width);
  position: relative;
  z-index: 1;
}

/* ============================================
   IMPACT HEADER - APPLE-STYLE PREMIUM
   ============================================ */
.impact-header {
  text-align: center;
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(80px) scale(0.95);
  filter: blur(10px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.impact-header.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.impact-header-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.impact-header.is-visible .impact-header-label {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.impact-header-dot {
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.5);
  animation: impactDotPulse 2s ease-in-out infinite;
}

@keyframes impactDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 12px rgba(74, 222, 128, 0.5); }
  50% { opacity: 0.6; transform: scale(0.85); box-shadow: 0 0 20px rgba(74, 222, 128, 0.8); }
}

.impact-header-title {
  font-family: var(--nl-font-family, 'Satoshi', sans-serif);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin: 0 0 20px;
  overflow: hidden;
}

.impact-title-line {
  display: block;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.impact-header.is-visible .impact-title-line {
  opacity: 1;
  transform: translateY(0);
}

.impact-header.is-visible .impact-title-line:nth-child(1) {
  transition-delay: 0.35s;
}

.impact-header.is-visible .impact-title-line:nth-child(2) {
  transition-delay: 0.5s;
}

.impact-title-line:first-child {
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.impact-title-accent {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 50%, #16a34a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.impact-header-subtitle {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.impact-header.is-visible .impact-header-subtitle {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}

/* Mobile Responsive - Impact Header */
@media (max-width: 800px) {
  .impact-header {
    margin-bottom: 40px;
  }
  
  .impact-header-title {
    letter-spacing: -1.5px;
  }
  
  .impact-header-subtitle {
    font-size: 14px;
    padding: 0 20px;
  }
}

@media (max-width: 500px) {
  .impact-header {
    margin-bottom: 32px;
  }
  
  .impact-header-label {
    font-size: 10px;
    letter-spacing: 2px;
  }
  
  .impact-header-title {
    letter-spacing: -1px;
  }
  
  .impact-header-subtitle {
    font-size: 13px;
  }
}

/* Premium Glass Panel */
.impact-panel {
  --panel-radius: 18px;
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 48px;
  background: linear-gradient(180deg, rgba(255,255,255,0.015) 0%, rgba(0,0,0,0.45) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--panel-radius);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  overflow: hidden;
}

/* Top shine line */
.impact-panel::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 40px;
  right: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
}

/* Inner glow */
.impact-panel::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.035) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Left Side - Stats Dashboard */
.impact-stats-side {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* Live Stats Header */
.stats-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  color: #505050;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.stats-header-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: livePulse 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

@keyframes livePulse {
  0%, 100% { 
    opacity: 1; 
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
  }
  50% { 
    opacity: 0.4; 
    box-shadow: 0 0 4px rgba(34, 197, 94, 0.3);
  }
}

/* Stats Numbers */
.stats-numbers {
  display: flex;
  align-items: center;
  gap: 44px;
}

.impact-stat {
  text-align: center;
}

.impact-number {
  font-family: var(--nl-font-family);
  font-size: 52px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -2.5px;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #ffffff 20%, #808080 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.impact-label {
  margin-top: 8px;
  font-size: 10px;
  font-weight: 700;
  color: #505050;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

/* Center Divider - Elegant */
.impact-divider {
  position: relative;
  z-index: 1;
  width: 1px;
  height: 90px;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
}

/* Right Side - Premium Support */
.impact-support-side {
  position: relative;
  z-index: 1;
  padding-left: 8px;
}

/* Online Badge - Premium */
.support-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.12);
  border-radius: 16px;
  font-size: 9px;
  font-weight: 800;
  color: #22c55e;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.support-label-dot {
  width: 5px;
  height: 5px;
  background: #22c55e;
  border-radius: 50%;
  animation: supportPulse 2s ease-in-out infinite;
}

@keyframes supportPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* Support Title */
.support-title {
  font-family: var(--nl-font-family, 'Satoshi', sans-serif);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: -0.4px;
  line-height: 1.2;
}

/* Support Description */
.support-desc {
  font-size: 13px;
  color: #606060;
  line-height: 1.55;
  margin: 0 0 20px;
  max-width: 260px;
}

/* Support CTA Button - Premium White */
.impact-support-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #fff;
  border: none;
  border-radius: 10px;
  color: #0a0a0a;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

/* Button shine effect */
.impact-support-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
  transition: left 0.6s ease;
}

.impact-support-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 16px 40px rgba(255,255,255,0.15),
    0 0 0 1px rgba(255,255,255,0.1);
}

.impact-support-btn:hover::before {
  left: 100%;
}

.impact-support-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.impact-support-btn:hover svg {
  transform: translateX(4px);
}

/* Mobile Responsive */
@media (width <= 800px) {
  .community-impact-section {
    --section-spacing-top: 48px;
    --section-spacing-bottom: 56px;
  }
  .impact-panel {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 24px;
    text-align: center;
  }
  .impact-panel::before {
    left: 24px;
    right: 24px;
  }
  .impact-stats-side {
    gap: 12px;
  }
  .stats-numbers {
    gap: 32px;
  }
  .impact-number {
    font-size: 44px;
    letter-spacing: -2px;
  }
  .impact-divider {
    width: 48px;
    height: 1px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.06) 50%, transparent 100%);
  }
  .impact-support-side {
    padding-left: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .support-desc {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (width <= 500px) {
  .community-impact-section {
    --section-spacing-top: 36px;
    --section-spacing-bottom: 48px;
  }
  .impact-panel {
    padding: 24px 16px;
    gap: 20px;
    border-radius: 14px;
  }
  .impact-stats-side {
    gap: 14px;
  }
  .stats-numbers {
    gap: 24px;
  }
  .impact-number {
    font-size: 40px;
    letter-spacing: -1.5px;
  }
  .support-title {
    font-size: 20px;
  }
  .support-desc {
    font-size: 12px;
  }
  .impact-support-btn {
    padding: 11px 20px;
    font-size: 12px;
  }
}

/* ============================================
   LIVE STATS CARD - PACKAGE PAGE
   ============================================ */
.live-stats-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px;
  margin-top: 20px;
}

.live-stats-title {
  font-family: var(--nl-font-family);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 18px;
}

.live-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.live-stat-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 16px;
}

.live-stat-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
}

.live-stat-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.live-stat-label {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.01em;
}

.live-stat-value {
  font-family: var(--nl-font-family);
  font-size: 24px;
  font-weight: 700;
  color: #f5c542;
  line-height: 1;
  letter-spacing: -0.5px;
}

.live-stats-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 16px;
  font-size: 13px;
  font-weight: 500;
  color: #c8a84e;
}

.live-stats-badge svg {
  color: #c8a84e;
  flex-shrink: 0;
}

.live-stats-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}

.live-stats-powered {
  display: flex;
  align-items: center;
  gap: 4px;
}

.live-stats-5metrics {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

.live-stats-live-dot {
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-dot-indicator {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
  animation: liveStatsDotPulse 2s ease-in-out infinite;
}

@keyframes liveStatsDotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@media (max-width: 500px) {
  .live-stats-grid {
    grid-template-columns: 1fr;
  }
  .live-stats-card {
    padding: 18px;
  }
  .live-stat-value {
    font-size: 20px;
  }
}

/* Hide legacy elements */
.impact-title, .impact-subtitle, .impact-footer,
.impact-badge, .impact-stats-area, .impact-stats-divider, .impact-tagline,
.impact-icon, .impact-title-wrapper, .impact-stats-grid, .impact-trust,
.impact-support, .support-status, .support-features, .impact-stat-icon { 
  display: none !important; 
}



/* Performance icon — static white; flicker animation in generic.css */
.features-section .feature-card .feature-icon svg.lucide-zap {
  color: #ffffff !important;
  stroke: #ffffff !important;
  transition: stroke 0.1s ease, filter 0.1s ease;
}

@keyframes lightFlicker {
  0% {
    stroke: currentColor;
    filter: drop-shadow(0 0 0px transparent);
  }
  10% {
    stroke: #FFD700;
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.6));
  }
  20% {
    stroke: currentColor;
    filter: drop-shadow(0 0 0px transparent);
  }
  30% {
    stroke: #FFD700;
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.6));
  }
  40% {
    stroke: currentColor;
    filter: drop-shadow(0 0 0px transparent);
  }
  50%, 100% {
    stroke: #FFD700;
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.6));
  }
}

/* Reviews Heart Icon Hover Effect - Flickering Red */
.store-statistics-subheader-kicker i.fa-heart {
  display: inline-block;
  color: #ffffff;
  transition: color 0.1s ease;
}

.store-statistics-subheader-kicker:hover i.fa-heart {
  animation: heartFlicker 0.6s ease-out forwards;
}

@keyframes heartFlicker {
  0% {
    color: #ffffff;
    filter: drop-shadow(0 0 0px transparent);
  }
  10% {
    color: #ff2d2d;
    filter: drop-shadow(0 0 6px rgba(255, 45, 45, 0.6));
  }
  20% {
    color: #ffffff;
    filter: drop-shadow(0 0 0px transparent);
  }
  30% {
    color: #ff2d2d;
    filter: drop-shadow(0 0 6px rgba(255, 45, 45, 0.6));
  }
  40% {
    color: #ffffff;
    filter: drop-shadow(0 0 0px transparent);
  }
  50%, 100% {
    color: #ff2d2d;
    filter: drop-shadow(0 0 8px rgba(255, 45, 45, 0.7));
  }
}

/* Hero Section Logo Fix */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

/* ============================================
   MOBILE HEADER - Clean Compact Layout
   ============================================ */

/* Hide mobile basket button on desktop */
.mobile-basket-btn {
  display: none !important;
}

@media (width <= 960px) {
  /* Header container - single row flex layout */
  .site-header-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 15px !important;
    min-height: 60px !important;
    position: relative !important;
  }

  /* Logo - left side */
  .site-header-inner .site-title {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    order: 1 !important;
  }

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

  /* Actions container - right side, horizontal layout */
  .site-header-inner .actions {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    order: 2 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Basket button - 44x44 touch target */
  .mobile-basket-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
  }

  .mobile-basket-btn svg {
    width: 22px !important;
    height: 22px !important;
    color: #ffffff !important;
    fill: #ffffff !important;
  }

  /* Hide basket count badge on mobile */
  .mobile-basket-btn .basket-count {
    display: none !important;
  }

  /* Hamburger button - 44x44 touch target */
  .site-header-inner .actions .toggle-navigation {
    position: static !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
  }

  /* Hide server/discord info on mobile */
  .site-header-inner .info {
    display: none !important;
  }
}

/* Very small screens - compact spacing */
@media (width <= 375px) {
  .site-header-inner {
    padding: 10px 12px !important;
  }

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

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

/* ============================================
   DESIGNER CREDIT PROTECTION
   ============================================ */

/* Protect designer credit from removal */
.designer-credit {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-top: 20px !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.designer-credit::before {
  content: '' !important;
  display: block !important;
}

.credit-text {
  font-size: 12px !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.30) !important;
  letter-spacing: 0.2px !important;
}

.designer-credit a {
  display: inline-flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition: opacity 0.3s ease !important;
}

.designer-credit a:hover {
  opacity: 0.7 !important;
}

/* Layered logo: background survives removal/replacement of <img> src alone */
.designer-credit-link {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  min-width: 72px !important;
  min-height: 28px !important;
}

.designer-credit-img-wrap {
  position: relative !important;
  display: inline-block !important;
  line-height: 0 !important;
}

.designer-credit-img-wrap::after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  background: url('https://i.ibb.co/B5H1Cnw8/Nolimitswithtextimage.png') center center / contain no-repeat !important;
  opacity: 0.45 !important;
  pointer-events: none !important;
}

.credit-logo-img {
  position: relative !important;
  z-index: 1 !important;
  height: 28px !important;
  width: auto !important;
  display: block !important;
  opacity: 0.45 !important;
  transition: opacity 0.3s ease !important;
}

.designer-credit a:hover .credit-logo-img {
  opacity: 0.75 !important;
}

.designer-credit a:hover .designer-credit-img-wrap::after {
  opacity: 0.75 !important;
}

/* Prevent hiding via common methods */
.designer-credit,
.designer-credit * {
  visibility: visible !important;
  position: relative !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
}

/* Add watermark in console */
.designer-credit::after {
  content: 'Template by NoLimits - Removing credit violates license' !important;
  position: absolute !important;
  left: -9999px !important;
}

/* License bind hook (must stay “visible” per main.js nlCreditHidden); credit UI is #nl-designer-credit only */
.theme-signature.nl-theme-bound {
  display: block !important;
  width: 4px !important;
  height: 4px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  position: relative !important;
  opacity: 0.06 !important;
  pointer-events: none !important;
}

.nl-theme-bound.nl-auth-sig::after {
  content: none !important;
  display: none !important;
}

/* Twig gate: empty storefront shell when nl-store-bind include is broken */
.nl-license-error.nl-twig-gate {
  min-height: 60vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 48px 24px !important;
  background: #0f0f10 !important;
  color: #e8e8e8 !important;
}

.nl-license-error-inner {
  max-width: 520px !important;
  text-align: center !important;
}

.nl-license-error-title {
  margin: 0 0 12px !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
}

.nl-license-error-text {
  margin: 0 0 16px !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

.nl-license-error-text code {
  font-size: 12px !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.nl-license-error-brand {
  margin: 0 !important;
  font-size: 11px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.35) !important;
}

/* Client-side lock: blur storefront shell when credits are tampered */
html.nl-attribution-lock .site {
  filter: blur(10px) !important;
  pointer-events: none !important;
  user-select: none !important;
}

#nl-attribution-shield {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  pointer-events: auto !important;
  cursor: not-allowed !important;
  background: transparent !important;
}

html.nl-attribution-lock .cookie-consent.is-visible {
  z-index: 2147483646 !important;
  filter: none !important;
  pointer-events: auto !important;
}

html.nl-attribution-lock .cookie-consent.is-visible button {
  pointer-events: auto !important;
}

/* ============================================
   CINEMATIC ENTRANCE ANIMATIONS
   ============================================ */

/* Hide elements initially */
.hero-section .hero-content,
.hero-section .hero-visual,
.features-section .feature-card,
.featured-scripts-section .section-header,
.featured-scripts-section .featured-script-link {
  opacity: 0;
  transform: translateY(40px);
}

/* Impact Panel - Premium Scroll Animation */
.community-impact-section .impact-panel {
  opacity: 0;
  transform: translateY(60px) scale(0.96);
  filter: blur(8px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.community-impact-section .impact-panel.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Impact Panel Inner Elements - Staggered Animation */
.impact-panel .impact-stats-side,
.impact-panel .impact-divider,
.impact-panel .impact-support-side {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.impact-panel.is-visible .impact-stats-side {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.impact-panel.is-visible .impact-divider {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.45s;
}

.impact-panel.is-visible .impact-support-side {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

/* Cinematic keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Hero content animation */
.hero-section .hero-content {
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

/* Hero visual animation */
.hero-section .hero-visual {
  animation: fadeInRight 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

/* Feature cards staggered animation */
.features-section .feature-card:nth-child(1) {
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.features-section .feature-card:nth-child(2) {
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.75s forwards;
}

.features-section .feature-card:nth-child(3) {
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}

.features-section .feature-card:nth-child(4) {
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 1.05s forwards;
}

/* Featured Scripts Section Animations */
.featured-scripts-section .section-header {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.featured-scripts-section .featured-script-link:nth-child(1) {
  animation: scaleIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.featured-scripts-section .featured-script-link:nth-child(2) {
  animation: scaleIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}

.featured-scripts-section .featured-script-link:nth-child(3) {
  animation: scaleIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

/* Smooth page fade-in */
body {
  animation: fadeIn 0.4s ease-out;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   HERO SECTION - REDESIGNED FOR BALANCE
   ============================================ */

/* Hero container layout */
.hero-section {
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 60px 0;
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Hero content - left side */
.hero-content {
  text-align: left;
  z-index: 2;
}

/* Headline — bold display */
.hero-section h1.hero-headline,
.hero-headline {
  font-family: var(--nl-hero-font) !important;
  font-size: var(--nl-hero-size, clamp(2.25rem, 5.25vw, 3.375rem));
  font-weight: var(--nl-hero-weight, 700) !important;
  font-synthesis: none;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: #ffffff;
  max-width: 580px;
  -webkit-font-smoothing: antialiased;
}

.hero-headline-line {
  display: block;
}

.hero-headline-line--muted {
  color: rgba(255, 255, 255, 0.82);
  font-weight: var(--nl-hero-weight-muted, 600) !important;
  letter-spacing: -0.028em;
}

.hero-accent {
  color: rgba(255, 255, 255, 0.52);
  display: block;
}

/* Subcopy — quiet, technical */
.hero-subcopy {
  font-family: var(--nl-hero-font) !important;
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0.005em;
  color: rgba(255, 255, 255, 0.44);
  margin-bottom: 28px;
  max-width: 460px;
  font-weight: 400 !important;
  font-synthesis: none;
}

/* CTA — milky calm white */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  height: 40px;
  padding: 0 16px;
  background: #eceae7;
  color: #1f1f22;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.hero-cta:hover {
  transform: none;
  background: #f5f4f2;
  border-color: rgba(255, 255, 255, 0.55);
  color: #1f1f22;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.hero-cta i {
  transition: transform 0.2s ease, opacity 0.2s ease;
  font-size: 12px;
  opacity: 0.75;
}

.hero-cta:hover i {
  transform: translateX(3px);
  opacity: 1;
}

/* Hero visual - right side, better positioned */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hero-logo {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.3));
}

/* Tablet adjustments */
@media (max-width: 960px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    padding: 0 30px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-headline {
    font-size: clamp(2rem, 6vw, 2.5rem);
    max-width: 100%;
    margin: 0 auto 20px;
  }

  .hero-subcopy {
    font-size: 14px;
    max-width: 100%;
    margin: 0 auto 22px;
  }

  .hero-visual {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .hero-section {
    min-height: auto;
    padding: 40px 0;
  }

  .hero-container {
    padding: 0 20px;
    gap: 30px;
  }

  .hero-headline {
    font-size: 1.875rem;
    margin-bottom: 18px;
  }

  .hero-subcopy {
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.46);
  }

  .hero-cta {
    width: auto;
    max-width: none;
    justify-content: center;
    min-height: 40px;
    height: 40px;
    padding: 0 16px;
    font-size: 14px;
  }

  .hero-visual {
    max-width: 280px;
  }
}

/* ============================================
   STORE STATISTICS SECTION
   ============================================ */

.store-statistics-container {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto 96px;
  padding: 24px var(--content-padding) 24px;
  position: relative;
  text-align: center;
}

.store-statistics-container::before {
  content: none;
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 620px;
  height: 280px;
  background: radial-gradient(ellipse at center, rgba(115, 167, 255, 0.13) 0%, transparent 68%);
  pointer-events: none;
}

.store-statistics-container .section-header {
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.store-statistics-container .section-header::before {
  content: 'STATISTICS';
}

.store-statistics-top-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.store-statistics-bottom-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.store-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0;
}

.store-stat-number {
  margin: 0;
  font-family: var(--nl-font-family, 'Satoshi', sans-serif);
  font-size: clamp(64px, 7vw, 88px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1.2px;
  color: transparent;
  background: linear-gradient(180deg, #f2f2f2 0%, #8a8a8a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.store-stat-card-small .store-stat-number {
  font-size: clamp(40px, 4.5vw, 64px);
}

.store-stat-label {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.1px;
  color: rgba(255, 255, 255, 0.46);
}

.store-stat-card-small .store-stat-label {
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0.4px;
  color: rgba(255, 255, 255, 0.5);
}

.store-stat-divider {
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.18) 30%, rgba(255, 255, 255, 0.18) 70%, transparent 100%);
}

.store-statistics-divider {
  width: 60%;
  height: 1px;
  margin: 24px auto 0;
  background: rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 1;
}

.store-statistics-footer {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 14px;
  position: relative;
  z-index: 1;
}

.store-statistics-subheader {
  margin-top: 78px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.store-statistics-subheader-kicker {
  display: block;
  margin-bottom: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #383838;
}

.store-statistics-subheader-kicker i {
  color: #ffffff;
  margin-right: 6px;
}

.store-statistics-subheader-title {
  margin: 0 0 56px;
  font-family: var(--nl-font-family, 'Satoshi', sans-serif);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: #fff;
  background: linear-gradient(180deg, #ffffff 0%, #a0a0a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.reviews-section-divider {
  display: none;
}

/* ============================================
   REVIEWS CAROUSEL
   ============================================ */

.reviews-carousel {
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  --reviews-gap: 24px;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 6%,
    black 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 6%,
    black 94%,
    transparent 100%
  );
}

/* Track — infinite scroll */
.reviews-track {
  display: flex;
  align-items: stretch;
  width: max-content;
  gap: var(--reviews-gap);
  will-change: transform;
  animation: reviews-slide 40s linear infinite;
}

.reviews-carousel:hover .reviews-track {
  animation-play-state: paused;
}

@keyframes reviews-slide {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - (var(--reviews-gap) / 2))); }
}

/* ---- Card ---- */

.review-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  padding: 28px 26px 24px;
  min-height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: #1a1a1a;
  text-align: left;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  flex: 0 0 clamp(260px, 28vw, 360px);
}

.review-card::before {
  content: none;
}

.review-card:hover {
  border-color: rgba(255, 255, 255, 0.10);
  background: #1e1e1e;
}

/* ---- Stars ---- */

.review-stars {
  margin: 0 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.review-star-icon {
  width: 13px;
  height: 13px;
  display: inline-block;
  fill: rgba(255, 200, 100, 0.65);
}

/* ---- Review Body ---- */

.review-text {
  margin: 0;
  flex: 1;
  max-width: 340px;
  font-size: 13.5px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.50);
  letter-spacing: 0.1px;
}

/* index.html review placeholders — small label before editable hint text */
.review-text .index-custom-tag,
.review-author-name .index-custom-tag {
  display: inline-block;
  margin-right: 4px;
  padding: 1px 6px;
  font-size: 9px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  vertical-align: 0.08em;
  color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
}

/* ---- Divider ---- */

.review-content-divider {
  width: 100%;
  height: 1px;
  margin: 18px 0 14px;
  background: rgba(255, 255, 255, 0.05);
}

/* ---- Author ---- */

.review-identity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-author-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-author-name {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.85);
}

.review-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}

.review-avatar-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: rgba(255, 255, 255, 0.40);
  background: rgba(255, 255, 255, 0.04);
}

.review-verified {
  margin: 0;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.30);
}

/* ============================================
   STORE STATISTICS — Source
   ============================================ */

.store-statistics-source {
  margin: 0;
  padding-top: 15px;
  position: relative;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.15px;
  text-transform: none;
  color: rgba(255, 255, 255, 0.4);
  opacity: 0.4;
}

.store-statistics-source a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.store-statistics-source a:hover {
  color: rgba(255, 255, 255, 0.82);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1200px) {
  .store-stat-label { font-size: 14px; }
}

@media (max-width: 900px) {
  .store-statistics-container {
    margin-bottom: 64px;
    padding: 12px 20px 10px;
  }

  .store-statistics-container .section-header {
    margin-bottom: 28px;
  }

  .store-statistics-top-row {
    gap: 20px;
    margin-bottom: 0;
  }

  .store-statistics-divider {
    width: 68%;
    margin-top: 20px;
  }

  .store-stat-label {
    font-size: 13px;
  }

  .store-statistics-footer {
    margin-top: 12px;
  }

  .store-statistics-subheader {
    margin-top: 66px;
  }

  .store-statistics-subheader-title {
    font-size: 30px;
    margin-bottom: 36px;
  }

  .reviews-carousel {
    --reviews-gap: 20px;
  }

  .reviews-section-divider {
    width: 72%;
    margin-top: 34px;
  }

  .review-card {
    padding: 22px 20px 18px;
  }

  .review-text {
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  .store-statistics-section {
    padding-bottom: 44px;
  }

  .store-statistics-container {
    margin-bottom: 48px;
  }

  .store-statistics-top-row {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .store-statistics-divider {
    width: 76%;
    margin-top: 16px;
  }

  .store-stat-label {
    font-size: 12px;
  }

  .store-statistics-footer {
    margin-top: 10px;
  }

  .store-statistics-subheader {
    margin-top: 56px;
  }

  .store-statistics-subheader-kicker {
    font-size: 9px;
    letter-spacing: 2.4px;
  }

  .store-statistics-subheader-title {
    font-size: 24px;
    margin-bottom: 32px;
  }

  .reviews-carousel {
    --reviews-gap: 16px;
  }

  .review-card {
    padding: 18px 16px 16px;
    flex-basis: min(84vw, 300px);
  }

  .review-text {
    font-size: 12.5px;
    line-height: 1.65;
  }

  .review-author-name {
    font-size: 13px;
  }

  .review-verified {
    font-size: 9px;
  }

  .review-stars {
    margin-bottom: 14px;
  }

  .review-avatar {
    width: 30px;
    height: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-track {
    animation: none;
  }
}
/* ============================================
   CATEGORY HERO HEADER
   ============================================ */

.category-hero {
  text-align: center;
  padding: 48px 24px 40px;
  max-width: 800px;
  margin: 0 auto;
}

.category-hero-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 16px;
  font-family: var(--nl-font-family, 'Satoshi', sans-serif);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.2px;
  color: #fff;
}

.category-hero-star {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: #ffc107 !important;
  fill: #ffc107 !important;
  filter: drop-shadow(0 0 10px rgba(255, 193, 7, 0.35));
}

.category-hero-subtitle {
  margin: 0 auto 32px;
  max-width: 640px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.1px;
}

/* ---- Search Bar ---- */

.category-search-wrapper {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.category-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: rgba(255, 255, 255, 0.20);
  pointer-events: none;
  transition: color 0.2s ease;
}

.category-search-input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  background: #151515;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.80);
  font-size: 14px;
  font-weight: 400;
  font-family: inherit;
  letter-spacing: 0.2px;
  outline: none;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  box-sizing: border-box;
}

.category-search-input::placeholder {
  color: rgba(255, 255, 255, 0.18);
  font-weight: 400;
}

.category-search-input:hover {
  border-color: rgba(255, 255, 255, 0.10);
}

.category-search-input:focus {
  border-color: rgba(255, 255, 255, 0.14);
  background: #1a1a1a;
}

.category-search-wrapper:focus-within .category-search-icon {
  color: rgba(255, 255, 255, 0.40);
}

/* ---- Category Hero Responsive ---- */

@media (max-width: 640px) {
  .category-hero {
    padding: 28px 16px 24px;
  }

  .category-hero-title {
    font-size: 24px;
    gap: 10px;
  }

  .category-hero-star {
    width: 22px;
    height: 22px;
  }

  .category-hero-subtitle {
    font-size: 12.5px;
    margin-bottom: 24px;
    line-height: 1.6;
  }

  .category-search-input {
    padding: 12px 16px 12px 42px;
    font-size: 13px;
  }
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
  position: relative;
  padding: 0 24px 80px;
  margin-top: -30px;
}

.faq-container {
  max-width: 720px;
  margin: 0 auto;
}

/* ---- Header (kicker + title) ---- */

.faq-header {
  text-align: center;
  margin-bottom: 48px;
}

.faq-kicker {
  display: block;
  margin-bottom: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #383838;
}

.faq-kicker i {
  color: #ffffff;
  margin-right: 6px;
}

.faq-title {
  margin: 0;
  font-family: var(--nl-font-family, 'Satoshi', sans-serif);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: #fff;
  background: linear-gradient(180deg, #ffffff 0%, #a0a0a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Accordion list ---- */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: #1a1a1a;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  overflow: hidden;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.10);
}

.faq-item[open] {
  background: #1c1c1c;
  border-color: rgba(255, 255, 255, 0.08);
}

/* ---- Question (summary) ---- */

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  -webkit-user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::marker {
  display: none;
  content: '';
}

.faq-question span {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1px;
  color: rgba(255, 255, 255, 0.80);
  transition: color 0.2s ease;
}

.faq-item:hover .faq-question span,
.faq-item[open] .faq-question span {
  color: rgba(255, 255, 255, 0.95);
}

/* ---- Chevron ---- */

.faq-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.25);
  transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: rgba(255, 255, 255, 0.50);
}

/* ---- Answer ---- */

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-item[open] .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.is-closing .faq-answer {
  grid-template-rows: 0fr;
}

.faq-item.is-closing .faq-chevron {
  transform: rotate(0deg);
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer-inner p {
  margin: 0;
  padding: 0 24px 20px;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.1px;
}

/* ============================================
   FAQ — RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
  .faq-section {
    padding: 0 20px 64px;
  }

  .faq-title {
    font-size: 30px;
  }

  .faq-header {
    margin-bottom: 36px;
  }
}

@media (max-width: 640px) {
  .faq-section {
    padding: 0 16px 48px;
  }

  .faq-title {
    font-size: 24px;
  }

  .faq-header {
    margin-bottom: 28px;
  }

  .faq-question {
    padding: 16px 18px;
  }

  .faq-question span {
    font-size: 13px;
  }

  .faq-answer-inner p {
    padding: 0 18px 16px;
    font-size: 12.5px;
    line-height: 1.65;
  }

  .faq-kicker {
    font-size: 9px;
    letter-spacing: 2.4px;
  }
}

/* ============================================
   HOME PAGE - SMOOTH SCROLL & REVEAL ANIMATIONS
   ============================================ */

/* Silky native smooth scroll for the home page only */
.page-index {
  scroll-behavior: smooth;
}

/* Base reveal state: hidden + slightly shifted. JS toggles .is-visible */
.page-index .home-reveal {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  will-change: opacity, transform;
  transition:
    opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.page-index .home-reveal--scale {
  transform: translate3d(0, 28px, 0) scale(0.96);
}

.page-index .home-reveal--left {
  transform: translate3d(-48px, 0, 0);
}

.page-index .home-reveal--right {
  transform: translate3d(48px, 0, 0);
}

.page-index .home-reveal--fade {
  transform: none;
}

.page-index .home-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Staggered children: each child fades + rises with an incremental delay */
.page-index .home-reveal-stagger > * {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.85s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.page-index .home-reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.page-index .home-reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.page-index .home-reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.14s; }
.page-index .home-reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.23s; }
.page-index .home-reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.32s; }
.page-index .home-reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.41s; }
.page-index .home-reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.50s; }

/* Subtle hero parallax: background layers drift slower than scroll.
   JS writes --scroll-y on <html>. */
.page-index .hero-bg-grid,
.page-index .hero-bg-gradient,
.page-index .hero-bg-particles {
  transform: translate3d(0, calc(var(--scroll-y, 0px) * 0.18), 0);
  will-change: transform;
}

.page-index .hero-glow {
  transform: translate3d(0, calc(var(--scroll-y, 0px) * -0.08), 0);
  will-change: transform;
}

/* Section titles get a soft blur-clear as they enter */
.page-index .home-reveal--blur {
  filter: blur(6px);
  transition:
    opacity 1s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 1s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 1s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.page-index .home-reveal--blur.is-visible {
  filter: blur(0);
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .page-index {
    scroll-behavior: auto;
  }
  .page-index .home-reveal,
  .page-index .home-reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  .page-index .hero-bg-grid,
  .page-index .hero-bg-gradient,
  .page-index .hero-bg-particles,
  .page-index .hero-glow {
    transform: none !important;
  }
}

/* ============================================
   PROMO BAR ENHANCEMENTS (icons + sheen)
   ============================================ */

.promo-bar {
  background: linear-gradient(90deg, #0a0a0c 0%, #101014 50%, #0a0a0c 100%);
}

.promo-bar__icon {
  width: 13px;
  height: 13px;
  color: var(--color-primary, var(--theme-accent, #ff995b));
  opacity: 0.85;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.promo-bar__item strong {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.promo-bar__sheen {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 20%,
    rgba(255, 255, 255, 0.045) 50%,
    transparent 80%
  );
  background-size: 220% 100%;
  animation: promoSheen 8s linear infinite;
  mix-blend-mode: screen;
}

/* WELCOME20 clickable code badge — override button user-agent defaults
   so it sits inline with the surrounding text and feels tappable. */
.promo-bar .promo-bar__code {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  vertical-align: baseline;
  margin: 0 2px;
  font-family: inherit;
  position: relative;
  z-index: 1;
}

.promo-bar .promo-bar__code:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgb(from var(--theme-accent, #ff995b) r g b / 0.35);
}

@keyframes promoSheen {
  0%   { background-position: 220% 0; }
  100% { background-position: -220% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .promo-bar__sheen { display: none; }
}

/* ============================================
   SCROLL PROGRESS BAR (site-wide)
   ============================================ */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  z-index: 1002;
  pointer-events: none;
  background: transparent;
}

.scroll-progress__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(
    90deg,
    var(--color-primary, var(--theme-accent, #ff995b)) 0%,
    var(--color-primary-hover, #6fe1d5) 50%,
    var(--color-primary, var(--theme-accent, #ff995b)) 100%
  );
  background-size: 200% 100%;
  animation: progressShimmer 3s linear infinite;
  box-shadow: 0 0 10px rgb(from var(--theme-accent, #ff995b) r g b / 0.35), 0 0 18px rgb(from var(--theme-accent, #ff995b) r g b / 0.35);
  transform-origin: left center;
  transition: width 0.08s linear;
}

@keyframes progressShimmer {
  0%   { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

/* ============================================
   SKELETON LOADERS (stats section)
   ============================================ */

.store-stat-card.is-loading .store-stat-number {
  position: relative;
  color: transparent !important;
  text-shadow: none !important;
  background: transparent !important;
  -webkit-text-fill-color: transparent !important;
  min-height: 1em;
  user-select: none;
}

.store-stat-card.is-loading .store-stat-number::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 72%;
  max-width: 160px;
  height: 0.62em;
  border-radius: 8px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.11) 40%,
    rgb(from var(--theme-accent, #ff995b) r g b / 0.35) 55%,
    rgba(255, 255, 255, 0.11) 70%,
    rgba(255, 255, 255, 0.04) 100%
  );
  background-size: 220% 100%;
  animation: skeletonShimmer 1.6s ease-in-out infinite;
}

.store-stat-card.is-loading .store-stat-label {
  opacity: 0.55;
}

@keyframes skeletonShimmer {
  0%   { background-position: 220% 0; }
  100% { background-position: -220% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .store-stat-card.is-loading .store-stat-number::before {
    animation: none;
  }
}

/* ============================================
   LIVE PURCHASE TOASTS (bottom-left)
   ============================================ */

.purchase-toasts {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  pointer-events: none;
}

.purchase-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
  max-width: 340px;
  padding: 12px 14px 12px 12px;
  background: linear-gradient(180deg, rgba(18, 18, 22, 0.96) 0%, rgba(12, 12, 15, 0.96) 100%);
  border: 1px solid rgb(from var(--theme-accent, #ff995b) r g b / 0.35);
  border-radius: 12px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 0 24px rgb(from var(--theme-accent, #ff995b) r g b / 0.35);
  color: #e5e7eb;
  font-family: var(--nl-font-family);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transform: translate3d(-24px, 10px, 0) scale(0.96);
  transition:
    opacity 0.45s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.purchase-toast.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.purchase-toast.is-leaving {
  opacity: 0;
  transform: translate3d(-24px, 6px, 0) scale(0.96);
}

.purchase-toast__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, rgb(from var(--theme-accent, #ff995b) r g b / 0.35) 0%, rgb(from var(--theme-accent, #ff995b) r g b / 0.35) 70%);
  border: 1px solid rgb(from var(--theme-accent, #ff995b) r g b / 0.35);
  color: var(--color-primary, var(--theme-accent, #ff995b));
  position: relative;
}

.purchase-toast__icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.purchase-toast__icon::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgb(from var(--theme-accent, #ff995b) r g b / 0.35);
  animation: toastPulse 1.6s ease-out infinite;
  opacity: 0;
}

.purchase-toast.is-visible .purchase-toast__icon::after {
  animation-play-state: running;
}

@keyframes toastPulse {
  0%   { transform: scale(0.85); opacity: 0.65; }
  100% { transform: scale(1.35); opacity: 0; }
}

.purchase-toast__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.purchase-toast__text {
  font-size: 12.5px;
  line-height: 1.4;
  color: #d1d5db;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}

.purchase-toast__text strong {
  color: #fff;
  font-weight: 700;
}

.purchase-toast__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.purchase-toast__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: toastLiveDot 1.8s ease-out infinite;
}

@keyframes toastLiveDot {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0);   }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);     }
}

.purchase-toast__close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 18px;
  height: 18px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1;
  transition: color 0.2s ease, background 0.2s ease;
}

.purchase-toast__close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 600px) {
  .purchase-toasts {
    left: 10px;
    right: 10px;
    bottom: 10px;
    align-items: stretch;
  }
  .purchase-toast {
    min-width: 0;
    max-width: none;
  }
}

/* Shift toasts up when the cookie banner is showing so they don't overlap. */
body.has-cookie-banner .purchase-toasts {
  bottom: 120px;
}

@media (max-width: 700px) {
  body.has-cookie-banner .purchase-toasts {
    bottom: 220px;
  }
}


@media (prefers-reduced-motion: reduce) {
  .purchase-toast__icon::after,
  .purchase-toast__dot { animation: none; }
}

/* ============================================
   MAGNETIC CTA (hero)
   ============================================ */

.magnetic-cta {
  transition:
    transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    background 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
  will-change: transform;
}

.magnetic-cta.is-magnetic {
  transition: transform 0.12s ease-out, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

/* ============================================
   COOKIE CONSENT BANNER (site-wide)
   ============================================ */

.cookie-consent {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1003;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  max-width: 760px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(16, 16, 20, 0.96) 0%, rgba(10, 10, 12, 0.96) 100%);
  border: 1px solid rgb(from var(--theme-accent, #ff995b) r g b / 0.35);
  border-radius: 14px;
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #e5e7eb;
  font-family: var(--nl-font-family);
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
}

.cookie-consent.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-consent.is-leaving {
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
}

.cookie-consent__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, rgb(from var(--theme-accent, #ff995b) r g b / 0.35) 0%, rgb(from var(--theme-accent, #ff995b) r g b / 0.35) 70%);
  border: 1px solid rgb(from var(--theme-accent, #ff995b) r g b / 0.35);
  color: var(--color-primary, var(--theme-accent, #ff995b));
}

.cookie-consent__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cookie-consent__body {
  flex: 1;
  min-width: 0;
}

.cookie-consent__title {
  margin: 0 0 3px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.2px;
}

.cookie-consent__text {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(229, 231, 235, 0.72);
}

.cookie-consent__text a {
  color: var(--color-primary, var(--theme-accent, #ff995b));
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-consent__btn {
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cookie-consent__btn--decline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
}

.cookie-consent__btn--decline:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.cookie-consent__btn--accept {
  background: var(--color-primary, var(--theme-accent, #ff995b));
  color: #0a0a0c;
}

.cookie-consent__btn--accept:hover {
  background: var(--color-primary-hover, #6fe1d5);
  transform: translateY(-1px);
}

@media (max-width: 700px) {
  .cookie-consent {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 14px;
  }
  .cookie-consent__actions {
    width: 100%;
    justify-content: flex-end;
  }
  .cookie-consent__icon { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent { transition: opacity 0.2s ease; transform: none !important; }
}
