/* Kivos Grand Hotel & Casino | midnight navy & burnished copper theme */
/* @mike 2026-11-10: legacy aliases kept for old landing A/B pages */

.main-header,
.mw-main-header {
  /* mirrors .site-header */
}

.hero-baner,
.hero-section,
.mw-heroWrap {
  /* mirrors .hero block layout */
}

.secton-dark {
  /* old class name, still in about.html cache */
}

.pricin-card {
  /* typo from 2024 CMS export */
}

.card-fix-2026 {
  position: relative;
}

.card-btn {
  /* alias used in a few CTAs */
  margin-top: 10px;
}

.ui-headerRow {
  /* noop hook for future grid */
}

.mobileNavList {
  list-style: none;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg: #080d16;
  --color-surface: #101827;
  --color-surface-elevated: #172236;
  --color-gold: #d4845a;
  --color-gold-light: #eab38f;
  --color-text: #eef1f6;
  --color-text-muted: #98a2b3;
  --color-border: #24324a;
  --color-accent-casino: #e89b6c;
  --color-danger: #d9534f;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --header-height: 4.5rem;
  --transition: 0.35s ease;
  --focus-ring: 0 0 0 3px rgba(212, 132, 90, 0.55);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
}

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

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  background: var(--color-gold);
  color: var(--color-bg);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
}

/* Header */
.site-header,
.main-header,
.mw-main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 13, 22, 0.92);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 1rem;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-gold);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.site-nav {
  display: none;
}

@media (min-width: 900px) {
  .site-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
  }

  .nav-toggle {
    display: none !important;
  }
}

.site-nav a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav a[aria-current="page"] {
  color: var(--color-gold);
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
}

.nav-toggle__bars {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: currentColor;
  box-shadow:
    0 -6px 0 currentColor,
    0 6px 0 currentColor;
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition),
    visibility var(--transition);
  border: none;
  padding: 0;
  cursor: pointer;
}

.mobile-nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 2001;
  width: min(20rem, 88vw);
  height: 100%;
  padding: 2rem 1.5rem;
  background: var(--color-surface);
  border-left: 1px solid var(--color-border);
  transform: translateX(100%);
  transition: transform var(--transition);
}

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

.mobile-nav-panel__close {
  margin-left: auto;
  display: block;
  margin-bottom: 2rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
}

.mobile-nav-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-panel a {
  display: block;
  padding: 0.85rem 0;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition:
    background 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  }

  .btn:active {
    transform: translateY(0);
    box-shadow: none;
  }
}

.btn--primary {
  background: var(--color-gold);
  color: var(--color-bg);
  border-color: var(--color-gold);
}

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

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

.btn--outline:hover {
  background: rgba(212, 132, 90, 0.12);
}

.btn--casino {
  background: linear-gradient(135deg, #b8653b, #e89b6c);
  color: #1a0a00;
  border-color: var(--color-accent-casino);
}

/* Hero */
.hero,
.hero-section,
.hero-baner,
.mw-heroWrap {
  position: relative;
  min-height: clamp(28rem, 70vh, 42rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    12deg,
    rgba(8, 13, 22, 0.94) 10%,
    rgba(8, 13, 22, 0.55) 55%,
    rgba(8, 13, 22, 0.2) 100%
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 3rem 0 4rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--color-text);
}

.hero__lead {
  max-width: 36rem;
  margin: 0 0 1.75rem;
  color: var(--color-text-muted);
  font-size: 1.125rem;
}

.cmz-heroLead {
  margin-top: 17px;
}

.page-casino .hero__lead {
  max-width: 38rem;
}

.legal-content > h1 {
  margin-top: 17px;
}

.section-header--compact {
  padding-bottom: 6px;
}

.about-block-gap {
  margin-top: 17px;
}

/* Sections */
section {
  padding: 4.5rem 0;
}

main > section:not(.hero):not(.hero-section):not(.hero-baner) {
  content-visibility: auto;
  contain-intrinsic-size: auto 480px;
}

.section-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--color-gold);
}

.section-header h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  margin: 0.75rem auto 0;
  background: var(--color-gold);
  opacity: 0.75;
}

.section-header p {
  margin: 0 auto;
  max-width: 40rem;
  color: var(--color-text-muted);
}

.bg-surface,
.secton-dark {
  background: var(--color-surface);
}

.card,
.pricin-card {
  background: var(--color-surface-elevated);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease,
    box-shadow 0.45s ease;
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .card:hover,
  .pricin-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 132, 90, 0.45);
    box-shadow: 0 20px 40px rgba(4, 8, 15, 0.5);
  }

  .card__media img {
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .card:hover .card__media img,
  .pricin-card:hover .card__media img {
    transform: scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .card,
  .pricin-card,
  .card__media img,
  .btn {
    transition: none;
  }

  .card:hover,
  .pricin-card:hover {
    transform: none;
  }
}

/* Grid cards */
.grid-2 {
  display: grid;
  gap: 2rem;
}

.grid-3 {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 700px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

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

.card__body {
  padding: 1.5rem;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
  color: var(--color-text);
}

.card p {
  margin: 0;
  color: var(--color-text-muted);
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(212, 132, 90, 0.2);
  color: var(--color-gold-light);
  border: 1px solid var(--color-gold);
  border-radius: 999px;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem 2.5rem;
}

@media (min-width: 700px) {
  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-list li {
  padding: 0.25rem 0 0.25rem 1.25rem;
  border-left: 2px solid var(--color-gold);
}

.feature-list h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
}

.feature-list p {
  margin: 0;
  color: var(--color-text-muted);
}

/* Casino page accents */
.page-casino .hero__overlay {
  background: linear-gradient(
    to top,
    rgba(16, 24, 39, 0.98) 0%,
    rgba(42, 24, 18, 0.55) 100%
  );
}

.age-banner {
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  background: #2a1515;
  border: 2px solid var(--color-accent-casino);
  text-align: center;
  font-weight: 600;
  font-size: 1.125rem;
}

.age-banner span {
  color: var(--color-accent-casino);
  font-size: 1.35rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 6px;
}

.form-note {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.map-wrap {
  margin-top: 2rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 22rem;
  border: 0;
}

/* Footer */
.site-footer {
  padding: 3.5rem 0 2rem;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  margin-bottom: 0;
}

body.has-cookie-banner .site-footer {
  padding-bottom: 5.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.site-footer h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 1rem;
  color: var(--color-gold);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
}

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

.footer-legal {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.footer-disclaimer,
.footer-illustrative {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.5;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* Legal prose */
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--color-gold);
  margin: 2.5rem 0 1rem;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--color-text-muted);
}

.legal-content ol {
  padding-left: 1.25rem;
}

.legal-content ol li {
  margin-bottom: 0.75rem;
}

/* Modal */
.modal-overlay__backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.72);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition),
    visibility var(--transition);
}

.modal-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 28rem);
  padding: 2rem;
  background: var(--color-surface-elevated);
  border: 1px solid var(--color-border);
  transform: translateY(1rem);
  transition: transform var(--transition);
}

.modal-overlay.is-visible .modal-dialog {
  transform: translateY(0);
}

.modal-dialog h2 {
  font-family: var(--font-display);
  margin: 0 0 1rem;
  font-size: 1.75rem;
  color: var(--color-gold);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4000;
  padding: 1.25rem;
  background: var(--color-surface-elevated);
  border-top: 1px solid var(--color-border);
  transform: translateY(100%);
  opacity: 0;
  transition:
    transform var(--transition),
    opacity var(--transition);
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner.is-hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.cookie-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
}

@media (min-width: 768px) {
  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cookie-banner p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .cookie-banner__actions {
    flex-wrap: nowrap;
  }
}

.btn--secondary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
}

@media (min-width: 769px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-grid figure {
  margin: 0;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery-grid figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-banner-offset {
  padding-top: 1.5rem;
}

.page-legal {
  padding: 4rem 0;
}
