:root {
  /* Color Palette */
  --color-background: #050308;
  --color-surface: #0c0a12;
  --color-elevated: #151320;

  --color-text: #f5f5f7;
  --color-text-muted: #a3a3b5;

  --color-primary: #ff2e63; /* neon pink/red accent */
  --color-primary-soft: rgba(255, 46, 99, 0.15);

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

  --color-border-subtle: rgba(255, 255, 255, 0.06);
  --color-border-strong: rgba(255, 255, 255, 0.16);

  /* Neutral grays (on dark) */
  --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, "Inter", "Roboto", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, 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 (px) */
  --space-0: 0;
  --space-1: 2px;
  --space-2: 4px;
  --space-3: 6px;
  --space-4: 8px;
  --space-5: 10px;
  --space-6: 12px;
  --space-8: 16px;
  --space-10: 20px;
  --space-12: 24px;
  --space-16: 32px;
  --space-20: 40px;
  --space-24: 48px;
  --space-28: 56px;
  --space-32: 64px;
  --space-40: 80px;
  --space-48: 96px;

  /* Radius */
  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* Shadows (subtle neon-inspired glows) */
  --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.6);
  --shadow-strong: 0 22px 60px rgba(0, 0, 0, 0.9);
  --shadow-primary-glow: 0 0 18px rgba(255, 46, 99, 0.6);

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

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

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

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

body {
  margin: 0;
}

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

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

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

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

textarea {
  resize: vertical;
}

/* Remove default link styles in some browsers */
a {
  text-decoration: none;
  color: inherit;
}

/*
  ==========================================================
  Base Styles
  ==========================================================
*/

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  background: radial-gradient(circle at top, #140819 0, #050308 55%, #000 100%);
  color: var(--color-text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
}

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

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

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

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

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

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

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

strong {
  font-weight: 600;
}

/* Links (accent, no underline by default) */

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-base), opacity var(--transition-base);
}

a:hover {
  color: #ff547f;
}

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

/* Lists */

ul,
ol {
  margin: 0 0 var(--space-4);
  padding-left: var(--space-16);
}

li {
  margin-bottom: var(--space-2);
}

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

/* Layout */

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

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

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

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

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

.gap-xs { gap: var(--space-4); }
.gap-sm { gap: var(--space-6); }
.gap-md { gap: var(--space-10); }
.gap-lg { gap: var(--space-16); }

/* Grid helpers */

.grid {
  display: grid;
}

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

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

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

/* Spacing utilities (margin + padding, minimal set) */

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-6); }
.mt-md { margin-top: var(--space-12); }
.mt-lg { margin-top: var(--space-20); }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-6); }
.mb-md { margin-bottom: var(--space-12); }
.mb-lg { margin-bottom: var(--space-20); }

.pt-lg { padding-top: var(--space-20); }
.pb-lg { padding-bottom: var(--space-20); }

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

/* Visually hidden for screen readers */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Image emphasis */

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-rounded {
  border-radius: var(--radius-md);
}

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

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: var(--font-size-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text);
  background: linear-gradient(135deg, var(--color-primary), #ff547f);
  box-shadow: var(--shadow-soft), var(--shadow-primary-glow);
  transition:
    background var(--transition-base),
    transform var(--transition-fast),
    box-shadow var(--transition-base),
    border-color var(--transition-base),
    opacity var(--transition-fast);
}

.btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #ff547f, var(--color-primary));
  box-shadow: var(--shadow-strong), var(--shadow-primary-glow);
  color: var(--color-text);
}

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

.btn:focus-visible {
  outline: 2px solid #ffe4ee;
  outline-offset: 3px;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-soft);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.09);
}

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

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

/* Form elements (for reservation / contact form) */

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

label {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text);
}

input,
textarea,
select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-subtle);
  background-color: rgba(7, 5, 14, 0.9);
  color: var(--color-text);
  outline: none;
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    background-color var(--transition-fast);
}

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

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(255, 46, 99, 0.5);
}

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

/* Card (for Oferta, Wydarzenia tiles, etc.) */

.card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: var(--space-16);
  background: radial-gradient(circle at top left, rgba(255, 46, 99, 0.18), transparent 55%),
              radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.12), transparent 60%),
              var(--color-elevated);
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.card--overlay {
  padding: var(--space-12);
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.85), rgba(5, 3, 18, 0.96));
}

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

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

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

/* Hero / image overlay helper (for nightlife visuals) */

.hero-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #000;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255, 46, 99, 0.35), transparent 55%),
              linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.95));
  pointer-events: none;
}

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

.hero-media:hover img {
  transform: scale(1.05);
}

/* Tag / pill label (e.g., "Poker Nights", "Sport na żywo") */

.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-text-muted);
}

.tag--accent {
  background: rgba(255, 46, 99, 0.15);
  border-color: rgba(255, 46, 99, 0.6);
  color: var(--color-text);
}

/* Simple chips row for features */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.chip {
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-subtle);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.02);
}

/* Footer base (for Kontakt section) */

.site-footer {
  border-top: 1px solid var(--color-border-subtle);
  padding-top: var(--space-20);
  padding-bottom: var(--space-16);
  background: radial-gradient(circle at bottom, rgba(255, 46, 99, 0.18), transparent 60%),
              var(--color-background);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

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

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

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