/* ========================================================================== 
   Variables
   ========================================================================== */
:root {
  /* Colors */
  --color-background: #050814; /* very dark navy */
  --color-background-alt: #0b1020; /* slightly lighter for sections */
  --color-surface: #141a2b; /* cards, panels */
  --color-surface-elevated: #1c2438;

  --color-text: #f5f5fb; /* soft white */
  --color-text-muted: #b6bed4;
  --color-border-subtle: rgba(255, 255, 255, 0.08);

  --color-primary: #d4af37; /* warm gold */
  --color-primary-soft: rgba(212, 175, 55, 0.16);
  --color-primary-strong: #f1ca3d;

  --color-success: #4caf50;
  --color-warning: #ffb74d;
  --color-danger: #f44336;

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

  /* Typography */
  --font-family-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-family-heading: "Playfair Display", "Times New Roman", serif;

  --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.2;
  --line-height-snug: 1.35;
  --line-height-normal: 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-7: 1.75rem;  /* 28px */
  --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-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* Shadows (cinematic, soft) */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 14px 40px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.7);

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

/* Reduced motion adjustments */
@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0ms;
    --transition-normal: 0ms;
    --transition-slow: 0ms;
  }
}

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

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

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

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

body {
  min-height: 100vh;
}

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

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

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

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

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ========================================================================== 
   Base styles
   ========================================================================== */
body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background: radial-gradient(circle at top left, #131a30 0, #050814 55%, #000000 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  display: block;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-heading);
  font-weight: 600;
  color: var(--color-text);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-3);
}

h1 {
  font-size: var(--font-size-4xl);
}

h2 {
  font-size: var(--font-size-3xl);
}

h3 {
  font-size: var(--font-size-2xl);
}

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

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

h6 {
  font-size: var(--font-size-base);
}

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

strong {
  font-weight: 600;
}

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

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

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

/* Lists */
ul,
ol {
  margin: 0 0 var(--space-4) var(--space-5);
  padding: 0;
}

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

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

/* ========================================================================== 
   Utilities
   ========================================================================== */
/* Layout container */
.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: 1200px;
  }
}

/* Section spacing */
.section {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

.section--alt {
  background: radial-gradient(circle at 10% 0, rgba(212, 175, 55, 0.12) 0, transparent 45%),
    radial-gradient(circle at 90% 100%, rgba(71, 85, 105, 0.5) 0, transparent 40%),
    var(--color-background-alt);
}

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

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

.flex-row {
  flex-direction: row;
}

.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-end {
  justify-content: flex-end;
}

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

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

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

/* Grid helpers */
.grid {
  display: grid;
}

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

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

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

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

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

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

/* Width helpers */
.w-full {
  width: 100%;
}

/* Spacing utilities (margin / padding) */
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

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

/* Badges, subtle labels */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.85);
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Cinematic overlay helper (for hero sections) */
.overlay-gradient {
  position: relative;
}

.overlay-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 0, rgba(212, 175, 55, 0.35) 0, transparent 55%),
    radial-gradient(circle at 80% 100%, rgba(15, 23, 42, 0.9) 0, transparent 65%);
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Informational disclaimer style */
.site-disclaimer {
  margin-top: var(--space-6);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.98));
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

.site-disclaimer strong {
  color: var(--color-primary-strong);
}

/* ========================================================================== 
   Components
   ========================================================================== */
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color var(--transition-normal),
    color var(--transition-normal),
    border-color var(--transition-normal),
    box-shadow var(--transition-normal),
    transform var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.26) 0, transparent 40%),
    linear-gradient(135deg, #b89023 0%, #d4af37 40%, #f1ca3d 100%);
  color: #050814 !important;
  box-shadow: 0 0 0 1px rgba(244, 229, 172, 0.4), var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(244, 229, 172, 0.6), var(--shadow-lg);
  background: linear-gradient(135deg, #c69b24 0%, #e0b738 40%, #f6d54e 100%);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 0 0 1px rgba(244, 229, 172, 0.3), var(--shadow-sm);
}

.btn-outline {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(212, 175, 55, 0.8);
  color: var(--color-text);
}

.btn-outline:hover {
  background: rgba(26, 36, 66, 0.98);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.9), var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.4);
  color: var(--color-text-muted);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(148, 163, 184, 0.8);
}

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

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Inputs & forms */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.38);
  background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.03) 0, transparent 40%),
    rgba(15, 23, 42, 0.98);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  line-height: 1.4;
  transition:
    border-color var(--transition-normal),
    box-shadow var(--transition-normal),
    background-color var(--transition-normal),
    transform var(--transition-fast);
}

input::placeholder,
textarea::placeholder {
  color: rgba(148, 163, 184, 0.8);
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  border-color: var(--color-primary-strong);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.9), 0 0 0 8px rgba(212, 175, 55, 0.12);
  background-color: rgba(15, 23, 42, 0.98);
  transform: translateY(-1px);
}

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

label {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--color-text);
}

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

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

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

/* Cards */
.card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  background:
    radial-gradient(circle at 0 0, rgba(212, 175, 55, 0.18) 0, transparent 38%),
    radial-gradient(circle at 120% 0, rgba(30, 64, 175, 0.35) 0, transparent 55%),
    rgba(10, 16, 32, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal),
    border-color var(--transition-normal),
    background var(--transition-slow);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.9);
}

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

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

.card-subtitle {
  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-footer {
  margin-top: var(--space-4);
}

/* Specialized event-format cards (e.g. Poker, Ruletka, Blackjack) */
.card-format {
  cursor: pointer;
}

.card-format::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(212, 175, 55, 0.0);
  pointer-events: none;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.card-format:hover::after {
  border-color: rgba(212, 175, 55, 0.8);
  box-shadow: 0 0 32px rgba(212, 175, 55, 0.25);
}

/* Tag row inside cards, for info like "event offline", "bez hazardu" */
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: var(--space-3);
}

.card-tag {
  padding: 0.18rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* FAQ accordion base styles (structural only) */
.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(10, 16, 32, 0.96);
  padding: var(--space-4) var(--space-5);
}

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: var(--font-size-lg);
}

.faq-answer {
  margin-top: var(--space-3);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* Header & navigation skeleton (generic base) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 8, 20, 0.96), rgba(5, 8, 20, 0.85));
  border-bottom: 1px solid rgba(148, 163, 184, 0.32);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-family-heading);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: var(--font-size-sm);
}

.site-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: radial-gradient(circle at 25% 0, #f8f3df 0, #f1ca3d 40%, #8c6b1a 100%);
  box-shadow: 0 0 0 1px rgba(244, 229, 172, 0.65), 0 12px 30px rgba(0, 0, 0, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #050814;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  font-size: var(--font-size-sm);
}

.nav-link {
  position: relative;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #b89023, #f1ca3d);
  transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--color-text);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  width: 100%;
}

/* Footer skeleton */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.32);
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
  background: radial-gradient(circle at 100% 0%, rgba(15, 23, 42, 0.9) 0, transparent 45%),
    #050814;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.site-footer a {
  font-size: var(--font-size-sm);
}

/* Hero content alignment (for Strona główna) */
.hero {
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
}

@media (max-width: 767px) {
  .hero {
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
  }
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  margin-bottom: var(--space-4);
}

.hero-subtitle {
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

/* Contact details list (Kontakt page) */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.contact-value {
  font-size: var(--font-size-sm);
  color: var(--color-text);
}

/* Badge for "offline entertainment only" emphasised info */
.badge-offline-only {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(22, 163, 74, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.5);
  color: #bbf7d0;
  font-size: var(--font-size-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-offline-only::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.25);
}

h1,
h2,
h3,
.section-title,
.arenas-section-header h2 {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

.btn{
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  text-align: center;
  line-height: 1.35;
}