:root {
  color-scheme: dark;
  --ink: #f3efe4;
  --muted: #b7ad99;
  --line: rgba(221, 194, 125, 0.18);
  --paper: #100f0d;
  --panel: #191713;
  --mint: #22483c;
  --green: #2f8f6b;
  --green-dark: #9fe0bd;
  --yellow: #e5bd58;
  --rose: #a44c4c;
  --blue: #5aa6b5;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(229, 189, 88, 0.04), transparent 280px),
    radial-gradient(circle at top left, rgba(47, 143, 107, 0.12), transparent 340px),
    var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

button,
a {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 5vw, 64px);
  background: rgba(16, 15, 13, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.promo-bar {
  position: sticky;
  top: 75px;
  z-index: 9;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-bottom: 1px solid rgba(229, 189, 88, 0.25);
  background: linear-gradient(90deg, #34230f, #1b3129, #34230f);
  color: white;
  padding: 8px clamp(18px, 5vw, 64px);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.promo-bar strong {
  color: var(--yellow);
}

.promo-bar button {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  cursor: pointer;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
}

.promo-bar button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.promo-bar small {
  min-width: 42px;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 800;
}

.brand-wrap {
  position: relative;
}

.menu-toggle {
  display: grid;
  gap: 5px;
  width: 42px;
  height: 42px;
  place-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--yellow);
}

.site-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 20;
  display: none;
  min-width: 190px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #181612;
  box-shadow: var(--shadow);
}

.site-menu.is-open {
  display: grid;
}

.site-menu a {
  padding: 12px 14px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.site-menu a:hover {
  background: rgba(229, 189, 88, 0.1);
  color: var(--yellow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: white;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small,
.eyebrow,
.product-meta,
.cart-summary p {
  color: var(--muted);
}

.brand small {
  margin-top: 2px;
  font-size: 12px;
}

.cart-toggle,
.hero-action,
.checkout-button {
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #c79934, #2f8f6b);
  color: #fff8df;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-picker {
  position: relative;
}

.language-current,
.language-menu button {
  display: grid;
  width: 48px;
  height: 34px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  padding: 0;
}

.language-current img,
.language-menu img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 20;
  display: none;
}

.language-menu.is-open {
  display: block;
}

.language-menu button:hover {
  outline: 2px solid rgba(229, 189, 88, 0.42);
}

.cart-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 10px;
}

.cart-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.cart-toggle span {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: var(--yellow);
  color: #17110a;
  font-size: 13px;
}

.hero {
  min-height: 520px;
  display: grid;
  align-items: center;
  padding: clamp(42px, 8vw, 92px) clamp(18px, 5vw, 64px);
  background:
    linear-gradient(90deg, rgba(16, 15, 13, 0.98) 0%, rgba(16, 15, 13, 0.82) 52%, rgba(16, 15, 13, 0.48) 100%),
    url("assets/spielgeld-50.png") right 10% center / min(660px, 58vw) auto no-repeat,
    linear-gradient(135deg, #17110b, #1d332b 58%, #2b1717);
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--yellow);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 560px;
  color: #cfc5af;
  font-size: 18px;
  line-height: 1.7;
}

.hero-action,
.checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
}

.shop-layout {
  padding: clamp(42px, 7vw, 80px) clamp(18px, 5vw, 64px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 26px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.bundle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 22px;
}

.bundle-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 58px;
  padding: 10px 14px;
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  box-shadow: 0 12px 32px rgba(34, 50, 43, 0.07);
}

.bundle-card.is-active {
  border-color: rgba(229, 189, 88, 0.5);
  background: linear-gradient(180deg, #211b12 0%, #18231d 100%);
}

.bundle-card:hover {
  border-color: rgba(229, 189, 88, 0.5);
}

.bundle-label {
  width: auto;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(229, 189, 88, 0.12);
  color: var(--yellow);
  font-size: 11px;
  font-weight: 800;
}

.bundle-card > strong {
  font-size: 17px;
  white-space: nowrap;
}

.bundle-card small {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.product-bundle-note {
  width: max-content;
  max-width: 100%;
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(159, 224, 189, 0.1);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #0c0b09;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery {
  position: absolute;
  right: auto;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 24px auto 24px;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  padding: 4px;
  background: rgba(24, 32, 36, 0.34);
  color: white;
  opacity: 0.72;
  backdrop-filter: blur(10px);
  transition: opacity 160ms ease, background 160ms ease;
}

.product-media:hover .product-gallery {
  background: rgba(24, 32, 36, 0.54);
  opacity: 1;
}

.product-gallery button {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: white;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

.product-gallery button:hover {
  background: rgba(255, 255, 255, 0.18);
}

.product-gallery span {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
}

.product-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.product-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.product-title-row h3 {
  margin-bottom: 4px;
  font-size: 20px;
}

.price {
  white-space: nowrap;
  color: var(--yellow);
  font-weight: 800;
}

.product-meta {
  min-height: 44px;
  line-height: 1.55;
}

.product-actions {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 10px;
}

.quantity {
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  background: #11100d;
  color: var(--ink);
}

.add-button {
  min-width: 0;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--yellow);
  color: #1d1507;
  cursor: pointer;
  font-weight: 800;
}

.reviews-section {
  margin-top: clamp(42px, 7vw, 76px);
}

.info-section {
  padding: 0 clamp(18px, 5vw, 64px) clamp(42px, 7vw, 80px);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.info-card,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.info-card h3,
.info-card p {
  margin-bottom: 0;
}

.info-card p {
  margin-top: 8px;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.rating-summary {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(320px, 1.2fr);
  gap: 28px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.rating-score {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-right: 24px;
  border-right: 1px solid var(--line);
}

.rating-score > strong {
  color: var(--yellow);
  font-size: clamp(54px, 8vw, 76px);
  line-height: 0.9;
}

.rating-score p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.rating-score b {
  color: var(--ink);
}

.rating-bars {
  display: grid;
  gap: 10px;
}

.rating-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 12px;
  align-items: center;
}

.rating-row span,
.rating-row b {
  font-size: 14px;
  font-weight: 800;
}

.rating-row span {
  color: var(--ink);
}

.rating-row b {
  color: var(--muted);
  text-align: right;
}

.rating-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.rating-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--yellow), var(--green));
}

.rating-trust {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.review-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.review-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.review-card__top strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.verified {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(159, 224, 189, 0.1);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.stars {
  color: var(--yellow);
  font-size: 18px;
  line-height: 1;
}

.review-card h3 {
  margin-bottom: 0;
  font-size: 18px;
}

.review-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.cart-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 30;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(420px, 100vw);
  transform: translateX(100%);
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: transform 180ms ease;
}

.cart-panel.is-open {
  transform: translateX(0);
}

.cart-panel__header,
.cart-summary {
  padding: 22px;
}

.cart-panel__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.icon-button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.cart-items {
  overflow: auto;
  padding: 18px 22px;
}

.empty-cart {
  color: var(--muted);
}

.cart-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 74px;
  height: 74px;
  border-radius: 8px;
  object-fit: cover;
}

.cart-item h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.cart-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.cart-item__details {
  min-width: 0;
}

.cart-item__side {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.cart-item__side strong {
  color: var(--yellow);
  font-size: 15px;
  white-space: nowrap;
}

.cart-quantity {
  display: grid;
  grid-template-columns: 34px 54px 34px;
  width: max-content;
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #11100d;
}

.cart-quantity button,
.cart-quantity input {
  width: 100%;
  height: 34px;
  border: 0;
  background: #11100d;
  color: var(--ink);
  text-align: center;
}

.cart-quantity button {
  cursor: pointer;
  font-weight: 800;
}

.cart-quantity button:hover {
  background: rgba(229, 189, 88, 0.12);
}

.cart-quantity input {
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  font-weight: 700;
}

.remove-button {
  border: 0;
  background: transparent;
  color: #9d4038;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  padding: 0;
}

.cart-summary {
  border-top: 1px solid var(--line);
}

.cart-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.cart-summary strong {
  font-size: 22px;
}

.cart-summary__total {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.checkout-button {
  width: 100%;
}

.checkout-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  background: rgba(24, 32, 36, 0.35);
}

.overlay.is-open {
  display: block;
}

.checkout-dialog {
  width: min(980px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: var(--panel);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.checkout-dialog form {
  padding: 28px;
}

.checkout-form {
  max-height: calc(100vh - 32px);
  overflow: auto;
}

.dialog-close {
  float: right;
}

.checkout-dialog::backdrop {
  background: rgba(24, 32, 36, 0.45);
}

.payment-dialog,
.confirmation-dialog {
  width: min(560px, calc(100vw - 32px));
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 16px;
  margin: 22px 0;
}

.checkout-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #14120f;
}

.checkout-section h3 {
  margin-bottom: 14px;
  font-size: 18px;
}

.checkout-overview {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-grid label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.form-grid input {
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #11100d;
  color: var(--ink);
  font-size: 15px;
}

.full-width {
  grid-column: 1 / -1;
}

.shipping-option,
.payment-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0f0e0b;
  cursor: pointer;
}

.shipping-option + .shipping-option,
.payment-option + .payment-option {
  margin-top: 10px;
}

.shipping-option input,
.payment-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.shipping-option span,
.shipping-option small,
.payment-option span,
.payment-option small {
  display: block;
}

.shipping-option small,
.payment-option small {
  margin-top: 3px;
  color: var(--muted);
}

.shipping-option b {
  color: var(--yellow);
  white-space: nowrap;
}

.payment-option {
  grid-template-columns: auto minmax(0, 1fr);
}

.payment-summary {
  margin: 16px 0;
}

.payment-summary div,
.confirmation-box div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.payment-summary strong,
.confirmation-box strong {
  color: var(--yellow);
}

.payment-summary p {
  margin: 10px 0 0;
  color: var(--muted);
}

.confirmation-copy {
  color: var(--muted);
  line-height: 1.6;
}

.confirmation-box {
  display: grid;
  gap: 12px;
  margin: 20px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #14120f;
}

.confirmation-box span {
  color: var(--muted);
}

.checkout-line,
.checkout-overview dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.checkout-line {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.checkout-line strong {
  color: var(--ink);
  white-space: nowrap;
}

.checkout-overview dl {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.checkout-overview dt {
  color: var(--muted);
}

.checkout-overview dd {
  margin: 0;
  font-weight: 800;
}

.checkout-total {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.checkout-total dd {
  color: var(--green-dark);
  font-size: 22px;
}

.tracking-note,
.checkout-success {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.checkout-success {
  min-height: 24px;
  margin-top: 12px;
  color: var(--green-dark);
  font-weight: 800;
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-bottom: 300px;
    background:
      linear-gradient(180deg, rgba(16, 15, 13, 0.97) 0%, rgba(16, 15, 13, 0.88) 58%, rgba(16, 15, 13, 0.35) 100%),
      url("assets/spielgeld-50.png") center bottom 24px / min(420px, 86vw) auto no-repeat,
      linear-gradient(135deg, #17110b, #1d332b 58%, #2b1717);
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .bundle-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .rating-summary {
    grid-template-columns: 1fr;
  }

  .rating-score {
    padding-right: 0;
    padding-bottom: 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .checkout-overview {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 540px) {
  .site-header {
    align-items: stretch;
    flex-direction: column;
  }

  .header-actions {
    justify-content: space-between;
  }

  h1 {
    font-size: 40px;
  }

  .product-actions {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .cart-item img {
    width: 64px;
    height: 64px;
  }

  .cart-item__side {
    grid-column: 2;
    justify-items: start;
  }

  .checkout-dialog form {
    padding: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .shipping-option {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .shipping-option b {
    grid-column: 2;
  }
}
