@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
  --bg-color: #0a0a0b;
  --text-color: #e4e4e6;
  --gold: #d4af37;
  --gold-hover: #f1cf5b;
  --dark-gold: #9e8226;
  --card-bg: #141518;
  --border-color: #27282b;
  --header-bg: rgba(10, 10, 11, 0.95);
  --header-offset: 118px;
  --nav-drawer-top: 118px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

img, video {
  max-width: 100%;
  height: auto;
}

body.inner-page {
  padding-top: var(--header-offset);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h1, h2, h3, h4, h5, h6, .serif {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--gold);
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--gold);
  color: var(--bg-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: all 0.4s ease;
  font-size: 0.9rem;
}

.btn:hover {
  background-color: transparent;
  color: var(--gold);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--gold);
}

.btn-outline:hover {
  background-color: var(--gold);
  color: var(--bg-color);
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  transition: box-shadow 0.3s ease;
}

/* Museum: exhibit anchor targets sit below fixed header */
[id^="exhibit-"] {
  scroll-margin-top: calc(var(--header-offset) + 20px);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 30px 14px;
}

.header-row-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.header-top-right {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.header-row-bottom {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.header-search-wrap {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
}

.header-search-wrap .search-wrapper {
  flex: 1 1 auto;
  max-width: 420px;
  width: 100%;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 15px 30px;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  font-size: 1.8rem;
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
}
.logo-sub {
  font-family: 'Lato', sans-serif;
  font-size: 0.6rem;
  color: #ccc;
  letter-spacing: 1px;
  font-weight: 400;
  margin-top: 6px;
  text-transform: uppercase;
}

/* Search */
.search-wrapper {
  position: relative;
  flex: 0 1 300px;
  width: 100%;
}
.search-input {
  width: 100%;
  padding: 10px 15px 10px 35px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: #fff;
  font-family: 'Lato', sans-serif;
  outline: none;
  transition: border-color 0.3s ease;
}
.search-input:focus {
  border-color: var(--gold);
}
.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
}
.autocomplete-results {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-top: 5px;
  display: none;
  flex-direction: column;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.autocomplete-results.active {
  display: flex;
}
.autocomplete-item {
  padding: 10px 15px;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: background 0.2s;
}
.autocomplete-item:hover {
  background: rgba(255,255,255,0.05);
  color: var(--gold);
}
.autocomplete-item:last-child {
  border-bottom: none;
}
.autocomplete-item-type {
  display: block;
  font-size: 0.7rem;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 5px;
}

.search-highlight {
  animation: searchHighlightPulse 2.2s ease 1 forwards;
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
@keyframes searchHighlightPulse {
  0% {
    outline-color: var(--gold);
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.45);
  }
  35% {
    outline-color: var(--gold-hover);
    box-shadow: 0 0 28px rgba(212, 175, 55, 0.2);
  }
  100% {
    outline-color: transparent;
    box-shadow: none;
  }
}

.product-card.search-hidden,
.product-card.filter-hidden,
.article-card.search-hidden,
.article-card.filter-hidden {
  display: none !important;
}

.shop-search-note {
  margin: 8px 0 0;
  font-size: 0.88rem;
  color: var(--gold);
  max-width: 420px;
  line-height: 1.45;
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}
nav a {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.nav-icons {
  display: flex;
  gap: 20px;
  font-size: 1.2rem;
  align-items: center;
}
.cart-icon {
  position: relative;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0;
  font-size: 1.2rem;
  line-height: 1;
}
.cart-icon:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--gold);
  color: var(--bg-color);
  font-size: 0.7rem;
  font-weight: bold;
  padding: 2px 6px;
  min-width: 18px;
  text-align: center;
  border-radius: 10px;
}
.cart-count[hidden] {
  display: none !important;
}
.burger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
}

@media (max-width: 1055px) {
  nav a {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
  }
  nav ul {
    gap: 15px;
  }
}

@media (max-width: 991px) {
  .burger { display: block; }
  .header-top-right {
    gap: 16px;
  }
  nav ul {
    position: fixed;
    top: var(--nav-drawer-top, 118px);
    right: -100%;
    width: min(280px, 88vw);
    height: calc(100vh - var(--nav-drawer-top, 118px));
    background: var(--header-bg);
    flex-direction: column;
    padding: 30px;
    border-left: 1px solid var(--border-color);
    transition: right 0.4s ease;
    z-index: 999;
    overflow-y: auto;
  }
  nav ul.active { right: 0; }
  .header-row-bottom {
    justify-content: stretch;
  }
  .header-search-wrap {
    max-width: none;
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 450px) {
  .logo {
    font-size: 1.45rem;
    letter-spacing: 1px;
  }
  .header-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Hero Section — full-bleed background (ignore global section max-width / margin) */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  margin-inline: 0;
  padding-top: var(--header-offset);
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 80px;
  box-sizing: border-box;
}
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.4;
  pointer-events: none;
}

.hero-video-fallback {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero .hero-video-bg {
    display: none !important;
  }
  .hero .hero-video-fallback {
    display: block !important;
  }
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(10,10,11,0.2), var(--bg-color));
  z-index: -1;
}
.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #ccc;
}
.hero.hero-short {
  min-height: 0;
  height: 60vh;
}

@media (max-width: 768px) {
  .hero-content h1 { font-size: 2.5rem; }
}

/* Sections */
section {
  padding: 80px 30px;
  max-width: 1400px;
  margin: 0 auto;
}
.section-title {
  font-size: 2.5rem;
  margin-bottom: 50px;
  text-align: center;
  color: var(--gold);
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 15px auto 0;
}

/* Product Cards */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 30px;
}
.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.1);
}
.product-badge {
  position: absolute;
  top: 15px; left: 15px;
  background: var(--gold);
  color: var(--bg-color);
  padding: 5px 10px;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  z-index: 2;
  border-radius: 4px;
}
.product-image {
  height: 350px;
  background-color: #000;
  position: relative;
  overflow: hidden;
}
.product-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.product-card:hover .product-image img {
  transform: scale(1.08);
}
.product-info {
  padding: 20px;
  text-align: center;
}
.product-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
}
.product-price {
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 15px;
}
.product-status {
  font-size: 0.8rem;
  color: #aaa;
  margin-bottom: 15px;
}

/* Articles */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 30px;
}
.article-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s ease;
}
.article-card:hover {
  border-color: var(--gold);
}
.article-img {
  height: 250px;
  overflow: hidden;
}
.article-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.article-card:hover .article-img img {
  transform: scale(1.05);
}
.article-content {
  padding: 25px;
}
.article-date {
  color: #888;
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.article-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--gold);
}
.article-excerpt {
  color: #ccc;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* Single-article pages (article-*) */
.article-detail {
  padding-top: 30px;
  max-width: 780px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.article-detail .article-hero {
  width: 100%;
  max-width: 720px;
  margin: 0 auto 1.75rem;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
}

.article-detail .article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.article-detail .article-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.article-body {
  padding: 0;
  border: none;
  background: transparent;
}

.article-body p {
  color: #ccc;
  line-height: 1.88;
  margin-bottom: 1.1rem;
  font-size: 1.02rem;
}

.article-body h2 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--gold);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 2.25rem 0 0.85rem;
  line-height: 1.3;
}

.article-body h2:first-of-type {
  margin-top: 0.5rem;
}

/* Text heavy blocks */
.text-block {
  background: var(--card-bg);
  padding: 60px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  margin-bottom: 40px;
}
.text-block h3 {
  color: var(--gold);
  margin-bottom: 20px;
  font-size: 1.8rem;
}
.text-block p {
  margin-bottom: 15px;
  color: #ddd;
  line-height: 1.8;
}

/* Reviews Carousel */
.reviews-wrapper {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--card-bg);
}
.reviews-wrapper::-webkit-scrollbar {
  height: 6px;
}
.reviews-wrapper::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}
.review-card {
  min-width: min(85vw, 350px);
  background: var(--card-bg);
  padding: 30px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
}
.review-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.review-avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.review-author {
  color: var(--gold);
  font-weight: bold;
}
.review-stars {
  color: var(--gold);
  font-size: 0.8rem;
}

/* Newsletter */
.newsletter {
  background: linear-gradient(45deg, var(--card-bg), #1a1a1a);
  text-align: center;
  padding: 80px 30px;
  border: 1px solid var(--gold);
  border-radius: 8px;
}
.newsletter h2 {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 15px;
}
.newsletter p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #ccc;
}
.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1 1 200px;
  padding: 15px 20px;
  border: 1px solid var(--border-color);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border-radius: 4px 0 0 4px;
  outline: none;
}
.newsletter-form button {
  border-radius: 0 4px 4px 0;
  flex: 1 1 auto;
}

@media (max-width: 520px) {
  .newsletter-form {
    gap: 10px;
  }
  .newsletter-form input {
    border-radius: 4px;
  }
  .newsletter-form button {
    border-radius: 4px;
    width: 100%;
  }
}

.newsletter-thank-dialog {
  position: relative;
  border: 1px solid var(--gold);
  border-radius: 10px;
  padding: 2rem 2.25rem 1.75rem;
  background: var(--card-bg);
  color: var(--text-color);
  max-width: 90vw;
  width: min(400px, 100%);
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.newsletter-thank-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.newsletter-dialog-title {
  color: var(--gold);
  font-size: 1.75rem;
  margin: 0 0 0.75rem;
}

.newsletter-dialog-text {
  color: #ccc;
  line-height: 1.55;
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
}

.newsletter-dialog-ok {
  min-width: 120px;
}

.newsletter-dialog-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: #888;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
}

.newsletter-dialog-close:hover,
.newsletter-dialog-close:focus-visible {
  color: var(--gold);
  outline: none;
}

/* Footer */
footer {
  background: #050505;
  border-top: 1px solid var(--border-color);
  padding: 60px 30px 20px;
  margin-top: 60px;
}

.footer-contact-row {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 440px);
  gap: 36px;
  align-items: stretch;
  max-width: 1400px;
  margin: 0 auto 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
}
.footer-contact-heading {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 1.2rem;
  margin: 0 0 18px;
}
.footer-address,
.footer-phone-line {
  color: #c8c8cc;
  line-height: 1.65;
  margin: 0 0 14px;
  font-size: 0.95rem;
}
.footer-address i,
.footer-phone-line i {
  color: var(--gold);
  margin-right: 10px;
  width: 1.1rem;
}
.footer-phone-line a {
  color: var(--text-color);
}
.footer-phone-line a:hover {
  color: var(--gold);
}
.footer-map-wrap {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  min-height: 220px;
}
.footer-map-wrap iframe {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
  vertical-align: top;
}

@media (max-width: 768px) {
  .footer-contact-row {
    grid-template-columns: 1fr;
  }
  .footer-map-wrap iframe {
    height: 200px;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto 40px;
}
.footer-col h4 {
  color: var(--gold);
  margin-bottom: 20px;
  font-size: 1.2rem;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col a {
  color: #aaa;
}
.footer-col a:hover {
  color: var(--gold);
}

.footer-payment-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 22px;
}
.footer-payment-badges__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.25rem;
  height: 2.25rem;
  padding: 0 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d8d8dc;
  font-size: 1.85rem;
  line-height: 1;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.footer-payment-badges__item:hover {
  color: var(--gold);
  border-color: rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.08);
}
.footer-payment-badges__item .fab {
  display: block;
}

.footer-gambling-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 32px;
  padding: 30px 20px;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  background: linear-gradient(90deg, #0a0a0b 0%, #161512 50%, #0a0a0b 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.footer-gambling-badges__link {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e0e0e0;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  line-height: 1.35;
  outline-offset: 4px;
  transition: all 0.3s ease;
}
.footer-gambling-badges__link:hover {
  color: var(--gold-hover);
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}
.footer-gambling-badges__link:focus-visible {
  outline: 2px solid var(--gold);
}
.footer-gambling-badges__link.age-restricted {
  border: 1px solid rgba(220, 60, 60, 0.8);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  letter-spacing: normal;
  margin-right: 6px;
  background: linear-gradient(135deg, #b32424 0%, #661010 100%);
  box-shadow: 
    0 4px 12px rgba(180, 40, 40, 0.25), 
    inset 0 1px 2px rgba(255, 255, 255, 0.25);
  color: #fff;
  cursor: default;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  position: relative;
  transition: all 0.3s ease;
}
.footer-gambling-badges__link.age-restricted::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  pointer-events: none;
}
.footer-gambling-badges__link.age-restricted:hover {
  border-color: #ff4d4d;
  color: #fff;
  background: linear-gradient(135deg, #cc2929 0%, #7a1212 100%);
  transform: scale(1.08) translateY(-2px);
  box-shadow: 
    0 6px 16px rgba(180, 40, 40, 0.4), 
    inset 0 1px 3px rgba(255, 255, 255, 0.35);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  color: #666;
  font-size: 0.9rem;
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Shop specific */
.shop-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 40px;
}
@media (max-width: 768px) {
  .shop-layout { grid-template-columns: 1fr; }
}
.filters {
  background: var(--card-bg);
  padding: 25px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  height: fit-content;
}
.filter-group {
  margin-bottom: 25px;
}
.filter-group h4 {
  color: var(--gold);
  margin-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 5px;
}
.filter-label {
  display: block;
  margin-bottom: 8px;
  color: #ccc;
  cursor: pointer;
}
.filter-label input {
  margin-right: 10px;
  accent-color: var(--gold);
}
.shop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.sort-select {
  background: var(--card-bg);
  color: #fff;
  border: 1px solid var(--border-color);
  padding: 8px 15px;
  border-radius: 4px;
  outline: none;
}

/* Product Detail Modal/View Placeholder */
.product-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
  gap: 20px;
}
.tab-btn {
  background: none;
  border: none;
  color: #888;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  padding: 10px 0;
  cursor: pointer;
  position: relative;
}
.tab-btn.active {
  color: var(--gold);
}
.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; width: 100%; height: 2px;
  background: var(--gold);
}
.tab-content {
  display: none;
  color: #ccc;
  line-height: 1.8;
}
.tab-content.active {
  display: block;
}

/* Standalone product pages (product-*) */
.product-page-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 30px 80px;
}
.product-page-breadcrumb {
  color: #888;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}
.product-page-breadcrumb a {
  color: var(--gold);
}
.product-page-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  background: var(--card-bg);
  padding: 40px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}
.product-page-gallery {
  flex: 1;
  min-width: min(100%, 280px);
}
.product-page-main-visual {
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}
.product-page-main-visual img {
  width: 100%;
  display: block;
  vertical-align: top;
}
.product-page-info {
  flex: 1;
  min-width: min(100%, 280px);
}
.product-page-title {
  font-size: 2.25rem;
  color: var(--gold);
  margin-bottom: 10px;
}
.product-page-price {
  font-size: 2rem;
  margin-bottom: 8px;
}
.product-page-lead {
  margin: 16px 0;
  color: #ccc;
  line-height: 1.75;
}
.product-page-status {
  color: #aaa;
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.product-page-cta {
  width: 100%;
  margin-bottom: 12px;
  padding: 15px;
  font-size: 1.05rem;
}
.product-page-cta-secondary {
  width: 100%;
  margin-bottom: 28px;
  padding: 15px;
}
.product-spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.product-spec-list li {
  margin-bottom: 10px;
}
.product-page-back {
  margin-top: 2rem;
  margin-bottom: 0;
}

/* Museum Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 2px; height: 100%;
  background: var(--gold);
  transform: translateX(-50%);
}
.timeline-item {
  position: relative;
  margin-bottom: 60px;
  width: 50%;
  padding: 0 40px;
}
.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}
.timeline-item:nth-child(even) {
  left: 50%;
}
.timeline-dot {
  position: absolute;
  top: 0;
  width: 20px; height: 20px;
  background: var(--bg-color);
  border: 4px solid var(--gold);
  border-radius: 50%;
}
.timeline-item:nth-child(odd) .timeline-dot { right: -10px; }
.timeline-item:nth-child(even) .timeline-dot { left: -10px; }
.timeline-content {
  background: var(--card-bg);
  padding: 20px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
}
.timeline-date {
  color: var(--gold);
  font-weight: bold;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .timeline::before { left: 20px; }
  .timeline-item { width: 100%; left: 0 !important; padding: 0 0 0 60px; text-align: left !important; }
  .timeline-dot { left: 10px !important; }
}

/* Contact Form */
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  color: #fff;
  border-radius: 4px;
  font-family: inherit;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-form-thankyou {
  display: none;
  margin-top: 18px;
  margin-bottom: 0;
  padding: 14px 16px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 6px;
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold);
  font-size: 0.98rem;
  text-align: center;
  line-height: 1.5;
}
.contact-form-thankyou.is-visible {
  display: block;
}

.account-guest-layout {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 960px;
  margin: 0 auto;
  justify-content: center;
}
/* display:flex above wins over [hidden] in the cascade — force hide when signed in */
#account-guest[hidden],
.account-guest-layout[hidden] {
  display: none !important;
}
.account-form-msg {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 0.9rem;
  line-height: 1.45;
}
.account-form-msg--error {
  background: rgba(180, 60, 60, 0.15);
  border: 1px solid rgba(220, 90, 90, 0.45);
  color: #f0a8a8;
}
.account-form-msg--success {
  background: rgba(80, 140, 90, 0.2);
  border: 1px solid rgba(120, 200, 130, 0.45);
  color: #b8e6bf;
}
.account-dashboard-panel {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

/* Legal / policy pages */
.legal-page {
  padding: calc(var(--header-offset) + 24px) 30px 80px;
  max-width: 820px;
  margin: 0 auto;
}

.play-with-us-page .play-with-us-section {
  margin-bottom: 2.5rem;
}
.play-with-us-page .play-with-us-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.play-with-us-page .play-with-us-section p {
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Play With Us — Gaming tips & articles */
.play-with-us-tips-section .play-with-us-tips__intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.25rem;
}
.play-with-us-tips-section .play-with-us-tips__intro h2 {
  margin-bottom: 0.85rem;
}
.play-with-us-tips__lead {
  color: #b0b0b8;
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0;
}

.play-with-us-tips__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  margin-bottom: 2.75rem;
}

.play-with-us-tip-card {
  margin: 0;
  padding: 1.35rem 1.25rem 1.4rem;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: linear-gradient(160deg, rgba(26, 24, 20, 0.9) 0%, rgba(12, 12, 16, 0.95) 100%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.play-with-us-tip-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}
.play-with-us-tip-card__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #eae8e4;
  margin: 0 0 0.65rem;
  line-height: 1.35;
}
.play-with-us-tip-card__text {
  color: #aaa;
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0;
}

.play-with-us-tips__journal {
  padding: 2rem 1.5rem 1.5rem;
  margin-bottom: 1.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(20, 21, 24, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.play-with-us-tips__journal-head {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.play-with-us-tips__journal-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  color: var(--gold);
  margin: 0 0 0.5rem;
  font-weight: 600;
}
.play-with-us-tips__journal-desc {
  margin: 0;
  color: #8e8e96;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.play-with-us-articles-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.play-with-us-article-card {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0c0c0f;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.play-with-us-article-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.play-with-us-article-card:hover .play-with-us-article-card__cta {
  color: var(--gold-hover);
}
.play-with-us-article-card__body {
  padding: 1.2rem 1.15rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.play-with-us-article-card__tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.9;
  margin-bottom: 0.45rem;
}
.play-with-us-article-card__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #eee;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}
.play-with-us-article-card__excerpt {
  font-size: 0.85rem;
  color: #94949c;
  line-height: 1.55;
  margin: 0 0 0.85rem;
  flex: 1;
}
.play-with-us-article-card__cta {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.25s ease;
}
.play-with-us-article-card__cta .fa-arrow-right {
  font-size: 0.65rem;
  transition: transform 0.25s ease;
}
.play-with-us-article-card:hover .play-with-us-article-card__cta .fa-arrow-right {
  transform: translateX(4px);
}

.play-with-us-tips__browse-all {
  text-align: center;
  margin: 1.35rem 0 0;
}
.play-with-us-tips__browse-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.play-with-us-tips__browse-link:hover {
  color: var(--gold-hover);
  border-color: rgba(241, 207, 91, 0.55);
}
.play-with-us-tips__browse-link .fa-arrow-right {
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}
.play-with-us-tips__browse-link:hover .fa-arrow-right {
  transform: translateX(4px);
}

.play-with-us-tips__support {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.25rem 1.35rem;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-left: 4px solid rgba(212, 175, 55, 0.55);
}
.play-with-us-tips__support-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.12);
  font-size: 1.1rem;
}
.play-with-us-tips__support-text {
  flex: 1;
  min-width: 0;
}
.play-with-us-tips__support-text p {
  margin: 0;
  color: #b8b8c0;
  font-size: 0.92rem;
  line-height: 1.65;
}
.play-with-us-tips__support-text a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.play-with-us-tips__support-text a:hover {
  color: var(--gold-hover);
}

@media (max-width: 768px) {
  .play-with-us-tips__grid {
    grid-template-columns: 1fr;
  }
  .play-with-us-articles-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .play-with-us-tips__journal {
    padding: 1.5rem 1rem 1.25rem;
  }
  .play-with-us-tip-card {
    padding: 1.15rem 1rem;
  }
}

.play-with-us-disclaimer {
  margin-top: 2rem;
  padding: 1.35rem 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.06);
}
.play-with-us-disclaimer h2 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--gold);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.play-with-us-disclaimer p {
  color: #bbb;
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0;
}

/* Collector slot (play-with-us) */
.collectible-slot {
  margin-top: 2rem;
  padding: 1.5rem 1.25rem 1.75rem;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: linear-gradient(165deg, rgba(30, 28, 22, 0.95) 0%, rgba(14, 14, 18, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 40px rgba(0, 0, 0, 0.45);
}
.collectible-slot__title {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  text-align: center;
}
.collectible-slot__sub {
  text-align: center;
  color: #888;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}
.collectible-slot__machine {
  position: relative;
  padding: 12px 10px;
  border-radius: 10px;
  background: #060607;
  border: 2px solid rgba(212, 175, 55, 0.25);
}
.collectible-slot__payline {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.65), transparent);
  pointer-events: none;
  z-index: 2;
}
.collectible-slot__reels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  position: relative;
  z-index: 1;
}
.collectible-slot__reel {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #181820 0%, #0a0a0e 50%, #181820 100%);
  height: 140px;
  position: relative;
  box-shadow: inset 0 20px 20px -15px rgba(0, 0, 0, 0.9), inset 0 -20px 20px -15px rgba(0, 0, 0, 0.9);
}
.collectible-slot__reel-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.collectible-slot__points {
  text-align: center;
  color: #9a9a9e;
  font-size: 0.88rem;
  margin: 1.25rem 0 0.85rem;
}
.collectible-slot__spin {
  display: block;
  margin: 0 auto;
  min-width: 160px;
}
.collectible-slot__spin:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.collectible-slot__status {
  text-align: center;
  color: #aaa;
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.5;
  min-height: 2.75em;
}
.collectible-slot__status--win {
  color: #c8e6c9;
}
.collectible-slot__status--jackpot {
  color: var(--gold);
  font-weight: 700;
}

.slot-card {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.slot-card__icon {
  font-size: 5.5rem;
  line-height: 1;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
}
.slot-card__icon--text {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 2px;
  font-family: 'Playfair Display', Georgia, serif;
}

@media (max-width: 520px) {
  .collectible-slot__reel {
    height: 110px;
    min-height: auto;
  }
  .slot-card {
    height: 110px;
  }
  .slot-card__icon {
    font-size: 4.5rem;
  }
  .slot-card__icon--text {
    font-size: 1.5rem;
  }
}

.hidden {
  display: none !important;
}

/* Help chat widget (bottom-right) */
.help-chat__fab {
  position: fixed;
  z-index: 1205;
  right: 20px;
  bottom: max(18px, env(safe-area-inset-bottom, 0px));
  width: 58px;
  height: 58px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--bg-color);
  background: linear-gradient(145deg, #f0d060 0%, var(--gold) 40%, var(--dark-gold) 100%);
  box-shadow:
    0 4px 18px rgba(212, 175, 55, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.help-chat__fab:hover {
  transform: scale(1.06);
  box-shadow:
    0 6px 24px rgba(212, 175, 55, 0.55),
    0 4px 12px rgba(0, 0, 0, 0.4);
}
.help-chat__fab:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.help-chat--open .help-chat__fab {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.help-chat__panel {
  position: fixed;
  z-index: 1204;
  right: 20px;
  bottom: calc(58px + max(18px, env(safe-area-inset-bottom, 0px)) + 14px);
  display: flex;
  flex-direction: column;
  width: min(380px, calc(100vw - 32px));
  max-height: min(520px, calc(100vh - 100px));
  background: var(--card-bg);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  animation: help-chat-panel-in 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.help-chat__panel[hidden] {
  display: none !important;
}
@keyframes help-chat-panel-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .help-chat__panel {
    animation: none;
  }
}

.help-chat__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.12) 0%, transparent 100%);
  border-bottom: 1px solid var(--border-color);
}
.help-chat__header-text {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.help-chat__badge {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold);
  font-size: 1rem;
}
.help-chat__title {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #f2f0eb;
  line-height: 1.2;
}
.help-chat__subtitle {
  margin: 2px 0 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #888;
}
.help-chat__close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #999;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, background 0.2s ease;
}
.help-chat__close:hover {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.06);
}

.help-chat__messages {
  flex: 1;
  min-height: 200px;
  max-height: 340px;
  overflow-y: auto;
  padding: 14px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.help-chat__row {
  display: flex;
  width: 100%;
}
.help-chat__row--bot {
  justify-content: flex-start;
}
.help-chat__row--user {
  justify-content: flex-end;
}
.help-chat__bubble {
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #ddd;
}
.help-chat__bubble p {
  margin: 0 0 0.65em;
}
.help-chat__bubble p:last-child {
  margin-bottom: 0;
}
.help-chat__bubble a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.help-chat__bubble a:hover {
  color: var(--gold-hover);
}
.help-chat__bubble--bot {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-bottom-left-radius: 4px;
}
.help-chat__bubble--user {
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #f0ebe3;
  border-bottom-right-radius: 4px;
}

.help-chat__form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.2);
}
.help-chat__input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-color);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
}
.help-chat__input:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.5);
}
.help-chat__send {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 8px;
  background: var(--gold);
  color: var(--bg-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.help-chat__send:hover {
  background: var(--gold-hover);
}
.help-chat__send:active {
  transform: scale(0.96);
}

@media (max-width: 480px) {
  .help-chat__fab {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom, 0px));
    width: 54px;
    height: 54px;
  }
  .help-chat__panel {
    right: 14px;
    bottom: calc(54px + max(14px, env(safe-area-inset-bottom, 0px)) + 12px);
    width: calc(100vw - 28px);
    max-height: min(480px, calc(100vh - 96px));
  }
}

/* Cookie consent (fixed bottom-right) */
.cookie-banner {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1100;
  max-width: 400px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(
    155deg,
    rgba(30, 31, 36, 0.98) 0%,
    rgba(16, 17, 20, 0.99) 45%,
    rgba(12, 13, 15, 1) 100%
  );
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 4px 24px rgba(0, 0, 0, 0.35),
    0 28px 56px rgba(0, 0, 0, 0.55),
    0 0 100px rgba(212, 175, 55, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: cookie-banner-in 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.cookie-banner__glow {
  position: absolute;
  top: -40%;
  right: -30%;
  width: 70%;
  height: 80%;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.14) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.cookie-banner__inner {
  position: relative;
  padding: 26px 24px 20px;
}
.cookie-banner__inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 3px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 175, 55, 0.35),
    var(--gold),
    var(--dark-gold),
    rgba(212, 175, 55, 0.35),
    transparent
  );
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.25);
}
.cookie-banner__top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}
.cookie-banner__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.25) 0%, rgba(158, 130, 38, 0.12) 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold);
  font-size: 1.15rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.cookie-banner__headings {
  min-width: 0;
  padding-top: 2px;
}
.cookie-banner__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #f2f0eb;
  letter-spacing: 0.02em;
  line-height: 1.25;
  margin: 0 0 4px;
}
.cookie-banner__subtitle {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(212, 175, 55, 0.75);
  font-weight: 600;
}
.cookie-banner__text {
  margin: 0 0 18px;
  color: #b8b9bc;
  font-size: 0.9rem;
  line-height: 1.65;
}
.cookie-banner__text a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(212, 175, 55, 0.45);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.cookie-banner__text a:hover {
  color: var(--gold-hover);
  border-bottom-color: var(--gold-hover);
}
.cookie-banner__actions {
  display: flex;
  justify-content: stretch;
}
.cookie-banner__accept {
  width: 100%;
  padding: 13px 22px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}
.cookie-banner__accept:hover {
  box-shadow: 0 6px 28px rgba(212, 175, 55, 0.35);
}
@keyframes cookie-banner-in {
  from {
    opacity: 0;
    transform: translateX(20px) translateY(8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner {
    animation: none;
  }
}
@media (max-width: 520px) {
  .cookie-banner {
    right: 12px;
    left: 12px;
    bottom: 12px;
    max-width: none;
  }
  .cookie-banner__inner {
    padding: 20px 18px 18px;
  }
  .cookie-banner__title {
    font-size: 1.15rem;
  }
}

/* Cart drawer */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.cart-drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(440px, 100vw);
  height: 100vh;
  background: var(--card-bg);
  border-left: 1px solid var(--border-color);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
}
.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border-color);
}
.cart-drawer-header h2 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 1.35rem;
  margin: 0;
}

.cart-close {
  background: none;
  border: none;
  color: #aaa;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
}
.cart-close:hover {
  color: var(--gold);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
}

.cart-empty {
  color: #888;
  text-align: center;
  padding: 40px 16px;
  font-size: 1rem;
}

.cart-line {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
}
.cart-line-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  background: #000;
  flex-shrink: 0;
}
.cart-line-info {
  flex: 1;
  min-width: 0;
}
.cart-line-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 6px;
}
.cart-line-price {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.95rem;
}
.cart-line-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.cart-qty-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-color);
  background: var(--bg-color);
  color: var(--text-color);
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  transition: border-color 0.2s, color 0.2s;
}
.cart-qty-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.cart-qty-val {
  min-width: 28px;
  text-align: center;
  font-weight: 600;
}
.cart-remove {
  background: none;
  border: none;
  color: #888;
  font-size: 0.8rem;
  text-decoration: underline;
  cursor: pointer;
  margin-left: auto;
  padding: 0;
}
.cart-remove:hover {
  color: #c44;
}

.cart-drawer-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}
.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 1.1rem;
}
.cart-subtotal strong {
  color: var(--gold);
  font-size: 1.25rem;
}

.cart-checkout .cart-back {
  background: none;
  border: none;
  color: var(--gold);
  cursor: pointer;
  font-size: 0.9rem;
  margin-bottom: 8px;
  padding: 0;
}
.cart-checkout .cart-back:hover {
  text-decoration: underline;
}

.checkout-form label {
  display: block;
  font-size: 0.85rem;
  color: #aaa;
  margin-bottom: 6px;
  margin-top: 14px;
}
.checkout-form label:first-of-type {
  margin-top: 0;
}
.checkout-form input,
.checkout-form textarea,
.checkout-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: var(--bg-color);
  color: #fff;
  font-family: inherit;
}
.checkout-form input:focus,
.checkout-form textarea:focus,
.checkout-form select:focus {
  outline: none;
  border-color: var(--gold);
}

.cart-success-msg {
  text-align: center;
  padding: 48px 20px;
}
.cart-success-msg i {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 20px;
}
.cart-success-msg h3 {
  color: var(--gold);
  margin-bottom: 12px;
}

.btn-favorite {
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
  font-size: 1.15rem;
  padding: 4px;
  transition: color 0.2s, transform 0.2s;
}
.btn-favorite:hover,
.btn-favorite.is-fav {
  color: var(--gold);
}
.btn-favorite.is-fav i {
  font-weight: 900;
}
.legal-page h1 {
  font-size: 2.25rem;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.legal-meta {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}
.legal-page h2 {
  font-size: 1.35rem;
  color: var(--gold);
  margin: 2rem 0 0.85rem;
}
.legal-page h3 {
  font-size: 1.05rem;
  color: var(--text-color);
  margin: 1.25rem 0 0.5rem;
}
.legal-page p,
.legal-page li {
  color: #ccc;
  margin-bottom: 0.85rem;
}
.legal-page p.legal-meta {
  margin-bottom: 2.5rem;
}
.legal-page ul,
.legal-page ol {
  margin: 0 0 1rem 1.35rem;
}
.legal-page a {
  color: var(--gold);
}

/* Ultra-small screens (320px and below, targeting ~300px displays) */
@media (max-width: 360px) {
  .logo {
    font-size: 1.2rem;
    letter-spacing: 0;
  }
  .header-inner {
    padding: 10px 15px;
  }
  .header-top-right {
    gap: 10px;
  }
  .nav-icons {
    gap: 12px;
    font-size: 1.1rem;
  }
  .burger {
    font-size: 1.2rem;
  }
  nav ul {
    width: 85vw;
    padding: 20px 15px;
  }
  nav a {
    font-size: 0.8rem;
  }
  
  /* Base Layout */
  section, 
  .legal-page, 
  .hero {
    padding-left: 15px;
    padding-right: 15px;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 0.95rem;
  }
  
  /* Cards & Grid */
  .grid-4, 
  .grid-3, 
  .play-with-us-tips__grid, 
  .play-with-us-articles-row {
    gap: 15px;
  }
  
  /* Forms & Filters */
  .filters {
    padding: 15px;
  }
  .account-form-panel {
    padding: 20px 15px;
  }
  .sort-select {
    font-size: 0.8rem;
    padding: 6px 10px;
  }
  
  /* Play With Us Section */
  .play-with-us-page .play-with-us-hero__title {
    font-size: 1.8rem;
  }
  .play-with-us-hero__lead {
    font-size: 0.95rem;
  }
  .collectible-slot {
    padding: 1.25rem 0.85rem;
  }
  .collectible-slot__reel {
    height: 70px;
  }
  .slot-card {
    height: 70px;
  }
  .slot-card__icon {
    font-size: 2.8rem;
  }
  .slot-card__icon--text {
    font-size: 1rem;
    letter-spacing: 0;
  }
  .collectible-slot__points {
    font-size: 0.75rem;
  }
  .collectible-slot__spin {
    min-width: 120px;
    padding: 10px 20px;
  }
  .play-with-us-tips__journal {
    padding: 1.25rem 0.85rem;
  }
  .play-with-us-tip-card {
    padding: 1rem;
  }
  
  /* Footer */
  .footer-contact-row {
    padding: 30px 15px;
  }
  .footer-grid {
    padding: 30px 15px 10px;
    gap: 25px;
  }
  .footer-gambling-badges {
    flex-direction: column;
    padding: 20px 15px;
    gap: 15px;
  }
  .footer-gambling-badges__link {
    width: 100%;
    justify-content: center;
  }
  .footer-gambling-badges__link.age-restricted {
    width: 44px;
  }
  
  /* Cart Drawer */
  .cart-drawer-header {
    padding: 15px;
  }
  .cart-drawer-body {
    padding: 15px;
  }
  .cart-line-img {
    width: 60px;
    height: 60px;
  }
}
