:root {
  /* Color Palette - Event Luxury Poker Theme */
  --color-background: #f8f5f2; /* pearl / soft ivory base */
  --color-surface: #ffffff;
  --color-surface-elevated: rgba(255, 255, 255, 0.86);
  --color-text: #1f2024;
  --color-text-soft: #5c6069;
  --color-primary: #c8a96a; /* champagne gold */
  --color-primary-soft: #e2cfa0;
  --color-primary-muted: #e9dcc1;
  --color-accent-sage: #a1b9a2; /* muted sage green */
  --color-accent-sage-soft: #c5d4c6;
  --color-success: #5ba87a;
  --color-warning: #e3a347;
  --color-danger: #c46060;

  --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: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Playfair Display", "Times New Roman", serif;
  --font-accent: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --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.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.125rem;  /* 2px */
  --space-2: 0.25rem;   /* 4px */
  --space-3: 0.375rem;  /* 6px */
  --space-4: 0.5rem;    /* 8px */
  --space-5: 0.625rem;  /* 10px */
  --space-6: 0.75rem;   /* 12px */
  --space-8: 1rem;      /* 16px */
  --space-10: 1.25rem;  /* 20px */
  --space-12: 1.5rem;   /* 24px */
  --space-16: 2rem;     /* 32px */
  --space-20: 2.5rem;   /* 40px */
  --space-24: 3rem;     /* 48px */
  --space-28: 3.5rem;   /* 56px */
  --space-32: 4rem;     /* 64px */
  --space-40: 5rem;     /* 80px */
  --space-48: 6rem;     /* 96px */

  /* Radius */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* Shadows - soft, premium */
  --shadow-soft: 0 8px 20px rgba(15, 23, 42, 0.06);
  --shadow-medium: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-strong: 0 30px 80px rgba(15, 23, 42, 0.2);
  --shadow-glass: 0 18px 60px rgba(15, 23, 42, 0.35);

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

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

html,
body {
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
}

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

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

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

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure {
  margin: 0;
}

blockquote {
  margin: 0;
}

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

main {
  min-height: 60vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: var(--line-height-tight);
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.25rem, 3.2vw + 1.4rem, 3.5rem);
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(1.875rem, 2.2vw + 1.1rem, 2.6rem);
}

h3 {
  font-size: clamp(1.5rem, 1.4vw + 1rem, 2rem);
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

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

strong {
  font-weight: 600;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  cursor: pointer;
  transition: color var(--transition-base), opacity var(--transition-base);
}

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

a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

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

::selection {
  background-color: rgba(200, 169, 106, 0.2);
}

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

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

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

/* =============================================
   Layout Utilities
   ========================================== */
.container {
  width: 100%;
  margin: 0 auto;
  padding-left: var(--space-12);
  padding-right: var(--space-12);
  max-width: 1120px;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
}

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

@media (min-width: 768px) {
  .section {
    padding-top: var(--space-40);
    padding-bottom: var(--space-40);
  }
}

/* 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;
}

.justify-end {
  justify-content: flex-end;
}

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

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

.gap-md {
  gap: var(--space-12);
}

.gap-lg {
  gap: var(--space-20);
}

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

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

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

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

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

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



/* =============================================
   Buttons
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-accent);
  font-size: var(--font-size-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-fast),
    border-color var(--transition-base),
    opacity var(--transition-base);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-soft) 100%);
  color: #15161a;
  box-shadow: 0 12px 30px rgba(200, 169, 106, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(200, 169, 106, 0.45);
  background: linear-gradient(135deg, var(--color-primary-soft) 0%, var(--color-primary) 100%);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 10px 24px rgba(200, 169, 106, 0.3);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--color-text);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  background-color: #ffffff;
  border-color: rgba(15, 23, 42, 0.18);
}

.btn-ghost {
  background-color: transparent;
  color: var(--color-text);
  border-color: rgba(148, 163, 184, 0.4);
}

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

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

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

/* =============================================
   Form Elements
   ========================================== */
input,
select,
textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.5);
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    background-color var(--transition-base);
}

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

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary-soft), 0 15px 45px rgba(15, 23, 42, 0.13);
  background-color: #ffffff;
}

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

label {
  display: inline-block;
  margin-bottom: var(--space-4);
  font-size: var(--font-size-sm);
  color: var(--color-text);
}

.input-group {
  margin-bottom: var(--space-12);
}

/* =============================================
   Card / Surfaces
   ========================================== */
.card {
  position: relative;
  padding: var(--space-20);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(250, 248, 244, 0.98));
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

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

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

.card-title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-4);
}

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

/* Glassmorphism surface for header / floating nav */
.surface-glass {
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.7), rgba(244, 244, 246, 0.6));
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-glass);
}

/* =============================================
   Poker-Themed Decorative Helpers (subtle)
   ========================================== */
.badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  background-color: rgba(200, 169, 106, 0.12);
  color: var(--gray-700);
}

.badge-pill--sage {
  background-color: rgba(161, 185, 162, 0.14);
  color: var(--gray-700);
}

.chip-outline {
  border-radius: var(--radius-pill);
  border: 1px dashed rgba(200, 169, 106, 0.6);
  padding: 0.35rem 0.9rem;
  font-size: var(--font-size-xs);
}

/* =============================================
   Footer Basics
   ========================================== */
.site-footer {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 241, 235, 0.98));
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding-top: var(--space-24);
  padding-bottom: var(--space-20);
}

.site-footer__disclaimer {
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  padding: var(--space-12) var(--space-16);
  margin-bottom: var(--space-12);
  text-align: center;
}

.site-footer__disclaimer-text {
  font-size: var(--font-size-xs);
  color: var(--color-text-soft);
  opacity: 0.75;
  margin: 0;
  max-width: 80ch;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--line-height-relaxed);
}

.site-footer__title {
  font-size: var(--font-size-md);
  margin-bottom: var(--space-8);
}

.site-footer__link {
  display: inline-flex;
  align-items: center;
  font-size: var(--font-size-sm);
  color: var(--color-text-soft);
  margin-bottom: var(--space-4);
}

.site-footer__link:hover {
  color: var(--color-text);
}

/* Social icons minimal hover */
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--color-text);
  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    border-color var(--transition-base),
    transform var(--transition-fast),
    box-shadow var(--transition-base);
}

.social-link:hover {
  background-color: #ffffff;
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
}

/* =============================================
   Hero / Section Helpers (generic)
   ========================================== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: var(--space-32);
  padding-bottom: var(--space-32);
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: var(--font-size-xs);
  color: var(--gray-500);
  margin-bottom: var(--space-4);
}

.hero__headline {
  margin-bottom: var(--space-8);
}

.hero__subheadline {
  font-size: var(--font-size-lg);
  color: var(--color-text-soft);
  max-width: 44rem;
}

.hero__actions {
  margin-top: var(--space-16);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.hero-decor {
  position: absolute;
  pointer-events: none;
  opacity: 0.24;
}

.hero-decor--chip {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid rgba(200, 169, 106, 0.7);
}

.hero-decor--card {
  width: 88px;
  height: 120px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
}

/* =============================================
   Utility Spacing (limited, key uses)
   ========================================== */
.mt-0 { margin-top: 0; }
.mt-xs { margin-top: var(--space-4); }
.mt-sm { margin-top: var(--space-8); }
.mt-md { margin-top: var(--space-12); }
.mt-lg { margin-top: var(--space-20); }

.mb-0 { margin-bottom: 0; }
.mb-xs { margin-bottom: var(--space-4); }
.mb-sm { margin-bottom: var(--space-8); }
.mb-md { margin-bottom: var(--space-12); }
.mb-lg { margin-bottom: var(--space-20); }

.pt-section { padding-top: var(--space-32); }
.pb-section { padding-bottom: var(--space-32); }

/* =============================================
   Z-index helpers for layered visuals
   ========================================== */
.z-base { z-index: 1; }
.z-raised { z-index: 5; }
.z-overlay { z-index: 10; }

/* =============================================
   End base.css
   ========================================== */
