:root {
  --bg-base: #020d1a;
  --bg-card: #081624;
  --bg-section-alt: #040f1e;
  --accent-primary: #0ea5e9;
  --accent-secondary: #38bdf8;
  --text-primary: #f0f9ff;
  --text-muted: #7eb8d4;
  --gradient-hero: linear-gradient(160deg, #020d1a 0%, #0a1f35 100%);
  --radius-card: 12px;
  --transition: 0.25s ease;
  --shadow-soft: 0 22px 60px rgba(1, 12, 25, 0.45);
  --container: min(1180px, calc(100% - 48px));
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: "Open Sans", sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
}

section,
header,
footer,
main,
.container,
.wrapper {
  max-width: 100%;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--bg-section-alt);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--accent-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
h4 {
  font-family: "Montserrat", sans-serif;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
}

p,
li,
label,
input,
select,
textarea {
  font-size: clamp(1rem, 1.2vw, 1.05rem);
}

.lead {
  max-width: 720px;
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
}

.text-muted {
  color: var(--text-muted);
}

.btn,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.btn {
  background: var(--accent-primary);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 10px 28px rgba(14, 165, 233, 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(56, 189, 248, 0.75);
}

.btn:hover,
.btn-secondary:hover,
.card:hover,
.feature-card:hover,
.staff-card:hover,
.room-card:hover,
.policy-card:hover,
.offer-card:hover {
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.25);
  transform: translateY(-4px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
}

.logo-img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo-text {
  font-weight: 900;
  font-family: "Montserrat", sans-serif;
  background: linear-gradient(90deg, #0ea5e9 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: normal;
  overflow-wrap: break-word;
  line-height: 1.15;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  min-height: 70px;
  height: auto;
  background: rgba(2, 13, 26, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(14, 165, 233, 0.15);
  transition: background var(--transition);
}

.site-header.scrolled {
  background: rgba(2, 13, 26, 0.95);
}

.header-inner {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-menu a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--text-primary);
}

.nav-check {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 10px;
  z-index: 1100;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex: 0 0 44px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-check:checked + .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-check:checked + .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-check:checked + .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  padding: 100px 0 120px;
  background: var(--gradient-hero);
}

.hero::before,
.page-hero::before,
.casino-teaser::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(2, 13, 26, 0.82), rgba(4, 27, 48, 0.72));
}

.hero-media {
  position: absolute;
  inset: 0;
  max-width: 100%;
  overflow: clip;
}

.page-hero-media,
.casino-teaser-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-media img,
.casino-teaser-media img {
  width: 100%;
  height: 100%;
}

.hero-inner,
.page-hero-inner,
.casino-teaser-inner {
  position: relative;
  z-index: 1;
}

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

.hero-copy p {
  margin-top: 24px;
  color: #cbeeff;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 120px;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.06), rgba(56, 189, 248, 0.22));
  clip-path: polygon(0 55%, 10% 62%, 20% 48%, 32% 60%, 43% 46%, 55% 62%, 69% 50%, 80% 65%, 91% 52%, 100% 60%, 100% 100%, 0 100%);
  opacity: 0.95;
  animation: drift 8s ease-in-out infinite alternate;
}

@keyframes drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-18px);
  }
}

.wave-divider {
  line-height: 0;
  background: transparent;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 64px;
}

.stats-strip {
  position: relative;
  margin-top: -22px;
  z-index: 2;
}

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

.stat-card,
.card,
.feature-card,
.staff-card,
.room-card,
.policy-card,
.offer-card,
.detail-card,
.contact-card,
.info-banner,
.gallery-panel {
  background: var(--bg-card);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.stat-card {
  padding: 24px;
  text-align: center;
}

.stat-number {
  display: inline-block;
  margin-bottom: 8px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 800;
  background: linear-gradient(90deg, #d6f4ff 0%, #38bdf8 48%, #d6f4ff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: 200% center;
  }
}

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

.features-grid,
.gallery-grid,
.staff-grid,
.rooms-grid,
.policies-grid,
.contact-grid,
.detail-grid,
.offers-grid {
  display: grid;
  gap: 24px;
}

.features-grid,
.rooms-grid,
.offers-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid,
.staff-grid,
.detail-grid,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.feature-card,
.staff-card,
.room-card,
.policy-card,
.offer-card,
.detail-card,
.contact-card {
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card img,
.room-card img,
.offer-card img,
.gallery-panel img {
  width: 100%;
  height: 260px;
}

.feature-card-content,
.room-card-content,
.staff-card-content,
.offer-card-content,
.detail-card-content,
.contact-card-content,
.policy-card-content {
  padding: 24px;
}

.feature-card-content p,
.room-card-content p,
.staff-card-content p,
.offer-card-content p,
.detail-card-content p,
.contact-card-content p,
.policy-card-content p,
.policy-card-content li {
  color: var(--text-muted);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--accent-secondary);
  font-weight: 700;
}

.gallery-panel {
  overflow: hidden;
}

.gallery-panel img {
  width: 100%;
  height: 380px;
}

.casino-teaser {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.casino-teaser-copy {
  max-width: 620px;
}

.notice-box {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.55);
  background: rgba(8, 22, 36, 0.72);
  color: #cdefff;
  font-weight: 700;
}

.staff-card img {
  width: 100%;
  height: 360px;
}

.quote {
  margin-top: 18px;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.booking-panel,
.form-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.card {
  padding: 28px;
}

.form-card {
  padding: 32px;
}

form {
  display: grid;
  gap: 16px;
}

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

label span {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(126, 184, 212, 0.24);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(240, 249, 255, 0.48);
}

.list-checks {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.list-checks li {
  position: relative;
  padding-left: 26px;
  color: var(--text-muted);
}

.list-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
}

.page-hero {
  position: relative;
  min-height: 54vh;
  display: flex;
  align-items: end;
  padding: 120px 0 80px;
  background: var(--gradient-hero);
}

.page-hero-copy {
  max-width: 700px;
}

.page-hero-copy p {
  margin-top: 20px;
  color: #cbeeff;
}

.info-banner {
  padding: 28px;
}

.detail-list {
  display: grid;
  gap: 16px;
}

.detail-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.policy-card {
  padding: 28px;
}

.policy-card h3 {
  margin-bottom: 14px;
}

.policy-card ul {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.contact-card iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: saturate(0.8) hue-rotate(170deg) contrast(1.05);
}

.contact-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
}

.footer {
  padding: 34px 0;
  background: #010916;
  border-top: 1px solid rgba(14, 165, 233, 0.12);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links,
.footer-legal,
.footer-rg {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
}

.footer a:hover {
  color: var(--text-primary);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: var(--bg-card);
  border-top: 1px solid var(--accent-primary);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner p {
  color: var(--text-muted);
  max-width: 780px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay[hidden] {
  display: none !important;
}

.modal-box {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 48px 40px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  position: relative;
  border: 1px solid rgba(14, 165, 233, 0.22);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

.modal-box p {
  color: var(--text-muted);
  margin-top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 1200px) {
  .stats-grid,
  .features-grid,
  .rooms-grid,
  .offers-grid,
  .gallery-grid,
  .staff-grid,
  .policies-grid,
  .detail-grid,
  .contact-grid,
  .booking-panel,
  .form-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid .stat-card:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: flex !important;
    margin-left: auto;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    height: calc(100vh - 70px);
    background: var(--bg-base);
    padding: 24px 28px;
    overflow-y: auto;
    z-index: 999;
  }

  .nav-check:checked ~ .nav-menu,
  .nav-check:checked ~ nav .nav-menu {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
  }

  .nav-menu a {
    display: block;
    padding: 14px 0;
    font-size: 1.1rem;
  }

  .nav-cta {
    margin-top: 20px;
    width: 100%;
  }

  .nav-cta .btn {
    width: 100%;
  }

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

@media (max-width: 720px) {
  .section {
    padding: 72px 0;
  }

  .container {
    width: min(100% - 32px, 1000px);
  }

  .stats-grid,
  .features-grid,
  .rooms-grid,
  .offers-grid,
  .gallery-grid,
  .staff-grid,
  .policies-grid,
  .detail-grid,
  .contact-grid,
  .booking-panel,
  .form-layout,
  .form-row {
    grid-template-columns: 1fr;
  }

  .stats-grid .stat-card:last-child {
    grid-column: auto;
  }

  .hero {
    min-height: auto;
    padding: 84px 0 110px;
  }

  .page-hero {
    min-height: 46vh;
  }

  .feature-card img,
  .room-card img,
  .offer-card img,
  .gallery-panel img,
  .staff-card img {
    height: 240px;
  }

  .site-header {
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  .btn,
  .btn-secondary {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .cookie-banner,
  .modal-box {
    padding-left: 20px;
    padding-right: 20px;
  }

  .logo-text {
    font-size: 0.98rem;
  }
}

/* Header navigation rebuilt from scratch */
.site-header { overflow: visible !important; }
.menu-switch { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); opacity: 0; }
.menu-button { display: none; width: 48px; height: 48px; margin-left: auto; padding: 12px; flex: 0 0 48px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; z-index: 1101; }
.menu-button span { display: block; width: 26px; height: 3px; border-radius: 3px; background: var(--text-primary, #fff); transition: transform 0.25s ease, opacity 0.25s ease; }
.menu-switch:checked + .menu-button span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-switch:checked + .menu-button span:nth-child(2) { opacity: 0; }
.menu-switch:checked + .menu-button span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.header-navigation { display: flex; align-items: center; gap: 28px; list-style: none; }

@media (max-width: 1200px) {
  .header-inner {
    gap: 12px;
    padding-right: 60px;
  }
  .logo {
    min-width: 0;
    flex: 1 1 auto;
  }
  .logo-text {
    max-width: 100%;
  }
  .site-header .menu-button {
    display: flex !important;
    position: absolute !important;
    top: 11px;
    right: 16px;
    margin: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    border: 1px solid rgba(56, 189, 248, 0.8);
    background: rgba(2, 13, 26, 0.96);
  }
  .site-header .menu-button span {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #f0f9ff !important;
  }
  .header-navigation {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px 24px 28px;
    background: var(--bg-base, #020d1a);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    z-index: 1100;
  }
  .menu-switch:checked ~ .header-navigation,
  .menu-switch:checked ~ nav .header-navigation { display: flex !important; }
  .header-navigation li { width: 100%; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .header-navigation a { display: block; width: 100%; padding: 15px 0; }
}
