/* --------------------------------------------------------------------------
   Variables
   -------------------------------------------------------------------------- */

:root {
  /* Colors */
  --color-bg: #05060a; /* deep cinematic black/blue */
  --color-bg-elevated: #0b0d16;
  --color-bg-soft: #151827;

  --color-text: #f7f4f0;
  --color-text-muted: #a9a7b4;

  --color-primary: #d4a03a; /* warm gold */
  --color-primary-soft: rgba(212, 160, 58, 0.14);

  --color-accent-burgundy: #7b1237;
  --color-accent-navy: #10172f;

  --color-success: #3ecf8e;
  --color-warning: #ffb648;
  --color-danger: #ff4d6a;

  --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: #1f2937;
  --gray-900: #111827;

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-mono: "JetBrains Mono", 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 (px converted to rem assuming 16px base) */
  --space-0: 0;
  --space-4: 0.25rem; /* 4px */
  --space-8: 0.5rem; /* 8px */
  --space-12: 0.75rem; /* 12px */
  --space-16: 1rem; /* 16px */
  --space-20: 1.25rem; /* 20px */
  --space-24: 1.5rem; /* 24px */
  --space-32: 2rem; /* 32px */
  --space-40: 2.5rem; /* 40px */
  --space-48: 3rem; /* 48px */
  --space-56: 3.5rem; /* 56px */
  --space-64: 4rem; /* 64px */
  --space-80: 5rem; /* 80px */
  --space-96: 6rem; /* 96px */

  /* Radius */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --radius-pill: 999px;

  /* Shadows - subtle, cinematic glows */
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-elevated: 0 18px 45px rgba(0, 0, 0, 0.7);
  --shadow-glow-gold: 0 0 0 1px rgba(212, 160, 58, 0.4),
    0 0 32px rgba(212, 160, 58, 0.28);

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

  /* Layout */
  --container-max-width: 1200px;
}

/* Reduced motion: minimize animations where requested */
@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0ms;
    --transition-base: 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%;
  scroll-behavior: smooth;
}

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;
  text-rendering: optimizeLegibility;
}

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

img {
  height: auto;
}

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

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

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

/* --------------------------------------------------------------------------
   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, #1a1030 0, #05060a 55%, #000 100%);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

main {
  min-height: 60vh;
}

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), 5vw, var(--font-size-5xl));
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-16);
}

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

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

h4 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-8);
}

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

strong {
  font-weight: 600;
}

small {
  font-size: var(--font-size-sm);
}

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

a:hover {
  color: #ffdd7a;
  text-shadow: 0 0 18px rgba(212, 160, 58, 0.5);
}

a:active {
  opacity: 0.9;
}

::selection {
  background: rgba(212, 160, 58, 0.25);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Accessibility & Focus
   -------------------------------------------------------------------------- */

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

button:focus {
  outline: none;
}

button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

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

.sr-only-focusable:active,
.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

/* Layout helpers */

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

@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-24);
  }
}

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

@media (min-width: 768px) {
  .section {
    padding-block: var(--space-64);
  }
}

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

@media (min-width: 768px) {
  .section--tall {
    padding-block: var(--space-80);
  }
}

/* Flex */

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

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

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

.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-around {
  justify-content: space-around;
}

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

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

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

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

/* Grid */

.grid {
  display: grid;
}

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

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

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

/* Text alignment */

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

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

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

/* Visibility */

.hidden {
  display: none !important;
}

@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }

  .md\:grid {
    display: grid;
  }
}

/* Spacing utilities (margin-bottom only for clean sections) */

.mb-0 {
  margin-bottom: 0 !important;
}

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

.mb-16 {
  margin-bottom: var(--space-16) !important;
}

.mb-24 {
  margin-bottom: var(--space-24) !important;
}

.mb-32 {
  margin-bottom: var(--space-32) !important;
}

/* --------------------------------------------------------------------------
   Components
   -------------------------------------------------------------------------- */

/* Buttons */

.btn {
  --btn-bg: var(--color-primary);
  --btn-color: #050300;
  --btn-bg-hover: #f2c568;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding-inline: 1.75rem;
  padding-block: 0.75rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--btn-bg) 0%, #f1c37d 100%);
  color: var(--btn-color);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast),
    filter var(--transition-fast),
    background var(--transition-base),
    color var(--transition-fast);
  white-space: nowrap;
}

.btn:hover {
  background: linear-gradient(135deg, var(--btn-bg-hover) 0%, #ffe39c 100%);
  transform: translateY(-1px);
  filter: brightness(1.02);
  box-shadow: var(--shadow-glow-gold);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.8);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-color: var(--color-primary);

  background: radial-gradient(circle at top left, rgba(212, 160, 58, 0.2), transparent 55%);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(212, 160, 58, 0.7);
  color: var(--btn-color);
  box-shadow: none;
}

.btn--outline:hover {
  background: radial-gradient(circle at top left, rgba(212, 160, 58, 0.3), transparent 60%);
  color: #ffdd7a;
  box-shadow: 0 0 0 1px rgba(212, 160, 58, 0.6);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-color: var(--color-text);

  background: rgba(15, 18, 30, 0.85);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--btn-color);
  box-shadow: var(--shadow-soft);
}

.btn--ghost:hover {
  background: rgba(25, 30, 52, 0.9);
  border-color: rgba(212, 160, 58, 0.7);
}

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

/* Inputs & Forms */

.input,
textarea,
select {
  width: 100%;
  padding-inline: var(--space-16);
  padding-block: 0.7rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-color: rgba(10, 11, 20, 0.85);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
  transition: border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background-color var(--transition-fast);
}

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

.input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(212, 160, 58, 0.9);
  box-shadow: 0 0 0 1px rgba(212, 160, 58, 0.6),
    0 0 22px rgba(212, 160, 58, 0.25);
  background-color: rgba(12, 14, 26, 0.95);
}

.input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: rgba(255, 77, 106, 0.8);
}

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

.form-row {
  margin-bottom: var(--space-16);
}

/* Cards - used for event formats, testimonials, etc. */

.card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: var(--space-24);
  background: radial-gradient(circle at top left, rgba(212, 160, 58, 0.12), transparent 55%),
    linear-gradient(145deg, rgba(9, 11, 24, 0.98), rgba(11, 13, 25, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.card--highlight {
  border-color: rgba(212, 160, 58, 0.6);
  box-shadow: var(--shadow-glow-gold);
}

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

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

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

/* Hero-specific helper for nightlife aesthetic */

.hero {
  position: relative;
  padding-block: var(--space-64);
  color: var(--color-text);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 10% 0, rgba(212, 160, 58, 0.09), transparent 60%),
    radial-gradient(circle at 80% 0, rgba(123, 18, 55, 0.32), transparent 65%),
    radial-gradient(circle at 50% 100%, rgba(15, 23, 42, 0.9), rgba(0, 0, 0, 0.98));
  opacity: 0.95;
  pointer-events: none;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0, rgba(0, 0, 0, 0.3), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-content {
  position: relative;
  max-width: 640px;
}

.hero-eyebrow {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--color-primary);
  margin-bottom: var(--space-12);
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
}

/* Tag / pill for keywords like "eventy rozrywkowe", "wieczór pokerowy" */

.tag {
  display: inline-flex;
  align-items: center;
  padding-inline: 0.75rem;
  padding-block: 0.3rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(212, 160, 58, 0.5);
  background: rgba(10, 10, 16, 0.9);
  color: var(--color-primary);
  font-size: var(--font-size-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Badges for game types: ruletka eventowa, blackjack na event, etc. */

.badge {
  display: inline-flex;
  align-items: center;
  padding-inline: 0.6rem;
  padding-block: 0.18rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.85);
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
}

.badge--accent {
  background: rgba(123, 18, 55, 0.7);
  color: #ffe7f0;
}

.badge--casino {
  background: linear-gradient(135deg, rgba(212, 160, 58, 0.7), rgba(123, 18, 55, 0.85));
  color: #130705;
}

/* Simple chips-like element for UI details (e.g., FAQ categories) */

.chip {
  display: inline-flex;
  align-items: center;
  padding-inline: 0.9rem;
  padding-block: 0.35rem;
  border-radius: var(--radius-pill);
  background: rgba(17, 24, 39, 0.9);
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
}

.chip--active {
  background: rgba(212, 160, 58, 0.12);
  color: var(--color-primary);
  border: 1px solid rgba(212, 160, 58, 0.7);
}

/* Testimonial block */

.testimonial {
  position: relative;
  padding: var(--space-24);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(9, 10, 20, 0.96), rgba(14, 16, 30, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.testimonial-quote {
  font-style: italic;
  color: var(--color-text);
}

.testimonial-meta {
  margin-top: var(--space-12);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* Gallery grid helper */

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

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-12);
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #000;
}

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

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 40%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(1.05);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* FAQ accordion basics (no JS logic, just base visuals) */

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(9, 11, 24, 0.96);
  padding: var(--space-16);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question-text {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text);
}

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

/* Simple status indicator (e.g., "tylko rozrywka", "bez hazardu") */

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding-inline: 0.8rem;
  padding-block: 0.25rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #e0f2fe;
  font-size: var(--font-size-xs);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
}

/* Toast / alert info (for non-gambling disclaimer etc.) */

.alert {
  padding: var(--space-12) var(--space-16);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-sm);
}

.alert--info {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #e0f2fe;
}

.alert--success {
  background: rgba(6, 95, 70, 0.9);
  border: 1px solid rgba(16, 185, 129, 0.7);
  color: #ecfdf5;
}

.alert--warning {
  background: rgba(120, 53, 15, 0.9);
  border: 1px solid rgba(251, 191, 36, 0.7);
  color: #fef9c3;
}

.alert--danger {
  background: rgba(127, 29, 29, 0.9);
  border: 1px solid rgba(248, 113, 113, 0.7);
  color: #fee2e2;
}

/* Navigation skeleton (base only, no layout opinionated) */

.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(22px);
  background: linear-gradient(to bottom, rgba(5, 6, 10, 0.94), rgba(5, 6, 10, 0.75));
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: var(--font-size-sm);
}

@media (min-width: 960px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  transition: color var(--transition-fast),
    opacity var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(212, 160, 58, 0.1), rgba(212, 160, 58, 0.9));
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: #fef9c3;
}

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

.nav-link--active {
  color: var(--color-primary);
}

.nav-link--active::after {
  width: 100%;
}

/* Footer minimal base */

.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), #020617);
  padding-block: var(--space-24);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

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

.footer a:hover {
  color: #e5e7eb;
}
