/* =====================================================
   Variables
   ===================================================== */
:root {
  /* Colors */
  --color-bg: #050914;
  --color-surface: #0b1020;
  --color-surface-alt: #111729;
  --color-text: #f5f7ff;
  --color-text-muted: #a0a8c2;
  --color-primary: #ff3366; /* energetic accent */
  --color-primary-soft: rgba(255, 51, 102, 0.14);
  --color-primary-strong: #ff1e5a;
  --color-success: #16c47f;
  --color-warning: #ffb648;
  --color-danger: #ff4b6e;

  --gray-50: #f8fafc;
  --gray-100: #e2e8f0;
  --gray-200: #cbd5f5;
  --gray-300: #a0aec0;
  --gray-400: #718096;
  --gray-500: #4a5568;
  --gray-600: #2d3748;
  --gray-700: #1a202c;
  --gray-800: #111827;
  --gray-900: #050914;

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  --font-display: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

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

  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.5;
  --leading-relaxed: 1.7;

  /* 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-7: 1.75rem;  /* 28px */
  --space-8: 2rem;     /* 32px */
  --space-9: 2.25rem;  /* 36px */
  --space-10: 2.5rem;  /* 40px */
  --space-12: 3rem;    /* 48px */
  --space-14: 3.5rem;  /* 56px */
  --space-16: 4rem;    /* 64px */
  --space-20: 5rem;    /* 80px */
  --space-24: 6rem;    /* 96px */

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

  /* Shadows (neon-inspired, subtle) */
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 14px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow-primary: 0 0 0 1px rgba(255, 51, 102, 0.5), 0 0 32px rgba(255, 51, 102, 0.35);

  /* Transitions */
  --transition-fast: 120ms ease-out;
  --transition-base: 180ms ease-out;
  --transition-slow: 260ms ease;

  /* Layout */
  --container-width: 1120px;
  --container-wide-width: 1280px;
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0.001ms linear;
    --transition-base: 0.001ms linear;
    --transition-slow: 0.001ms linear;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}


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

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

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

body {
  min-height: 100vh;
}

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

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

textarea {
  resize: vertical;
}

:focus {
  outline: none;
}

[hidden] {
  display: none !important;
}


/* =====================================================
   Base Styles
   ===================================================== */
body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  background: radial-gradient(circle at top, #191b33 0, #050914 60%);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: 0.01em;
  color: var(--gray-50);
}

h1 {
  font-size: clamp(2.25rem, 4vw, 3rem);
  margin-bottom: var(--space-4);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: var(--space-3);
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  margin-bottom: var(--space-2);
}

h4 {
  font-size: 1.25rem;
  margin-bottom: var(--space-2);
}

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

strong {
  font-weight: 600;
}

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

a {
  position: relative;
  transition: color var(--transition-base);
}

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

/* Subtle underline hover for navigational links */
a[data-underline="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15em;
  width: 100%;
  height: 2px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-strong));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

a[data-underline="true"]:hover::after {
  transform: scaleX(1);
}

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

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

::selection {
  background: rgba(255, 51, 102, 0.32);
  color: #ffffff;
}


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

button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  box-shadow: 0 0 0 2px var(--color-bg), 0 0 0 4px var(--color-primary);
}

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

.sr-only-focusable:focus,
.sr-only-focusable:focus-visible {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}


/* =====================================================
   Utilities
   ===================================================== */
/* Containers */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.container-wide {
  width: 100%;
  max-width: var(--container-wide-width);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.section {
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.section--alt {
  background: radial-gradient(circle at top, rgba(255, 51, 102, 0.06), transparent 55%), var(--color-surface);
}

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

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

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

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

.flex-wrap {
  flex-wrap: wrap;
}

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

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

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

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: var(--space-4); }
.mb-4 { margin-bottom: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mb-8 { margin-bottom: var(--space-8); }

.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.55);
  color: var(--color-text-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.badge--primary {
  background: var(--color-primary-soft);
  color: var(--color-primary);
  border-color: rgba(255, 51, 102, 0.65);
}

.badge--success {
  background: rgba(22, 196, 127, 0.16);
  color: var(--color-success);
  border-color: rgba(22, 196, 127, 0.6);
}

.badge--danger {
  background: rgba(255, 75, 110, 0.16);
  color: var(--color-danger);
  border-color: rgba(255, 75, 110, 0.6);
}


/* =====================================================
   Components
   ===================================================== */
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  transition: background-color var(--transition-base),
              border-color var(--transition-base),
              color var(--transition-base),
              box-shadow var(--transition-base),
              transform var(--transition-fast);
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-strong));
  color: #ffffff;
  box-shadow: 0 14px 35px rgba(255, 51, 102, 0.35);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(255, 51, 102, 0.45);
}

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

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.32);
}

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

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

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: var(--text-xs);
}

.btn--lg {
  padding: 0.9rem 1.8rem;
  font-size: var(--text-base);
}

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

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  color: var(--color-text);
  transition: background-color var(--transition-base),
              border-color var(--transition-base),
              color var(--transition-base),
              transform var(--transition-fast),
              box-shadow var(--transition-base);
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.26);
  transform: translateY(-1px);
}


/* Form elements */
.form-control {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: var(--space-4);
}

label {
  font-size: var(--text-sm);
  color: var(--color-text);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="search"],
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(5, 9, 20, 0.9);
  color: var(--color-text);
  font-size: var(--text-sm);
  line-height: 1.4;
  transition: border-color var(--transition-base),
              box-shadow var(--transition-base),
              background-color var(--transition-base);
}

input::placeholder,
textarea::placeholder {
  color: rgba(160, 168, 194, 0.75);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow-primary);
  background: rgba(11, 16, 32, 0.98);
}

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

/* Basic table styling for schedules (tournaments, broadcasts) */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.table thead {
  background: rgba(255, 255, 255, 0.03);
}

.table th,
.table td {
  padding: 0.7rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.table th {
  font-weight: 600;
  color: var(--gray-100);
  white-space: nowrap;
}

.table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.01);
}

.table--compact th,
.table--compact td {
  padding-block: 0.5rem;
}


/* Cards (for menu highlights, poker lounge, events, offers, testimonials) */
.card {
  position: relative;
  background: linear-gradient(145deg, rgba(15, 24, 48, 0.98), rgba(7, 11, 24, 0.98));
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 51, 102, 0.12), transparent 55%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 51, 102, 0.38);
}

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

.card--surface-alt {
  background: linear-gradient(145deg, rgba(11, 16, 32, 0.98), rgba(5, 9, 20, 0.98));
}

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

.card-title {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.card-meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.card-actions {
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* Highlight card variant for themed nights, promotions, big matches */
.card--highlight {
  background: radial-gradient(circle at top, rgba(255, 51, 102, 0.18), transparent 55%), linear-gradient(145deg, #12152a, #070b17);
  border-color: rgba(255, 255, 255, 0.14);
}

.card--highlight::before {
  background: radial-gradient(circle at top right, rgba(255, 182, 72, 0.3), transparent 55%);
}

/* Hero-like overlay card (for main venue concept / reservation CTA) */
.card-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top, rgba(255, 51, 102, 0.4), transparent 60%), linear-gradient(135deg, #111729, #050914);
  border-radius: 28px;
  padding: clamp(1.8rem, 4vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.85);
}

.card-hero::after {
  content: "";
  position: absolute;
  inset-inline: 32%;
  bottom: -60%;
  height: 70%;
  background: radial-gradient(circle at center, rgba(0, 194, 255, 0.5), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
}

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


/* Tags / chips (for stakes, game types, match types) */
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: var(--text-xs);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-muted);
}

.tag--accent {
  background: rgba(255, 51, 102, 0.14);
  color: var(--color-primary);
}

.tag--live {
  background: rgba(255, 75, 110, 0.16);
  color: var(--color-danger);
}

.tag--vip {
  background: rgba(255, 182, 72, 0.16);
  color: var(--color-warning);
}


/* Media & gallery */
.media-rounded {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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


/* Testimonials basic styling */
.testimonial-quote {
  font-style: italic;
  color: var(--color-text-muted);
}

.testimonial-author {
  margin-top: var(--space-3);
  font-weight: 500;
  font-size: var(--text-sm);
}

.testimonial-meta {
  font-size: var(--text-xs);
  color: var(--gray-300);
}


/* Simple chip-style list (for amenities: parking, dress code, etc.) */
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip {
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  background: rgba(0, 0, 0, 0.35);
}


/* Notification / info banner (for special offers, live tournaments) */
.notice {
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 9, 20, 0.95);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--text-sm);
}

.notice--success {
  border-color: rgba(22, 196, 127, 0.65);
  background: rgba(22, 196, 127, 0.12);
}

.notice--danger {
  border-color: rgba(255, 75, 110, 0.7);
  background: rgba(255, 75, 110, 0.14);
}

.notice--warning {
  border-color: rgba(255, 182, 72, 0.7);
  background: rgba(255, 182, 72, 0.14);
}

.notice-title {
  font-weight: 600;
  margin-bottom: 0.15rem;
}


/* Simple pill for table availability status in reservation views */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: var(--text-xs);
  background: rgba(255, 255, 255, 0.04);
}

.status-pill-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--gray-400);
}

.status-pill--available .status-pill-dot {
  background: var(--color-success);
}

.status-pill--limited .status-pill-dot {
  background: var(--color-warning);
}

.status-pill--full .status-pill-dot {
  background: var(--color-danger);
}


/* Footer basics */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-block: var(--space-6);
  background: #050814;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

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