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

:root {
  /* Colors - Nightlife, energetic, premium */
  --color-bg: #050510; /* deep night background */
  --color-surface: #11111f; /* card / panel */
  --color-surface-alt: #19192a;

  --color-text: #f5f5fb;
  --color-text-muted: #a3a3c2;

  --color-primary: #ff2d77; /* neon pink accent */
  --color-primary-soft: rgba(255, 45, 119, 0.12);

  --color-success: #3fd28d;
  --color-warning: #ffb347;
  --color-danger: #ff4b5c;

  --color-border-subtle: rgba(255, 255, 255, 0.08);

  /* Neutral grays (cool) */
  --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, "Inter", "SF Pro Text", "Segoe UI", sans-serif;
  --font-heading: "Poppins", 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 - slightly larger for readability */
  --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.1;
  --line-height-snug: 1.3;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.7;

  /* Spacing scale (px) */
  --space-0: 0;
  --space-1: 2px;
  --space-2: 4px;
  --space-3: 6px;
  --space-4: 8px;
  --space-5: 10px;
  --space-6: 12px;
  --space-8: 16px;
  --space-10: 20px;
  --space-12: 24px;
  --space-16: 32px;
  --space-20: 40px;
  --space-24: 48px;
  --space-28: 56px;
  --space-32: 64px;
  --space-40: 80px;
  --space-48: 96px;

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

  /* Shadows - soft neon glow */
  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.6);
  --shadow-glow-primary: 0 0 25px rgba(255, 45, 119, 0.5);

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

@media (max-width: 768px) {
  :root {
    --font-size-3xl: 1.75rem;
    --font-size-4xl: 2rem;
    --font-size-5xl: 2.5rem;
  }
}

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

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

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

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

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

/* Respect reduced motion */
@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;
  }
}

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

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  background: radial-gradient(circle at top, #141432 0, #050510 55%, #000 100%);
  color: var(--color-text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
}

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

h1 { font-size: var(--font-size-4xl); margin-bottom: var(--space-16); }

h2 { font-size: var(--font-size-3xl); margin-bottom: var(--space-12); }

h3 { font-size: var(--font-size-2xl); margin-bottom: var(--space-10); }

h4 { font-size: var(--font-size-xl); margin-bottom: var(--space-8); }

h5 { font-size: var(--font-size-lg); margin-bottom: var(--space-6); }

h6 { font-size: var(--font-size-base); margin-bottom: var(--space-4); }

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

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

strong {
  font-weight: 600;
}

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

a:hover {
  text-shadow: 0 0 12px rgba(255, 45, 119, 0.7);
}

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

hr {
  border: none;
  border-top: 1px solid var(--color-border-subtle);
  margin: var(--space-16) 0;
}

/* Lists */

ul,
ol {
  list-style: none;
}

/* ========================================================================== */
/*  Accessibility                                                             */
/* ========================================================================== */

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

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

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

/* Layout */

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-16);
  padding-right: var(--space-16);
}

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

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

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

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

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section__title {
  margin-top: var(--space-8);
}

.section__subtitle {
  margin-top: var(--space-6);
  max-width: 640px;
}

/* Flex utilities */

.flex {
  display: flex;
}

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

.flex-row { flex-direction: row; }
.flex-column { 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; }
.justify-around { justify-content: space-around; }

.gap-8 { gap: var(--space-8); }
.gap-12 { gap: var(--space-12); }
.gap-16 { gap: var(--space-16); }
.gap-24 { gap: var(--space-24); }
.gap-32 { gap: var(--space-32); }

/* Grid utilities */

.grid {
  display: grid;
}

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

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

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

/* Alignment helpers */

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

/* Spacing helpers (y-axis only for cleanliness) */

.mt-0 { margin-top: 0; }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }
.mt-24 { margin-top: var(--space-24); }

.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }
.mb-16 { margin-bottom: var(--space-16); }
.mb-24 { margin-bottom: var(--space-24); }

/* Width helpers */

.w-full { width: 100%; }

/* Background helpers */

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

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

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

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-fast),
    border-color var(--transition-base);
}

.btn--primary {
  background: linear-gradient(135deg, #ff2d77, #ff7a3c);
  color: #fff;
  box-shadow: var(--shadow-md), var(--shadow-glow-primary);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md), 0 0 30px rgba(255, 45, 119, 0.9);
}

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

.btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--color-text);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-primary);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text);
}

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

.btn--sm {
  padding: 6px 14px;
  font-size: var(--font-size-xs);
}

.btn--lg {
  padding: 14px 28px;
  font-size: var(--font-size-md);
}

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

.btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Inputs & form fields */

.input,
.textarea,
.select {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 5, 16, 0.9);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    background-color var(--transition-base);
}

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

.input:focus-visible,
.textarea:focus-visible,
.select:focus-visible {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(255, 45, 119, 0.7), var(--shadow-sm);
}

.input[disabled],
.textarea[disabled],
.select[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

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

label {
  display: block;
  margin-bottom: var(--space-4);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}

.form-field {
  margin-bottom: var(--space-16);
}

.form-help {
  margin-top: var(--space-4);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

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

/* Card component */

.card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: var(--space-16);
  background: radial-gradient(circle at top left, rgba(255, 45, 119, 0.12), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(20, 20, 32, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}

.card--muted {
  background: var(--color-surface);
  border-color: var(--color-border-subtle);
  box-shadow: var(--shadow-sm);
  backdrop-filter: none;
}

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

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

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

.card__footer {
  margin-top: var(--space-12);
}

/* Tag / pill (useful for poker limits, sports categories, offers) */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

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

.badge--success {
  background: rgba(63, 210, 141, 0.18);
  color: var(--color-success);
}

.badge--warning {
  background: rgba(255, 179, 71, 0.18);
  color: var(--color-warning);
}

/* Helper component: schedule row (sports & events) */

.schedule-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  padding: var(--space-12) var(--space-16);
  border-radius: var(--radius-md);
  background: rgba(9, 9, 24, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.schedule-row__left {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.schedule-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.schedule-row__action {
  flex-shrink: 0;
}

/* Testimonial quote */

.quote {
  font-size: var(--font-size-md);
  line-height: var(--line-height-relaxed);
}

.quote::before,
.quote::after {
  content: "\201C";
  font-size: 2.5rem;
  line-height: 0;
  vertical-align: -0.4em;
  color: rgba(255, 255, 255, 0.16);
}

.quote::after {
  content: "\201D";
}

.quote__author {
  margin-top: var(--space-8);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* Image gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-12);
}

.gallery-grid img {
  border-radius: var(--radius-md);
  object-fit: cover;
}

/* Hero overlay gradient (for top sections) */

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), #050510 70%);
  pointer-events: none;
}

/* Navigation baseline (kept generic) */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 5, 16, 0.94), rgba(5, 5, 16, 0.8));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-10);
  padding-bottom: var(--space-10);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-16);
}

.nav__link {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff2d77, #ff7a3c);
  transition: width var(--transition-base);
}

.nav__link:hover,
.nav__link--active {
  color: #fff;
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

/* Footer baseline */

.site-footer {
  margin-top: var(--space-40);
  padding-top: var(--space-24);
  padding-bottom: var(--space-24);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at top, #161633 0, #04040c 70%);
}

.site-footer__meta {
  margin-top: var(--space-16);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* Media queries tweaks for smaller screens */

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

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