/* ==========================================================================
   Hotel Mirae — boutique hotel lounge aesthetic
   Free social casino · demo slots · no real money
   ========================================================================== */

:root {
  --cream:        #faf7f0;
  --cream-deep:   #f2ece0;
  --paper:        #ffffff;
  --ink:          #2b2724;
  --ink-soft:     #605a52;
  --ink-faint:    #8d867c;
  --line:         #e3dbcb;
  --line-soft:    #efe8db;
  --brass:        #967a4e;
  --brass-deep:   #765f3b;
  --radius:       4px;
  --maxw:         1120px;
  --serif:        "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:         "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img, iframe { max-width: 100%; }

a { color: var(--brass-deep); text-decoration: none; border-bottom: 1px solid var(--line); }
a:hover { color: var(--ink); border-bottom-color: var(--brass); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.005em;
  margin: 0 0 0.6em;
  line-height: 1.18;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.narrow { max-width: 760px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 1.4rem;
  font-weight: 500;
}

.lead {
  font-size: 1.14rem;
  color: var(--ink-soft);
  line-height: 1.8;
}

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ---------- Header ---------------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 40;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  border: 0;
  line-height: 1.1;
}
.brand:hover { color: inherit; }

.brand__name {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--ink);
  letter-spacing: 0.04em;
}

.brand__sub {
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.nav a {
  border: 0;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--brass);
}

.nav__badge {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-deep);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
}

/* ---------- Hero ------------------------------------------------------ */

.hero {
  padding: clamp(60px, 9vw, 112px) 0 clamp(40px, 6vw, 64px);
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  border-bottom: 1px solid var(--line);
}

.hero__inner { max-width: 820px; }

.hero h1 { margin-bottom: 0.4em; }

.hero__meta {
  display: flex;
  gap: 10px 26px;
  flex-wrap: wrap;
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.page-head {
  padding: clamp(50px, 7vw, 86px) 0 clamp(30px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
}

/* ---------- Buttons --------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
  text-align: center;
}
.btn:hover { background: var(--brass-deep); border-color: var(--brass-deep); color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { background: transparent; color: var(--brass-deep); border-color: var(--brass); }

.btn--wide { min-width: 220px; }

/* ---------- Age gate (modal) ------------------------------------------ */

.agegate-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(40, 36, 32, 0.52);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  overflow-y: auto;
  animation: agegate-fade .22s ease-out;
}

@keyframes agegate-fade { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .agegate-overlay { animation: none; }
}

.agegate {
  background: var(--cream);
  border: 1px solid var(--line);
  border-top: 2px solid var(--brass);
  border-radius: var(--radius);
  padding: clamp(30px, 4.4vw, 50px);
  width: 100%;
  max-width: 560px;
  margin: auto;
  text-align: center;
  box-shadow: 0 22px 60px rgba(40, 36, 32, 0.22);
}

.agegate__mark {
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: 0.05em;
  color: var(--ink);
  display: block;
  margin-bottom: 1.6rem;
  padding-bottom: 1.3rem;
  border-bottom: 1px solid var(--line);
}

.agegate .eyebrow { margin-bottom: 1rem; }

.agegate h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.05rem);
  margin-bottom: 0.55em;
}

.agegate p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
}

.agegate__actions {
  display: grid;
  gap: 12px;
  margin-top: 1.9rem;
  padding-top: 1.7rem;
  border-top: 1px solid var(--line);
}

@media (min-width: 520px) {
  .agegate__actions { grid-template-columns: 1fr 1fr; }
}

.agegate__actions .btn { width: 100%; }

.agegate__note {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}

.agegate__disclaimer {
  margin-top: 1.4rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
  line-height: 1.7;
  color: var(--ink-faint);
  max-width: none;
}

/* Page content stays behind the modal until the visitor confirms. */
body.is-gated { overflow: hidden; }
body.is-gated .site-header,
body.is-gated main,
body.is-gated .site-footer { filter: blur(2px); }

.agegate__reset {
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-faint);
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  padding: 0 0 2px;
}
.agegate__reset:hover { color: var(--ink); border-bottom-color: var(--brass); }

[hidden] { display: none !important; }

/* ---------- Sections -------------------------------------------------- */

.section { padding: clamp(54px, 8vw, 96px) 0; }
.section--tint { background: var(--cream-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section__head {
  max-width: 640px;
  margin-bottom: clamp(32px, 4vw, 52px);
}

/* ---------- Game cards ------------------------------------------------ */

.games {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.game-card {
  background: var(--paper);
  display: flex;
  flex-direction: column;
}

.game-card__media {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--cream-deep);
}

.game-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.game-card:hover .game-card__media img { transform: scale(1.035); }

@media (prefers-reduced-motion: reduce) {
  .game-card__media img { transition: none; }
  .game-card:hover .game-card__media img { transform: none; }
}

.game-card__body {
  padding: clamp(24px, 2.8vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.game-card__kicker {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.game-card h3 {
  font-size: 1.45rem;
  margin: 0;
}

.game-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
  flex: 1;
}

.game-card .btn { align-self: flex-start; margin-top: 8px; }

.game-figure {
  margin: 0 0 clamp(34px, 4vw, 48px);
}

.game-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream-deep);
}

.game-figure figcaption {
  margin-top: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
}

/* ---------- Game player ---------------------------------------------- */

.player {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
}

.player__frame {
  position: relative;
  background: var(--cream-deep);
  border-radius: 2px;
  overflow: hidden;
}

.player iframe {
  display: block;
  width: 100%;
  height: 600px;
  border: 0;
}

.player__caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 8px 4px;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.disclaimer-strip {
  margin-top: 22px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--brass);
  border-radius: var(--radius);
  background: var(--paper);
  font-size: 0.88rem;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

/* ---------- Notice block (home) -------------------------------------- */

.notice {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 2px solid var(--brass);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 42px);
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 820px) {
  .notice { grid-template-columns: 200px minmax(0, 1fr); gap: 36px; align-items: start; }
}

.notice__label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-deep);
}

.notice__body p { font-size: 1rem; color: var(--ink-soft); }
.notice__body p strong { color: var(--ink); font-weight: 500; }

/* ---------- Feature / value rows ------------------------------------- */

.cols {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cols > div {
  background: var(--cream);
  padding: clamp(26px, 3vw, 34px) clamp(20px, 2.4vw, 30px);
}

.section--tint .cols > div { background: var(--cream-deep); }

.cols h3 { font-size: 1.22rem; }
.cols p { font-size: 0.94rem; color: var(--ink-soft); margin: 0; }

/* ---------- Prose ----------------------------------------------------- */

.prose { padding: clamp(50px, 7vw, 84px) 0; }

.prose h2 { margin-top: 2.4em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; }

.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.5em; color: var(--ink-soft); }
.prose p { color: var(--ink-soft); }

.support-list {
  list-style: none;
  padding: 0;
  margin: 1.6em 0 0;
  border-top: 1px solid var(--line);
}

.support-list li {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 4px;
}

.support-list a {
  font-family: var(--serif);
  font-size: 1.22rem;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.support-list span { font-size: 0.92rem; color: var(--ink-soft); }

.facts {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  border-top: 1px solid var(--line);
}
.facts li {
  display: grid;
  gap: 2px 28px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  margin: 0;
}
@media (min-width: 680px) {
  .facts li { grid-template-columns: 180px minmax(0, 1fr); }
}
.facts strong {
  font-weight: 500;
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Footer ---------------------------------------------------- */

.site-footer {
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
  padding: clamp(50px, 6vw, 76px) 0 34px;
  font-size: 0.9rem;
}

.site-footer__grid {
  display: grid;
  gap: 36px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.site-footer h4 {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1.1em;
  font-weight: 500;
}

.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { border: 0; color: var(--ink-soft); }
.site-footer a:hover { color: var(--ink); }
.site-footer p { color: var(--ink-soft); font-size: 0.9rem; }

.footer-disclaimer {
  margin-top: 30px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.7;
}

.footer-disclaimer strong { color: var(--ink); font-weight: 500; }

.site-footer__base {
  margin-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--ink-faint);
}

/* ---------- Cookie banner -------------------------------------------- */

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 34px rgba(43, 39, 36, 0.12);
  padding: 20px 24px;
  display: none;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 860px;
  margin: 0 auto;
}

.cookie-banner.is-visible { display: flex; }

.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  flex: 1 1 320px;
}

.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.cookie-banner .btn { padding: 11px 20px; font-size: 0.76rem; }

/* ---------- Utilities ------------------------------------------------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 18px;
  z-index: 100;
  border: 0;
}
.skip-link:focus { left: 10px; top: 10px; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.back-link {
  display: inline-block;
  margin-top: clamp(32px, 4vw, 48px);
}
