:root {
  --color-primary: #cc234c;
  --color-primary-hover: #e73963;
  --color-primary-text: #ffffff;
  --color-primary-text-hover: #ffffff;
  --color-bg: #101115;
  --color-brighter-bg: #1a1c22;
  --color-text: #f6f6f7;
  --color-text-secondary: #b9bac4;
  --color-secondary: #333641;
  --color-secondary-hover: #444855;
  --color-secondary-text: #fff;
  --color-secondary-text-hover: #fff;
  --fv-border: #34363f;
  --bg-image: none;
}
body { font-family: Arial, sans-serif; background: var(--color-bg); }
body::before { content: ''; position: absolute; inset: 0 0 auto; height: 480px; background: linear-gradient(0deg, var(--color-bg), transparent), var(--bg-image) center/cover; z-index: -1; pointer-events: none; }
.site, .page-index.home-categories-enabled .site { display: flex; flex-direction: column; align-items: stretch; gap: 24px; width: 100%; min-height: 100vh; }
#main-content { flex: 1; width: 100%; min-width: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100001; padding: 12px; background: var(--color-primary); color: #111; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 4px; }
.btn-primary, .btn-secondary, .btn-tertiary { border-radius: 8px; }
.btn-primary, .btn-secondary { font-weight: 700; }
a[aria-disabled=true] { opacity: .5; cursor: not-allowed; }
.site-header { padding-top: 20px; }
.site-header-inner, body.is-navigation-horizontal .site-header-inner { display: flex; align-items: center; gap: 20px; height: auto; min-height: 100px; padding: 16px; border: 1px solid var(--fv-border); border-radius: 12px; background: var(--color-brighter-bg); }
.site-header-inner .site-title, .site-header-inner .user-actions, .site-header-inner .log-in, .site-header-inner .actions, .site-header-inner .info { position: static; inset: auto; margin: 0; width: auto; height: auto; }
.site-header-inner .site-title { flex: 0 1 170px; line-height: 1.2; font-size: 26px; }
.site-header-inner .site-title img { width: auto; max-height: 86px; max-width: 100%; }
.site-header-inner > .actions { display: none; }
.header-community-actions { display: flex; flex: 1; justify-content: center; gap: 24px; }
.site-header-inner .info.server, .site-header-inner .info.discord { display: flex; align-items: center; gap: 10px; padding: 8px; max-width: none; text-align: left; }
.site-header-inner .info small { display: block; color: var(--color-text-secondary); font-size: 12px; }
.site-header-inner .info .title { font-size: 14px; line-height: 1.5; }
.info-icon { color: var(--color-primary); }
.site-header-inner .user-actions { display: flex; align-items: center; gap: 10px; }
.site-header-inner .user-name { max-width: 150px; overflow-wrap: anywhere; }
.site-sale-banner { margin-top: 14px; border-radius: 8px; }
.home-hero, .category-section { width: min(calc(100% - 32px), var(--content-inner-width)); margin: 28px auto; }
.home-hero { position: relative; isolation: isolate; overflow: hidden; padding: 38px 24px; border: 1px solid #4b2533; border-radius: 16px; background: linear-gradient(115deg, #271722eb, #19171de8), var(--bg-image) center/cover; text-align: center; }
.home-hero::before, .home-hero::after { content: ''; position: absolute; z-index: -1; width: 220px; height: 220px; border: 24px solid #db335322; transform: rotate(35deg); }
.home-hero::before { left: -80px; top: 70px; }
.home-hero::after { right: -70px; bottom: -110px; width: 320px; height: 320px; }
.hero-logo { width: 290px; max-width: 80%; max-height: 160px; object-fit: contain; margin: 0 auto 26px; filter: drop-shadow(0 12px 8px #0006); }
.home-hero h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.15; }
.eyebrow { color: var(--color-primary); text-transform: uppercase; font-weight: 700; font-size: 12px; letter-spacing: .12em; margin-bottom: 10px; }
.home-hero-copy { margin: 14px auto; max-width: 540px; color: var(--color-text-secondary); line-height: 1.6; }
.home-hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.section-heading { margin-bottom: 18px; }
.section-heading h2 { font-size: 24px; }
.category-section .site-home-categories { padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.site-home-categories .category { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 12px; min-width: 0; min-height: 250px; padding: 24px 16px; border: 1px solid var(--fv-border); border-radius: 12px; background: var(--color-brighter-bg); text-align: center; transition: border-color .2s, transform .2s; }
.site-home-categories .category:hover { border-color: var(--color-primary); transform: translateY(-3px); }
.category-media { display: flex; align-items: center; justify-content: center; width: 100%; height: 125px; }
.site-home-categories .category .image { width: auto; height: auto; max-width: 100%; max-height: 125px; object-fit: contain; }
.site-home-categories .category .image-default { width: 78px; height: 78px; }
.category-name { font-size: 23px; font-weight: 700; }
.category-arrow { font-size: 13px; color: var(--color-text-secondary); }
.site-home-categories .category { background: linear-gradient(150deg, #28202a, #1a1c22 65%); box-shadow: 0 6px 0 #08090c; }
.site-home-categories .category:nth-child(2) { background: linear-gradient(150deg, #2e243d, #1a1c22 65%); }
.site-home-categories .category:nth-child(3) { background: linear-gradient(150deg, #332c20, #1a1c22 65%); }
.site-home-categories .category:nth-child(4) { background: linear-gradient(150deg, #1e332d, #1a1c22 65%); }
.home-information summary { cursor: pointer; color: var(--color-text); font-weight: 700; list-style-position: inside; }
.home-information-content { margin-top: 24px; }
.home-information { padding: 20px 24px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 24px; margin-bottom: 24px; font-size: 13px; }
.footer-links a:hover { color: var(--color-primary); }
.we-accept { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.site-footer-inner .we-accept li { width: auto; height: auto; padding: 6px 8px; border: 1px solid var(--fv-border); border-radius: 5px; color: var(--color-text-secondary); background: #1b1d23; font-size: 10px; font-weight: 700; }
.site-popup { min-height: 0; }
.site-content { margin-top: 28px; margin-bottom: 36px; }
.store-text, .category-header, .widget, .no-products, .store-product-full, .store-products-list .store-product, .store-products-images .store-product { border: 1px solid var(--fv-border); border-radius: 12px; background: var(--color-brighter-bg); }
.store-text { padding: 28px; }
.text-content { line-height: 1.7; }
.text-content p { color: var(--color-text-secondary); }
.text-content a { text-decoration: underline; text-underline-offset: 3px; }
.category-header { padding: 24px; margin-bottom: 20px; }
.category-header h1 { font-size: 32px; }
.category-description { margin-top: 12px; padding: 0; }
.product-card-content { display: contents; }
.store-product .image-link-empty, .store-product-full > .image-default { display: none; }
.store-product .image { object-fit: contain; }
.store-product-full { padding: 24px; }
.widget-title { text-align: left; }
.popup-content, .toast, .basket-item, .quantity-field { border-radius: 10px; }
.site-footer { margin-top: auto; padding: 28px 0; border-top: 1px solid var(--fv-border); background: #14151a; }
.footer-brand { display: grid; gap: 8px; margin-bottom: 20px; }
.footer-brand strong { font-size: 22px; }
.footer-brand span, .copyright { color: var(--color-text-secondary); font-size: 13px; }
@media (min-width: 961px) {
 .navigation-horizontal { margin-top: 14px; }
 .navigation-horizontal .menu { border: 1px solid var(--fv-border); border-radius: 10px; background: var(--color-brighter-bg); flex-wrap: wrap; }
 .navigation-horizontal .menu > li { flex: 0 1 auto; min-width: 0; }
 .navigation-horizontal .menu > li > a { max-width: none; text-overflow: clip; white-space: normal; padding-inline: 20px; }
 .navigation-horizontal .has-children:focus-within > ul { visibility: visible; opacity: 1; pointer-events: auto; }
}
@media (max-width: 1100px) { .header-community-actions { gap: 8px; } .category-section .site-home-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
 .site-header-inner { flex-wrap: wrap; gap: 12px; }
 .site-header-inner > .actions { display: flex; }
 .site-header-inner .site-title { flex: 1; }
 .site-header-inner .site-title img { max-height: 60px; }
 .header-community-actions { order: 4; flex-basis: 100%; }
 .site-header-inner .user-name { display: none; }
 .site-header-inner .toggle-navigation { background: no-repeat center/22px 22px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E"); }
 .site-header-inner .open-basket::before { width: 21px; height: 21px; margin: 0; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 9 2 11h10l2-11H5Z'/%3E%3Cpath d='m9 9 3-5 3 5'/%3E%3C/svg%3E"); mask: none; }
 .home-hero { margin-top: 10px; }
}
@media (max-width: 520px) {
 .site-header-inner .site-title img { max-width: 105px; }
 .site-header-inner .user-actions { gap: 5px; }
 .site-header-inner .log-in { padding: 8px; }
 .category-section .site-home-categories { gap: 10px; }
 .site-home-categories .category { min-height: 210px; padding: 16px 10px; }
 .category-name { font-size: 18px; }
 .category-media { height: 95px; }
 .site-home-categories .category .image { max-height: 95px; }
 .site-header-inner .info .title { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; } }

/* Fire Vanilla storefront layout */
:root {
  --fv-page: #241029;
  --fv-topbar: #35113b;
  --fv-panel: #35153b;
  --color-bg: #241029;
  --color-brighter-bg: #35183b;
  --color-text-secondary: #d0bfd4;
  --fv-border: #65406b;
  --fv-pink: #ee2858;
  --fv-purple: #aa35ed;
  --fv-orange: #ec8618;
  --fv-blue: #09a6d0;
}
body { background: #1d0b22; }
body::before { display: none; }
.site {
  gap: 0;
  background:
    radial-gradient(circle at 14% 34%, #7c28572b, transparent 28%),
    radial-gradient(circle at 88% 62%, #6434a326, transparent 30%),
    linear-gradient(180deg, #2b1030 0%, var(--fv-page) 48%, #1e0b23 100%);
}
.site-header { width: 100%; max-width: none; padding: 0; background: var(--fv-topbar); }
.site-header-inner, body.is-navigation-horizontal .site-header-inner {
  width: min(calc(100% - 32px), 1160px);
  max-width: none;
  min-height: 72px;
  margin: 0 auto;
  padding: 11px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.site-header-inner .actions { order: 1; }
.header-community-actions { order: 2; justify-content: flex-start; }
.site-header-inner .user-actions { order: 3; margin-left: auto; }
.site-header-inner .info.server, .site-header-inner .info.discord {
  min-width: 0;
  padding: 8px 12px;
  border: 1px solid #82458b;
  border-radius: 7px;
  background: #310d36;
}
.site-header-inner .info.discord { display: none; }
.site-header-inner .info small { display: none; }
.site-header-inner .info .title { color: #fff; font-size: 13px; font-weight: 800; }
.site-header-inner .info-icon { color: #62ed3c; }
.currency-pill, .patrons-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 15px;
  border: 1px solid #82458b;
  border-radius: 7px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.currency-selector { position: relative; }
.currency-selector summary { list-style: none; cursor: pointer; user-select: none; }
.currency-selector summary::-webkit-details-marker { display: none; }
.currency-globe { position: relative; display: inline-grid; place-items: center; width: 15px; height: 15px; margin-right: 7px; border: 1px solid currentColor; border-radius: 50%; font-size: 0; }
.currency-globe::before, .currency-globe::after { content: ''; position: absolute; display: block; }
.currency-globe::before { width: 5px; height: 11px; border-right: 1px solid currentColor; border-left: 1px solid currentColor; border-radius: 50%; }
.currency-globe::after { width: 11px; border-top: 1px solid currentColor; }
.currency-chevron { margin-left: 8px; color: #cbb6d2; font-size: 11px; transition: transform .18s ease; }
.currency-selector[open] .currency-chevron { transform: rotate(180deg); }
.currency-menu { position: absolute; z-index: 80; top: calc(100% + 8px); left: 0; width: 112px; max-height: 360px; margin: 0; padding: 6px 0; overflow-y: auto; border: 1px solid #8e3e9e; border-radius: 9px; background: #3b0d40; box-shadow: 0 16px 40px #0009; list-style: none; }
.currency-menu li { margin: 0; padding: 0; }
.currency-menu a { display: block; padding: 10px 16px; color: #fff; font-size: 14px; font-weight: 800; text-align: center; text-decoration: none; }
.currency-menu a:hover, .currency-menu a:focus-visible { background: #762782; }
.currency-menu li.active a { background: #aa3bb6; }
.patrons-link { border-color: #bc4ed0; background: linear-gradient(#b644d5, #8b23a3); }
.patrons-link::before { content: '♛'; margin-right: 7px; }
.site-header-inner .log-in { border: 1px solid #82458b; background: #310d36; }
.site-header-inner .open-basket { --color-primary: #079cc7; --color-primary-hover: #16b9e5; border: 1px solid #22bde2; }
.brand-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 210px;
  padding: 30px 20px;
  border-top: 1px solid #3b1041;
  background:
    radial-gradient(circle at 50% 52%, #972d7a55, transparent 29%),
    linear-gradient(180deg, #260329, #240026);
}
.brand-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 35%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 72% 25%, #ff7aac 0 1px, transparent 2px),
    radial-gradient(circle at 85% 70%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 35% 80%, #ad6aff 0 1px, transparent 2px);
  background-size: 180px 160px, 220px 180px, 260px 200px, 200px 240px;
  opacity: .45;
  animation: fv-stars 10s ease-in-out infinite alternate;
}
.brand-stage .site-title { position: static; inset: auto; width: min(430px, 80vw); height: auto; margin: 0; line-height: 1; }
.brand-stage .site-title img { width: 100%; max-width: 430px; max-height: 145px; margin: auto; object-fit: contain; filter: drop-shadow(0 8px 15px #e53a9070); animation: fv-logo-float 4s ease-in-out infinite; }
.brand-stage .site-title span { font-size: clamp(42px, 8vw, 86px); }
.site-sale-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(calc(100% - 32px), 1130px);
  max-width: none;
  min-height: 135px;
  margin: 48px auto 22px;
  padding: 24px;
  border: 1px solid #ff4f71;
  border-bottom: 5px solid #b90028;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(90deg, #ff1e48ee, #dc0734ee), var(--bg-image) center/cover;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 5px 0 #720019, 0 8px 15px #0009;
}
.page-index .navigation-horizontal { display: none; }
.page-index .toggle-navigation { display: none !important; }
.navigation-horizontal { margin: 0 auto; padding: 8px var(--content-padding); background: #351039; }
.navigation-horizontal .menu { border: 0; background: transparent; }
.page-index #main-content { padding-top: 46px; }
.page-index:has(.site-sale-banner) #main-content { padding-top: 0; }
.category-section { width: min(calc(100% - 32px), 1130px); margin: 0 auto 50px; }
.category-section .site-home-categories {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.site-home-categories .category {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 212px;
  padding: 45px;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(115deg, var(--category-a), var(--category-b)) !important;
  box-shadow: none;
  text-align: left;
  isolation: isolate;
}
.site-home-categories .category::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--category-image, none) center/cover no-repeat;
  opacity: .22;
  transition: opacity .2s, transform .25s;
}
.site-home-categories .category::after { content: ''; position: absolute; left: 0; width: 7px; height: 44px; background: #fff; }
.site-home-categories .category:hover { border-color: transparent; color: #fff; transform: translateY(-4px); filter: brightness(1.06); }
.site-home-categories .category:hover::before { opacity: .34; transform: scale(1.03); }
.site-home-categories .category-1 { --category-a: #dc1238; --category-b: #801126; }
.site-home-categories .category-2 { --category-a: #bd45f0; --category-b: #7a24ce; }
.site-home-categories .category-3 { --category-a: #ff9f1e; --category-b: #c65c09; }
.site-home-categories .category-4 { --category-a: #0cc5e7; --category-b: #0972bd; }
.site-home-categories .category-5 { --category-a: #2dbb79; --category-b: #137d52; }
.site-home-categories .category-6 { --category-a: #f05b91; --category-b: #a31f58; }
.category-content { position: relative; z-index: 1; display: grid; gap: 6px; text-align: left; }
.category-name { font-size: clamp(28px, 3vw, 38px); font-weight: 900; line-height: 1; text-transform: uppercase; text-shadow: 0 4px 0 #0005; }
.category-arrow { color: #ffffffc7; font-size: 12px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.home-bottom { margin-top: 0; }
.home-information { border-color: #67306e; background: linear-gradient(145deg, #3b1741, #2d1233); box-shadow: 0 16px 42px #10041366; }
.site-footer { background: #2b102f; border-color: #55225c; }

.popup { background: #09000de8; backdrop-filter: blur(9px); }
.popup-scroll-cont { min-height: 100dvh; padding: 20px; }
.login-popup-content {
  width: min(100%, 480px) !important;
  max-width: 480px !important;
  min-height: 0 !important;
  padding: 34px !important;
  overflow: visible;
  border: 1px solid #713078;
  border-radius: 14px;
  background: linear-gradient(150deg, #2a0a2f, #17131c) !important;
  box-shadow: 0 24px 80px #000b;
}
.login-popup-content h1, .login-popup-content h2, .login-popup-content h3 { margin: 0 42px 8px 0; font-size: 28px; line-height: 1.15; }
.login-popup-content p { margin-bottom: 20px; color: #cbbdd0; font-size: 15px; }
.login-popup-content .field, .login-popup-content .input-group { margin-bottom: 18px; }
.login-popup-content label { display: block; margin-bottom: 8px; color: #fff; font-size: 13px; font-weight: 800; }
.login-popup-content input[type=text], .login-popup-content input[type=password], .login-popup-content input[type=email] {
  display: block !important;
  width: 100% !important;
  min-height: 50px;
  margin: 0 0 16px !important;
  padding: 12px 14px !important;
  border: 1px solid #69316f;
  border-radius: 8px;
  color: #fff;
  background: #100d13 !important;
}
.login-popup-content .actions { justify-content: flex-start; }
.login-popup-content .btn-primary, .login-popup-content button[type=submit], .login-popup-content input[type=submit] { min-width: 150px; border-radius: 8px; text-align: center; }
.popup-close { top: 10px; right: 10px; border-radius: 7px; }
.popup-close::before { mask: none; background: no-repeat center/22px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M5 5l14 14M19 5 5 19'/%3E%3C/svg%3E"); }

@keyframes fv-stars { from { transform: translate3d(-8px, -5px, 0); opacity: .28; } to { transform: translate3d(8px, 5px, 0); opacity: .58; } }
@keyframes fv-logo-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

@media (max-width: 960px) {
  .site-header-inner, body.is-navigation-horizontal .site-header-inner { flex-wrap: nowrap; min-height: 66px; }
  .site-header-inner > .actions { display: flex; }
  .header-community-actions { display: flex; }
  .currency-selector, .user-actions > .currency-pill { display: none; }
  .patrons-link { width: 42px; padding: 0; font-size: 0; }
  .patrons-link::before { margin: 0; font-size: 17px; }
  .brand-stage { min-height: 175px; }
}
@media (max-width: 640px) {
  .site-header-inner, body.is-navigation-horizontal .site-header-inner { gap: 7px; }
  .site-header-inner .info.server { padding: 8px; }
  .site-header-inner .info .title { max-width: 105px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .site-header-inner .log-in { display: none; }
  .brand-stage { min-height: 145px; padding: 25px 20px; }
  .brand-stage .site-title { width: min(260px, 75vw); }
  .site-sale-banner { min-height: 105px; margin-top: 24px; }
  .page-index #main-content { padding-top: 26px; }
  .category-section .site-home-categories { grid-template-columns: 1fr; gap: 16px; }
  .site-home-categories .category { min-height: 150px; padding: 30px; }
  .category-name { font-size: 28px; }
  .popup-scroll-cont { align-items: center !important; padding: 14px; }
  .login-popup-content { padding: 26px 20px !important; border-radius: 12px; }
  .login-popup-content h1, .login-popup-content h2 { font-size: 24px; }
}
