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

:root {
  /* Color Palette - Casino Inspired */
  --color-background: #050608; /* near-black, cinematic */
  --color-surface: #101217; /* cards, panels */
  --color-surface-elevated: #151821;
  --color-text: #f4f1e8; /* warm ivory */
  --color-text-muted: #b7b1a3;

  --color-primary: #d1a648; /* royal gold */
  --color-primary-soft: rgba(209, 166, 72, 0.16);
  --color-accent-emerald: #0a6b4a;
  --color-accent-crimson: #b3263a;

  --color-success: #1fbf6b;
  --color-warning: #ffb020;
  --color-danger: #e5484d;

  --color-gray-50: #f8fafc;
  --color-gray-100: #e2e8f0;
  --color-gray-200: #cbd5f5;
  --color-gray-300: #94a3b8;
  --color-gray-400: #64748b;
  --color-gray-500: #475569;
  --color-gray-600: #334155;
  --color-gray-700: #1e293b;
  --color-gray-800: #0f172a;
  --color-gray-900: #020617;

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-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-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.1;
  --line-height-snug: 1.25;
  --line-height-normal: 1.5;
  --line-height-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-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 */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --radius-pill: 999px;

  /* Shadows - cinematic & layered */
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.35);
  --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.7);
  --shadow-glow-gold: 0 0 0 1px rgba(209, 166, 72, 0.4), 0 0 30px rgba(209, 166, 72, 0.35);

  /* Transitions */
  --transition-fast: 120ms ease-out;
  --transition-base: 200ms ease-out;
  --transition-slow: 320ms cubic-bezier(0.19, 1, 0.22, 1);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0ms;
    --transition-base: 0ms;
    --transition-slow: 0ms;
  }
}

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

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

html,
body {
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
}

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

img {
  height: auto;
}

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

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

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

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

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

/* Remove default outline but restore via :focus-visible later */
:focus {
  outline: none;
}

/* ========================================================================
   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, #151821 0%, #050608 55%, #000000 100%);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.5rem, 4vw, var(--font-size-5xl));
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-4);
}

h2 {
  font-size: clamp(2rem, 3vw, var(--font-size-4xl));
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-3);
}

h3 {
  font-size: clamp(1.5rem, 2.2vw, var(--font-size-3xl));
  line-height: var(--line-height-snug);
  margin-bottom: var(--space-2);
}

h4 {
  font-size: var(--font-size-2xl);
  line-height: var(--line-height-snug);
  margin-bottom: var(--space-2);
}

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

h6 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-1);
}

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

strong {
  font-weight: 600;
}

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

/* Links - subtle underline on hover to keep premium look */

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

a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.1em;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent-emerald));
  transition: width var(--transition-base);
}

a:hover::after,
a:focus-visible::after {
  width: 100%;
}

/* ========================================================================
   Accessibility & Motion
   ======================================================================== */

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

@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;
  }
}

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

/* Layout: Container for modular / cinematic sections */

.container {
  width: min(1120px, 100% - 2 * var(--space-4));
  margin-inline: auto;
}

@media (min-width: 1200px) {
  .container {
    width: min(1280px, 100% - 2 * var(--space-8));
  }
}

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

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

.section--hero {
  padding-block: clamp(var(--space-12), 18vh, var(--space-24));
}

/* 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 for galleries, event formats, package cards */

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

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

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

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

/* Alignment & text utilities */

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

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

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

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

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

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

/* Spacing utilities (limited set for layout tuning) */

.mt-0 { margin-top: 0 !important; }
.mt-4 { margin-top: var(--space-4) !important; }
.mt-6 { margin-top: var(--space-6) !important; }
.mt-8 { margin-top: var(--space-8) !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: var(--space-2) !important; }
.mb-4 { margin-bottom: var(--space-4) !important; }
.mb-6 { margin-bottom: var(--space-6) !important; }
.mb-8 { margin-bottom: var(--space-8) !important; }

.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }

/* Screen reader only - for Czech accessibility labels like "Přeskočit na obsah" */

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

/* Cinematic overlays & gradients for hero and immersive sections */

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

.overlay-gradient-bottom::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  pointer-events: none;
}

.backdrop-blur {
  backdrop-filter: blur(10px);
}

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

/* Buttons - primary CTAs for booking, event formats, kasina / kasino promos */

.btn {
  --btn-bg: var(--color-primary);
  --btn-bg-hover: #e4b85b;
  --btn-color: #050608;
  --btn-border: transparent;

  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 var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-color);
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    transform var(--transition-fast),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
  box-shadow: var(--shadow-soft);
}

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

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

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

.btn--ghost {
  --btn-bg: rgba(15, 17, 25, 0.6);
  --btn-bg-hover: rgba(15, 17, 25, 0.95);
  --btn-color: var(--color-text);
  --btn-border: rgba(209, 166, 72, 0.5);
  box-shadow: 0 0 0 1px rgba(209, 166, 72, 0.25);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-bg-hover: rgba(209, 166, 72, 0.08);
  --btn-color: var(--color-primary);
  --btn-border: rgba(209, 166, 72, 0.7);
  box-shadow: none;
}

.btn--danger {
  --btn-bg: var(--color-accent-crimson);
  --btn-bg-hover: #cf3048;
  --btn-color: #fdf5f6;
}

.btn[disabled],
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Form controls - booking flows, inquiry forms */

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.field__label {
  font-size: var(--font-size-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.field__hint {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="time"],
textarea,
select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(10, 12, 18, 0.9);
  color: var(--color-text);
  font-size: var(--font-size-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(148, 163, 184, 0.7);
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(209, 166, 72, 0.4);
}

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

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

/* Cards - event formats, entertainment packages, testimonials */

.card {
  position: relative;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(209, 166, 72, 0.06) 0%, rgba(15, 18, 25, 0.98) 35%, #050608 100%);
  padding: var(--space-5);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.35);
  transition:
    transform var(--transition-slow),
    box-shadow var(--transition-slow),
    border-color var(--transition-base),
    background var(--transition-slow);
}

.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top, rgba(209, 166, 72, 0.16), transparent 55%);
  opacity: 0;
  transition: opacity var(--transition-slow);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(209, 166, 72, 0.55);
}

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

.card--muted {
  background: rgba(10, 12, 18, 0.9);
  box-shadow: none;
}

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

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

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

/* Tag / pill - for highlighting kasina / kasino formats or game types */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(209, 166, 72, 0.6);
  background: rgba(10, 12, 18, 0.9);
  color: var(--color-text);
  font-size: var(--font-size-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Hero headline accent underline - cinematic treatment for key Czech phrases */

.hero-kasino-accent {
  position: relative;
  display: inline-block;
}

.hero-kasino-accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3em;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent-emerald), var(--color-primary), var(--color-accent-crimson));
  box-shadow: 0 0 18px rgba(209, 166, 72, 0.6);
}

/* Timeline dots & connectors - for interactive event timelines */

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(209, 166, 72, 0.6);
  background: #050608;
  box-shadow: 0 0 0 3px rgba(209, 166, 72, 0.15);
}

.timeline-line {
  width: 2px;
  background: linear-gradient(to bottom, rgba(209, 166, 72, 0.9), rgba(10, 107, 74, 0.9));
}

/* Badges for availability or VIP labels */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.badge--success {
  background: rgba(31, 191, 107, 0.15);
  color: var(--color-success);
}

.badge--danger {
  background: rgba(229, 72, 77, 0.15);
  color: var(--color-danger);
}

.badge--neutral {
  background: rgba(148, 163, 184, 0.15);
  color: var(--color-gray-100);
}

/* Testimonial highlight card */

.testimonial {
  border-left: 2px solid rgba(209, 166, 72, 0.7);
  padding-left: var(--space-4);
  font-style: italic;
}

.testimonial__author {
  margin-top: var(--space-3);
  font-style: normal;
  font-weight: 500;
  color: var(--color-text);
}

/* Media wrapper for cinematic galleries */

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-strong);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 800ms ease-out;
}

.media-frame:hover img {
  transform: scale(1.06);
}

/* Chips for game types (poker, ruleta, blackjack) */

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
  background: radial-gradient(circle at 30% 30%, rgba(244, 241, 232, 0.14), rgba(5, 6, 8, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.chip--emerald {
  border-color: rgba(10, 107, 74, 0.8);
  color: var(--color-accent-emerald);
}

.chip--crimson {
  border-color: rgba(179, 38, 58, 0.8);
  color: var(--color-accent-crimson);
}

/* End of base.css */
