:root {
  --paper: #f3eee6;
  --paper-deep: #e7ddcf;
  --ink: #2b2032;
  --ink-soft: #604f66;
  --plum: #3d2947;
  --plum-deep: #261b2d;
  --coral: #e46f58;
  --gold: #d8aa56;
  --sage: #9aa786;
  --line: rgba(43, 32, 50, .15);
  --shadow: 0 24px 70px rgba(50, 33, 56, .14);
  --radius: 1.6rem;
  --bs-body-bg: #f3eee6;
  --bs-body-color: #2b2032;
  --bs-primary: #3d2947;
  --bs-warning: #d8aa56;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: Inter, Avenir, 'Helvetica Neue', Arial, sans-serif; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { color: var(--coral); }
img { max-width: 100%; }
.bg-white { background-color: #fbf6ee !important; }
.bg-light { background-color: var(--paper-deep) !important; }
.bg-dark, .text-bg-dark { background-color: var(--plum-deep) !important; }
.text-secondary { color: var(--ink-soft) !important; }
main { overflow: clip; }
h1, h2, h3, h4, .display-font { font-family: Georgia, 'Times New Roman', serif; letter-spacing: -.035em; }
.py-lg-6 { padding-top: 6rem; padding-bottom: 6rem; }

.site-header { z-index: 1040; background: rgba(243, 238, 230, .9); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.header-contact-strip { background: var(--plum-deep); color: #f7eede; font-size: .76rem; letter-spacing: .035em; }
.header-contact-strip a { text-decoration: none; }
.navbar-brand img, .footer-logo img { object-fit: contain; }
.nav-link { padding: .75rem 1rem !important; color: var(--ink) !important; font-weight: 600; border-radius: 99px; }
.nav-link:hover, .nav-link.active { background: rgba(228, 111, 88, .12); color: #9c3e2c !important; }
.navbar-toggler { width: 3rem; height: 3rem; border-radius: 50%; background: var(--coral); color: #fff4e8; }

.btn { border-radius: 999px; padding: .8rem 1.25rem; font-weight: 700; }
.btn-dark { background: var(--plum); border-color: var(--plum); color: #fff7ed; }
.btn-dark:hover { background: var(--coral); border-color: var(--coral); }
.btn-outline-dark { border-color: var(--plum); color: var(--plum); }
.btn-outline-dark:hover { background: var(--plum); border-color: var(--plum); color: var(--paper); }
.btn-ink { background: var(--ink); color: #fff7ed; border-color: var(--ink); }
.btn-ink:hover { background: var(--coral); color: #fff; border-color: var(--coral); transform: translateY(-2px); }
.btn-coral { background: var(--coral); color: #fffaf4; border-color: var(--coral); }
.btn-coral:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-outline-ink { border-color: var(--ink); color: var(--ink); }
.btn-outline-ink:hover { background: var(--ink); color: var(--paper); }

.ux-hero { position: relative; min-height: 76vh; display: grid; align-items: center; padding: clamp(5rem, 9vw, 9rem) 0; isolation: isolate; }
.ux-hero::before { content: ''; position: absolute; width: 26rem; height: 26rem; top: -10rem; right: -8rem; border: 1px solid rgba(216, 170, 86, .55); border-radius: 50%; box-shadow: 0 0 0 3rem rgba(216, 170, 86, .07), 0 0 0 7rem rgba(228, 111, 88, .05); z-index: -1; }
.ux-hero[style*="background-image"], .ux-dark[style*="background-image"], [style*="background-image"] { background-position: center; background-size: cover; }
.ux-hero[style*="background-image"] { color: #fff5e8; }
.ux-section { position: relative; padding: clamp(5rem, 8vw, 8rem) 0; }
.ux-section + .ux-section { border-top: 1px solid var(--line); }
.ux-kicker { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1rem; color: #a84231; font-size: .78rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.ux-kicker::before { content: ''; width: 2.5rem; height: 1px; background: currentColor; }
.ux-display { max-width: 14ch; font-size: clamp(2rem, 7vw, 4rem); line-height: .94; }
.ux-lead { max-width: 46rem; color: var(--ink-soft); font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.7; }
.ux-hero[style*="background-image"] .ux-lead, .ux-dark .ux-lead { color: rgba(255, 245, 232, .78); }
.ux-title { max-width: 18ch; font-size: clamp(2.1rem, 4.6vw, 4.8rem); line-height: 1.02; }
.ux-hero-highlight { display: grid; grid-template-columns: auto 1fr; gap: 1rem; max-width: 48rem; padding: 1rem 1.15rem; color: var(--plum-deep); background: var(--gold); border-left: .35rem solid var(--coral); border-radius: 0 1rem 1rem 0; box-shadow: 0 1rem 3rem rgba(0, 0, 0, .22); font-size: clamp(.95rem, 1.5vw, 1.15rem); line-height: 1.55; }
.ux-hero-highlight i { margin-top: .3rem; color: #9c3e2c; }

.ux-panel { position: relative; padding: clamp(1.4rem, 3vw, 2.5rem); background: rgba(252, 247, 239, .76); border: 1px solid rgba(43, 32, 50, .12); border-radius: var(--radius); box-shadow: 0 10px 35px rgba(50, 33, 56, .08); overflow: hidden; }
.ux-panel::after { content: ''; position: absolute; width: 7rem; height: 7rem; right: -3.5rem; bottom: -3.5rem; border: 1px solid rgba(228, 111, 88, .35); border-radius: 50%; }
.ux-panel:hover { border-color: rgba(228, 111, 88, .5); box-shadow: var(--shadow); transform: translateY(-4px); }
.ux-panel, .btn, .ux-media, .game-option { transition: .3s ease; }
.ux-dark { background-color: var(--plum-deep); color: #fff5e8; }
.ux-dark .ux-panel { background: rgba(255, 247, 237, .08); color: #fff5e8; border-color: rgba(255, 255, 255, .18); backdrop-filter: blur(12px); }
.ux-accent { background: var(--coral); color: #fff8f0; }
.ux-accent .ux-panel.bg-white, .ux-accent .ux-panel.bg-light { color: var(--ink); }
.ux-gold { background: var(--gold); color: var(--ink); }
.ux-chip { display: inline-flex; align-items: center; width: fit-content; padding: .48rem .85rem; border: 1px solid currentColor; border-radius: 99px; font-size: .75rem; font-weight: 700; letter-spacing: .04em; }
.ux-chip .fa-circle { color: #7ab66d; font-size: .55rem; }
.ux-number { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3rem, 7vw, 6.5rem); line-height: 1; color: var(--coral); }
.ux-rule { height: 1px; margin: 1.5rem 0; background: currentColor; opacity: .18; }

.ux-media { position: relative; min-height: 22rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--paper-deep); }
.ux-media img, .ux-photo-grid img, img.ux-photo { display: block; width: 100%; height: 100%; min-height: 18rem; object-fit: cover; background: linear-gradient(135deg, #d9cbb9, #9e899f); }
.ux-media::before { content: ''; position: absolute; inset: 1rem; border: 1px solid rgba(255, 255, 255, .5); border-radius: calc(var(--radius) - .45rem); pointer-events: none; z-index: 2; }
.ux-photo-grid:not(.row) { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.ux-photo-grid:not(.row) > *:nth-child(1) { grid-column: span 7; }
.ux-photo-grid:not(.row) > *:nth-child(2) { grid-column: span 5; margin-top: 4rem; }
.ux-photo-grid:not(.row) > *:nth-child(3) { grid-column: 3 / span 5; margin-top: -2rem; }
.ux-photo-grid.row { align-items: stretch; }
.ux-photo-grid.row > [class*="col-"] { min-width: 0; }
.ux-photo-grid.row > [class*="col-"] > [style*="background-image"] { min-height: 18rem; }
.ux-photo-grid img { border-radius: 1.2rem; box-shadow: var(--shadow); }

.ux-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.ux-bento > * { grid-column: span 4; }
.ux-bento > .ux-wide { grid-column: span 8; }
.ux-bento > .ux-tall { grid-row: span 2; }
.ux-bento > .ux-full { grid-column: 1 / -1; }
.ux-orbit { position: relative; border: 1px solid var(--line); border-radius: 50%; aspect-ratio: 1; display: grid; place-items: center; }
.ux-orbit::before, .ux-orbit::after { content: ''; position: absolute; border: 1px solid rgba(228, 111, 88, .35); border-radius: 50%; }
.ux-orbit::before { inset: 12%; }
.ux-orbit::after { inset: 28%; }
.ux-marquee { overflow: hidden; border-block: 1px solid currentColor; }
.ux-marquee-track { display: flex; width: max-content; gap: 3rem; padding: 1rem 0; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; animation: marquee 22s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

.game-selector { display: grid; grid-template-columns: minmax(14rem, .8fr) minmax(0, 2fr); gap: 1rem; }
.game-options { display: grid; gap: .6rem; align-content: start; }
.game-option { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 1rem 1.1rem; text-align: left; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 1rem; font-weight: 700; }
.game-option:hover, .game-option.active { background: var(--coral); color: white; border-color: var(--coral); transform: translateX(.35rem); }
#game-detail-panel.is-switching { animation: panelIn .45s ease both; }
@keyframes panelIn { from { opacity: .2; transform: translateY(10px); } }

.timeline-line { position: relative; padding-left: 2rem; }
.timeline-line::before { content: ''; position: absolute; left: .45rem; top: .5rem; bottom: .5rem; width: 1px; background: var(--coral); }
.timeline-line > * { position: relative; }
.timeline-line > *::before { content: ''; position: absolute; width: .8rem; height: .8rem; left: -1.95rem; top: .4rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 .4rem var(--paper); }

.form-control, .form-select { min-height: 3.5rem; border-radius: 1rem; border-color: var(--line); background-color: rgba(255, 250, 243, .7); }
.form-control:focus, .form-select:focus { border-color: var(--coral); box-shadow: 0 0 0 .25rem rgba(228, 111, 88, .14); }
textarea.form-control { min-height: 9rem; }
.form-notification[hidden] { display: none; }
.map-frame { width: 100%; min-height: 28rem; border: 0; border-radius: var(--radius); filter: saturate(.65) contrast(.95); box-shadow: var(--shadow); }

.cookie-banner { position: fixed; z-index: 1080; left: 1rem; right: 1rem; bottom: 1rem; max-width: 58rem; margin: auto; padding: 1.3rem; background: rgba(38, 27, 45, .97); color: #fff5e8; border: 1px solid rgba(255,255,255,.18); border-radius: 1.4rem; box-shadow: 0 24px 80px rgba(0,0,0,.32); transform: translateY(calc(100% + 2rem)); opacity: 0; pointer-events: none; transition: .4s ease; }
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }

.site-footer { color: #e9dece; background: var(--plum-deep); }
.footer-portal { border-bottom: 1px solid rgba(255,255,255,.15); }
.footer-title { max-width: 14ch; margin: 0; font-size: clamp(2.4rem, 5vw, 5rem); }
.offline-notice { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.2rem; color: #ffeadf; border: 1px solid rgba(228,111,88,.55); border-radius: 1.2rem; background: rgba(228,111,88,.12); }
.offline-notice > i { font-size: 1.5rem; color: var(--coral); }
.footer-heading { margin-bottom: 1.2rem; font-family: Inter, Avenir, 'Helvetica Neue', Arial, sans-serif; font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); }
.footer-links li + li { margin-top: .75rem; }
.footer-links a, .footer-address a { text-decoration: none; }
.footer-address { display: grid; gap: .85rem; font-style: normal; }
.footer-address span { display: grid; grid-template-columns: 1.2rem 1fr; gap: .6rem; }
.footer-address i { margin-top: .2rem; color: var(--coral); }
.footer-rule { border-color: rgba(255,255,255,.2); }

@media (max-width: 1199.98px) {
  .navbar-collapse { padding: 1rem 0 1.25rem; }
  .header-contact-strip .container-xxl { justify-content: center !important; }
}
@media (max-width: 991.98px) {
  .ux-bento > *, .ux-bento > .ux-wide { grid-column: span 6; }
  .ux-bento > .ux-full { grid-column: 1 / -1; }
  .game-selector { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
  .header-contact-strip .container-xxl { display: grid !important; text-align: center; }
  .ux-hero { min-height: auto; }
  .ux-bento > *, .ux-bento > .ux-wide, .ux-bento > .ux-full { grid-column: 1 / -1; }
  .ux-photo-grid:not(.row) { grid-template-columns: 1fr; }
  .ux-photo-grid:not(.row) > *:nth-child(n) { grid-column: 1; margin-top: 0; }
  .ux-photo-grid.row > * { width: 100%; flex: 0 0 100%; margin-top: 0 !important; }
  .ux-media { min-height: 18rem; }
  .footer-title { font-size: 2.6rem; }
  .offline-notice { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}