/* ==================================================================
   Variables
   ================================================================== */
:root {
  /* Color Palette - modern, energetic, premium */
  --color-bg: #050611;
  --color-surface: #0d0f1f;
  --color-surface-alt: #15172a;
  --color-text: #f7f7fb;
  --color-text-muted: #a3a7c2;

  --color-primary: #f97316; /* energetic orange */
  --color-primary-soft: rgba(249, 115, 22, 0.16);

  --color-success: #22c55e;
  --color-warning: #eab308;
  --color-danger: #ef4444;

  --color-border-subtle: rgba(148, 163, 184, 0.4);
  --color-border-strong: rgba(148, 163, 184, 0.7);

  /* Neutral Grays (cool / night club) */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2933;
  --gray-900: #111827;

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Poppins", "SF Pro Display", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-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.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: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* Shadows (soft glow for premium / nightlife look) */
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.6);
  --shadow-strong: 0 20px 60px rgba(15, 23, 42, 0.9);
  --shadow-glow-primary: 0 0 40px rgba(249, 115, 22, 0.55);

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

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

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

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

html {
  -webkit-text-size-adjust: 100%;
  font-family: var(--font-sans);
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

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

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

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

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

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

a {
  color: inherit;
}

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

/* Better text rendering */
body,
input,
textarea,
button,
select {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==================================================================
   Base Styles
   ================================================================== */
body {
  min-height: 100vh;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
}

main {
  display: block;
}

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

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

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

h3 {
  font-size: clamp(var(--font-size-xl), 1vw + 1.1rem, var(--font-size-3xl));
  line-height: var(--line-height-snug);
  margin-bottom: var(--space-3);
}

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

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

strong {
  font-weight: 600;
}

a {
  text-decoration: none;
  transition: color var(--transition-normal),
              opacity var(--transition-fast),
              transform var(--transition-fast);
}

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

/* Smooth section spacing for bold sections */
section {
  padding-block: var(--space-16);
}

@media (max-width: 768px) {
  section {
    padding-block: var(--space-10);
  }
}

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

::-moz-selection {
  background: var(--color-primary-soft);
  color: var(--color-text);
}

::selection {
  background: var(--color-primary-soft);
  color: var(--color-text);
}

/* 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: container */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
  max-width: 1200px;
}

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

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

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

.justify-center {
  justify-content: center;
}

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

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

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

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

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

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

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

/* Spacing utilities (for fast layout tweaks) */
.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-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

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

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

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

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

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

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

/* Buttons – CTAs for rezerwacja / kontakt */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background-color var(--transition-normal),
              color var(--transition-normal),
              box-shadow var(--transition-normal),
              transform var(--transition-fast),
              border-color var(--transition-normal);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #f97316, #fb923c);
  color: #111827 !important;
  box-shadow: var(--shadow-glow-primary);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 50px rgba(249, 115, 22, 0.7);
}

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

.btn-outline {
  background-color: transparent;
  border-color: var(--color-border-strong);
  color: var(--color-text);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  background-color: rgba(249, 115, 22, 0.06);
}

.btn-ghost {
  background-color: rgba(15, 23, 42, 0.7);
  border-color: transparent;
  color: var(--color-text);
}

.btn-ghost:hover {
  background-color: rgba(15, 23, 42, 1);
}

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

.btn-icon {
  padding-inline: 0.85rem;
}

/* Inputs & form controls – rezerwacje, kontakt, poker */
.input,
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-subtle);
  background-color: rgba(15, 23, 42, 0.96);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  transition: border-color var(--transition-normal),
              box-shadow var(--transition-normal),
              background-color var(--transition-fast);
}

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

.input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.6);
}

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

label {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-size: var(--font-size-sm);
}

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

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

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

/* Card – for sections like wydarzenia, poker formaty, opinie */
.card {
  background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.08), transparent 55%),
              var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

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

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

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

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

/* Tag for poker / sport / menu labels */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  background-color: rgba(148, 163, 184, 0.12);
  color: var(--color-text-muted);
}

.tag--primary {
  background-color: rgba(249, 115, 22, 0.14);
  color: var(--color-primary);
}

/* Media wrappers – immersive imagery (hero, galeria) */
.media-cover {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.media-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow),
              filter var(--transition-slow);
}

.media-cover:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

/* Pill navigation items (for sub-nav e.g. Poker formats, FAQ filters) */
.pill-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill-nav__item {
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background-color var(--transition-fast),
              color var(--transition-fast),
              border-color var(--transition-fast);
}

.pill-nav__item--active,
.pill-nav__item:hover {
  border-color: var(--color-primary);
  background-color: rgba(249, 115, 22, 0.12);
  color: var(--color-text);
}

/* Section titles with accent bar for bold layout */
.section-heading {
  display: inline-flex;
  flex-direction: column;
  gap: 0.4rem;
}

.section-heading__eyebrow {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary);
}

.section-heading__title {
  font-size: clamp(var(--font-size-2xl), 1.4vw + 1.4rem, var(--font-size-4xl));
  line-height: var(--line-height-snug);
}

.section-heading__bar {
  width: 42px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, #f97316, #a855f7);
}

/* Helper backgrounds for strong visual sections */
.section--surface {
  background: radial-gradient(circle at top, rgba(248, 250, 252, 0.04), transparent 60%),
              var(--color-bg);
}

.section--surface-alt {
  background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.08), transparent 55%),
              var(--color-surface-alt);
}

/* Simple table styling – for poker / sports schedules */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
}

.table th,
.table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
}

.table th {
  font-weight: 500;
  color: var(--color-text);
}

.table tbody tr:hover {
  background-color: rgba(15, 23, 42, 0.75);
}

/* FAQ details summary base */
details {
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background-color: rgba(15, 23, 42, 0.9);
  padding: 0.75rem 1rem;
}

details + details {
  margin-top: 0.75rem;
}

summary {
  list-style: none;
  cursor: pointer;
  font-weight: 500;
}

summary::-webkit-details-marker {
  display: none;
}

/* Status badges for live events / poker tables */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  background-color: rgba(22, 163, 74, 0.18);
  color: var(--color-success);
}

.status-pill--warning {
  background-color: rgba(234, 179, 8, 0.18);
  color: var(--color-warning);
}

.status-pill--danger {
  background-color: rgba(239, 68, 68, 0.18);
  color: var(--color-danger);
}

/* End of base.css */
