:root {
  /* =============================
     COLOR SYSTEM – LUXURY POKER CLUB
     ============================= */
  --color-bg-body: #050809;
  --color-bg-elevated: #0d1517;
  --color-bg-glass: rgba(8, 18, 20, 0.7);
  --color-bg-card: #10191b;
  --color-bg-muted: #161f22;

  --color-text: #f4f0e8;
  --color-text-soft: #c2bbb0;
  --color-text-muted: #8d867c;
  --color-text-inverse: #050607;

  --color-primary: #167a6a; /* deep emerald */
  --color-primary-soft: #1e8c79;
  --color-primary-dark: #0c4f43;

  --color-accent-gold: #c9a15a; /* antique gold */
  --color-accent-gold-soft: rgba(201, 161, 90, 0.16);
  --color-accent-gold-strong: #e2bb6a;

  --color-success: #3fbf80;
  --color-warning: #f8b148;
  --color-danger: #ef4b4b;

  --color-neutral-50: #f7f5f1;
  --color-neutral-100: #e0ddd6;
  --color-neutral-200: #c2bbb0;
  --color-neutral-300: #a29a8f;
  --color-neutral-400: #8d867c;
  --color-neutral-500: #6b655e;
  --color-neutral-600: #4b4742;
  --color-neutral-700: #34312d;
  --color-neutral-800: #1f1c18;
  --color-neutral-900: #100f0c;

  /* Poker-inspired decorative accents */
  --color-card-felt: #0e543f; /* deep poker felt */
  --color-chip-red: #b03035;
  --color-chip-blue: #205b8c;

  /* =============================
     TYPOGRAPHY – SERIF + SANS
     ============================= */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Playfair Display", "Cormorant Garamond", "Georgia", "Times New Roman", serif;

  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-md: 1rem;      /* 16px body */
  --font-size-lg: 1.125rem;  /* 18px */
  --font-size-xl: 1.375rem;  /* 22px */
  --font-size-2xl: 1.75rem;  /* 28px */
  --font-size-3xl: 2.25rem;  /* 36px hero sub */
  --font-size-4xl: 3rem;     /* 48px hero */
  --font-size-5xl: 3.75rem;  /* 60px cinematic */

  --line-height-tight: 1.15;
  --line-height-snug: 1.3;
  --line-height-relaxed: 1.6;

  /* =============================
     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-8: 2rem;     /* 32px */
  --space-10: 2.5rem;  /* 40px */
  --space-12: 3rem;    /* 48px */
  --space-16: 4rem;    /* 64px */
  --space-20: 5rem;    /* 80px */
  --space-24: 6rem;    /* 96px */

  /* =============================
     RADIUS & SHADOWS
     ============================= */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.45);
  --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.7);
  --shadow-gold-glow: 0 0 0 1px rgba(201, 161, 90, 0.22), 0 18px 40px rgba(0, 0, 0, 0.85);

  /* =============================
     TRANSITIONS & MOTION
     ============================= */
  --transition-fast: 120ms ease-out;
  --transition-normal: 220ms ease-out;
  --transition-slow: 380ms ease-out;

  --transition-soft: opacity var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-normal), color var(--transition-normal), border-color var(--transition-normal);
}

/* =============================
   RESET / NORMALIZE
   ============================= */

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

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

body {
  margin: 0;
}

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

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

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

button,
input,
select,
textarea {
  margin: 0;
  font: inherit;
  color: inherit;
  background: none;
  border-radius: 0;
}

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

:disabled {
  cursor: not-allowed;
}

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

body,
html {
  min-height: 100%;
}

/* Remove default list bullets */
ul[role="list"],
ol[role="list"],
ul,
ol {
  list-style: none;
}

/* =============================
   BASE STYLES – TYPO & LAYOUT
   ============================= */

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

main {
  min-height: 60vh;
}

/* Headings: cinematic hierarchy */

h1,
.h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(var(--font-size-3xl), 4vw, var(--font-size-5xl));
  line-height: var(--line-height-tight);
  letter-spacing: 0.02em;
  text-transform: none;
  margin-bottom: var(--space-4);
}

h2,
.h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(var(--font-size-2xl), 3vw, var(--font-size-4xl));
  line-height: var(--line-height-snug);
  margin-bottom: var(--space-3);
}

h3,
.h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(var(--font-size-xl), 2.3vw, var(--font-size-3xl));
  line-height: var(--line-height-snug);
  margin-bottom: var(--space-2);
}

h4,
.h4 {
  font-weight: 500;
  font-size: var(--font-size-lg);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

h5,
.h5 {
  font-weight: 500;
  font-size: var(--font-size-md);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  margin-bottom: var(--space-1);
}

h6,
.h6 {
  font-weight: 500;
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-1);
}

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

strong,
b {
  font-weight: 600;
  color: var(--color-text);
}

/* Links: subtle gold luxury */

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

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

/* Cinematic underline for inline links */

a.link-underline {
  text-decoration: none;
}

a.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--color-accent-gold), transparent);
  transition: width var(--transition-normal);
}

a.link-underline:hover::after {
  width: 100%;
}

/* =============================
   ACCESSIBILITY & MOTION
   ============================= */

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

html:focus-within {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !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);
  white-space: nowrap;
  border: 0;
}

/* =============================
   UTILITIES – LAYOUT & HELPERS
   ============================= */

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

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

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

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

/* 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 {
  display: flex;
  flex-direction: column;
}

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

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

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

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

/* Grid helpers */

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

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

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

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

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

/* Width utilities */

.w-full {
  width: 100%;
}

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

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

.m-auto {
  margin: auto;
}

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

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

.mb-6 {
  margin-bottom: var(--space-6);
}

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

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

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

.px-4 {
  padding-inline: var(--space-4);
}

/* Text tone utilities for Slovak storytelling content */

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

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

.text-gold {
  color: var(--color-accent-gold);
}

.text-emerald {
  color: var(--color-primary);
}

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

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

.bg-glass-dark {
  background: linear-gradient(135deg, rgba(8, 17, 19, 0.92), rgba(11, 27, 30, 0.92));
  backdrop-filter: blur(18px);
}

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

/* Buttons – primary actions: "Rezervovať stôl", "Pridať sa k turnaju" */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: var(--font-size-sm);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition-soft);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-soft));
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-elevated);
}

.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, rgba(201, 161, 90, 0.4), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.btn--primary:hover::after {
  opacity: 1;
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold-glow);
}

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

.btn--ghost {
  background: rgba(6, 13, 15, 0.7);
  border-color: rgba(201, 161, 90, 0.55);
  color: var(--color-text);
  box-shadow: 0 0 0 1px rgba(201, 161, 90, 0.18);
}

.btn--ghost:hover {
  background: rgba(16, 25, 28, 0.95);
  border-color: var(--color-accent-gold-strong);
  box-shadow: var(--shadow-gold-glow);
}

.btn--text {
  padding-inline: 0;
  padding-block: 0.25rem;
  border-radius: 0;
  border: none;
  background: none;
  color: var(--color-accent-gold);
}

.btn--text:hover {
  color: var(--color-accent-gold-strong);
}

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

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

/* Inputs – rezervačný formulár, newsletter */

.input,
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background-color: rgba(6, 12, 13, 0.9);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  transition: var(--transition-soft);
}

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

.input:focus,
textarea:focus,
select:focus {
  border-color: var(--color-accent-gold);
  box-shadow: 0 0 0 1px rgba(201, 161, 90, 0.45), 0 0 0 8px rgba(201, 161, 90, 0.08);
  outline: none;
}

.input--error {
  border-color: var(--color-danger);
}

.input--success {
  border-color: var(--color-success);
}

label {
  display: inline-block;
  margin-bottom: var(--space-1);
  font-size: var(--font-size-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}

/* Card – použité pre turnaje, VIP stoly, storyteling bloky */

.card {
  position: relative;
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(22, 122, 106, 0.16), transparent 55%),
    radial-gradient(circle at bottom right, rgba(201, 161, 90, 0.12), transparent 55%),
    linear-gradient(145deg, rgba(4, 8, 9, 0.96), rgba(11, 21, 23, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.08), transparent 60%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.05) 0, transparent 30%, transparent 70%, rgba(255, 255, 255, 0.05) 100%);
  opacity: 0.18;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.card--outlined {
  border: 1px solid rgba(201, 161, 90, 0.45);
}

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

.card__eyebrow {
  font-size: var(--font-size-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent-gold);
  margin-bottom: var(--space-2);
}

.card__title {
  font-family: var(--font-serif);
  font-size: var(--font-size-xl);
  line-height: var(--line-height-snug);
}

.card__meta {
  margin-top: var(--space-3);
  font-size: var(--font-size-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* Glass header / hero overlays – použiteľné pre navigáciu a hero */

.glass-panel {
  background: linear-gradient(135deg, rgba(4, 9, 10, 0.9), rgba(10, 20, 22, 0.9));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.8);
}

.glass-panel--subtle {
  background: linear-gradient(135deg, rgba(4, 9, 10, 0.6), rgba(10, 20, 22, 0.65));
  backdrop-filter: blur(12px);
}

/* Poker-inspired dividers – footer & sekcie */

.divider-poker {
  width: 100%;
  height: 1px;
  position: relative;
  margin-block: var(--space-4);
  background: linear-gradient(90deg, transparent, rgba(201, 161, 90, 0.35), transparent);
}

.divider-poker::before,
.divider-poker::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: radial-gradient(circle at 30% 30%, #fff, var(--color-accent-gold));
  transform: translateY(-50%) rotate(45deg);
}

.divider-poker::before {
  left: 0;
}

.divider-poker::after {
  right: 0;
}

/* Hero overlay helpers – kinematografický efekt okolo fotografií */

.hero-overlay-gradient {
  position: relative;
}

.hero-overlay-gradient::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0, transparent 0, rgba(0, 0, 0, 0.8) 55%),
    radial-gradient(circle at 80% 100%, transparent 0, rgba(0, 0, 0, 0.85) 50%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.62), transparent 40%);
  pointer-events: none;
}

/* Subtle floating effect for cards, žetóny, CTA bloky */

.floating-soft {
  transform: translateY(0);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.floating-soft:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

/* Footer base – tmavý, textúrovaný charakter */

.site-footer {
  background: radial-gradient(circle at top, #151f22 0, #040708 55%, #020304 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-block: var(--space-10);
  color: var(--color-text-soft);
}

.site-footer__heading {
  font-family: var(--font-serif);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-3);
}

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

/* Newsletter as VIP invitation */

.newsletter-invite {
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 161, 90, 0.45);
  background: radial-gradient(circle at top, rgba(201, 161, 90, 0.2), transparent 55%),
    linear-gradient(135deg, rgba(7, 10, 11, 0.96), rgba(9, 16, 18, 0.98));
  box-shadow: var(--shadow-gold-glow);
}

.newsletter-invite__title {
  font-family: var(--font-serif);
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-2);
}

.newsletter-invite__subtitle {
  font-size: var(--font-size-sm);
  color: var(--color-text-soft);
  margin-bottom: var(--space-4);
}

/* Social icons */

.social-links {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(201, 161, 90, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-soft);
  transition: var(--transition-soft);
}

.social-links a:hover {
  border-color: var(--color-accent-gold-strong);
  color: var(--color-accent-gold-strong);
  box-shadow: 0 0 22px rgba(201, 161, 90, 0.35);
}

/* =============================
   RESPONSIVE TYPO TUNING
   ============================= */

@media (max-width: 767.98px) {
  body {
    font-size: 0.95rem;
  }

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

  .card {
    padding: var(--space-4);
  }

  .btn {
    width: auto;
  }
}

@media (min-width: 1024px) {
  :root {
    --font-size-md: 1.0625rem;
  }
}
