@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --mt-cream: #F7F4EF;
  --mt-cream-2: #F0EBE3;
  --mt-sand: #E0D8CD;
  --mt-border: #D8CFC3;
  --mt-white: #FFFFFF;
  --mt-ink: #1C2424;
  --mt-ink-muted: #5C6B6B;
  --mt-teal: #2A6F6F;
  --mt-teal-dark: #1D4D4D;
  --mt-teal-light: #4A9999;
  --mt-gold: #C89B3C;
  --mt-gold-light: #E8C87A;
  --mt-rose: #B85C5C;
  --mt-shadow: rgba(28, 36, 36, 0.12);

  --bs-primary: var(--mt-teal);
  --bs-secondary: var(--mt-gold);
  --bs-success: var(--mt-teal);
  --bs-info: var(--mt-teal-light);
  --bs-warning: var(--mt-gold);
  --bs-danger: var(--mt-rose);
  --bs-light: var(--mt-cream);
  --bs-dark: var(--mt-ink);
  --bs-body-bg: var(--mt-cream);
  --bs-body-color: var(--mt-ink);
  --bs-border-color: var(--mt-border);
  --bs-font-sans-serif: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--bs-font-sans-serif);
  background-color: var(--mt-cream);
  color: var(--mt-ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--mt-teal);
  transition: color 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: var(--mt-teal-dark);
}

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

/* Typography
----------------------------------------*/
.display-hero,
.display-section,
.lead-xl {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.display-hero {
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.display-section {
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.lead-xl {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 400;
}

.text-balance {
  text-wrap: balance;
}

.fw-900 {
  font-weight: 900;
}

/* Spacing
----------------------------------------*/
.section-padding {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.section-padding-sm {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (max-width: 767.98px) {
  .section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .section-padding-sm {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
}

/* Background helpers
----------------------------------------*/
.bg-section {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

@media (min-width: 992px) {
  .bg-parallax {
    background-attachment: fixed;
  }
}

.bg-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.65));
  z-index: 0;
}

.section-dark {
  color: #fff;
}

.section-dark a:not(.btn) {
  color: var(--mt-gold-light);
}

.section-dark a:not(.btn):hover {
  color: #fff;
}

.text-shadow {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

/* Buttons
----------------------------------------*/
.btn {
  font-weight: 600;
  border-radius: 50rem;
  padding: 0.75rem 1.75rem;
  letter-spacing: 0.01em;
  transition: all 0.25s ease;
}

.btn-gold {
  background-color: var(--mt-gold);
  border-color: var(--mt-gold);
  color: #fff;
}

.btn-gold:hover {
  background-color: var(--mt-gold-light);
  border-color: var(--mt-gold-light);
  color: var(--mt-ink);
}

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

.btn-outline-gold:hover {
  background-color: var(--mt-gold);
  color: #fff;
}

.btn-white {
  background-color: #fff;
  color: var(--mt-ink);
  border-color: #fff;
}

.btn-white:hover {
  background-color: var(--mt-cream);
  border-color: var(--mt-cream);
  color: var(--mt-ink);
}

/* Badges
----------------------------------------*/
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 50rem;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.section-badge-light {
  background: rgba(42, 111, 111, 0.08);
  color: var(--mt-teal);
  border-color: rgba(42, 111, 111, 0.2);
}

/* Cards & glass
----------------------------------------*/
.glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.5rem;
}

.glass-light {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 1.5rem;
}

.card-hover {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 46px var(--mt-shadow);
}

.card-elevated {
  background: var(--mt-white);
  border: 1px solid var(--mt-border);
  border-radius: 1.25rem;
  box-shadow: 0 8px 24px rgba(28, 36, 36, 0.06);
}

/* Bento grid
----------------------------------------*/
.bento-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.25rem;
}

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

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

.bento-item {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  min-height: 220px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

@media (min-width: 992px) {
  .bento-item.wide {
    grid-column: span 2;
  }
  .bento-item.tall {
    grid-row: span 2;
  }
}

.bento-item .bento-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: transform 0.6s ease;
}

.bento-item:hover .bento-bg {
  transform: scale(1.06);
}

.bento-item .bento-content {
  position: relative;
  z-index: 2;
}

/* Marquee
----------------------------------------*/
.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.marquee-track-reverse {
  animation-direction: reverse;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Timeline
----------------------------------------*/
.timeline {
  position: relative;
  padding-left: 2.25rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.55rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: var(--mt-gold);
}

.timeline-step {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -2.25rem;
  top: 0.15rem;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: var(--mt-gold);
  border: 3px solid var(--mt-cream);
  box-shadow: 0 0 0 2px var(--mt-gold);
}

/* Stats
----------------------------------------*/
.stat-number {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--mt-teal);
}

.stat-label {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mt-ink-muted);
}

/* Decorative shapes
----------------------------------------*/
.deco-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--mt-gold);
  pointer-events: none;
  z-index: 0;
}

.deco-pill {
  position: absolute;
  border-radius: 50rem;
  background: var(--mt-gold);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.deco-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--mt-gold), transparent);
  width: 100%;
  pointer-events: none;
}

/* Forms
----------------------------------------*/
.form-control,
.form-select {
  border-radius: 0.85rem;
  border-color: var(--mt-border);
  padding: 0.85rem 1.1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--mt-teal);
  box-shadow: 0 0 0 0.2rem rgba(42, 111, 111, 0.15);
}

/* Header / Footer specifics
----------------------------------------*/
.site-header .navbar-toggler:focus {
  box-shadow: none;
}

.site-footer {
  background-color: var(--mt-ink);
}

.site-footer .border-white-10 {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.65) !important;
}

.min-vh-75 { min-height: 75vh !important; }
.min-vh-85 { min-height: 85vh !important; }
.min-h-200 { min-height: 200px !important; }
.letter-spacing-1 { letter-spacing: 0.06em !important; }
.object-fit-cover { object-fit: cover !important; }

/* Game switcher
----------------------------------------*/
.game-pill {
  border-radius: 50rem;
  border: 1px solid var(--mt-border);
  background: var(--mt-white);
  color: var(--mt-ink);
  padding: 0.65rem 1.4rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.game-pill:hover,
.game-pill.active {
  background: var(--mt-teal);
  border-color: var(--mt-teal);
  color: #fff;
}

.game-pill i {
  color: var(--mt-gold);
}

.game-pill.active i,
.game-pill:hover i {
  color: var(--mt-gold-light);
}

.game-pills-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.game-pills-scroll::-webkit-scrollbar {
  display: none;
}

/* Pricing
----------------------------------------*/
.price-card {
  background: var(--mt-white);
  border: 1px solid var(--mt-border);
  border-radius: 1.5rem;
  padding: 2.25rem 1.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card-featured {
  border-color: var(--mt-teal);
  background: linear-gradient(180deg, var(--mt-teal-dark), var(--mt-teal));
  color: #fff;
}

.price-card-featured .price-value,
.price-card-featured .text-muted {
  color: #fff !important;
}

.price-value {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--mt-teal);
}

/* Gallery
----------------------------------------*/
.gallery-item {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  cursor: pointer;
  min-height: 260px;
  background-size: cover;
  background-position: center;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.55));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item .gallery-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  color: #fff;
  font-size: 1.5rem;
  z-index: 2;
  opacity: 0;
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.gallery-item-tall {
  min-height: 540px;
}

/* Hotspots
----------------------------------------*/
.hotspot {
  position: absolute;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--mt-gold);
  border: 3px solid #fff;
  cursor: pointer;
  z-index: 3;
}

.hotspot::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--mt-gold);
  opacity: 0.5;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Tables
----------------------------------------*/
.table-soft {
  --bs-table-bg: transparent;
  --bs-table-border-color: var(--mt-border);
}

.table-soft thead th {
  background: var(--mt-teal);
  color: #fff;
  font-weight: 600;
  border: none;
}

/* Map
----------------------------------------*/
.map-embed {
  border: 0;
  width: 100%;
  min-height: 420px;
  border-radius: 1.25rem;
}

/* Back to top
----------------------------------------*/
#back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1030;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mt-gold);
  color: #fff;
  border: none;
  box-shadow: 0 8px 24px rgba(28, 36, 36, 0.2);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

#back-to-top:hover {
  transform: translateY(-3px);
}

/* Cookie banner
----------------------------------------*/
#cookie-banner {
  z-index: 1050;
}

/* Utility spacing helpers
----------------------------------------*/
.z-1 { z-index: 1; }
.z-2 { z-index: 2; }
.mb-6 { margin-bottom: 4rem !important; }
.mt-6 { margin-top: 4rem !important; }
.py-6 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
.pt-6 { padding-top: 4rem !important; }
.pb-6 { padding-bottom: 4rem !important; }

/* Responsive helpers
----------------------------------------*/
@media (max-width: 575.98px) {
  .display-hero {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .display-section {
    font-size: clamp(1.75rem, 8vw, 2.4rem);
  }
}
