:root {
  --color-text: #fff;
  --color-text-darker: #e5e5e5;
  --color-text-secondary: #ccc;
  --color-text-dark: #0D0D0D;
  --color-bg: #000;
  --color-brighter-bg: #0D0D0D;
  --color-primary: rgb(0 72 255);
  --color-primary-hover: #fff;
  --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, 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 {
  display: grid;
  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;
  animation: fadeIn 0.5s ease-out forwards;
}

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

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

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@media (width > 960px) {
  .site {
    gap: calc(var(--widget-padding) * 2);
  }
}
.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: relative;
    inset: auto;
    width: 100%;
    line-height: 80px;
    font-size: 50px;
    font-weight: 900;
    text-align: center;
    z-index: 1;
  }
  .site-header-inner .site-title img {
    margin: 0 auto;
    max-width: 100%;
    max-height: 80px;
    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: 355px;
  }
  .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 {
    position: absolute;
    inset: calc(var(--widget-padding) + 46px) 280px 0 280px;
    margin: auto;
    width: fit-content;
    height: fit-content;
    line-height: 72px;
    font-size: 60px;
    font-weight: 900;
    text-align: center;
    transition: transform 0.3s ease;
    z-index: 1;
  }
  .site-header-inner .site-title:hover {
    transform: scale(1.02);
  }
  .site-header-inner .site-title img {
    margin: 0 auto;
    max-width: 100%;
    max-height: 128px;
    transition: filter 0.3s ease;
    object-fit: contain;
    width: auto;
    display: block;
  }
  .site-header-inner .site-title:hover img {
    filter: drop-shadow(0 0 8px rgba(65, 196, 195, 0.6));
  }
  .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);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { opacity: 0.3; }
  50% { opacity: 1; }
  100% { opacity: 0.3; }
}

.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 {
    display: grid;
    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;
}

.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(auto-fill, minmax(250px, 1fr));
  gap: 24px 36px;
  perspective: 1000px;
}

.store-products-images .store-product {
  animation: productFadeIn 0.5s ease-out calc(0.1s * var(--animation-delay, 1)) both;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.store-products-images .store-product:nth-child(1) { --animation-delay: 1; }
.store-products-images .store-product:nth-child(2) { --animation-delay: 2; }
.store-products-images .store-product:nth-child(3) { --animation-delay: 3; }
.store-products-images .store-product:nth-child(4) { --animation-delay: 4; }
.store-products-images .store-product:nth-child(5) { --animation-delay: 5; }
.store-products-images .store-product:nth-child(6) { --animation-delay: 6; }
.store-products-images .store-product:nth-child(7) { --animation-delay: 7; }
.store-products-images .store-product:nth-child(8) { --animation-delay: 8; }

@keyframes productFadeIn {
  from { 
    opacity: 0;
    transform: translateY(20px) rotateX(5deg);
  }
  to { 
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

.store-product {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: var(--widget-padding);
}
.store-product .product-title {
  font-size: 20px;
  font-weight: 600;
}
.store-product .product-title a {
  color: inherit;
  transition: transform 0.3s ease, color 0.3s ease;
}
.store-product .product-title a:hover {
  transform: translateX(3px);
}
.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 .image {
  margin: 0 auto;
  max-width: 100%;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.store-product:hover .image {
  transform: scale(1.05);
  filter: brightness(1.1);
}
.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);
  animation: slideIn 0.4s ease-out calc(0.08s * var(--animation-delay, 1)) both;
}

.store-products-list .store-product:nth-child(1) { --animation-delay: 1; }
.store-products-list .store-product:nth-child(2) { --animation-delay: 2; }
.store-products-list .store-product:nth-child(3) { --animation-delay: 3; }
.store-products-list .store-product:nth-child(4) { --animation-delay: 4; }
.store-products-list .store-product:nth-child(5) { --animation-delay: 5; }

@keyframes slideIn {
  from { 
    opacity: 0;
    transform: translateX(-20px);
  }
  to { 
    opacity: 1;
    transform: translateX(0);
  }
}

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

.store-product-full, .store-product-full.popup-content {
  padding-bottom: 0;
}
.store-product-full .product-title {
  grid-area: title;
  font-size: 20px;
}
@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;
  }
  .site-navigation a {
    display: block;
    padding: 11px 0;
    transition: color 0.15s ease-in-out;
  }
  .site-navigation a:hover {
    color: var(--color-primary);
  }
  .site-navigation a.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;
    background: var(--color-brighter-bg);
    font-size: 18px;
    font-weight: 700;
  }
  .navigation-horizontal .menu > li > a {
    padding: 14px 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 {
    display: block;
    transition: color 0.15s ease-in-out;
  }
  .navigation-horizontal a:hover, .navigation-horizontal a.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 {
    display: block;
    padding: calc(var(--widget-padding) / 2);
    transition: color 0.15s ease-in-out;
  }
  .navigation-vertical a:hover, .navigation-vertical a.link-active {
    color: var(--color-primary);
  }
  .navigation-vertical a.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;
}

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

.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;
  transform-origin: center bottom;
  animation: popupIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@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(25, 25, 35, 0.7); /* Darker, more solid background */
  border-bottom: 2px solid var(--color-primary);
  box-shadow: 0 0 15px rgba(var(--color-primary), 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}
@media (width > 960px) {
  .basket .basket-header {
    padding-top: 70px;
  }
}
.basket .basket-title {
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  color: var(--color-primary); /* Primary color for title */
  text-shadow: 0 0 8px rgba(var(--color-primary), 0.7);
}
.basket .basket-title::before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  background-color: var(--color-primary); /* Use primary color */
  mask: url("https://webstore-template-assets.tebex.io/images/checkout.svg") center center no-repeat; /* Changed icon to basket/checkout */
  mask-size: contain;
  filter: drop-shadow(0 0 5px var(--color-primary));
}
.basket .basket-second-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px var(--content-padding);
  background: rgba(15, 15, 20, 0.8); /* Slightly different dark shade */
  border-bottom: 1px solid rgba(var(--color-primary), 0.3);
  font-size: 18px;
  font-weight: 300;
  text-align: center;
  color: var(--color-text-secondary);
}
.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: 15px; /* Increased gap */
  padding: var(--widget-padding);
  background: rgba(20, 20, 30, 0.6); /* Darker item background */
  border: 1px solid rgba(var(--color-primary), 0.2);
  border-radius: 4px; /* Slightly rounded corners */
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.basket .basket-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(var(--color-primary), 0.2), transparent);
  transition: left 0.8s ease;
}

.basket .basket-item:hover::before {
  left: 100%;
}

.basket .basket-item:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(var(--color-primary), 0.6);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2), 0 0 10px rgba(var(--color-primary), 0.3);
  background: rgba(25, 25, 35, 0.7);
}

.basket .basket-item .info {
  margin-right: auto;
  flex-grow: 1;
}

.basket .basket-item .options {
  list-style-position: inside;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-top: 5px;
}

.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; /* Slightly larger */
  font-weight: 700; /* Bolder */
  color: #fff; /* White for better contrast */
  margin-bottom: 5px;
}

.basket .basket-item .title a {
    color: #fff;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.basket .basket-item .title a:hover {
    color: var(--color-primary);
    text-shadow: 0 0 8px rgba(var(--color-primary), 0.7);
}

.basket .basket-item .price {
  color: var(--color-primary);
  font-size: 16px; /* Larger price */
  font-weight: 700; /* Bolder price */
  text-shadow: 0 0 5px rgba(var(--color-primary), 0.5);
}
.basket .basket-item .price strong {
  font-size: 20px; /* Even larger for the actual number */
  font-weight: inherit;
}
.basket .basket-item .quantity-field {
  height: 40px;
  background-color: rgba(0,0,0,0.3);
  border: 1px solid rgba(var(--color-primary), 0.3);
  border-radius: 3px;
}

.basket .basket-item .quantity-field .adjust {
  color: var(--color-primary);
  /* font-size: 1.5rem; */ /* Removed, will use mask */
  /* font-weight: 700; */ /* Removed, will use mask */
  width: 38px;
  transition: background-color 0.2s ease, color 0.2s ease;
  position: relative; /* Needed for ::before */
}

.basket .basket-item .quantity-field .adjust::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-color: var(--color-primary);
  mask-size: 12px; /* Adjusted size */
  mask-repeat: no-repeat;
  mask-position: center;
  transition: background-color 0.2s ease;
}

.basket .basket-item .quantity-field .adjust.increase::before {
  mask-image: url("https://webstore-template-assets.tebex.io/images/plus.svg");
}

.basket .basket-item .quantity-field .adjust.decrease::before {
  mask-image: url("https://webstore-template-assets.tebex.io/images/minus.svg");
}

.basket .basket-item .quantity-field .adjust:hover {
  background-color: rgba(var(--color-primary), 0.2);
  /* color: #fff; */ /* No longer needed for text color */
}

.basket .basket-item .quantity-field .adjust:hover::before {
  background-color: #fff;
}

.basket .basket-item .quantity-field input[type=number] {
    background-color: transparent;
    color: #fff;
    border: none;
    text-align: center;
    font-weight: 600;
}

.basket .basket-item .remove {
  width: 40px;
  height: 40px;
  background-color: rgba(var(--color-removed), 0.2);
  border: 1px solid rgba(var(--color-removed), 0.5);
  border-radius: 3px;
  transition: all 0.3s ease;
  position: relative; /* Crucial for positioning the ::before pseudo-element */
  display: flex;     /* Using flex to help center, but ::before will be absolute */
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden; /* Good practice to prevent unexpected overflows */
}

.basket .basket-item .remove::before {
  content: '';
  display: block; 
  width: 18px; /* Or your preferred icon size */
  height: 18px;/* Or your preferred icon size */
  mask-image: url("https://webstore-template-assets.tebex.io/images/delete.svg");
  mask-size: contain; 
  mask-repeat: no-repeat;
  mask-position: center;
  background-color: #fff; 
  transition: background-color 0.3s ease, transform 0.3s ease; /* Added transform to transition */

  /* Explicit absolute centering */
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%); /* Initial state */
  
  /* Ensure no text properties interfere */
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  text-indent: -9999px !important;
}

.basket .basket-item .remove:hover {
  background-color: var(--color-removed);
  border-color: var(--color-removed);
  box-shadow: 0 0 8px rgba(var(--color-removed), 0.5);
}

.basket .basket-item .remove:hover::before {
  background-color: #fff; /* Keep icon white on hover */
  transform: translate(-50%, -50%) scale(1.25); /* Icon scales up by 25% on hover */
}

.basket .basket-checkout {
  margin-top: auto;
  padding: 0 var(--content-padding) 20px;
}
@media (width > 960px) {
  .basket .basket-checkout {
    padding-bottom: 30px;
  }
}
.basket .basket-checkout h3 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--widget-padding);
  font-size: 18px; /* Larger */
  font-weight: 700; /* Bolder */
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.5px;
}
.basket .basket-checkout .total {
  color: var(--color-primary);
  font-size: 18px; /* Larger */
  font-weight: 400;
  text-shadow: 0 0 8px rgba(var(--color-primary), 0.6);
}
.basket .basket-checkout .total strong {
  font-size: 28px; /* Significantly larger total price */
  font-weight: inherit;
}
.basket .basket-checkout .checkout {
  width: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  padding: 15px 20px; /* More padding */
  font-size: 1.2rem; /* Larger text */
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--color-primary);
  color: var(--color-primary-text, #000); /* Ensure text color is set */
  border: 1px solid var(--color-primary);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(var(--color-primary), 0.5), 0 0 20px rgba(var(--color-primary), 0.3) inset;
  text-align: center; /* Keep this as a fallback */
  display: flex; /* Added for robust centering */
  align-items: center; /* Added for robust centering */
  justify-content: center; /* Added for robust centering */
}

.basket .basket-checkout .checkout:hover {
  background: var(--color-primary-hover, #fff);
  color: var(--color-primary-text-hover, var(--color-primary)); /* Text color change on hover */
  box-shadow: 0 0 15px rgba(var(--color-primary), 0.7), 0 0 25px rgba(var(--color-primary), 0.4) inset;
  transform: translateY(-2px);
}

.basket .basket-checkout .checkout::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); /* Brighter shine */
  transition: left 0.7s ease; /* Smoother transition */
}

.basket .basket-checkout .checkout:hover::after {
  left: 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; /* Keep max width or adjust as needed */
  height: 100vh;
  height: 100dvh;
  padding: 0;
  background: rgba(10, 10, 15, 0.95); /* Dark, slightly transparent background */
  backdrop-filter: blur(5px); /* Blur for glass effect */
  border-left: 2px solid var(--color-primary); /* Accent border */
  box-shadow: -10px 0 25px rgba(0,0,0,0.3);
  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;
  animation: toastIn 0.3s ease forwards;
}
@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%;
}

@keyframes toastIn {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes popupIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.navigation-horizontal .menu > li > a {
  position: relative;
  overflow: hidden;
}

.navigation-horizontal .menu > li > a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: all 0.3s ease-in-out;
  transform: translateX(-50%);
}

.navigation-horizontal .menu > li > a:hover::before,
.navigation-horizontal .menu > li > a.link-active::before {
  width: 80%;
}

.open-basket {
  position: relative;
  overflow: hidden;
}

.open-basket::before {
  transition: transform 0.3s ease-in-out;
}

.open-basket:hover::before {
  transform: scale(1.2) rotate(10deg);
}

.site-header-inner .info.server .action,
.site-header-inner .info.discord .action {
  position: relative;
  display: inline-block;
}

.site-header-inner .info.server .action::after,
.site-header-inner .info.discord .action::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

.site-header-inner .info.server:hover .action::after,
.site-header-inner .info.discord:hover .action::after {
  width: 100%;
}

.site-home-categories {
  animation: slideUp 0.5s ease-out 0.1s both;
}

.site-home-categories .category {
  animation: fadeIn 0.5s ease-out calc(0.1s * var(--animation-delay, 1)) both;
  position: relative;
}

.site-home-categories .category:nth-child(1) {
  --animation-delay: 1;
}

.site-home-categories .category:nth-child(2) {
  --animation-delay: 2;
}

.site-home-categories .category:nth-child(3) {
  --animation-delay: 3;
}

.site-home-categories .category:nth-child(4) {
  --animation-delay: 4;
}

.site-home-categories .category:nth-child(5) {
  --animation-delay: 5;
}

.store-product-full {
  animation: slideUp 0.5s ease-out;
}

.widget-gift-card .check,
.btn-primary, 
.btn-secondary {
  position: relative;
  overflow: hidden;
}

.widget-gift-card .check::before,
.btn-primary::before, 
.btn-secondary::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0s;
}

.widget-gift-card .check:hover::before,
.btn-primary:hover::before, 
.btn-secondary:hover::before {
  transform: translateX(100%);
  transition: transform 0.6s ease;
}

.widget {
  position: relative;
  overflow: hidden;
}

.widget::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.widget:hover::after {
  transform: scaleX(1);
}

.site-content {
  animation: contentFadeIn 0.5s ease-out forwards;
}

@keyframes contentFadeIn {
  from { 
    opacity: 0;
    transform: translateY(10px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

input[type=text],
input[type=password],
input[type=email],
input[type=number],
input[type=search],
input[type=url],
input[type=tel],
input[type=date],
select,
textarea {
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus,
input[type=number]:focus,
input[type=search]:focus,
input[type=url]:focus,
input[type=tel]:focus,
input[type=date]:focus,
select:focus,
textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(65, 196, 195, 0.2);
  background-color: rgba(65, 196, 195, 0.05);
}

.product-title a {
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}

.product-title a:hover {
  transform: translateX(3px);
}

.basket-checkout .checkout::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-100%);
}

.basket-checkout .checkout:hover::after {
  transform: translateX(100%);
  transition: transform 0.6s ease;
}

.rdr2-btn {
  background: #8B1A1A;
  color: #FFD700;
  border: 2px solid #FFD700;
  border-radius: 6px;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.1em;
  letter-spacing: 1px;
  padding: 10px 28px;
  margin-right: 10px;
  box-shadow: 0 2px 8px #0006;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.rdr2-btn:last-child {
  margin-right: 0;
}

.rdr2-btn:hover, .rdr2-btn:focus {
  background: #FFD700;
  color: #8B1A1A;
  box-shadow: 0 4px 16px #000a;
  text-decoration: none;
}

/* Simple, modern button style for header buttons */
.simple-nice-btn {
  background: #222;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 6px;
  font-family: inherit;
  font-weight: 600;
  font-size: 1em;
  letter-spacing: 0.5px;
  padding: 10px 28px;
  margin-right: 10px;
  box-shadow: 0 2px 8px #0003;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.simple-nice-btn:last-child {
  margin-right: 0;
}

.simple-nice-btn:hover, .simple-nice-btn:focus {
  background: #444;
  color: #1de9f6;
  border-color: #1de9f6;
  box-shadow: 0 0 12px #1de9f6, 0 0 6px #1de9f6;
  text-decoration: none;
  transform: translateY(-3px) scale(1.03);
}

.simple-nice-btn:active {
  transform: translateY(1px) scale(0.98);
  transition: all 0.1s ease;
}

.simple-nice-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(29, 233, 246, 0.2), transparent);
  transition: left 0.6s ease;
}

.simple-nice-btn:hover::before {
  left: 100%;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(29, 233, 246, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(29, 233, 246, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(29, 233, 246, 0);
  }
}

.info.discord .simple-nice-btn {
  animation: pulse 2s infinite;
}

.user-name.simple-nice-btn {
  /* No always-on glow, use default button style */
}

.user-name.simple-nice-btn:hover {
  background: #444;
  color: #1de9f6;
  border-color: #1de9f6;
  box-shadow: 0 0 16px #1de9f6, 0 0 8px #1de9f6;
  text-decoration: none;
}

/* Discord Button Animation Effects */
@keyframes discord-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(29, 233, 246, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(29, 233, 246, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(29, 233, 246, 0);
  }
}

@keyframes discord-float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes discord-glow {
  0% {
    text-shadow: 0 0 5px #1de9f6, 0 0 10px #1de9f6;
    color: #fff;
  }
  50% {
    text-shadow: 0 0 10px #1de9f6, 0 0 20px #1de9f6, 0 0 30px #1de9f6;
    color: #1de9f6;
  }
  100% {
    text-shadow: 0 0 5px #1de9f6, 0 0 10px #1de9f6;
    color: #fff;
  }
}

.info.discord {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid rgba(29, 233, 246, 0.3);
  animation: discord-border-pulse 2s infinite;
  padding: 10px;
}

.info.discord:hover {
  border-color: #1de9f6;
  box-shadow: 0 0 15px rgba(29, 233, 246, 0.7);
}

.info.discord .action {
  position: relative;
  transition: all 0.3s ease;
  display: block;
  font-size: 0.9em;
}

.info.discord:hover .action {
  animation: discord-glow 1.5s ease-in-out infinite;
}

.info.discord .title {
  transition: all 0.3s ease;
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  font-size: 1.1em;
}

.info.discord:hover .title {
  color: #1de9f6;
  text-shadow: 0 0 10px #1de9f6;
}

.info.discord .image {
  transition: all 0.5s ease;
}

.info.discord:hover .image {
  animation: discord-float 3s ease-in-out infinite;
  filter: drop-shadow(0 0 8px #1de9f6);
}

.info.discord::after {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: linear-gradient(to bottom right, transparent, rgba(29, 233, 246, 0.2), transparent);
  transform: rotate(45deg);
  transition: all 0.5s ease;
}

.info.discord:hover::after {
  top: -50%;
  left: -50%;
}

/* Mobile layout */
@media (width <= 960px) {
  .info.discord {
    margin-left: auto;
    margin-right: auto;
    order: 3;
  }
  
  .info.discord:hover {
    transform: scale(1.05);
  }
}

/* Desktop layout */
@media (width > 960px) {
  .site-header-inner .info.discord {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .site-header-inner .info.discord:hover {
    transform: translateY(-50%) scale(1.05);
  }
}

@keyframes discord-border-pulse {
  0% {
    border-color: rgba(29, 233, 246, 0.3);
  }
  50% {
    border-color: rgba(29, 233, 246, 1);
  }
  100% {
    border-color: rgba(29, 233, 246, 0.3);
  }
}

/* Animations for Nostalgia RP (server info) button */
@keyframes server-border-pulse {
  0% {
    border-color: rgba(255, 255, 255, 0.3);
  }
  50% {
    border-color: rgba(255, 255, 255, 1);
  }
  100% {
    border-color: rgba(255, 255, 255, 0.3);
  }
}

.info.server {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
  animation: server-border-pulse 2s infinite;
  padding: 8px 12px;
  border-radius: 3px;
  min-width: 200px;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.info.server:hover {
  border-color: #1de9f6;
  box-shadow: 0 0 15px rgba(29, 233, 246, 0.7);
  background: rgba(0, 0, 0, 0.7);
}

.info.server .title {
  display: block;
  font-weight: bold;
  font-size: 1.1em;
  color: white;
  margin-bottom: 2px;
  line-height: 1.2;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.info.server .action {
  display: block;
  font-size: 0.95em;
  color: #ccc;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.info.server:hover .title {
  color: #1de9f6;
  text-shadow: 0 0 10px #1de9f6;
}

.info.server:hover .action {
  color: #1de9f6;
  text-shadow: 0 0 10px #1de9f6;
}

.info.server:hover .image {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 8px #1de9f6);
}

.info.server::after {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: linear-gradient(to bottom right, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: rotate(45deg);
  transition: all 0.5s ease;
}

.info.server:hover::after {
  background: linear-gradient(to bottom right, transparent, rgba(29, 233, 246, 0.2), transparent);
  top: -50%;
  left: -50%;
}

.info.discord {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid rgba(29, 233, 246, 0.3);
  animation: discord-border-pulse 2s infinite;
  padding: 8px 12px;
  border-radius: 3px;
  min-width: 200px;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.5);
}

.info.discord:hover {
  border-color: #1de9f6;
  box-shadow: 0 0 15px rgba(29, 233, 246, 0.7);
  background: rgba(0, 0, 0, 0.7);
}

.info.discord .image {
  float: right;
  margin-left: 10px;
  height: 36px;
  width: auto;
  transition: all 0.5s ease;
}

.info.discord .title {
  display: block;
  font-weight: bold;
  font-size: 1.1em;
  text-align: right;
  margin-bottom: 2px;
  line-height: 1.2;
  color: white;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.info.discord .action {
  display: block;
  font-size: 0.95em;
  text-align: right;
  color: #ccc;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.info.discord:hover .title {
  color: #1de9f6;
  text-shadow: 0 0 10px #1de9f6;
}

.info.discord:hover .action {
  color: #1de9f6;
  text-shadow: 0 0 10px #1de9f6;
}

.info.discord:hover .image {
  animation: discord-float 3s ease-in-out infinite;
  filter: drop-shadow(0 0 8px #1de9f6);
}

.info.discord::after {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: linear-gradient(to bottom right, transparent, rgba(29, 233, 246, 0.2), transparent);
  transform: rotate(45deg);
  transition: all 0.5s ease;
}

.info.discord:hover::after {
  background: linear-gradient(to bottom right, transparent, rgba(29, 233, 246, 0.2), transparent);
  top: -50%;
  left: -50%;
}

/* Fix for the cyberpunk button that's inside the server info container */
.info.server .action.cyberpunk-btn {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
  text-shadow: none;
  font-size: 0.95em;
  display: inline-block;
  cursor: pointer;
  color: #ccc;
}

.info.server:hover .action.cyberpunk-btn {
  color: #1de9f6;
  text-shadow: 0 0 10px #1de9f6;
}

/* Clear floats */
.info.server:after,
.info.discord:after {
  content: "";
  display: table;
  clear: both;
}

/* Mobile layout for server info */
@media (width <= 960px) {
  .info.server {
    margin-right: auto;
    order: 2;
  }
  
  .info.server:hover {
    transform: scale(1.05);
  }
}

/* Desktop layout for server info */
@media (width > 960px) {
  .site-header-inner {
    position: relative;
    padding: 30px 0;
    display: flex;
    align-items: center;
    min-height: 160px;
  }
  
  .site-header-inner .site-title {
    margin: 0;
    position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
    z-index: 5;
    text-align: center;
  }
  
  .site-header-inner .site-title img {
    max-height: 160px;
    width: auto;
  }
  
  .site-header-inner .info.server {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
  }
  
  .site-header-inner .info.discord {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
  }
  
  .site-header-inner .info.server:hover,
  .site-header-inner .info.discord:hover {
    transform: translateY(-50%) scale(1.05);
  }
}

/* Add glow effects for cyberpunk logo */
@keyframes logo-pulse {
  0% {
    filter: drop-shadow(0 0 3px rgba(29, 233, 246, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 10px rgba(29, 233, 246, 0.7));
  }
  100% {
    filter: drop-shadow(0 0 3px rgba(29, 233, 246, 0.3));
  }
}

.cyberpunk-logo {
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1); /* smoother easing */
  display: block;
  transform-origin: center;
  border-radius: 12px; /* rounded edges */
  box-shadow: 0 0 2px rgba(29, 233, 246, 0.2);
}

.cyberpunk-title:hover .cyberpunk-logo {
  animation: logo-pulse 2s infinite;
  transform: scale(1.15);
  filter: drop-shadow(0 0 15px rgba(29, 233, 246, 0.7));
  animation: pulse-glow 2.5s ease-in-out infinite;
  border-radius: 18px; /* slightly more rounded on hover */
}

.cyberpunk-title {
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
}

.cyberpunk-title:after {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 2px solid transparent;
  border-radius: 5px;
  transition: all 0.3s ease;
  opacity: 0;
  z-index: -1;
}

.cyberpunk-title:hover:after {
  border-color: rgba(29, 233, 246, 0.5);
  box-shadow: 0 0 20px rgba(29, 233, 246, 0.4);
  opacity: 1;
}

.cyberpunk-logo {
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1); /* smoother easing */
  max-width: 100%;
  height: auto;
  transform-origin: center;
  border-radius: 12px; /* rounded edges */
  box-shadow: 0 0 2px rgba(29, 233, 246, 0.2);
}

.cyberpunk-title:hover .cyberpunk-logo {
  animation: logo-pulse 2s infinite;
  transform: scale(1.15);
  filter: drop-shadow(0 0 15px rgba(29, 233, 246, 0.7));
  animation: pulse-glow 2.5s ease-in-out infinite;
  border-radius: 18px; /* slightly more rounded on hover */
}

@keyframes logo-pulse {
  0% {
    filter: drop-shadow(0 0 3px rgba(29, 233, 246, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 10px rgba(29, 233, 246, 0.7));
  }
  100% {
    filter: drop-shadow(0 0 3px rgba(29, 233, 246, 0.3));
  }
}

/* Enhanced Cyberpunk Logo Effects */
.cyberpunk-title {
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
  padding: 5px;
  transform-origin: center center;
}

.cyberpunk-title:hover {
  transform: scale(1.1);
}

.cyberpunk-title:before,
.cyberpunk-title:after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px solid transparent;
  border-radius: 5px;
  transition: all 0.3s ease;
  opacity: 0;
  z-index: -1;
}

.cyberpunk-title:hover:before {
  border-color: rgba(29, 233, 246, 0.3);
  box-shadow: 0 0 20px rgba(29, 233, 246, 0.4);
  opacity: 1;
}

.cyberpunk-title:hover:after {
  border-color: rgba(29, 233, 246, 0.5);
  box-shadow: 0 0 20px rgba(29, 233, 246, 0.4);
  opacity: 1;
}

.cyberpunk-logo {
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1); /* smoother easing */
  max-width: 100%;
  height: auto;
  transform-origin: center;
  border-radius: 12px; /* rounded edges */
  box-shadow: 0 0 2px rgba(29, 233, 246, 0.2);
}

.cyberpunk-title:hover .cyberpunk-logo {
  animation: logo-pulse 2s infinite;
  transform: scale(1.15);
  filter: drop-shadow(0 0 15px rgba(29, 233, 246, 0.7));
  animation: pulse-glow 2.5s ease-in-out infinite;
  border-radius: 18px; /* slightly more rounded on hover */
}

/* For the site-title absolute positioning */
.site-header-inner .cyberpunk-title:hover {
  transform: none; /* Prevent changes to position */
}

.site-header-inner .site-title:hover {
  transform: translate(-50%, -50%); /* Stay perfectly centered */
}

.site-header-inner .site-title .cyberpunk-logo {
  transform-origin: center center;
}

.site-header-inner .site-title:hover .cyberpunk-logo {
  transform: scale(1.15);
  box-shadow: 0 0 15px 5px rgba(29, 233, 246, 0.7); /* Glow for the box */
  border-radius: 18px; /* slightly more rounded on hover */
}

@keyframes rotate-border {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes logo-pulse {
  0% {
    filter: drop-shadow(0 0 5px rgba(29, 233, 246, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(29, 233, 246, 0.9));
  }
  100% {
    filter: drop-shadow(0 0 5px rgba(29, 233, 246, 0.4));
  }
}

/* Simple, clean logo effects */
.cyberpunk-title {
  position: relative;
  display: inline-block;
}

.cyberpunk-logo {
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1); /* smoother easing */
  display: block;
  transform-origin: center;
  border-radius: 12px; /* rounded edges */
  box-shadow: 0 0 2px rgba(29, 233, 246, 0.2);
}

/* For centered absolute positioned logo in header */
.site-header-inner .site-title {
  overflow: visible;
}

/* Comment out or delete this entire block */
/*
.site-header-inner .site-title:after {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 233, 246, 0) 0%, rgba(29, 233, 246, 0) 60%, rgba(29, 233, 246, 0.2) 80%, rgba(29, 233, 246, 0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease-out;
  pointer-events: none;
  z-index: -1;
}
*/

/* And comment out or delete this entire block too */
/*
.site-header-inner .site-title:hover:after {
  opacity: 1;
  animation: rotate-glow 4s linear infinite;
}
*/

.site-header-inner .site-title:hover .cyberpunk-logo {
  transform: scale(1.15);
  filter: drop-shadow(0 0 15px rgba(29, 233, 246, 0.7));
  animation: pulse-glow 2.5s ease-in-out infinite;
  border-radius: 18px; /* slightly more rounded on hover */
}

@keyframes pulse-glow {
  0% {
    filter: drop-shadow(0 0 5px rgba(29, 233, 246, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 15px rgba(29, 233, 246, 0.9));
  }
  100% {
    filter: drop-shadow(0 0 5px rgba(29, 233, 246, 0.4));
  }
}

@keyframes rotate-glow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse-glow {
  0% {
    filter: drop-shadow(0 0 5px rgba(29, 233, 246, 0.4));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 15px rgba(29, 233, 246, 0.8));
    transform: scale(1.05);
  }
  100% {
    filter: drop-shadow(0 0 5px rgba(29, 233, 246, 0.4));
    transform: scale(1);
  }
}

@keyframes rotate-glow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.cyberpunk-logo {
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1); /* smoother easing */
  display: block;
  transform-origin: center;
  border-radius: 12px; /* rounded edges */
  box-shadow: 0 0 2px rgba(29, 233, 246, 0.2);
}

.site-header-inner .site-title:hover .cyberpunk-logo {
  transform: scale(1.15);
  box-shadow: 0 0 15px 5px rgba(29, 233, 246, 0.7); /* Glow for the box */
  border-radius: 18px; /* slightly more rounded on hover */
}

@keyframes logo-pulse-glow {
  0% {
    filter: drop-shadow(0 0 5px rgba(29, 233, 246, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 15px rgba(29, 233, 246, 0.8));
  }
  100% {
    filter: drop-shadow(0 0 5px rgba(29, 233, 246, 0.4));
  }
}

/* Team Members Section Styles - Clean, consolidated version */
.team-wrapper {
  width: 98%;
  max-width: 1600px;
  margin: 50px auto;
  padding: 0;
  box-sizing: border-box;
  position: relative;
  overflow: visible;
}

.team-row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  margin-bottom: 70px;
  width: 100%;
  gap: 8px;
}

.team-row:last-child {
  margin-bottom: 0;
}

.team-member {
  width: calc(50% - 20px);
  min-width: calc(50% - 20px);
  flex: 0 0 calc(50% - 20px);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  border: 1px solid rgba(29, 233, 246, 0.1);
  animation: fadeIn 0.5s ease-out;
  box-sizing: border-box;
  transform: none;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(29, 233, 246, 0.2);
  border-color: rgba(29, 233, 246, 0.4);
}

.team-member:nth-child(1) { animation-delay: 0.1s; }
.team-member:nth-child(2) { animation-delay: 0.2s; }
.team-member:nth-child(3) { animation-delay: 0.3s; }
.team-member:nth-child(4) { animation-delay: 0.4s; }

.team-member-image-container {
  position: relative;
  height: 300px;
  overflow: hidden;
  width: 100%;
}

.team-member-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.team-member:hover .team-member-image {
  transform: scale(1.1) rotate(2deg);
}

.team-member-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.team-member-info {
  padding: 25px;
  position: relative;
  width: 100%;
}

.team-member-name {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #fff;
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

.team-member:hover .team-member-name {
  color: #1de9f6;
  text-shadow: 0 0 10px rgba(29, 233, 246, 0.5);
}

.team-member-name::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #1de9f6;
  transition: width 0.3s ease;
}

.team-member:hover .team-member-name::after {
  width: 100%;
}

.team-member-role {
  font-size: 16px;
  font-weight: 600;
  color: #1de9f6;
  margin-bottom: 15px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team-member-description {
  font-size: 14px;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 20px;
}

.team-member-social {
  display: flex;
  gap: 15px;
}

.team-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(29, 233, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
}

.team-social-icon::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  opacity: 0.8;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: all 0.3s ease;
}

.team-social-icon:hover {
  background-color: rgba(29, 233, 246, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(29, 233, 246, 0.3);
}

.team-social-icon:hover::before {
  opacity: 1;
}

.team-social-icon.discord::before {
  background-image: url('https://webstore-template-assets.tebex.io/images/discord.svg');
}

.team-social-icon.twitter::before {
  background-image: url('https://cdn-icons-png.flaticon.com/512/733/733579.png');
}

.team-social-icon.instagram::before {
  background-image: url('https://cdn-icons-png.flaticon.com/512/174/174855.png');
}

.team-social-icon.github::before {
  background-image: url('https://cdn-icons-png.flaticon.com/512/25/25231.png');
}

.team-social-icon.youtube::before {
  background-image: url('https://cdn-icons-png.flaticon.com/512/1384/1384060.png');
}

.team-social-icon.email::before {
  background-image: url('https://cdn-icons-png.flaticon.com/512/561/561127.png');
}

@media (max-width: 768px) {
  .team-row {
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    gap: 40px;
  }
  
  .team-member {
    width: 100%;
    min-width: 100%;
    flex: 0 0 100%;
  }
  
  .team-member-image-container {
    height: 250px;
  }
}

/* Style for team page centered title */
.title-centered {
  text-align: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  display: inline-block;
}

/* Override any existing ::after styles for the team page title */
.team-page h2.cyberpunk-title.title-centered::before {
  display: none;
}

.team-page h2.cyberpunk-title.title-centered::after {
  content: '';
  position: absolute;
  top: auto;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(29, 233, 246, 0.2), rgba(29, 233, 246, 1), rgba(29, 233, 246, 0.2));
  transform: scaleX(0.5);
  transform-origin: center;
  transition: transform 0.3s ease;
  z-index: 10;
}

.team-page h2.cyberpunk-title.title-centered:hover::after {
  transform: scaleX(1);
}

/* Additional team page styles */
.team-page .cyberpunk-title {
  margin-bottom: 50px;
  display: block;
  text-align: center;
}

.team-page {
  text-align: center;
}

/* Team page title styles */
.team-page,
.about-page {
  text-align: center;
}

.team-title-container,
.about-title-container {
  position: relative;
  display: inline-block;
  margin-bottom: 50px;
  width: auto;
}

.team-title-container .cyberpunk-title,
.about-title-container .cyberpunk-title {
  text-align: center;
  margin-bottom: 2px; /* Much closer spacing */
}

.team-title-underline,
.about-title-underline {
  height: 2px; /* Slightly thinner line */
  width: 0;
  background: linear-gradient(90deg, rgba(29, 233, 246, 0.2), rgba(29, 233, 246, 1), rgba(29, 233, 246, 0.2));
  margin: 2px auto 2px; /* Minimal margin */
  transition: width 0.5s ease;
}

.team-title-container:hover .team-title-underline,
.about-title-container:hover .about-title-underline {
  width: 100%;
}

/* Remove all the previous about page title styling */
.about-page *:before,
.about-page *:after {
  display: none !important;
}

/* Override and remove default Tebex automatic line - aggressive approach */
.about-page h2.cyberpunk-title:before,
.about-page h2.cyberpunk-title:after,
.about-page .cyberpunk-title:before,
.about-page .cyberpunk-title:after,
.about-page .title-centered:before,
.about-page .title-centered:after,
.about-title-container h2:before,
.about-title-container h2:after,
.about-page h2:before,
.about-page h2:after,
.about-page .cyberpunk-title.title-centered:before,
.about-page .cyberpunk-title.title-centered:after {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  content: none !important;
  background: none !important;
  border: none !important;
  height: 0 !important;
  width: 0 !important;
  position: static !important;
  margin: 0 !important;
}

/* Remove the old about title lines that were different from team */
.about-title-top-line,
.about-title-bottom-line {
  display: none !important;
}

/* TheMannster Scripts Homepage Styling */
.tm-scripts-hero {
  padding: 40px 0;
  text-align: center;
  margin-bottom: 50px;
  opacity: 1; /* Ensure visibility */
}

.tm-scripts-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 10px;
  background: linear-gradient(45deg, var(--color-primary), #2980b9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 10px rgba(65, 196, 195, 0.3);
  animation: pulse 3s infinite alternate ease-in-out;
  position: relative;
}

.tm-scripts-subtitle {
  font-size: 1.5rem;
  color: #e5e5e5;
  margin-bottom: 60px;
  position: relative;
}

.tm-scripts-subtitle::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%);
  animation: pulse-width 4s infinite alternate ease-in-out;
}

@keyframes pulse-width {
  0% { width: 100px; opacity: 0.5; }
  100% { width: 200px; opacity: 1; }
}

.tm-scripts-features {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.tm-feature-card {
  display: flex;
  gap: 20px;
  background: rgba(25, 25, 35, 0.7);
  border-radius: 8px;
  padding: 25px;
  border-left: 3px solid var(--color-primary);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  transform: translateY(0);
  position: relative;
  overflow: hidden;
}

.tm-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(65, 196, 195, 0.3);
  background: rgba(30, 30, 40, 0.8);
}

.tm-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(65, 196, 195, 0.05), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.tm-feature-card:hover::before {
  transform: translateX(100%);
}

.tm-feature-icon {
  font-size: 2rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
  text-shadow: 0 0 10px rgba(65, 196, 195, 0.7);
  animation: pulse 2s infinite alternate ease-in-out;
}

.tm-feature-content {
  flex: 1;
}

.tm-feature-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--color-primary);
}

.tm-feature-content p {
  color: #ccc;
  line-height: 1.6;
}

.tm-feature-content strong {
  color: #fff;
  font-weight: 600;
}

.tm-scripts-products {
  padding: 50px 0;
  margin-bottom: 50px;
}

.tm-section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  position: relative;
  color: #fff;
}

.tm-section-title::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
}

.tm-product-card {
  background: rgba(25, 25, 35, 0.7);
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(65, 196, 195, 0.2);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex; /* Keep flex for internal alignment if tm-product-card was already a flex container */
  flex-direction: column; /* Assuming vertical stacking of header and description */
}

.tm-product-card:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(65, 196, 195, 0.3);
  transform: translateY(-5px);
  border-color: rgba(65, 196, 195, 0.5);
}

.tm-product-card::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: linear-gradient(45deg, transparent, rgba(65, 196, 195, 0.05), transparent);
  transform: rotate(45deg);
  transition: all 1s ease;
  z-index: 1;
}

.tm-product-card:hover::before {
  top: -50%;
  left: -50%;
}

.tm-product-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.tm-product-badge {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.tm-product-status {
  display: flex;
  gap: 10px;
  align-items: center;
}

.tm-status-wip {
  background: #ff9800;
  color: #000;
  padding: 5px 10px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
}

.tm-status-coming-soon {
  background: rgba(65, 196, 195, 0.2);
  color: var(--color-primary);
  padding: 5px 10px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid var(--color-primary);
  position: relative;
  overflow: hidden;
}

.tm-status-coming-soon::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(65, 196, 195, 0.3), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

.tm-product-description {
  position: relative;
  z-index: 2;
}

.tm-product-description p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #e5e5e5;
}

.tm-product-features ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 10px 20px;
}

.tm-product-features li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0;
  color: #ccc;
  position: relative;
  transition: all 0.3s ease;
}

.tm-product-features li:hover {
  color: #fff;
  transform: translateX(5px);
}

.tm-feature-bullet {
  color: var(--color-primary);
  font-size: 1.2rem;
}

.tm-coming-soon {
  text-align: center;
  padding: 30px;
  background: rgba(25, 25, 35, 0.5);
  border-radius: 8px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.tm-coming-soon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(65, 196, 195, 0.1) 0%, transparent 70%);
  animation: pulse 3s infinite alternate ease-in-out;
}

.tm-coming-soon h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--color-primary);
  position: relative;
}

.tm-coming-soon p {
  color: #ccc;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.tm-scripts-cta {
  text-align: center;
  padding: 50px 20px;
  background: rgba(25, 25, 35, 0.5);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.tm-scripts-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(65, 196, 195, 0.1) 0%, transparent 70%);
  z-index: 0;
}

.tm-scripts-cta p {
  color: #e5e5e5;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 30px;
  position: relative;
  z-index: 1;
}

.tm-cta-button {
  margin: 30px 0;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tm-cta-button .cyberpunk-btn {
  background: var(--color-primary);
  color: #000;
  font-size: 1.2rem;
  padding: 15px 40px;
  margin: 0 auto;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(65, 196, 195, 0.5);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
}

.tm-cta-button .cyberpunk-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.7s ease;
}

.tm-cta-button .cyberpunk-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(65, 196, 195, 0.7);
}

.tm-cta-button .cyberpunk-btn:hover::before {
  left: 100%;
}

.tm-cta-tagline {
  font-style: italic;
  color: #aaa;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

/* Custom animation classes */
.tm-animate-fade-up {
  opacity: 1; /* Changed from 0 to make content visible by default */
  transform: translateY(0); /* Start at normal position for non-JS users */
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: calc(var(--animation-order, 0) * 0.1s);
}

.tm-animate-fade-right {
  opacity: 1; /* Changed from 0 to make content visible by default */
  transform: translateX(0); /* Start at normal position for non-JS users */
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: calc(var(--animation-order, 0) * 0.1s);
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
  .tm-scripts-title {
    font-size: 2.5rem;
  }
  
  .tm-scripts-subtitle {
    font-size: 1.2rem;
  }
  
  .tm-feature-card {
    flex-direction: column;
    padding: 20px;
  }
  
  .tm-feature-icon {
    margin-bottom: 10px;
  }
  
  .tm-product-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .tm-product-features ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .tm-scripts-title {
    font-size: 2rem;
  }
  
  .tm-section-title {
    font-size: 1.8rem;
  }
  
  .tm-feature-content h3,
  .tm-product-badge {
    font-size: 1.3rem;
  }
  
  .tm-cta-button .cyberpunk-btn {
    padding: 12px 30px;
    font-size: 1rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

/* Coming Soon Section */
.tm-product-container {
  display: flex;
  justify-content: center;
  margin: 70px auto 100px;
  width: 100%;
}

.tm-coming-soon {
  text-align: center;
  padding: 40px;
  background: rgba(25, 25, 35, 0.5);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(65, 196, 195, 0.15);
}

.tm-coming-soon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(65, 196, 195, 0.1) 0%, transparent 70%);
  animation: pulse 3s infinite alternate ease-in-out;
}

.tm-coming-soon h3 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: var(--color-primary);
  position: relative;
  text-shadow: 0 0 10px rgba(65, 196, 195, 0.5);
}

.tm-coming-soon-message {
  color: #ccc;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 35px auto 0;
  position: relative;
}

.tm-upcoming-products {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 auto;
  max-width: 700px;
}

.tm-upcoming-product {
  background: rgba(30, 30, 40, 0.6);
  border-radius: 6px;
  padding: 20px 20px 25px;
  border-left: 3px solid var(--color-primary);
  position: relative;
  transition: all 0.3s ease;
  text-align: left;
  margin-bottom: 10px;
}

.tm-upcoming-product:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3), 0 0 10px rgba(65, 196, 195, 0.2);
  background: rgba(35, 35, 45, 0.8);
}

.tm-upcoming-product-badge {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tm-upcoming-product p {
  color: #e5e5e5;
  font-size: 1rem;
  line-height: 1.6;
}

/* Partners Page Styling */
.tm-partners-page {
  padding: 40px 0;
  text-align: center;
}

.tm-partners-intro {
  color: #ccc;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.tm-partners-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.tm-partner-card {
  background: rgba(25, 25, 35, 0.7);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(65, 196, 195, 0.2);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tm-partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(65, 196, 195, 0.3);
  border-color: rgba(65, 196, 195, 0.5);
}

.tm-partner-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(65, 196, 195, 0.05) 0%, transparent 70%);
  transform: rotate(45deg);
  transition: all 0.8s ease;
  z-index: 0;
}

.tm-partner-card:hover::before {
  transform: rotate(225deg) scale(1.2);
  opacity: 0.5;
}

.tm-partner-logo-container {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(40, 40, 50, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
  border: 2px solid rgba(65, 196, 195, 0.3);
  position: relative;
  z-index: 1;
}

.tm-partner-logo-placeholder {
  color: #fff;
  font-weight: bold;
}

.tm-partner-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tm-partner-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.tm-partner-description {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1; /* Allows description to take up space */
  position: relative;
  z-index: 1;
}

.tm-partner-links {
  display: flex;
  gap: 15px;
  margin-top: auto; /* Pushes buttons to the bottom */
  position: relative;
  z-index: 1;
  width: 100%;
  justify-content: center;
}

.tm-partner-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center; /* Ensures text alignment for non-flex fallbacks or specific cases */
  flex-grow: 1;
  max-width: 180px;
  padding: 10px 15px; /* Adjusted padding for better fit */
  font-size: 0.9rem;
}

/* Ensure cyberpunk button styles apply correctly if overridden */
.tm-partner-btn.cyberpunk-btn {
    text-align: center; /* Explicitly center text */
}


@media (max-width: 768px) {
  .tm-partners-container {
    grid-template-columns: 1fr; /* Single column on smaller screens */
  }
  .tm-partner-card {
    padding: 20px;
  }
  .tm-partner-name {
    font-size: 1.6rem;
  }
  .tm-partner-links {
    flex-direction: column; /* Stack buttons on smaller screens */
    align-items: center;
  }
  .tm-partner-btn {
    width: 100%;
    max-width: 250px; /* Allow buttons to be wider when stacked */
  }
}

/* Styles for when tm-product-card is an anchor tag */
a.tm-product-card,
a.tm-product-card:hover,
a.tm-product-card:focus,
a.tm-product-card:visited {
  display: block; /* Or flex, if it needs to be a flex container */
  text-decoration: none;
  color: inherit; /* Inherit text color from parent or its own styles */
}

/* END: BASKET REMOVE BUTTON OVERRIDE */

/* END Discord Widget Section */

/* FAQ Page Styling */
.tm-faq-page {
  padding: 40px 0;
  max-width: 900px;
  margin: 0 auto;
}

.tm-faq-intro {
  text-align: center;
  color: #ccc;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.tm-faq-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.tm-faq-item {
  background: rgba(25, 25, 35, 0.7);
  border-radius: 6px;
  border: 1px solid rgba(var(--color-primary), 0.2);
  border-left: 3px solid transparent; /* Prepare for active accent */
  overflow: hidden; /* Ensures smooth transition for answer */
  transition: all 0.3s ease;
}

.tm-faq-item:hover {
  border-color: rgba(var(--color-primary), 0.5);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.tm-faq-item.active-faq {
    border-left-color: var(--color-primary);
    box-shadow: 0 5px 20px rgba(var(--color-primary), 0.1);
}

.tm-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 25px 30px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.tm-faq-question:hover {
  background-color: rgba(var(--color-primary), 0.05);
  color: var(--color-primary);
}

.tm-faq-question.active {
  background-color: rgba(var(--color-primary), 0.15); /* More pronounced active background */
  color: var(--color-primary);
}

.tm-faq-toggle-icon {
  width: 12px; /* Chevron width */
  height: 12px; /* Chevron height */
  border-right: 2px solid currentColor; /* Chevron right part */
  border-bottom: 2px solid currentColor; /* Chevron bottom part */
  transform: rotate(45deg); /* Initial position (down arrow) */
  transition: transform 0.3s ease;
  margin-left: 15px; /* Space from text */
}

.tm-faq-question.active .tm-faq-toggle-icon {
  transform: rotate(-135deg); /* Rotated position (up arrow) */
}

.tm-faq-answer {
  padding: 0px 30px; 
  color: #ccc;
  line-height: 1.7;
  background: rgba(20, 20, 30, 0.7); /* Slightly darker/more distinct answer background */
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding-top 0.35s ease-out, padding-bottom 0.35s ease-out, background-color 0.35s ease-out;
}

.tm-faq-question.active + .tm-faq-answer {
    /* Styles for when the answer is open, if needed, but JS handles padding */
}

.tm-faq-answer p,
.tm-faq-answer ul {
  margin-bottom: 15px;
}
.tm-faq-answer ul {
  padding-left: 20px;
  list-style: disc;
}
.tm-faq-answer ul li {
  margin-bottom: 8px;
}

.tm-faq-answer strong {
    color: var(--color-primary-hover, #fff);
    font-weight: 600;
}

.tm-faq-answer code {
  background-color: rgba(0,0,0,0.3);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Courier New', Courier, monospace;
  color: #f0f0f0;
}

/* Ensure the last paragraph in an answer doesn't have extra bottom margin */
.tm-faq-answer p:last-child,
.tm-faq-answer ul:last-child {
  margin-bottom: 0;
}

/* Support Page Styling */
.tm-support-page {
  padding: 40px 0;
  max-width: 900px;
  margin: 0 auto;
}

.tm-support-intro {
  text-align: center;
  color: #ccc;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

.tm-support-section {
  background: rgba(25, 25, 35, 0.7);
  border-radius: 8px;
  padding: 30px 35px;
  margin-bottom: 30px;
  border: 1px solid rgba(var(--color-primary), 0.1);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.tm-support-section:hover {
  border-color: rgba(var(--color-primary), 0.3);
  box-shadow: 0 8px 20px rgba(var(--color-primary), 0.05);
}

.tm-support-subtitle {
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(var(--color-primary), 0.2);
  display: inline-block;
}

.tm-support-section p {
  color: #ccc;
  line-height: 1.7;
  margin-bottom: 20px;
}

.tm-support-action {
  text-align: center;
  margin-top: 25px;
}

.cyberpunk-btn-large {
    padding: 12px 30px;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    display: inline-flex; /* Changed from inline-block to inline-flex */
    align-items: center;    /* Vertically center content */
    justify-content: center;/* Horizontally center content */
    text-align: center; /* Fallback for text alignment */
}

.tm-support-checklist {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.tm-support-checklist li {
  color: #ccc;
  padding: 10px 0 10px 35px;
  position: relative;
  border-bottom: 1px dashed rgba(var(--color-primary), 0.15);
  transition: background-color 0.3s ease;
}

.tm-support-checklist li:last-child {
  border-bottom: none;
}

.tm-support-checklist li:hover {
    background-color: rgba(var(--color-primary), 0.05);
}

.tm-support-checklist li::before {
  content: '\2714'; /* Checkmark or could use a cyberpunk-themed icon */
  color: var(--color-primary);
  font-size: 1.2rem;
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  text-shadow: 0 0 5px rgba(var(--color-primary), 0.5);
}

.tm-support-checklist code {
  background-color: rgba(0,0,0,0.3);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Courier New', Courier, monospace;
  color: #f0f0f0;
}

.tm-support-email {
    font-size: 1.1rem;
}

.tm-support-email a {
    color: var(--color-primary-hover, #fff);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.tm-support-email a:hover {
    color: var(--color-primary);
    text-shadow: 0 0 5px var(--color-primary);
}

/* Roadmap Page Styling */
.tm-roadmap-page {
  padding: 40px 0;
  max-width: 1200px; /* Wider for roadmap grid */
  margin: 0 auto;
}

.tm-roadmap-intro {
  text-align: center;
  color: #ccc;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

.tm-roadmap-section {
  margin-bottom: 50px;
}

.tm-roadmap-subtitle {
  font-size: 2rem; /* Larger subtitle for sections */
  color: var(--color-primary-hover, #fff);
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(var(--color-primary), 0.3);
  display: flex; /* Align icon and text */
  align-items: center;
  gap: 15px; /* Space between icon and text */
}

.tm-roadmap-subtitle i {
  font-size: 1.8rem; /* Icon size */
  text-shadow: 0 0 8px rgba(var(--color-primary), 0.5);
}

.tm-roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
  gap: 25px;
}

.tm-roadmap-item {
  background: rgba(25, 25, 35, 0.7);
  border-radius: 8px;
  padding: 25px;
  border: 1px solid rgba(var(--color-primary), 0.15);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.tm-roadmap-item:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--color-primary), 0.4);
  box-shadow: 0 8px 25px rgba(var(--color-primary), 0.1);
}

.tm-roadmap-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* Align title and status */
  margin-bottom: 15px;
  gap: 10px;
}

.tm-roadmap-item-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.tm-roadmap-item-status {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Status-specific styling */
.status-in-progress .tm-roadmap-item-status {
  background-color: rgba(255, 152, 0, 0.2); /* Orange-ish for WIP */
  color: #ff9800;
  border: 1px solid rgba(255, 152, 0, 0.5);
}
.status-planned .tm-roadmap-item-status {
  background-color: rgba(3, 169, 244, 0.15); /* Blue-ish for planned */
  color: #03a9f4;
  border: 1px solid rgba(3, 169, 244, 0.4);
}
.status-completed .tm-roadmap-item-status {
  background-color: rgba(76, 175, 80, 0.2); /* Green for completed */
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.5);
}

.tm-roadmap-item-description {
  color: #bbb;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 15px;
  flex-grow: 1; /* Makes description take available space */
}

.tm-roadmap-item-progress {
  width: 100%;
  background-color: rgba(0,0,0,0.3);
  border-radius: 4px;
  height: 20px; /* Height of the progress bar container */
  overflow: hidden;
  margin-top: auto; /* Pushes progress bar to the bottom if item heights vary */
}

.tm-progress-bar {
  background: linear-gradient(90deg, var(--color-primary), #2980b9);
  height: 100%;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Aligns percentage text to the right */
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  transition: width 0.5s ease-in-out;
}

.tm-progress-bar span {
    padding-right: 8px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Hide progress bar for planned/completed items or if not applicable */
.status-planned .tm-roadmap-item-progress,
.status-completed .tm-roadmap-item-progress {
    display: none;
}

/* Documentation Page Styling - Adapted for <details> and <summary> */

.tm-docs-page {
  padding: 40px 20px;
  max-width: 900px; /* Slightly adjusted for a more focused look */
  margin: 0 auto;
}

.tm-docs-intro {
  text-align: center;
  color: #ccc;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

/* Styling for the <details> container */
.tm-docs-details {
  background: rgba(20, 20, 30, 0.85); /* Dark, slightly translucent background */
  border-radius: 8px;
  margin-bottom: 20px; /* Space between detail blocks */
  border: 1px solid rgba(var(--color-primary), 0.3);
  box-shadow: 0 8px 25px rgba(0,0,0,0.25), 0 0 10px rgba(var(--color-primary), 0.1) inset;
  transition: all 0.3s ease;
  overflow: hidden; /* For clean open/close */
}

.tm-docs-details:hover {
  border-color: rgba(var(--color-primary), 0.6);
  box-shadow: 0 10px 30px rgba(var(--color-primary), 0.25), 0 0 15px rgba(var(--color-primary), 0.2) inset;
  transform: translateY(-3px);
}

.tm-docs-details[open] {
  background: rgba(25, 25, 35, 0.9); /* Slightly different background when open */
  border-color: rgba(var(--color-primary), 0.5);
}

/* Styling for the <summary> element (the clickable title) */
.tm-docs-summary {
  font-size: 1.6rem; /* Prominent title size */
  color: var(--color-primary-hover, #fff);
  padding: 20px 25px;
  cursor: pointer;
  position: relative; /* For the marker */
  list-style: none; /* Remove default marker if browser adds one */
  transition: background-color 0.3s ease, color 0.3s ease;
  display: flex; /* Align icon and text */
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid transparent; /* Prepare for border on open */
}

.tm-docs-summary::-webkit-details-marker { display: none; } /* Hide Webkit default marker */
.tm-docs-summary::marker { display: none; } /* Hide standard default marker */

.tm-docs-summary:hover {
  background-color: rgba(var(--color-primary), 0.1);
  color: var(--color-primary);
}

.tm-docs-details[open] > .tm-docs-summary {
  background-color: rgba(var(--color-primary), 0.15);
  color: var(--color-primary);
  border-bottom: 1px solid rgba(var(--color-primary), 0.4); /* Separator when open */
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.tm-docs-summary i { /* Icon styling */
  font-size: 1.5rem;
  text-shadow: 0 0 8px rgba(var(--color-primary), 0.6);
  transition: transform 0.3s ease;
}

.tm-docs-details[open] > .tm-docs-summary i {
    transform: rotate(5deg); /* Slight rotation for icon when open */
}

/* Default browser marker replacement for <summary> */
.tm-docs-summary::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-right: 15px; /* Space between marker and text */
  transition: transform 0.3s ease;
  opacity: 0.7;
}

.tm-docs-details[open] > .tm-docs-summary::before {
  transform: rotate(-135deg);
  opacity: 1;
}

.tm-docs-summary:hover::before {
    opacity: 1;
}

/* Content within the <details> tag (the part that expands) */
.tm-docs-details > *:not(summary) {
    padding: 20px 25px 25px; /* Padding for the revealed content */
    /* margin-left/right applied directly to p, pre etc. if needed */
}

.tm-docs-details p {
  color: #ccc;
  line-height: 1.7;
  margin-bottom: 15px;
}

.tm-docs-details p:last-child {
  margin-bottom: 0;
}

.tm-docs-details code {
  background-color: rgba(0,0,0,0.5);
  padding: 4px 8px;
  border-radius: 4px;
  font-family: 'Orbitron', 'Courier New', Courier, monospace;
  color: #00fefe;
  border: 1px solid rgba(var(--color-primary), 0.3);
  font-size: 0.9rem;
}

.tm-docs-details pre {
  background-color: rgba(0,0,0,0.6);
  padding: 20px;
  border-radius: 6px;
  overflow-x: auto;
  border: 1px solid rgba(var(--color-primary), 0.4);
  margin-bottom: 20px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.tm-docs-details pre code {
  background-color: transparent;
  padding: 0;
  border: none;
  color: #f0f0f0;
  font-family: 'Orbitron', 'Courier New', Courier, monospace;
  font-size: 0.9rem;
}

/* REMOVE OLD/UNUSED CSS for .tm-docs-section-title.is-clickable, .tm-docs-toggle-icon, .tm-docs-content */
/* .tm-docs-section-title.is-clickable { ... } */
/* .tm-docs-toggle-icon { ... } */
/* .tm-docs-content { ... } */
/* .tm-docs-content.is-open { ... } */

/* Retain and refine other existing general styles for .tm-docs-nav if it were to be re-added, otherwise it can be removed too */
.tm-docs-nav {
  background: rgba(15, 15, 20, 0.7);
  border-radius: 8px;
  padding: 25px 30px;
  margin-bottom: 50px;
  border: 1px solid rgba(var(--color-primary), 0.3);
  box-shadow: 0 0 15px rgba(var(--color-primary), 0.1);
}

.tm-docs-nav-title {
  font-size: 1.6rem;
  color: var(--color-primary);
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(var(--color-primary), 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tm-docs-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.tm-docs-nav-item {
  flex-grow: 1;
}

/* Remove or comment out if nav is gone permanently */
/* .tm-docs-nav-link { ... } */
/* .tm-docs-nav-link::after { ... } */
/* .tm-docs-nav-link:hover, .tm-docs-nav-link:focus { ... } */
/* .tm-docs-nav-link:hover::after, .tm-docs-nav-link:focus::after { ... } */


@media (max-width: 768px) {
  .tm-docs-page {
    padding: 30px 15px;
  }
  .tm-docs-summary {
    font-size: 1.4rem; /* Adjust title size for smaller screens */
    padding: 15px 20px;
  }
  .tm-docs-summary i {
    font-size: 1.3rem;
  }
  .tm-docs-summary::before {
    margin-right: 10px;
  }
  .tm-docs-details > *:not(summary) {
    padding: 15px 20px 20px;
  }
}

@keyframes logo-pulse-glow {
  0% {
    filter: drop-shadow(0 0 5px rgba(29, 233, 246, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 15px rgba(29, 233, 246, 0.8));
  }
  100% {
    filter: drop-shadow(0 0 5px rgba(29, 233, 246, 0.4));
  }
}

/* END: BASKET REMOVE BUTTON OVERRIDE */

/* END Discord Widget Section */

/* Header Elements Enhancements */

/* Enhancements for Basket Button in Header */
.site-header-inner .user-actions .open-basket {
  border-radius: 6px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
  border: 2px solid transparent;
  padding: 8px 12px; /* Adjusted padding */
}

.site-header-inner .user-actions .open-basket:hover,
.site-header-inner .user-actions .open-basket:focus {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 0 12px #1de9f6, 0 0 6px rgba(29, 233, 246, 0.8);
  border-color: #1de9f6;
  background-color: #1de9f6; /* MODIFIED: Solid blue background */
  color: #0D0D0D; /* ADDED: Dark text for contrast */
}
.site-header-inner .user-actions .open-basket:hover::before, /* Style for the icon */
.site-header-inner .user-actions .open-basket:focus::before {
    background-color: #0D0D0D; /* MODIFIED: Dark icon for contrast */
}


/* Enhancements for User Name / Logout Link in Header */
.site-header-inner .user-actions a.user-name {
  border-radius: 6px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  border: 2px solid transparent;
  padding: 8px 12px; /* Ensure padding is consistent */
  text-align: center;
  display: inline-flex; /* Helps with centering and consistent height */
  align-items: center;
}

.site-header-inner .user-actions a.user-name:hover,
.site-header-inner .user-actions a.user-name:focus {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 0 12px #1de9f6, 0 0 6px rgba(29, 233, 246, 0.8);
  border-color: #1de9f6;
  background-color: rgba(29, 233, 246, 0.15);
  color: #1de9f6; /* Text color change on hover */
}

.site-header-inner .user-actions a.user-name:hover .text, /* For the "Username" part */
.site-header-inner .user-actions a.user-name:focus .text {
  color: #1de9f6;
}
.site-header-inner .user-actions a.user-name:hover .text-hover, /* For the "Log out" part */
.site-header-inner .user-actions a.user-name:focus .text-hover {
  color: #1de9f6;
}
.site-header-inner .user-actions a.user-name:hover::before, /* Style for the icon */
.site-header-inner .user-actions a.user-name:focus::before {
    background-color: #1de9f6; /* Ensure icon color changes */
}


/* Enhancements for Logout Button in User Dropdown (remains from previous attempt) */
.site-header-inner .user-name ul .log-out {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    border-radius: 4px;
    border: 1px solid transparent;
    margin: 2px 0;
}

.site-header-inner .user-name ul .log-out:hover {
  background-color: rgba(29, 233, 246, 0.15);
  color: #1de9f6;
  box-shadow: 0 0 10px #1de9f6, 0 0 5px rgba(29, 233, 246, 0.5);
  border-color: #1de9f6;
  transform: translateX(5px) scale(1.02);
}

.site-header-inner .user-name ul .log-out:hover a,
.site-header-inner .user-name ul .log-out:hover a::before {
  color: #1de9f6;
}
.site-header-inner .user-name ul .log-out:hover a::before { /* if icon uses background-color for mask */
    background-color: #1de9f6;
}

/* Enhancements for Logout Button in Mobile Navigation (remains from previous attempt) */
.site-navigation .menu .log-out > a {
  position: relative;
  border-radius: 4px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
  border: 1px solid transparent;
  padding: 10px 15px;
  margin: 5px 0;
}

.site-navigation .menu .log-out > a:hover,
.site-navigation .menu .log-out > a:focus {
  color: #1de9f6;
  background-color: rgba(29, 233, 246, 0.1);
  border-color: #1de9f6;
  box-shadow: 0 0 8px #1de9f6, 0 0 4px rgba(29, 233, 246, 0.6);
  transform: translateX(3px) scale(1.02);
  text-shadow: 0 0 5px rgba(29, 233, 246, 0.7);
}

.site-navigation .menu .log-out > a:hover::before,
.site-navigation .menu .log-out > a:focus::before {
  background-color: #1de9f6;
}

/* END Header Elements Enhancements */

.site-header-inner .site-title img { /* Base styles for the logo image */
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  display: block;
  transform-origin: center;
  border-radius: 15px; /* --- Ensure rounded edges --- */
  box-shadow: 0 0 2px rgba(29, 233, 246, 0.2); /* subtle initial glow */
}

.site-header-inner .site-title a:hover img { /* Corrected hover target */
  transform: scale(1.15);
  box-shadow: 0 0 15px 5px rgba(29, 233, 246, 0.7); /* Glow for the box */
  border-radius: 20px; /* --- More rounded on hover --- */
}
