/* ==================================================================
   Variables
   ================================================================== */
:root {
  /* Color Palette - Casino / Poker Premium (Light, Beige, Gold, Navy) */
  --color-background: #f7f2ea;       /* main page background - warm light beige */
  --color-surface: #ffffff;          /* cards, panels */
  --color-text: #1b2430;             /* main text - deep navy/graphite */
  --color-text-muted: #6f7682;       /* secondary text */

  --color-primary: #b38b3f;          /* elegant warm gold */
  --color-primary-soft: #f3e4c6;     /* soft gold-tinted background */
  --color-primary-dark: #8f6d31;     /* darker gold for hover */

  --color-accent-navy: #111827;      /* strong navy accent */
  --color-accent-navy-soft: #e1e6f3; /* soft navy-tinted background */

  --color-success: #1c8d64;
  --color-warning: #e29b36;
  --color-danger: #c53b3b;

  --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;

  /* Gradients - subtle premium glows for hero/sections */
  --gradient-gold-soft: radial-gradient(circle at top left, rgba(243, 228, 198, 0.9), rgba(247, 242, 234, 0.95));
  --gradient-hero-light: radial-gradient(circle at 0% 0%, rgba(243, 228, 198, 0.9), transparent 55%),
                         radial-gradient(circle at 100% 0%, rgba(36, 52, 99, 0.18), transparent 55%),
                         linear-gradient(180deg, #f7f2ea 0%, #ffffff 55%, #f7f2ea 100%);
  --gradient-button-gold: linear-gradient(135deg, #c8a25a 0%, #f3dfb0 50%, #a87b2b 100%);
  --gradient-button-gold-hover: linear-gradient(135deg, #d3b16c 0%, #f6e4bb 50%, #966924 100%);

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", sans-serif;
  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-mono: "JetBrains Mono", Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-base: 1rem;    /* 16px */
  --font-size-md: 1.0625rem; /* 17px */
  --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.2;
  --line-height-snug: 1.35;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.7;

  /* Spacing Scale (px values in rem for consistency) */
  --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-xs: 0.25rem;   /* 4px */
  --radius-sm: 0.375rem;  /* 6px */
  --radius-md: 0.5rem;    /* 8px */
  --radius-lg: 0.75rem;   /* 12px */
  --radius-xl: 1rem;      /* 16px */
  --radius-pill: 999px;

  /* Shadows - soft, premium */
  --shadow-xs: 0 4px 10px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 30px 80px rgba(15, 23, 42, 0.16);

  /* Borders */
  --border-subtle: 1px solid rgba(17, 24, 39, 0.06);
  --border-strong: 1px solid rgba(17, 24, 39, 0.12);

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

  /* Layout */
  --container-max-width: 1120px;   /* event portfolio style */
  --container-max-width-wide: 1280px;
}

/* Motion reduction support */
@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0ms;
    --transition-base: 0ms;
    --transition-slow: 0ms;
  }
}

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

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

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 {
  border: none;
  padding: 0;
  background: none;
}

textarea {
  resize: vertical;
}

a {
  color: inherit;
}

/* Remove default focus outline, we'll restore with :focus-visible */
:focus {
  outline: none;
}

/* ==================================================================
   Base Styles
   ================================================================== */
body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  background: var(--color-background);
  color: var(--color-text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main {
  min-height: 60vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--line-height-tight);
  color: var(--color-accent-navy);
}

h1 {
  font-size: clamp(2.25rem, 4vw, 3rem); /* 36–48px */
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem); /* 28–36px */
}

h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.875rem); /* 22–30px */
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-top: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: var(--font-size-md);
  color: var(--color-text);
}

p.lead {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-muted);
}

strong {
  font-weight: 600;
}

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

a {
  text-decoration: none;
  color: var(--color-accent-navy);
  transition: color var(--transition-base), opacity var(--transition-fast);
}

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

a:focus-visible {
  outline: 2px solid rgba(179, 139, 63, 0.8);
  outline-offset: 2px;
}

hr {
  border: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  margin: var(--space-8) 0;
}

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

/* ==================================================================
   Accessibility & Motion
   ================================================================== */
:focus-visible {
  outline: 2px solid rgba(179, 139, 63, 0.9);
  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 utility */
.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%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
  max-width: var(--container-max-width);
}

.container-wide {
  max-width: var(--container-max-width-wide);
}

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

.section--light {
  background: var(--color-background);
}

.section--surface {
  background: var(--color-surface);
}

.section--accent {
  background: linear-gradient(135deg, #f7f2ea 0%, #ffffff 35%, #f3e4c6 100%);
}

.section-heading {
  margin-bottom: var(--space-6);
  text-align: left;
}

.section-heading__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: var(--font-size-xs);
  color: var(--color-primary-dark);
  font-weight: 500;
}

.section-heading__title {
  margin-top: var(--space-2);
}

.section-heading__subtitle {
  margin-top: var(--space-3);
  max-width: 36rem;
  color: var(--color-text-muted);
}

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

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

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

.flex-row {
  flex-direction: row;
}

.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-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-6);
}

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

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

/* Width helpers */
.w-full { width: 100%; }
/* Text alignment */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

/* Margin & Padding shortcuts (limited, for layout) */
.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 ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--transition-base),
              color var(--transition-base),
              border-color var(--transition-base),
              box-shadow var(--transition-base),
              transform var(--transition-fast);
  white-space: nowrap;
}

.btn--primary {
  background-image: var(--gradient-button-gold);
  color: #1b1305;
  box-shadow: 0 12px 30px rgba(179, 139, 63, 0.35);
}

.btn--primary:hover {
  background-image: var(--gradient-button-gold-hover);
  box-shadow: 0 16px 45px rgba(179, 139, 63, 0.45);
  transform: translateY(-1px);
}

.btn--primary:active {
  box-shadow: 0 6px 18px rgba(179, 139, 63, 0.35);
  transform: translateY(0);
}

.btn--outline {
  background: transparent;
  border-color: rgba(179, 139, 63, 0.6);
  color: var(--color-accent-navy);
}

.btn--outline:hover {
  background: rgba(243, 228, 198, 0.35);
  border-color: rgba(179, 139, 63, 0.9);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.26);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

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

.btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 3px;
}

/* Inputs & Form controls ------------------------------------------- */
.input,
.textarea,
.select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 23, 42, 0.12);
  background-color: rgba(255, 255, 255, 0.96);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  transition: border-color var(--transition-base),
              box-shadow var(--transition-base),
              background-color var(--transition-fast);
}

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

.input:focus-visible,
.textarea:focus-visible,
.select:focus-visible {
  border-color: rgba(179, 139, 63, 0.85);
  box-shadow: 0 0 0 1px rgba(179, 139, 63, 0.65),
              0 10px 30px rgba(15, 23, 42, 0.12);
  outline: none;
}

.input[disabled],
.textarea[disabled],
.select[disabled] {
  background-color: var(--gray-100);
  color: var(--gray-500);
  cursor: not-allowed;
}

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

.field-helper {
  font-size: var(--font-size-xs);
  color: var(--gray-500);
  margin-top: 0.2rem;
}

.field-error {
  font-size: var(--font-size-xs);
  color: var(--color-danger);
  margin-top: 0.25rem;
}

.input--error,
.textarea--error,
.select--error {
  border-color: rgba(197, 59, 59, 0.7);
}

/* Cards ------------------------------------------------------------ */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: var(--border-subtle);
  box-shadow: var(--shadow-sm);
  padding: var(--space-5);
}

.card--elevated {
  box-shadow: var(--shadow-md);
}

.card--soft {
  background: linear-gradient(145deg, #ffffff 0%, #f7f2ea 60%, #f3e4c6 100%);
}

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

.card__title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-1);
}

.card__subtitle {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.card__content {
  font-size: var(--font-size-sm);
}

/* Hero / Slider-friendly base ------------------------------------- */
.hero-base {
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero-light);
  color: var(--color-accent-navy);
}

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

@media (max-width: 768px) {
  .hero-base__inner {
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
  }
}

.hero-base__eyebrow {
  font-size: var(--font-size-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-2);
}

.hero-base__title {
  max-width: 30rem;
}

.hero-base__subtitle {
  margin-top: var(--space-4);
  max-width: 32rem;
  color: var(--color-text-muted);
}

.hero-base__actions {
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hero-base__media {
  position: relative;
}

/* Generic badge / label ------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.6rem;
  font-size: var(--font-size-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(179, 139, 63, 0.5);
  color: var(--color-primary-dark);
  background: rgba(243, 228, 198, 0.35);
}

.badge--soft-navy {
  border-color: rgba(17, 24, 39, 0.05);
  background: rgba(225, 230, 243, 0.6);
  color: var(--color-accent-navy);
}

/* Lists ------------------------------------------------------------ */
.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-check li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  font-size: var(--font-size-sm);
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(179, 139, 63, 0.25);
}

/* Alert / disclaimer (e.g. legal footer info) --------------------- */
.notice {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(243, 228, 198, 0.22);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.notice--info {
  background: rgba(225, 230, 243, 0.6);
}

.notice--danger {
  background: rgba(197, 59, 59, 0.06);
  border-color: rgba(197, 59, 59, 0.4);
  color: var(--color-danger);
}

/* Tags for SEO keywords display (if needed) ----------------------- */
.tag {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.7rem;
  font-size: var(--font-size-xs);
  background: rgba(17, 24, 39, 0.03);
  color: var(--gray-600);
}

/* Tables (for business info / legal) ------------------------------ */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
}

.table th,
.table td {
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
  text-align: left;
}

.table th {
  font-weight: 600;
  color: var(--gray-700);
}

/* Footer base ------------------------------------------------------ */
.footer-base {
  background: #111827;
  color: rgba(249, 250, 251, 0.9);
  padding-top: var(--space-12);
  padding-bottom: var(--space-8);
}

.footer-base a {
  color: rgba(249, 250, 251, 0.85);
}

.footer-base a:hover {
  color: #ffffff;
}

.footer-base__heading {
  font-family: var(--font-sans);
  font-size: var(--font-size-sm);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  color: rgba(243, 244, 246, 0.85);
}

.footer-base__disclaimer {
  margin-top: var(--space-6);
  font-size: var(--font-size-xs);
  color: rgba(209, 213, 219, 0.8);
}

/* Misc helpers ----------------------------------------------------- */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

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

.bg-surface { background: var(--color-surface); }
.bg-accent-navy { background: var(--color-accent-navy); color: #ffffff; }
.bg-primary-soft { background: var(--color-primary-soft); }

.text-muted { color: var(--color-text-muted); }
.text-primary { color: var(--color-primary-dark); }
.text-accent-navy { color: var(--color-accent-navy); }

/* End of base.css */
