/* ==================================================================
   Variables
   ================================================================== */
:root {
  /* Color Palette - light, minimalist, premium casino entertainment */
  --color-bg: #f7f5f2;               /* soft warm off-white */
  --color-bg-elevated: #ffffff;      /* pure white for cards/sections */
  --color-bg-soft: #f0ece6;          /* light beige sections */

  --color-text: #1f2933;             /* deep neutral text */
  --color-text-soft: #4b5563;        /* secondary text */
  --color-muted: #9ca3af;            /* muted labels */

  --color-primary: #2f6fbb;          /* refined modern blue */
  --color-primary-soft: #e5f0fb;     /* soft blue tint */
  --color-primary-dark: #234f87;     /* hover/active */

  --color-accent-gold: #c8a96b;      /* premium gold accent */
  --color-accent-gold-soft: #f7f1e4; /* soft gold background */

  --color-success: #1b9b6c;
  --color-warning: #f5a623;
  --color-danger: #d64545;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2933;
  --gray-900: #111827;

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Poppins", "SF Pro Display", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Base font sizes (mobile-first) */
  --text-xs: 0.75rem;   /* 12px */
  --text-sm: 0.875rem;  /* 14px */
  --text-base: 1rem;    /* 16px */
  --text-lg: 1.125rem;  /* 18px */
  --text-xl: 1.25rem;   /* 20px */
  --text-2xl: 1.5rem;   /* 24px */
  --text-3xl: 1.875rem; /* 30px */
  --text-4xl: 2.25rem;  /* 36px */
  --text-5xl: 3rem;     /* 48px */

  /* Line heights */
  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.7;

  /* Spacing scale (0–96px) */
  --space-0: 0;
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  /* Shadows - subtle, premium */
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-subtle: 0 12px 40px rgba(15, 23, 42, 0.06);
  --shadow-strong: 0 18px 60px rgba(15, 23, 42, 0.14);

  /* Transitions */
  --transition-fast: 150ms ease-out;
  --transition-normal: 220ms ease-out;
  --transition-slow: 320ms ease-out;

  /* Layout */
  --container-max: 1120px;
  --border-subtle: 1px solid rgba(148, 163, 184, 0.22);
}

/* Medium+ screens typography adjustments */
@media (min-width: 768px) {
  :root {
    --text-base: 1.0625rem; /* ~17px */
    --text-lg: 1.1875rem;   /* ~19px */
    --text-xl: 1.375rem;    /* 22px */
    --text-2xl: 1.75rem;    /* 28px */
    --text-3xl: 2.25rem;    /* 36px */
    --text-4xl: 3rem;       /* 48px */
    --text-5xl: 3.75rem;    /* 60px */
  }
}


/* ==================================================================
   Reset / Normalize
   ================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

h1, h2, h3, h4, h5, h6,
figure, picture,
blockquote, dl, dd,
ul, ol,
p {
  margin: 0;
}

ul, ol {
  padding-left: 1.25rem;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

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

button {
  border: none;
  background: none;
  padding: 0;
}

textarea {
  resize: vertical;
}

/* Remove default link underlines; handled in base styles */
a {
  color: inherit;
  text-decoration: none;
}

/* Respect motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ==================================================================
   Base Styles
   ================================================================== */
body {
  min-height: 100vh;
  background: radial-gradient(circle at top left, #fdfaf3 0, var(--color-bg) 40%, #eef2f7 100%);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

h1 {
  font-size: var(--text-3xl);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-4);
}

h2 {
  font-size: var(--text-2xl);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-3);
}

h3 {
  font-size: var(--text-xl);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-2);
}

h4 {
  font-size: var(--text-lg);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-2);
}

@media (min-width: 768px) {
  h1 {
    font-size: var(--text-5xl);
  }
  h2 {
    font-size: var(--text-3xl);
  }
  h3 {
    font-size: var(--text-2xl);
  }
  h4 {
    font-size: var(--text-xl);
  }
}

p {
  margin-bottom: var(--space-3);
  color: var(--color-text-soft);
}

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

strong {
  font-weight: 600;
}

small {
  font-size: var(--text-sm);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  position: relative;
  transition: color var(--transition-normal);
}

a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.12em;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--color-accent-gold), var(--color-primary));
  transition: width var(--transition-normal);
}

a:hover::after,
 a:focus-visible::after {
  width: 100%;
}

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

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95em;
}

hr {
  border: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  margin: var(--space-8) 0;
}

::selection {
  background: rgba(200, 169, 107, 0.2);
  color: var(--color-text);
}


/* ==================================================================
   Accessibility & Focus Styles
   ================================================================== */
:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--color-accent-gold);
  outline-offset: 2px;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ==================================================================
   Layout Utilities
   ================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (min-width: 1024px) {
  .container {
    padding-inline: var(--space-6);
  }
}

.section {
  padding-block: var(--space-10);
}

@media (min-width: 768px) {
  .section {
    padding-block: var(--space-16);
  }
}

.section--soft {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 236, 230, 0.9));
}

.section__eyebrow {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-muted);
  margin-bottom: var(--space-2);
}

.section__header {
  margin-bottom: var(--space-6);
}

.section__description {
  max-width: 38rem;
  color: var(--gray-600);
}

/* Flex helpers */
.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 {
  gap: var(--space-2);
}

.gap-3 {
  gap: var(--space-3);
}

.gap-4 {
  gap: var(--space-4);
}

.gap-6 {
  gap: var(--space-6);
}

/* Grid helpers */
.grid {
  display: grid;
  gap: var(--space-4);
}

.grid-2 {
  display: grid;
  gap: var(--space-4);
}

.grid-3 {
  display: grid;
  gap: var(--space-4);
}

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

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

/* Spacing utilities (common) */
.mt-0 { margin-top: 0 !important; }
.mt-4 { margin-top: var(--space-4) !important; }
.mt-6 { margin-top: var(--space-6) !important; }
.mt-8 { margin-top: var(--space-8) !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-4 { margin-bottom: var(--space-4) !important; }
.mb-6 { margin-bottom: var(--space-6) !important; }
.mb-8 { margin-bottom: var(--space-8) !important; }


/* ==================================================================
   Components – Buttons
   ================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color var(--transition-normal),
    color var(--transition-normal),
    transform var(--transition-fast),
    box-shadow var(--transition-normal),
    border-color var(--transition-normal);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(120deg, var(--color-primary), var(--color-primary-dark));
  color: #ffffff;
  box-shadow: 0 16px 35px rgba(47, 111, 187, 0.28);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(47, 111, 187, 0.34);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.8);
  color: var(--color-text);
  border-color: rgba(148, 163, 184, 0.35);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.6);
}

.btn--outline-gold {
  background: transparent;
  color: var(--color-text);
  border-color: rgba(200, 169, 107, 0.9);
}

.btn--outline-gold:hover {
  background: rgba(247, 241, 228, 0.9);
}

.btn--sm {
  padding: 0.5rem 1.1rem;
  font-size: var(--text-xs);
}

.btn--lg {
  padding: 0.85rem 1.9rem;
  font-size: var(--text-sm);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
  transform: none;
}

.btn:focus-visible {
  outline: 2px solid var(--color-accent-gold);
  outline-offset: 3px;
}


/* ==================================================================
   Components – Form Controls
   ================================================================== */
.label {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.input,
.textarea,
.select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.5);
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--color-text);
  font-size: var(--text-sm);
  transition:
    border-color var(--transition-normal),
    box-shadow var(--transition-normal),
    background-color var(--transition-normal),
    transform var(--transition-fast);
}

.input::placeholder,
.textarea::placeholder {
  color: var(--color-muted);
}

.input:focus-visible,
.textarea:focus-visible,
.select:focus-visible {
  outline: none;
  border-color: rgba(200, 169, 107, 0.9);
  box-shadow: 0 0 0 1px rgba(200, 169, 107, 0.75), 0 16px 30px rgba(15, 23, 42, 0.08);
  background-color: #ffffff;
}

.input[aria-invalid="true"],
.textarea[aria-invalid="true"] {
  border-color: var(--color-danger);
}

.input:disabled,
.textarea:disabled,
.select:disabled {
  background-color: rgba(243, 244, 246, 0.9);
  cursor: not-allowed;
}

.textarea {
  min-height: 120px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-row + .form-row {
  margin-top: var(--space-4);
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--color-muted);
}

.form-error {
  font-size: var(--text-xs);
  color: var(--color-danger);
  margin-top: var(--space-1);
}


/* ==================================================================
   Components – Card / Surfaces
   ================================================================== */
.card {
  position: relative;
  background: var(--color-bg-elevated);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.6);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  border: 1px solid rgba(248, 250, 252, 0.85);
  mix-blend-mode: soft-light;
}

.card--soft {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(240, 236, 230, 0.96));
}

.card--outline {
  box-shadow: none;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.card-header {
  margin-bottom: var(--space-3);
}

.card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-800);
}

.card-meta {
  font-size: var(--text-xs);
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.card-body {
  color: var(--color-text-soft);
}


/* ==================================================================
   Components – Hero / Slider Shell
   ================================================================== */
.hero {
  position: relative;
  padding-block: var(--space-12);
}

@media (min-width: 768px) {
  .hero {
    padding-block: var(--space-16);
  }
}

.hero__content {
  display: grid;
  gap: var(--space-8);
}

@media (min-width: 1024px) {
  .hero__content {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
  }
}

.hero__eyebrow {
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-3);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
  .hero__title {
    font-size: var(--text-5xl);
  }
}

.hero__subtitle {
  max-width: 30rem;
  color: var(--color-text-soft);
  margin-bottom: var(--space-6);
}

.hero__badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.hero-badge {
  font-size: var(--text-xs);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(200, 169, 107, 0.5);
  background: rgba(247, 241, 228, 0.8);
  color: var(--gray-700);
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.hero__slider-shell {
  position: relative;
  border-radius: 24px;
  padding: var(--space-5);
  background: radial-gradient(circle at top, rgba(47, 111, 187, 0.18), rgba(248, 250, 252, 0.95));
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

.hero__slider-tagline {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(15, 23, 42, 0.7);
  margin-bottom: var(--space-3);
}

.hero__slider-line {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  line-height: var(--leading-snug);
  color: var(--gray-900);
}

@media (min-width: 768px) {
  .hero__slider-line {
    font-size: var(--text-2xl);
  }
}

.hero__slider-meta {
  margin-top: var(--space-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: rgba(15, 23, 42, 0.7);
}

.hero__slider-dots {
  display: flex;
  gap: 0.4rem;
}

.hero__slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.2);
}

.hero__slider-dot--active {
  width: 18px;
  background: linear-gradient(90deg, var(--color-accent-gold), var(--color-primary));
}


/* ==================================================================
   Components – Navigation & Footer Shells
   ================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(247, 245, 242, 0.92);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
}

.nav {
  display: none;
  gap: var(--space-4);
  font-size: var(--text-sm);
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }
}

.nav__link {
  position: relative;
  padding-block: 0.35rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--gray-700);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--color-accent-gold), var(--color-primary));
  transition: width var(--transition-normal);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--gray-900);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  width: 100%;
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(circle at top, rgba(47, 111, 187, 0.04), rgba(15, 23, 42, 0.96));
  color: rgba(249, 250, 251, 0.92);
  padding-block: var(--space-10);
}

.site-footer__top {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 900px) {
  .site-footer__top {
    grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr));
  }
}

.site-footer__column-title {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(249, 250, 251, 0.7);
  margin-bottom: var(--space-3);
}

.site-footer__link {
  display: block;
  font-size: var(--text-sm);
  color: rgba(249, 250, 251, 0.82);
  margin-bottom: 0.25rem;
}

.site-footer__link:hover {
  color: #ffffff;
}

.site-footer__legal {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  font-size: var(--text-xs);
  color: rgba(209, 213, 219, 0.85);
}


/* ==================================================================
   Subtle Animation Helpers (for animated sections)
   ================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 500ms ease-out,
    transform 500ms ease-out;
}

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

.fade-in-up {
  opacity: 0;
  transform: translateY(12px);
  animation: fade-in-up 600ms var(--transition-normal) forwards;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ==================================================================
   Badges / Chips for Event Types
   ================================================================== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(255, 255, 255, 0.9);
  color: var(--gray-700);
}

.tag--gold {
  border-color: rgba(200, 169, 107, 0.85);
  background: rgba(247, 241, 228, 0.98);
  color: var(--gray-800);
}

.tag--soft-blue {
  border-color: rgba(47, 111, 187, 0.4);
  background: rgba(229, 240, 251, 0.9);
  color: var(--color-primary-dark);
}


/* ==================================================================
   Misc Helpers
   ================================================================== */
.text-center { text-align: center; }
.text-right { text-align: right; }

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

.badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--color-accent-gold);
}

.bg-soft-gold {
  background: var(--color-accent-gold-soft);
}

.bg-soft-blue {
  background: var(--color-primary-soft);
}

.border-subtle {
  border: var(--border-subtle);
}

.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: 999px; }

.shadow-soft { box-shadow: var(--shadow-soft); }
.shadow-subtle { box-shadow: var(--shadow-subtle); }
.shadow-strong { box-shadow: var(--shadow-strong); }

.hide-mobile {
  display: none;
}

@media (min-width: 768px) {
  .hide-mobile {
    display: initial;
  }
}

.hide-desktop {
  display: initial;
}

@media (min-width: 768px) {
  .hide-desktop {
    display: none;
  }
}
