:root {
  /* Color Palette */
  --color-bg: #050814;
  --color-bg-elevated: #0d1020;
  --color-surface: #14172a;
  --color-surface-soft: #1c1f34;

  --color-text: #f7f7ff;
  --color-text-muted: #a3a7c2;
  --color-border-subtle: rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(255, 255, 255, 0.18);

  --color-primary: #ff4b6e; /* energetic accent */
  --color-primary-soft: rgba(255, 75, 110, 0.16);
  --color-primary-strong: #ff2c56;

  --color-success: #3dd68c;
  --color-success-soft: rgba(61, 214, 140, 0.16);

  --color-warning: #ffb648;
  --color-warning-soft: rgba(255, 182, 72, 0.16);

  --color-danger: #ff4d4f;
  --color-danger-soft: rgba(255, 77, 79, 0.16);

  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2933;
  --color-gray-900: #111827;

  /* Poker / Accent Hints (optional usage) */
  --color-chip-red: #ff4b6e;
  --color-chip-blue: #3f8cff;
  --color-chip-green: #3dd68c;

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Roboto", "Segoe UI", sans-serif;
  --font-display: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Roboto", "Segoe UI", sans-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-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.5;
  --line-height-relaxed: 1.7;

  /* Spacing Scale (0–96px, 4px step) */
  --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-11: 2.75rem;  /* 44px */
  --space-12: 3rem;     /* 48px */
  --space-14: 3.5rem;   /* 56px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */

  /* Radius */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-medium: 0 18px 45px rgba(3, 7, 18, 0.8);
  --shadow-focus: 0 0 0 2px rgba(5, 8, 20, 0.9), 0 0 0 4px rgba(255, 75, 110, 0.7);

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

/* ========================================
   RESET & NORMALIZE
   ===================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

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

body {
  min-height: 100vh;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: inherit;
  color: inherit;
  margin: 0;
}

button,
[role="button"] {
  cursor: pointer;
}

button:disabled,
[role="button"][aria-disabled="true"],
input:disabled,
select:disabled,
textarea:disabled {
  cursor: not-allowed;
}

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

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

/* Better default tables */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

th,
td {
  padding: 0;
}

/* ========================================
   BASE STYLES
   ===================================== */
body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  background: radial-gradient(circle at top, #151a3b 0, #050814 55%, #020308 100%);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  display: block;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: var(--line-height-snug);
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

h1 {
  font-size: clamp(var(--font-size-3xl), 2.4vw + 1.4rem, var(--font-size-5xl));
}

h2 {
  font-size: clamp(var(--font-size-2xl), 1.6vw + 1.2rem, var(--font-size-4xl));
}

h3 {
  font-size: clamp(var(--font-size-xl), 1.1vw + 1rem, var(--font-size-3xl));
}

h4 {
  font-size: var(--font-size-xl);
}

h5 {
  font-size: var(--font-size-lg);
}

h6 {
  font-size: var(--font-size-base);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

strong,
b {
  font-weight: 600;
}

small {
  font-size: 0.875em;
}

/* Links */
a {
  position: relative;
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-medium), opacity var(--transition-fast);
}

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

a:focus-visible {
  outline: none;
}

/* Use focus-visible globally */
:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
  border-radius: var(--radius-sm);
}

/* Lists */
ul,
ol {
  margin-bottom: var(--space-4);
  padding-left: 1.25rem;
}

/* Forms */
label {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: var(--font-size-sm);
  font-weight: 500;
}

::placeholder {
  color: var(--color-text-muted);
  opacity: 0.7;
}

/* ========================================
   UTILITIES
   ===================================== */

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

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

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

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

.section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

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

.section__subtitle {
  max-width: 40rem;
  color: var(--color-text-muted);
}

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

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

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

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

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

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

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

.text-muted {
  color: var(--color-text-muted);
}

/* Spacing Utilities (common ones) */
.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-4); }
.mt-lg { margin-top: var(--space-6); }
.mt-xl { margin-top: var(--space-8); }

.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-4); }
.mb-lg { margin-bottom: var(--space-6); }
.mb-xl { margin-bottom: var(--space-8); }

.pt-md { padding-top: var(--space-4); }
.pb-md { padding-bottom: var(--space-4); }

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

/* Badges / Pills (for event tags, etc.) */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background-color: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--color-border-subtle);
  color: var(--color-text-muted);
}

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

.badge--success {
  background-color: var(--color-success-soft);
  border-color: rgba(61, 214, 140, 0.7);
  color: var(--color-success);
}

/* ========================================
   COMPONENTS
   ===================================== */

/* Buttons: used for CTS "Rezervă acum", "Solicită ofertă", etc. */
.button,
button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: var(--color-primary);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background var(--transition-medium),
    color var(--transition-medium),
    box-shadow var(--transition-medium),
    transform var(--transition-fast),
    border-color var(--transition-medium),
    opacity var(--transition-fast);
}

.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover {
  background: var(--color-primary-strong);
  box-shadow: 0 12px 30px rgba(255, 75, 110, 0.45);
  transform: translateY(-1px);
}

.button:active,
button:active,
input[type="submit"]:active,
input[type="button"]:active,
input[type="reset"]:active {
  transform: translateY(0);
  box-shadow: 0 4px 18px rgba(255, 75, 110, 0.35);
}

.button:disabled,
button:disabled,
input[type="submit"]:disabled,
input[type="button"]:disabled,
input[type="reset"]:disabled {
  opacity: 0.6;
  box-shadow: none;
}

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

.button--outline:hover {
  background: rgba(15, 23, 42, 0.9);
}

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

.button--ghost:hover {
  background: rgba(15, 23, 42, 0.8);
}

.button--full {
  width: 100%;
}

/* Inputs: forms for rezervări, contact, newsletter */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="search"],
input[type="password"],
textarea,
select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  background-color: rgba(6, 10, 25, 0.85);
  color: var(--color-text);
  transition:
    border-color var(--transition-medium),
    box-shadow var(--transition-medium),
    background-color var(--transition-medium);
}

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

select {
  background-image: linear-gradient(45deg, transparent 50%, #a3a7c2 50%),
    linear-gradient(135deg, #a3a7c2 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2rem;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  border-color: rgba(255, 75, 110, 0.8);
  box-shadow: 0 0 0 1px rgba(255, 75, 110, 0.6);
}

input:disabled,
textarea:disabled,
select:disabled {
  background-color: rgba(15, 23, 42, 0.6);
  color: var(--color-text-muted);
}

/* Card: for event types, poker experience, FAQ, etc. */
.card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  background: radial-gradient(circle at top left, rgba(63, 140, 255, 0.14), transparent 55%),
    radial-gradient(circle at bottom right, rgba(255, 75, 110, 0.18), transparent 55%),
    linear-gradient(145deg, #10142a, #070919);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: var(--shadow-soft);
}

.card--soft {
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  background: linear-gradient(150deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.94));
  border: 1px solid var(--color-border-subtle);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.7);
}

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

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

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

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

.card__actions {
  margin-top: var(--space-4);
}

/* Tagline / Highlight text (for concept & atmosphere) */
.highlight {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
}

/* Hero CTA group */
.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* FAQ accordion basics (structure only) */
.faq-item {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-subtle);
  background: rgba(15, 23, 42, 0.96);
  padding: var(--space-4);
}

.faq-item + .faq-item {
  margin-top: var(--space-3);
}

.faq-item__question {
  font-weight: 500;
  cursor: pointer;
}

.faq-item__answer {
  margin-top: var(--space-2);
  color: var(--color-text-muted);
}

/* Navigation shell (not full layout, just base) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(5, 8, 20, 0.96), rgba(5, 8, 20, 0.88));
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: var(--font-size-sm);
}

.nav-link {
  position: relative;
  padding: 0.25rem 0;
  color: var(--color-text-muted);
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-chip-blue));
  transition: width var(--transition-medium);
}

.nav-link:hover {
  color: var(--color-text);
}

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

.nav-link--active {
  color: var(--color-text);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border-subtle);
  background: radial-gradient(circle at top, #111827 0, #050814 60%);
  padding-top: var(--space-10);
  padding-bottom: var(--space-8);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.site-footer a {
  color: inherit;
}

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

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

/* Focus ring helper class (for non-native focusable elements) */
.focus-ring {
  outline: none;
}

.focus-ring:focus-visible {
  box-shadow: var(--shadow-focus);
}

/* ========================================
   PAGE-SPECIFIC HOOKS (lightweight)
   ===================================== */

/* For hero sections (Acasă, Seri de Poker) */
.hero {
  padding-top: clamp(5rem, 9vh, 7rem);
  padding-bottom: clamp(4rem, 8vh, 6rem);
}

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

.hero__title {
  max-width: 18ch;
}

.hero__subtitle {
  max-width: 40ch;
  color: var(--color-text-muted);
}

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

.gallery-grid img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

/* Event schedule listing */
.event-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-4);
}

.event-list__item {
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid var(--color-border-subtle);
}

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

/* Location & info panel (Contact) */
.info-panel {
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-soft);
}