:root {
  --gold: #a978ff;
  --gold-dark: #6332a9;
  --sr-orange: #a678f2;
  --sr-orange-hot: #c5a5ff;
  --sr-orange-deep: #6635ad;
  --sr-ink: #110d1d;
  --sr-panel: #211732;
  --sr-line: #aa86ec33;
  --line: #aa86ec38;
  --gold-bright: #c5a5ff;
}

@font-face { font-family: 'Eurostile SR'; src: url('../assets/fonts/Eurostile-Reg.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Eurostile SR'; src: url('../assets/fonts/Eurostile-Med.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Bebas SR'; src: url('../assets/fonts/BebasNeue Regular.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Bebas SR'; src: url('../assets/fonts/BebasNeue Bold.otf') format('opentype'); font-weight: 700; font-display: swap; }
body { font-family: 'Eurostile SR', var(--font-body); }
h1,h2,h3,h4,.nav-link,.button-primary,.button-ghost,.header-cta,.header-cart,.select-button,.checkout-button,.tab,.eyebrow,.brand-copy { font-family: 'Bebas SR', var(--font-head); }

body::before {
  background: linear-gradient(180deg, #120b20d9, #110b1aec 72%), url('../assets/backgrounds/sakura.png') center / cover no-repeat;
}

.home-hero::before {
  background: linear-gradient(90deg, #170e28f5, #201133cc 40%, #20113345 80%), url('../assets/backgrounds/sakura.png') center 46% / cover no-repeat;
}

.home-hero::after { background: radial-gradient(ellipse at 78% 36%, #ad75f948, transparent 60%); }
.home-hero { grid-template-columns: 1fr; }
.home-hero-content { max-width: 900px; margin: 0 auto; text-align: center; }
.home-hero-content > p { margin-left: auto; margin-right: auto; }
.hero-actions, .hero-meta { justify-content: center; }
.hero-showcase { position: absolute; right: 3%; bottom: 42px; width: min(34%,390px); }
.hero-corner-mark { color: #c5a5ff; }
.header-cta { display: none !important; }
.topbar, .footer { border-color: var(--sr-line); }
.brand-mark {
  border: 0;
  border-radius: 8px;
  transform: none;
  box-shadow: none;
  overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.brand-copy strong { text-shadow: none; }

.home-hero h1 em, h2 em, .discover-card strong em,
.nav-link.active, .nav-link:hover, .nav-link.active .nav-icon,
.nav-link:hover .nav-icon, .text-link { color: #c5a5ff; }
.nav-link.active .nav-icon, .nav-link:hover .nav-icon { filter: none; }
.eyebrow-line, .nav-link.active::after { background: #aa80ee; }

.button-primary, .header-cta, .checkout-button:not(:disabled) {
  color: #fff;
  background: linear-gradient(135deg, #7041b3, #883fcb);
  border-color: #c09cfb80;
  box-shadow: none;
}
.button-primary:hover, .header-cta:hover, .checkout-button:not(:disabled):hover { background: #7445b1; }
.tab.active { background: #a673f527; color: #fff; border-color: #b48aec55; box-shadow: inset 0 -2px #b48aec; }
.tab-icon, .tab.active .tab-icon, .platform-grid .platform-card .platform-icon,
.home-stats .stat-icon { color: #c5a5ff; border-color: var(--sr-line); background: #a673f519; }
[hidden] { display: none !important; }

/* Keep the interface violet; the original tactical skin used orange accents. */
.eyebrow-line, .nav-link.active::after, .tab.active::after, .round-arrow,
.discover-card-top span:last-child, .discover-card-bottom em, .text-link,
.feature-cross, .feature-visual-badge b, .tab-icon, .card-tag, .price small,
.order-safety > span, .form-step > span, .cart-empty > span, .cart-row-qty,
.cart-remove, .cart-total strong, .input-prefix, .input-check, .safe-note span,
.footer-links a:hover, .modal h2 em, .download-note span, .community-item > span,
.platform-icon, .platform-link, .community-link { color: #c5a5ff !important; }
.eyebrow-line, .nav-link.active::after, .tab.active::after { background: #a678f2 !important; box-shadow: 0 0 14px #9f70ee66; }
.button-primary, .checkout-button:not(:disabled), .select-button, .platform-link, .community-link,
.header-cart { background: linear-gradient(135deg,#7041b3,#883fcb) !important; border-color:#c09cfb80 !important; color:#fff !important; box-shadow:none !important; }
.button-primary:hover, .checkout-button:not(:disabled):hover, .select-button:hover,
.platform-link:hover, .community-link:hover { background: #7445b1 !important; border-color:#d5baff !important; }
.button-ghost { border-color:#b48aec66 !important; color:#e9d7ff !important; }
.tab.active { border-color:#b48aec55 !important; box-shadow:inset 0 -2px #b48aec !important; }
.header-cart b { background:#8b55d8 !important; box-shadow:none !important; }
.product-card.added, .bp-offer-card.added { border-color:#a678f2 !important; }
.toast { border-color:#b48aec80 !important; border-left-color:#a678f2 !important; background:#211732 !important; color:#eadfff !important; }

.controls-feature { display:grid; grid-template-columns:.8fr 1.2fr; gap:7%; align-items:center; border-top:1px solid var(--line); }
.controls-feature-copy h2 { margin:17px 0; font:600 clamp(35px,4.4vw,56px)/1.05 'Bebas SR', var(--font-head); }
.controls-feature-copy h2 em { color:#c5a5ff; font-style:normal; }
.controls-feature-copy p { max-width:440px; color:#bcb1cd; font-size:14px; line-height:1.7; }
.controls-feature-visual { overflow:hidden; border:1px solid #aa86ec55; border-radius:12px; background:#211732; box-shadow:0 20px 50px #09051266; }
.controls-feature-visual img { display:block; width:100%; height:auto; }

.bp-goldpass-visual, .bp-level30-visual { background:linear-gradient(145deg,#2a1a42,#160d28) !important; }
.bp-goldpass-visual img, .bp-level30-visual img { object-fit:contain; filter:drop-shadow(0 0 18px #c5a5ff44); }
.bp-offer-content h3 em { color:#c5a5ff !important; }

.platform-grid .platform-card, .product-card, .product-card.featured,
.discover-card, .bp-offer-card, .community-panel, .community-aside, .order-form {
  background-color: #20172d;
  background-image: linear-gradient(145deg, #302140, #191021);
  border-color: var(--sr-line);
  box-shadow: none;
}
.product-card, .platform-card { border-radius: 12px; }
.product-card:hover, .platform-grid .platform-card:hover { border-color: #b68bf0; }
.platform-grid .platform-card .platform-link, .select-button, .community-link {
  color: #e9d7ff;
  border-color: #b68bf080;
  background: #a673f520;
}
.product-card .product-name strong, .product-card .price { color: #ffe3a2; }
.discover-grid, .gameplay-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gameplay-grid { display: grid; gap: 16px; }
.gameplay-grid article {
  overflow: hidden;
  border: 1px solid var(--sr-line);
  border-radius: 12px;
  background: #211732;
}
.gameplay-grid img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; background: #130e1d; }
.gameplay-grid article > div { padding: 18px 20px; }
.gameplay-grid h3 { margin: 0 0 6px; color: #eee2ff; }
.gameplay-grid p { margin: 0; color: #bcb1cd; line-height: 1.5; }

@media (max-width: 650px) {
  .discover-grid, .gameplay-grid { grid-template-columns: 1fr; }
  .home-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-stats .stats-note { display: none; }
}
@media (max-width: 900px) {
  .hero-showcase { position:relative; right:auto; bottom:auto; width:min(100%,390px); margin:0 auto 24px; }
  .controls-feature { grid-template-columns:1fr; gap:20px; }
}
.home-hero-content { width: 100%; justify-self: center; }
.home-hero .hero-actions { justify-content: center; }
.page-shop .gold-card .price,
.page-shop .gold-card .price small,
.page-shop .bp-offer-bottom strong,
.page-shop .bp-offer-bottom strong i { color: #e2cbff; }
.page-shop .order-form .cart-total,
.page-shop .order-form .cart-empty,
.page-shop .order-form .cart-row,
.page-shop .order-form .cart-remove,
.page-shop .order-form .input-wrap { border-color: var(--sr-line); }
.page-shop .order-form .input-wrap:focus-within { border-color: #a678f2; box-shadow: 0 0 0 3px #a678f233; }
.page-shop .select-button.add-button:not(.is-added) { color: #fff !important; }

@media (min-width: 721px) {
  .topbar > .top-nav {
    position: absolute;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    margin-inline: 0;
  }
  .topbar > .header-cart { margin-inline-start: auto; }
}

.page-home .home-hero::before,
.page-home .home-hero::after,
.page-download .download-hero::before,
.page-download .download-hero::after {
  content: none;
}

.page-home .home-hero,
.page-download .download-hero {
  background: transparent;
  box-shadow: none;
}

.page-download .download-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  text-align: center;
  min-height: 320px;
}

.page-download .download-hero-content {
  padding: clamp(48px, 8vw, 90px) 0;
  width: 100%;
}

.page-download .download-hero-content > p {
  margin-inline: auto;
}

.page-shop .shop-intro {
  min-height: 0;
  padding: 42px 0 32px;
}

.page-shop .shop-intro h1 { margin-top: 0; }

.topbar .nav-link::after,
.catalog-toolbar .tab::after {
  background: #aa80ee;
  box-shadow: none;
}

.topbar .nav-link,
.catalog-toolbar .tab {
  transition: color .2s ease, background-color .2s ease;
}

.page-download .section-heading h2 em,
.page-download .community-copy h2 em,
.page-download .download-step-list > div > span,
.page-shop .bp-footnote > span,
.page-shop .bp-footnote strong {
  color: #c5a5ff;
  text-shadow: none;
}

.page-download .download-note,
.page-download .community-icon,
.page-shop .bp-footnote {
  border-color: var(--sr-line);
  background: #a673f514;
  box-shadow: none;
}

.page-download .community-icon svg { fill: #c5a5ff; }
.page-download .community-panel::after { content: none; }
.page-shop .gold-card .card-bottom,
.page-shop .bp-offer-bottom,
.page-shop .bp-section-index { border-color: var(--sr-line); }
.page-shop .gold-card .product-name span {
  border-color: var(--sr-line);
  color: #c5a5ff;
}

html { scrollbar-color: #9767d6 #140e22; }
::-webkit-scrollbar-thumb,
::-webkit-scrollbar-thumb:hover { background: #9767d6; }
.site-shell :focus-visible { outline-color: #c5a5ff; }

@keyframes section-enter {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root),
  ::view-transition-new(root) { animation-duration: .22s; }
  .product-panel:not([hidden]) { animation: section-enter .24s ease-out; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .topbar .nav-link, .catalog-toolbar .tab { transition: none; }
}

.quick-start {
  padding: clamp(34px, 6vw, 72px) 0;
  margin-bottom: clamp(28px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}

.quick-start-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.quick-start-steps > li { padding-top: 16px; border-top: 1px solid var(--line); }
.quick-start-number { color: var(--gold-bright); font-family: 'Eurostile SR', sans-serif; font-size: .85rem; }
.quick-start-steps h3 { margin: 10px 0 6px; font-size: 1.5rem; }
.quick-start-steps a { color: var(--gold-bright); }
.quick-start-steps a:hover { text-decoration: underline; }
.quick-start-steps p { margin: 0; max-width: 32ch; color: #bcb1cd; font-size: .9rem; line-height: 1.55; }

.compact-topbar .wordmark {
  display: inline-block;
  white-space: nowrap;
  font: 700 clamp(1.35rem, 3vw, 2rem)/1 'Bebas SR', var(--font-head);
  color: #fff;
}
.compact-topbar .wordmark span { color: #c5a5ff; }
.compact-topbar .language-switch {
  display: flex;
  gap: 4px;
  margin-inline-start: auto;
  white-space: nowrap;
}
.language-switch button {
  padding: 7px 8px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: #bcb1cd;
  cursor: pointer;
  font: 600 .85rem 'Eurostile SR', sans-serif;
}
.language-switch button[aria-pressed="true"],
.language-switch button:hover { color: #eee2ff; border-color: var(--sr-line); background: #a673f519; }

@media (min-width: 721px) {
  .compact-topbar > .top-nav {
    position: static;
    transform: none;
    margin-inline-start: auto;
    gap: clamp(12px, 3vw, 40px);
  }
  .compact-topbar .language-switch { margin-inline-start: 12px; }
}

.compact-topbar .nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 1rem/1.2 'Bebas SR', var(--font-head);
  letter-spacing: .02em;
  text-transform: uppercase;
}

.legal-hero h1 em,
.legal-document h2,
.legal-document a,
.legal-document .legal-placeholder { color: var(--gold-bright); }
.legal-document {
  border-color: var(--sr-line);
  background: linear-gradient(145deg, #21172e, #171021);
}
.legal-document .legal-notice {
  border-left-color: #a678f2;
  background: #a673f514;
  color: #e2d5ee;
}
.legal-document a { text-decoration-color: #b48aec80; }

@media (max-width: 720px) {
  .compact-topbar .nav-link { justify-content: flex-start; }
}

.topbar.compact-topbar {
  background: #171322ad;
  backdrop-filter: blur(10px);
  border-bottom-color: #b48aec55;
}

.compact-topbar .nav-link:not(.active):not(:hover) { color: #d0c3e4; }

.page-home .home-hero { min-height: clamp(320px, 49vh, 490px); }
.page-home .home-hero-content { padding: clamp(44px, 7vw, 82px) 0; }
.page-home .quick-start { margin-bottom: 0; }
.page-home .gameplay-section > article:first-child { border-top: 0; }

.compact-topbar .language-switch { display: block; position: relative; }
.language-switch summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 6px;
  color: #eee2ff;
  cursor: pointer;
  list-style: none;
  font: 700 .95rem 'Bebas SR', var(--font-head);
}
.language-switch summary::-webkit-details-marker { display: none; }
.language-switch summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: translateY(-2px) rotate(45deg);
}
.language-switch[open] summary::after { transform: translateY(2px) rotate(225deg); }
.language-options {
  position: absolute;
  z-index: 5;
  top: calc(100% + 12px);
  right: 0;
  width: 168px;
  padding: 8px;
  border: 1px solid var(--sr-line);
  border-radius: 10px;
  background: #171322;
  box-shadow: 0 12px 26px #09051280;
}
.language-caption { display: block; padding: 5px 8px 8px; color: #bcb1cd; font-size: .75rem; }
.language-options button {
  display: flex;
  justify-content: space-between;
  width: 100%;
  text-align: left;
}
.language-options button[aria-pressed="true"]::after { content: "✓"; color: #c5a5ff; }

.topbar.compact-topbar { align-items: center; }
.compact-topbar > .language-switch { align-self: center; flex-shrink: 0; }
.compact-topbar .language-switch summary { min-height: 40px; line-height: 1; }
@media (min-width: 721px) {
  .compact-topbar > .top-nav { gap: clamp(8px, 2vw, 24px); }
}
.game-online {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid var(--sr-line);
  border-radius: 8px;
  background: #a673f519;
  color: #e9d7ff;
  font-variant-numeric: tabular-nums;
}
.page-shop .order-section { display: block; }
.page-shop .order-title { margin-bottom: 20px; }
.page-shop .order-form { max-width: 720px; }
.page-shop .bp-goldpass-visual > img {
  inset: 0;
  margin: auto;
  width: 90% !important;
  height: 74% !important;
  object-fit: contain !important;
  filter: none !important;
}
.page-shop .bp-level30-visual::before { background: none; }
.page-shop .bp-level30-emblem {
  background: linear-gradient(145deg, #54347c, #25153d);
  border-color: #aa86ec55;
}
.page-shop .bp-level30-emblem span,
.page-shop .bp-level30-emblem small { color: #eee2ff; text-shadow: none; }

.page-shop .catalog-toolbar .tab:not(.active)::after { background: transparent; }
.catalog-tab-icon {
  width: 26px;
  height: 24px;
  object-fit: contain;
  margin-inline-end: 6px;
  vertical-align: middle;
}
.page-shop .gold-card::before { display: none; }
.page-shop .gold-card .product-name strong { color: #eee2ff; }
.page-shop .gold-card .gold-art::before { display: none !important; }
.page-shop .gold-card .product-art.gold-art img {
  filter: none;
  transform: none;
}
.page-shop .bp-offer-card { overflow: hidden; border-radius: 12px; }
.page-shop .bp-offer-visual {
  background: radial-gradient(ellipse at center, #56347b, #201431 74%) !important;
}
.page-shop .bp-offer-visual::before,
.page-shop .bp-offer-visual::after { content: none; }
.page-shop .bp-level30-visual > img {
  inset: 0;
  margin: auto;
  width: 86% !important;
  height: 80% !important;
  object-fit: contain !important;
  opacity: 1;
  filter: none !important;
}
.page-shop .bp-goldpass-visual > img {
  width: min(65%, 172px) !important;
  height: auto !important;
}

/* Graphite surfaces and red controls across the site. */
:root {
  --gold: #bf3630;
  --gold-bright: #d94a43;
  --gold-dark: #a41414;
  --sr-orange: var(--gold);
  --sr-orange-hot: var(--gold-bright);
  --sr-orange-deep: var(--gold-dark);
  --sr-ink: #121212;
  --sr-panel: #1c1c1d;
  --sr-line: #ffffff1c;
  --line: #ffffff1c;
}
html, body { background: #121212; }
body::before { background: radial-gradient(ellipse at 50% 0%, #8c292326 0%, transparent 60%); }
html { scrollbar-color: #606063 #121212; }
::-webkit-scrollbar-thumb,
::-webkit-scrollbar-thumb:hover { background: #606063; border-color: #121212; }
.topbar.compact-topbar { background: #0d0d0eea; border-bottom-color: var(--line); }
.compact-topbar .wordmark span,
.compact-topbar .nav-link.active,
.compact-topbar .nav-link:hover,
.home-hero h1 em,
.download-hero h1 em,
.page-download .section-heading h2 em,
.page-download .community-copy h2 em,
.controls-feature-copy h2 em,
.page-shop .bp-offer-content h3 em,
.legal-hero h1 em,
.legal-document h2 { color: var(--gold-bright) !important; text-shadow: none; }
.compact-topbar .nav-link:not(.active):not(:hover) { color: #d2d2d4; }
.compact-topbar .nav-link.active,
.compact-topbar .nav-link:hover { color: #fff !important; }
.home-hero .hero-brand-accent { color: var(--gold-bright); }
.home-hero .hero-subtitle { color: #fff; }
.topbar .nav-link::after,
.eyebrow-line,
.catalog-toolbar .tab.active::after { background: var(--gold) !important; box-shadow: none; }
.catalog-toolbar .tab.active { background: #292929; border-color: var(--line) !important; box-shadow: inset 0 -2px var(--gold) !important; }
.platform-grid .platform-card,
.product-card,
.bp-offer-card,
.community-panel,
.community-aside,
.order-form,
.legal-document {
  background: #1b1b1c;
  border-color: var(--line);
  box-shadow: none;
}
.page-shop .bp-offer-visual { background: radial-gradient(ellipse at center, #36282a, #171717 76%) !important; }
.button-primary, .checkout-button:not(:disabled), .select-button,
.platform-link, .community-link {
  background: linear-gradient(#b6322d, #91231f) !important;
  border-color: #ca4b435c !important;
}
.button-primary:hover, .checkout-button:not(:disabled):hover, .select-button:hover,
.platform-link:hover, .community-link:hover { background: #a6312c !important; border-color: var(--gold-bright) !important; }
.language-options, .toast, .input-wrap, .modal { background: #171717 !important; border-color: var(--line) !important; }
.language-switch button[aria-pressed="true"], .language-switch button:hover,
.game-online, .page-download .download-note, .page-download .community-icon,
.legal-document .legal-notice { background: #ffffff0a; border-color: var(--line); color: #dedee0; }
.language-switch summary, .language-caption, .language-switch button,
.quick-start-steps p, .controls-feature-copy p { color: #c9c9cc; }
.language-options button[aria-pressed="true"]::after,
.page-shop .gold-card .product-name span,
.page-shop .gold-card .price,
.page-shop .gold-card .price small,
.page-shop .bp-offer-bottom strong,
.page-shop .bp-offer-bottom strong i { color: #ededee; }
.page-shop .gold-card .product-name strong { color: #fff; }
.page-shop .gold-card .price small,
.page-shop .bp-offer-bottom strong i { color: #ededee !important; }
.platform-grid .platform-card .platform-icon,
.page-download .download-note span,
.page-download .community-item > span,
.page-download .download-step-list > div > span,
.page-shop :is(.card-tag, .cart-total strong, .input-prefix, .cart-row-qty, .cart-remove, .form-step > span, .cart-empty > span, .safe-note span) { color: var(--gold-bright) !important; }
.page-download .community-icon svg { fill: var(--gold-bright); }
.site-shell :focus-visible { outline-color: var(--gold-bright); }
.page-shop .order-form .input-wrap:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px #ef465433; }
.tab-icon, .tab.active .tab-icon { background: #ffffff0a; color: var(--gold-bright) !important; }
.controls-feature-visual { background: #171717; border-color: var(--line); box-shadow: none; }
.game-online strong, .quick-start-steps a, .legal-document a { color: var(--gold-bright); }
.legal-document a { text-decoration-color: #ff788480; }
.page-shop .select-button.add-button.is-added { background: #303031 !important; border-color: var(--line) !important; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .language-switch[open] .language-options { animation: section-enter .18s ease-out; }
}

@media (max-width: 650px) {
  .quick-start-steps { grid-template-columns: minmax(0, 1fr); }
}
