/* ========================================================================== *
   Variables
   ========================================================================== */

:root {
  /* Colors - Luxury Light Palette */
  --color-bg: #f8f5f1; /* warm ivory background */
  --color-bg-alt: #ffffff; /* pure white panels */
  --color-bg-elevated: #f3ece4; /* soft cream for cards */

  --color-text: #1f1b18; /* deep espresso */
  --color-text-muted: #7a6f66; /* soft taupe for secondary text */

  --color-primary: #c6a676; /* champagne gold */
  --color-primary-soft: rgba(198, 166, 118, 0.15);

  --color-success: #3a7f5a;
  --color-warning: #c4973b;
  --color-danger: #b4413b;

  --gray-50:  #faf7f3;
  --gray-100: #f2ece6;
  --gray-200: #e4d8cb;
  --gray-300: #d3c4b5;
  --gray-400: #bda896;
  --gray-500: #a38b74;
  --gray-600: #7f6a56;
  --gray-700: #5f4e3f;
  --gray-800: #3d332a;
  --gray-900: #211b16;

  /* Typography */
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Cormorant Garamond", "Playfair Display", "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-md: 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;

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

  /* Radii */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Shadows - soft luxury */
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.06);
  --shadow-subtle: 0 6px 18px rgba(30, 22, 15, 0.08);
  --shadow-elevated: 0 18px 45px rgba(18, 12, 6, 0.14);

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

/* ========================================================================== *
   Reset / Normalize
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  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 {
  background: none;
  border: none;
  padding: 0;
}

textarea {
  resize: vertical;
}

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

/* ========================================================================== *
   Base Styles
   ========================================================================== */

body {
  font-family: var(--font-sans);
  font-size: var(--font-size-md);
  line-height: var(--line-height-normal);
  background-color: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  min-height: 60vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-6);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: var(--line-height-snug);
  margin-bottom: var(--space-5);
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: var(--line-height-snug);
  margin-bottom: var(--space-4);
}

h4 {
  font-size: 1.125rem;
  margin-bottom: var(--space-3);
}

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

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

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

strong {
  font-weight: 600;
}

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

a:hover {
  color: var(--gray-800);
}

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

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

/* ========================================================================== *
   Utilities
   ========================================================================== */

/* Layout Container */

.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--space-5);
  max-width: 1120px;
}

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

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

.gap-xs { gap: var(--space-2); }
.gap-sm { gap: var(--space-3); }
.gap-md { gap: var(--space-4); }
.gap-lg { gap: var(--space-6); }
.gap-xl { gap: var(--space-7); }

/* Grid Helpers */

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

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

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

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

/* Spacing Utilities (margin & padding, limited core set) */

.mt-0 { margin-top: 0; }
.mt-xs { margin-top: var(--space-2); }
.mt-sm { margin-top: var(--space-3); }
.mt-md { margin-top: var(--space-5); }
.mt-lg { margin-top: var(--space-7); }
.mt-xl { margin-top: var(--space-9); }

.mb-0 { margin-bottom: 0; }
.mb-xs { margin-bottom: var(--space-2); }
.mb-sm { margin-bottom: var(--space-3); }
.mb-md { margin-bottom: var(--space-5); }
.mb-lg { margin-bottom: var(--space-7); }
.mb-xl { margin-bottom: var(--space-9); }

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

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

/* Text Utilities */

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--gray-500); }
.uppercase { text-transform: uppercase; }

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

/* Hero / Fullscreen Helpers */

.fullscreen-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Subtle marble-style background helper */

.bg-marble {
  background-color: var(--color-bg-alt);
  background-image:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.9), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(230, 214, 195, 0.45), transparent 55%);
  background-repeat: no-repeat;
}

/* ========================================================================== *
   Components
   ========================================================================== */

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: var(--font-size-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color var(--transition-normal),
    color var(--transition-normal),
    border-color var(--transition-normal),
    box-shadow var(--transition-normal),
    transform var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, #d2b483, #b89465);
  color: #fff;
  box-shadow: var(--shadow-subtle);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #dbc08f, #c39c6c);
  box-shadow: var(--shadow-elevated);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-text);
  border-color: rgba(198, 166, 118, 0.7);
}

.btn-outline:hover {
  background-color: var(--color-primary-soft);
}

.btn-ghost {
  background-color: transparent;
  color: var(--color-text);
}

.btn-ghost:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

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

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

/* Form Inputs */

.input,
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.12);
  background-color: rgba(255, 255, 255, 0.96);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

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

.input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(198, 166, 118, 0.3);
  background-color: #fff;
}

.input:disabled,
select:disabled,
textarea:disabled {
  background-color: rgba(0, 0, 0, 0.02);
  color: var(--gray-500);
  cursor: not-allowed;
}

label {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--font-size-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-700);
}

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

/* Card Component */

.card {
  background-color: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
}

.card--marble::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(242, 230, 214, 0.7));
  opacity: 0.45;
  pointer-events: none;
}

.card--marble > * {
  position: relative;
}

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

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

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

/* Hero Overlay Text (for fullscreen slider) */

.hero-overlay {
  position: relative;
  z-index: 2;
  max-width: 640px;
  color: #fff;
}

.hero-kicker {
  font-size: var(--font-size-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  color: rgba(255, 255, 255, 0.9);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-4);
  color: #fff;
}
#poker-hero-heading{
  color: #fff;
}
.hero-subtitle {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: var(--space-6);
}

/* Footer Helper */

.footer {
  background-color: #15100c;
  color: rgba(255, 255, 255, 0.86);
  padding-block: var(--space-8);
  font-size: var(--font-size-sm);
}

.footer a {
  color: rgba(255, 255, 255, 0.86);
}

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

.footer-disclaimer {
  margin-top: var(--space-6);
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.7);
}

/* Focus Styles & Accessibility */

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

/* Respect prefers-reduced-motion */

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