/* ========================================================================
   Variables
   ======================================================================== */
:root {
  /* Color Palette - Luxurious Casino Theme */
  --color-bg: #050509; /* Midnight black */
  --color-surface: #0c0c12; /* Deep charcoal for cards/sections */
  --color-surface-elevated: #14141f;

  --color-text: #f7f2e9; /* Champagne white */
  --color-text-soft: #c1b8aa;
  --color-text-muted: #8b8276;

  --color-primary: #d4af37; /* Metallic gold */
  --color-primary-soft: #b89430;
  --color-primary-soft-2: rgba(212, 175, 55, 0.14);

  --color-accent-ruby: #b7123c; /* Deep ruby red */
  --color-accent-emerald: #0f6f55; /* Dark emerald green */

  --color-success: #3bbf77;
  --color-warning: #ffb347;
  --color-danger: #ff4d5a;

  --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: "Poppins", "Segoe UI", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-serif-display: "Playfair Display", "Times New Roman", serif;
  --font-mono: "JetBrains Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

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

  --line-height-tight: 1.15;
  --line-height-snug: 1.3;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;

  /* 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: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-pill: 999px;

  /* Shadows - Cinematic & Soft */
  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.45);
  --shadow-soft-sm: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-soft-inner: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  --shadow-glow-gold: 0 0 24px rgba(212, 175, 55, 0.4);

  /* Transitions */
  --transition-fast: 120ms ease-out;
  --transition-base: 200ms ease-out;
  --transition-slow: 320ms ease-out;

  /* Layout */
  --container-max-width: 1200px;
  --header-height: 72px;
}

/* ========================================================================
   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,
p, figure, blockquote,
dl, dd {
  margin: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

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

button,
[role="button"] {
  cursor: pointer;
}

button:disabled,
[role="button"][aria-disabled="true"] {
  cursor: not-allowed;
}

/* Remove default link underlines, will style in Base */
a {
  text-decoration: none;
  color: inherit;
}

/* ========================================================================
   Base Styles
   ======================================================================== */
body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background: radial-gradient(circle at top, #15151f 0, #050509 50%, #000000 100%);
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
}

/* Headings - elegant, display serif for main titles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif-display);
  font-weight: 600;
  line-height: var(--line-height-tight);
  letter-spacing: 0.04em;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.5rem, 5vw, var(--font-size-5xl));
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 3.5vw, var(--font-size-4xl));
  text-transform: uppercase;
}

h3 {
  font-size: clamp(1.5rem, 2.4vw, var(--font-size-3xl));
}

h4 {
  font-size: var(--font-size-2xl);
}

h5 {
  font-size: var(--font-size-xl);
}

h6 {
  font-size: var(--font-size-lg);
}

p {
  margin-top: 0;
  margin-bottom: var(--space-4);
  color: var(--color-text-soft);
}

strong,
b {
  font-weight: 600;
}

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

/* Links - cinematic gold hover */
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-base),
              text-shadow var(--transition-base),
              opacity var(--transition-fast);
}

a:hover {
  color: var(--color-text);
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.55);
}

a:active {
  opacity: 0.85;
}

/* Lists */
ul,
ol {
  margin: 0 0 var(--space-4);
  padding-left: var(--space-5);
}

/* Blockquotes - for storytelling sections */
blockquote {
  margin: var(--space-8) 0;
  padding-left: var(--space-4);
  border-left: 2px solid rgba(212, 175, 55, 0.4);
  color: var(--color-text-soft);
  font-style: italic;
}

/* ========================================================================
   Accessibility & Motion
   ======================================================================== */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

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

/* 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-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

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

.section {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

.section--tight {
  padding-top: var(--space-10);
  padding-bottom: var(--space-10);
}

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

.inline-flex {
  display: inline-flex;
}

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

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

.flex-col {
  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-4 {
  gap: var(--space-4);
}

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

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

/* Grid helpers */
.grid {
  display: grid;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-8);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-8);
}

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

/* Text alignment */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-uppercase {
  text-transform: uppercase;
}

/* Spacing utilities (subset, extend as needed) */
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.py-8 {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}

.py-12 {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

/* ========================================================================
   Components - Buttons, Inputs, Cards
   ======================================================================== */

/* Buttons - primary call-to-action: reservation, VIP, etc. */
.button {
  --btn-bg: var(--color-primary);
  --btn-bg-hover: var(--color-primary-soft);
  --btn-color: #050509;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 0, 0, 0.6);
  background: radial-gradient(circle at 20% 0, rgba(255, 255, 255, 0.16) 0, transparent 50%),
              linear-gradient(135deg, var(--btn-bg) 0%, #c0901f 40%, #f9e7a1 60%, var(--btn-bg) 100%);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  color: var(--btn-color);
  font-weight: 600;
  font-size: var(--font-size-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--transition-fast),
              box-shadow var(--transition-fast),
              filter var(--transition-fast),
              background var(--transition-fast),
              opacity var(--transition-fast);
}

.button:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: var(--shadow-glow-gold);
}

.button:active {
  transform: translateY(0);
  box-shadow: var(--shadow-soft-sm);
}

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

/* Outline / ghost variant for secondary CTAs */
.button--ghost {
  --btn-bg: transparent;
  --btn-bg-hover: rgba(212, 175, 55, 0.12);
  --btn-color: var(--color-text);

  border-color: rgba(212, 175, 55, 0.6);
  background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.04) 0, transparent 50%),
              linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(183, 18, 60, 0.18));
  box-shadow: var(--shadow-soft-inner);
}

.button--ghost:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(15, 111, 85, 0.24));
}

/* Text button */
.button--text {
  --btn-bg: transparent;
  --btn-color: var(--color-primary);

  padding-left: 0;
  padding-right: 0;
  border-radius: 0;
  border: none;
  background: none;
  box-shadow: none;
}

.button--text:hover {
  color: var(--color-text);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

/* Form controls */
.input,
.textarea,
.select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background-color: rgba(10, 10, 16, 0.9);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-snug);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition: border-color var(--transition-base),
              box-shadow var(--transition-base),
              background-color var(--transition-base),
              transform var(--transition-fast);
}

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

.input:focus,
.textarea:focus,
.select:focus {
  border-color: rgba(212, 175, 55, 0.9);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.9), 0 18px 40px rgba(0, 0, 0, 0.7);
  background-color: #0f0f18;
  transform: translateY(-1px);
}

.input:disabled,
.textarea:disabled,
.select:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

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

/* Labels & field groups */
.form-field {
  margin-bottom: var(--space-4);
}

.label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text-soft);
}

.helper-text {
  margin-top: 0.35rem;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.helper-text--error {
  color: var(--color-danger);
}

/* Card - for experiences, VIP, game areas */
.card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.12) 0, transparent 40%),
              radial-gradient(circle at bottom right, rgba(183, 18, 60, 0.16) 0, transparent 45%),
              linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-soft);
  color: var(--color-text);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(212, 175, 55, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.card:hover::before {
  opacity: 1;
}

.card--compact {
  padding: var(--space-4);
}

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

.card-title {
  margin-bottom: 0.5rem;
  font-family: var(--font-serif-display);
  font-size: var(--font-size-xl);
}

.card-subtitle {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

/* Hero utilities - cinematic full-screen sections */
.hero-fullscreen {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  color: var(--color-text);
  overflow: hidden;
}

.hero-fullscreen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(5, 5, 9, 0.9) 70%, #050509 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

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

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: var(--font-size-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

/* Badges / pills for statuses like VIP, Event, Poker, etc. */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(212, 175, 55, 0.7);
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.22) 0, transparent 50%), rgba(5, 5, 9, 0.9);
  color: var(--color-primary);
}

.badge--emerald {
  border-color: rgba(15, 111, 85, 0.85);
  color: #9af7cf;
}

.badge--ruby {
  border-color: rgba(183, 18, 60, 0.85);
  color: #ffb7cf;
}

/* ========================================================================
   Helpers for Theming Sections
   ======================================================================== */

.section--dark {
  background: radial-gradient(circle at top left, #14141f 0, #050509 60%, #000 100%);
}

.section--tinted-ruby {
  background: radial-gradient(circle at top right, rgba(183, 18, 60, 0.3) 0, #050509 55%);
}

.section--tinted-emerald {
  background: radial-gradient(circle at top left, rgba(15, 111, 85, 0.3) 0, #050509 55%);
}

.section-divider-gold {
  height: 1px;
  width: 80px;
  margin: var(--space-4) 0;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.9), transparent);
}

/* ========================================================================
   Tables (for rules, dress code, FAQ lists)
   ======================================================================== */

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: var(--font-size-sm);
}

thead {
  background: rgba(255, 255, 255, 0.02);
}

th,
td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

th {
  text-align: left;
  font-weight: 600;
  color: var(--color-text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--font-size-xs);
}

/* ========================================================================
   Misc
   ======================================================================== */

hr {
  border: 0;
  height: 1px;
  margin: var(--space-8) 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

code,
pre {
  font-family: var(--font-mono);
}

pre {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background-color: #101018;
  overflow-x: auto;
}

/* End of base.css */
