/* Typeface and shared design tokens */
@font-face {
  font-family: Inter;
  src: url("../../ThemeMetinsah/fonts/inter-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Inter;
  src: url("../../ThemeMetinsah/fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
:root {
  --ink: #070706;
  --ink2: #100906;
  --panel: #15100b;
  --panel2: #21140c;
  --gold: #dfa43a;
  --gold2: #f5d474;
  --cream: #f5ecda;
  --muted: #a49d90;
  --line: rgba(223, 164, 58, 0.24);
  --lattice: url("../images/eastern-lattice.svg?v=2");
}
* {
  box-sizing: border-box;
}
html {
  background: var(--ink);
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(ellipse at 85% 0, rgba(94, 48, 16, 0.18), transparent 46%),
    var(--ink);
  color: var(--cream);
  font:
    14px/1.55 Inter,
    "Segoe UI",
    sans-serif;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
::selection {
  background: var(--gold);
  color: var(--ink2);
}
:focus-visible {
  outline: 2px solid var(--gold2);
  outline-offset: 3px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip {
  position: fixed;
  z-index: 1000;
  top: -70px;
  left: 12px;
  padding: 9px 15px;
  background: var(--gold2);
  color: var(--ink);
}
.skip:focus {
  top: 12px;
}
/* Shell, header and navigation */
.demo-strip {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 18px;
  border-bottom: 1px solid rgba(223, 164, 58, 0.18);
  background: #2a180b;
  color: #d7c5a7;
  font-size: 10px;
  letter-spacing: 0.025em;
}
.demo-strip strong {
  color: var(--gold2);
  letter-spacing: 0.12em;
}
.demo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #86bd2e;
  box-shadow: 0 0 10px #86bd2e;
}
.demo-strip button {
  margin-left: auto;
  padding: 3px 9px;
  border: 1px solid var(--line);
  background: none;
  color: var(--gold2);
  font-size: 10px;
}
.shell {
  max-width: 1640px;
  min-height: 100vh;
  margin: auto;
  border-inline: 1px solid rgba(223, 164, 58, 0.12);
  background: rgba(10, 7, 5, 0.97);
}
.header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 9px clamp(18px, 3vw, 48px);
  border-bottom: 1px solid var(--line);
  background: #0d0906;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  transition:
    transform 0.25s ease,
    filter 0.25s ease;
  transform-origin: top;
}
.brand:hover {
  transform: translateY(5px);
  filter: drop-shadow(0 0 10px rgba(223, 164, 58, 0.45));
}
.brand img {
  width: 48px;
  height: 61px;
  object-fit: contain;
}
.brand span {
  display: grid;
  gap: 1px;
}
.brand strong {
  font-size: 20px;
  line-height: 1.1;
}
.brand small {
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wallet {
  display: flex;
  min-height: 46px;
  border: 1px solid var(--line);
  background: #140d08;
}
.wallet span {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 13px;
  color: #c8bba4;
  font-size: 11px;
  white-space: nowrap;
}
.wallet span + span {
  border-left: 1px solid var(--line);
}
.wallet b {
  color: var(--gold2);
}
.wallet img,
.topup img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.topup {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 15px;
  border: 1px solid #e9bd63;
  background: linear-gradient(115deg, #bd7b21, #f3c967);
  color: #1b0e04;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}
.topup:hover,
.primary:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
}
.account-toggle {
  width: 46px;
  height: 46px;
  display: grid;
  align-content: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  background: #211309;
}
.account-toggle span {
  width: 17px;
  height: 1.5px;
  background: var(--gold2);
}
.navigation {
  min-height: 69px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 0 clamp(18px, 3vw, 48px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(#170e08, #110b07);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.2vw, 24px);
  min-width: 0;
  overflow: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar {
  display: none;
}
.nav-links a {
  position: relative;
  min-height: 68px;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0 8px;
  color: #b6a58e;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold2);
}
.nav-links a.active::after {
  position: absolute;
  right: 7px;
  bottom: 0;
  left: 7px;
  height: 2px;
  background: var(--gold);
  content: "";
}
.search {
  height: 43px;
  min-width: 255px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  background: #140d08;
}
.search > span {
  padding: 0 10px;
  color: #b69865;
  font-size: 20px;
}
.search input {
  width: 100%;
  min-width: 0;
  height: 41px;
  padding: 0 6px;
  border: 0;
  outline: 0;
  background: none;
  color: var(--cream);
  font-size: 12px;
}
.search button {
  height: 41px;
  padding: 0 15px;
  border: 0;
  border-left: 1px solid var(--line);
  background: #291a0e;
  color: var(--gold2);
  font-size: 11px;
  font-weight: 800;
}
main {
  min-height: 560px;
  padding: clamp(20px, 3vw, 46px) clamp(18px, 3vw, 48px) 72px;
  background: radial-gradient(
    circle at 98% 20%,
    rgba(92, 44, 14, 0.08),
    transparent 50%
  );
}
.eyebrow {
  display: block;
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.page-title {
  margin: 0;
  color: var(--cream);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}
.lede {
  max-width: 670px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.section-head h2 {
  margin: 0;
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: -0.045em;
}
.section-head a {
  color: var(--gold2);
  font-size: 11px;
  font-weight: 800;
}
/* Campaign hero and featured products */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(275px, 0.72fr);
  gap: 16px;
  margin-bottom: 39px;
}
.hero,
.offer {
  position: relative;
  height: clamp(325px, 29vw, 470px);
  overflow: hidden;
  border: 1px solid rgba(223, 164, 58, 0.34);
  background: #150c08;
}
.hero > img,
.offer > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero > img {
  object-position: center;
}
.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(
    90deg,
    rgba(10, 6, 3, 0.88),
    rgba(13, 7, 3, 0.3) 60%,
    transparent
  );
}
.hero-copy {
  position: absolute;
  z-index: 1;
  bottom: clamp(26px, 4vw, 54px);
  left: clamp(22px, 3vw, 46px);
  width: min(540px, calc(100% - 55px));
  padding-left: 18px;
  border-left: 2px solid var(--gold);
}
.hero-copy h1 {
  max-width: 520px;
  margin: 0 0 10px;
  font-size: clamp(32px, 3.2vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.06em;
}
.hero-copy p {
  max-width: 480px;
  margin: 0;
  color: #d7c7af;
  font-size: 13px;
}
.hero-controls {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  background: #180f09;
}
.hero-controls button {
  width: 38px;
  height: 38px;
  border: 0;
  background: none;
  color: var(--gold2);
  font-size: 18px;
}
.hero-controls button:hover {
  background: #42270c;
}
.hero-controls span {
  min-width: 58px;
  text-align: center;
  color: var(--cream);
  font-size: 10px;
}
.offer > img {
  object-position: right center;
  opacity: 0.82;
  transition: transform 0.4s ease;
}
.offer:hover > img {
  transform: translateX(-6px);
}
.offer::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(
    0deg,
    #130b06,
    rgba(19, 10, 4, 0.58) 45%,
    transparent 78%
  );
}
.offer .badge {
  position: absolute;
  z-index: 1;
  top: 19px;
  left: 19px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  background: #180f09;
  color: var(--gold2);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.12em;
}
.offer-copy {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 20px;
  left: 20px;
}
.offer-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(19px, 1.7vw, 27px);
  line-height: 1.25;
}
.offer-copy h2 em {
  color: var(--gold2);
  font-style: normal;
}
.offer-copy a {
  display: inline-block;
  padding: 10px 14px;
  border: 1px solid rgba(223, 164, 58, 0.48);
  color: var(--gold2);
  font-size: 10px;
  font-weight: 800;
}
/* Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #1b1009, #0e0a07 78%);
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 212, 116, 0.63);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.27);
}
.product-art,
.detail-art {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-image:
    var(--lattice),
    radial-gradient(
      ellipse at 50% 54%,
      rgba(175, 94, 22, 0.23),
      transparent 52%
    ),
    linear-gradient(145deg, #2a190d, #100c08);
  background-size:
    96px 96px,
    auto,
    auto;
  box-shadow:
    inset 0 0 0 7px rgba(9, 6, 4, 0.66),
    inset 0 0 0 8px rgba(223, 164, 58, 0.33);
}
.product-art {
  width: 100%;
  height: 215px;
  border: 0;
  border-bottom: 1px solid var(--line);
}
.product-art img {
  width: auto;
  max-width: 72%;
  height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 12px 15px #000);
  transition: transform 0.3s ease;
}
.product-card:hover .product-art img {
  transform: translateY(-7px) scale(1.04);
}
.product-body {
  min-height: 91px;
  padding: 17px 18px;
}
.product-body h3 {
  margin: 0 0 6px;
  font-size: 15px;
}
.product-body p {
  margin: 0;
  color: #b6a58e;
  font-size: 11px;
}
.product-foot {
  display: flex;
  align-items: stretch;
  height: 54px;
  border-top: 1px solid var(--line);
  background: #100a06;
}
.product-foot .cost {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  padding: 0 17px;
  color: var(--gold2);
  font-size: 13px;
  font-weight: 800;
}
.cost img {
  width: 17px;
  height: 17px;
}
.product-foot button {
  min-width: 94px;
  border: 0;
  background: linear-gradient(115deg, #bb7b24, #e6b64f);
  color: #1b0e04;
  font-size: 11px;
  font-weight: 850;
}
.product-foot button:hover {
  filter: brightness(1.12);
}
.tag {
  position: absolute;
  top: 15px;
  left: 16px;
  z-index: 1;
  padding: 4px 7px;
  border: 1px solid rgba(223, 164, 58, 0.48);
  background: #1a1009;
  color: var(--gold2);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
}
.empty {
  padding: 45px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}
/* Account pages and forms */
.account-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 22px;
}
.account-nav {
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #120b07;
}
.account-nav a {
  padding: 12px 13px;
  border: 1px solid transparent;
  color: #b7a58f;
  font-size: 12px;
  font-weight: 700;
}
.account-nav a:hover,
.account-nav a.active {
  border-color: var(--line);
  background: #2a1a0c;
  color: var(--gold2);
}
.panel {
  padding: clamp(20px, 2.5vw, 34px);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #21140c, #110b07);
}
.panel h2 {
  margin: 0 0 15px;
  font-size: 22px;
}
.panel p {
  color: var(--muted);
}
.character-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.character {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  background: #150f09;
}
.character img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.character strong {
  display: block;
  color: var(--cream);
}
.character span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.table-wrap {
  overflow-x: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
}
.data-table th,
.data-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 12px;
}
.data-table th {
  color: var(--gold2);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.data-table td {
  color: #d4c4ab;
}
.data-table img {
  width: 27px;
  height: 33px;
  object-fit: contain;
  vertical-align: middle;
}
.form-row {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}
.form-row label {
  color: var(--gold2);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.field {
  width: 100%;
  min-height: 45px;
  padding: 0 13px;
  border: 1px solid rgba(223, 164, 58, 0.31);
  border-radius: 0;
  background: #140d08;
  color: var(--cream);
}
.field:focus {
  border-color: var(--gold2);
}
.primary,
.secondary {
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid #dca645;
  background: linear-gradient(115deg, #bd7b21, #f3c967);
  color: #1b0e04;
  font-size: 11px;
  font-weight: 850;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}
.secondary {
  border-color: var(--line);
  background: #26190d;
  color: var(--gold2);
}
.secondary:hover {
  background: #3b250f;
}
.help {
  font-size: 11px;
  color: #9e8e77;
}
.notice {
  padding: 13px 15px;
  border-left: 2px solid var(--gold);
  background: #291a0d;
  color: #d8be94;
  font-size: 12px;
}
.provider-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 25px 0;
}
.provider {
  display: grid;
  place-items: center;
  min-height: 100px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #191109;
}
.provider img {
  max-width: 75%;
  max-height: 45px;
  object-fit: contain;
}
.provider:hover,
.provider.selected {
  border-color: var(--gold2);
  background: #29190b;
}
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}
.amount {
  padding: 17px;
  border: 1px solid var(--line);
  background: #160f09;
  color: var(--cream);
  text-align: left;
}
.amount strong,
.amount small {
  display: block;
}
.amount small {
  margin-top: 4px;
  color: var(--gold2);
}
.amount.selected {
  border-color: var(--gold2);
  background: #30200f;
}
.mini-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
.mini-item img {
  width: 42px;
  height: 52px;
  object-fit: contain;
}
.mini-item strong {
  flex: 1;
}
.mini-item button {
  margin-left: auto;
}
/* Footer and overlays */
.footer {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px clamp(18px, 3vw, 48px);
  border-top: 1px solid var(--line);
  background: #0d0906;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold2);
  font-weight: 800;
}
.footer-logo img {
  width: 25px;
  height: 34px;
  object-fit: contain;
}
.footer p {
  flex: 1;
  color: #8a7860;
  font-size: 10px;
}
.footer a {
  color: var(--gold2);
  font-size: 11px;
}
.drawer-backdrop,
.modal-backdrop {
  position: fixed;
  z-index: 50;
  inset: 0;
  background: rgba(1, 1, 1, 0.76);
  backdrop-filter: blur(5px);
}
.drawer {
  position: fixed;
  z-index: 51;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 100vw);
  padding: 24px;
  border-left: 1px solid var(--line);
  background: #160e08;
  transform: translateX(105%);
  transition: transform 0.25s ease;
}
.drawer.open {
  transform: translateX(0);
}
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gold2);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
}
.drawer-head button,
.modal-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: #27170c;
  color: var(--gold2);
  font-size: 23px;
}
.drawer-profile {
  display: flex;
  gap: 15px;
  align-items: center;
  margin: 24px 0;
  padding: 16px;
  border: 1px solid var(--line);
}
.drawer-profile img {
  width: 55px;
  height: 55px;
  object-fit: contain;
}
.drawer-profile small,
.drawer-profile strong,
.drawer-profile span {
  display: block;
}
.drawer-profile small {
  color: var(--gold);
  font-size: 9px;
}
.drawer-profile strong {
  font-size: 15px;
}
.drawer-profile span {
  color: var(--muted);
  font-size: 11px;
}
.drawer nav {
  display: grid;
  gap: 6px;
}
.drawer nav a {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  border: 1px solid var(--line);
  color: #d5c4a9;
  font-size: 12px;
}
.drawer nav a:hover {
  background: #2c1b0d;
  color: var(--gold2);
}
.drawer-logout {
  width: 100%;
  margin-top: 22px;
  padding: 10px;
  border: 1px solid var(--line);
  background: none;
  color: var(--muted);
  font-size: 11px;
}
.modal-backdrop {
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 16px;
}
.modal {
  position: relative;
  width: min(850px, 100%);
  max-height: 90vh;
  overflow: auto;
  border: 1px solid rgba(223, 164, 58, 0.5);
  background: #190f09;
  box-shadow: 0 30px 80px #000;
}
.modal-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1fr);
}
.detail-art {
  min-height: 405px;
  border-right: 1px solid var(--line);
}
.detail-art img {
  max-width: 75%;
  max-height: 240px;
  object-fit: contain;
  filter: drop-shadow(0 16px 18px #000);
}
.detail-copy {
  padding: 42px 34px 30px;
}
.detail-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
}
.detail-copy p {
  color: var(--muted);
  font-size: 12px;
}
.detail-tabs {
  display: flex;
  gap: 5px;
  margin-top: 21px;
  border-bottom: 1px solid var(--line);
}
.detail-tabs button {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-bottom: 0;
  background: #160e08;
  color: var(--muted);
  font-size: 11px;
}
.detail-tabs button.active {
  background: #302012;
  color: var(--gold2);
}
.detail-pane {
  min-height: 68px;
  padding: 14px;
  border: 1px solid var(--line);
  border-top: 0;
  color: #d2c1a6;
  font-size: 12px;
}
.qty-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 22px 0;
  padding: 18px 0;
  border-block: 1px solid var(--line);
}
.qty-row > span {
  margin-right: 8px;
  color: var(--muted);
  font-size: 11px;
}
.qty-row button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: #140d08;
  color: var(--cream);
}
.qty-row button.active {
  border-color: var(--gold2);
  background: #39250f;
  color: var(--gold2);
}
.detail-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 11px;
}
.detail-total strong {
  color: var(--gold2);
  font-size: 21px;
}
.detail-copy > .primary {
  width: 100%;
}
.modal-message {
  padding: 38px 32px;
  text-align: center;
}
.modal-message .symbol {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 15px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold2);
  font-size: 30px;
}
.modal-message h2 {
  margin: 0;
  font-size: 25px;
}
.modal-message p {
  max-width: 480px;
  margin: 10px auto 22px;
  color: var(--muted);
}
.modal-message .button-row {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.toast {
  position: fixed;
  z-index: 70;
  right: 20px;
  bottom: 20px;
  max-width: 340px;
  padding: 13px 17px;
  border: 1px solid var(--gold);
  background: #241608;
  color: var(--cream);
  box-shadow: 0 15px 40px #000;
  font-size: 12px;
}
/* Responsive layout */
@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(250px, 0.8fr);
  }
}
@media (max-width: 760px) {
  .demo-strip {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .demo-strip button {
    margin-left: 0;
  }
  .header {
    min-height: 78px;
  }
  .wallet {
    display: none;
  }
  .navigation {
    display: grid;
    gap: 0;
    padding-top: 10px;
  }
  .search {
    grid-row: 1;
    width: 100%;
    min-width: 0;
  }
  .nav-links {
    grid-row: 2;
  }
  .nav-links a {
    min-height: 51px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    height: 340px;
  }
  .offer {
    height: 220px;
  }
  .account-layout {
    grid-template-columns: 1fr;
  }
  .account-nav {
    display: flex;
    overflow: auto;
    white-space: nowrap;
  }
  .provider-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer {
    flex-wrap: wrap;
  }
  .footer p {
    flex-basis: 100%;
    order: 3;
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .detail-art {
    min-height: 195px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .detail-art img {
    max-height: 150px;
  }
  .detail-copy {
    padding: 25px 20px 22px;
  }
}
@media (max-width: 520px) {
  .header {
    flex-wrap: wrap;
    gap: 5px;
    padding-top: 9px;
    padding-bottom: 10px;
  }
  .brand img {
    width: 37px;
    height: 49px;
  }
  .brand strong {
    font-size: 16px;
  }
  .header-actions {
    margin-left: auto;
  }
  .topup {
    min-height: 39px;
    padding: 0 8px;
    font-size: 9px;
  }
  .topup img {
    width: 15px;
    height: 15px;
  }
  .account-toggle {
    width: 39px;
    height: 39px;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-art {
    height: 190px;
  }
  .product-art img {
    height: 120px;
  }
  .hero {
    height: 305px;
  }
  .hero-copy h1 {
    font-size: 29px;
  }
  .hero-copy p {
    font-size: 11px;
  }
  .hero-controls {
    right: 10px;
    bottom: 10px;
  }
  .amount-grid {
    grid-template-columns: 1fr;
  }
  .provider-grid {
    grid-template-columns: 1fr;
  }
  .detail-copy h2 {
    font-size: 24px;
  }
  .modal-message .button-row {
    flex-direction: column;
  }
}
/* Later mobile-header overrides keep the wallet visible at narrow widths. */
@media (max-width: 760px) {
  .header {
    flex-wrap: wrap;
  }
  .brand {
    flex: 1 1 100%;
  }
  .header-actions {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 6px;
  }
  .wallet {
    display: flex;
    min-height: 39px;
    flex: 1 1 auto;
    min-width: 0;
  }
  .wallet span {
    min-width: 0;
    flex: 1 1 50%;
    justify-content: center;
    gap: 3px;
    padding: 0 4px;
    font-size: 10px;
  }
  .wallet img {
    width: 14px;
    height: 14px;
  }
  .topup {
    min-height: 39px;
    flex: 0 0 auto;
  }
  .account-toggle {
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
  }
}
@media (max-width: 390px) {
  .topup span:nth-of-type(1) {
    max-width: 82px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .wallet span {
    font-size: 9px;
  }
  .topup {
    gap: 5px;
    padding: 0 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
/* Voting and wheel pages */
.vote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 30px;
}
.vote-provider {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  background: #130c08;
  color: var(--cream);
  text-align: left;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}
.vote-provider:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}
.vote-provider > span:nth-child(2) {
  display: grid;
  gap: 4px;
  min-width: 0;
  flex: 1;
}
.vote-provider strong {
  overflow-wrap: anywhere;
  font-size: 12px;
}
.vote-provider small {
  color: var(--muted);
  font-size: 10px;
}
.vote-provider > span:last-child {
  color: var(--gold2);
}
.vote-symbol {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 1px solid var(--line);
  color: var(--gold2);
  font-size: 18px;
}
.wheel-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(250px, 0.7fr);
  gap: 18px;
}
.wheel-stage {
  text-align: center;
}
.wheel-pointer {
  display: block;
  position: relative;
  z-index: 1;
  margin: 0 auto -7px;
  color: var(--gold2);
  font-size: 24px;
}
.wheel-disc {
  position: relative;
  display: grid;
  place-items: center;
  width: min(360px, 80vw);
  aspect-ratio: 1;
  margin: 0 auto 24px;
  border: 11px solid #6d3c12;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 22.5deg,
    #c69135 0deg 45deg,
    #271507 45deg 90deg
  );
  box-shadow:
    0 0 0 2px var(--gold),
    0 15px 45px #000,
    inset 0 0 0 4px #100906;
  transform: rotate(0);
  transition: transform 2.5s cubic-bezier(0.15, 0.75, 0.18, 1);
}
.wheel-disc::after {
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(255, 224, 151, 0.65);
  border-radius: 50%;
  content: "";
}
.wheel-disc.spinning {
  transform: rotate(1800deg);
}
.wheel-center {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 3px solid var(--gold2);
  border-radius: 50%;
  background: #180d06;
  color: var(--gold2);
  font:
    700 43px/1 Georgia,
    serif;
  box-shadow: 0 0 23px #000;
}
.wheel-stage .primary {
  min-width: 185px;
}
.wheel-aside {
  align-self: start;
}
.wheel-prizes {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}
.wheel-prizes > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: #100b07;
  color: #d8c6aa;
  font-size: 12px;
}
.wheel-prizes img {
  width: 39px;
  height: 44px;
  object-fit: contain;
}
@media (max-width: 900px) {
  .vote-grid {
    grid-template-columns: 1fr;
  }
  .wheel-layout {
    grid-template-columns: 1fr;
  }
}
