:root {
  /* =====================
     Color System
     ===================== */
  --color-bg: #050816;
  --color-surface: #0b1020;
  --color-surface-alt: #11172a;
  --color-text: #f7f9ff;
  --color-text-muted: #a4acc9;

  --color-primary: #ff3366; /* energetic accent */
  --color-primary-soft: rgba(255, 51, 102, 0.12);
  --color-success: #20c997;
  --color-warning: #ffc107;
  --color-danger: #ff4d4f;

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

  /* Accent gradients for lounge / neon vibe */
  --gradient-primary: linear-gradient(135deg, #ff3366 0%, #ff8a00 50%, #ffc107 100%);
  --gradient-surface: radial-gradient(circle at top left, rgba(255, 51, 102, 0.16), transparent 55%),
    radial-gradient(circle at bottom right, rgba(0, 188, 255, 0.18), transparent 60%),
    #050816;

  /* =====================
     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-heading: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Fira Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;

  /* Base font sizes (desktop). Use clamp for responsive scaling where needed. */
  --text-xs: 0.75rem;   /* 12px */
  --text-sm: 0.875rem;  /* 14px */
  --text-md: 1rem;      /* 16px */
  --text-lg: 1.125rem;  /* 18px */
  --text-xl: 1.25rem;   /* 20px */
  --text-2xl: 1.5rem;   /* 24px */
  --text-3xl: 1.875rem; /* 30px */
  --text-4xl: 2.25rem;  /* 36px */

  --leading-tight: 1.15;
  --leading-snug: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.7;

  /* =====================
     Spacing Scale (px)
     ===================== */
  --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, Shadows
     ===================== */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --shadow-soft: 0 18px 35px rgba(0, 0, 0, 0.38);
  --shadow-elevated: 0 24px 60px rgba(0, 0, 0, 0.6);
  --shadow-focus: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 0 4px rgba(255, 51, 102, 0.45);

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

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

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

body {
  margin: 0;
}

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

ol,
ul {
  padding-left: 1.25rem;
}

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

img {
  height: auto;
}

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

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

textarea {
  resize: vertical;
}

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

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

[hidden] {
  display: none !important;
}

/* =====================
   Base Styles
   ===================== */
body {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  line-height: var(--leading-normal);
  background: var(--gradient-surface);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

main {
  min-height: 60vh;
}

h1,
 h2,
 h3,
 h4,
 h5,
 h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 3.1rem);
  margin-bottom: var(--space-16);
}

h2 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  margin-bottom: var(--space-12);
}

h3 {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  margin-bottom: var(--space-8);
}

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

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

strong {
  font-weight: 600;
}

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

a {
  position: relative;
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-normal);
}

a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.08em;
  width: 0;
  height: 1px;
  background: var(--color-primary);
  opacity: 0.7;
  transition: width var(--transition-normal);
}

a:hover::after {
  width: 100%;
}

a:hover {
  color: #ff5a80;
}

::selection {
  background: rgba(255, 51, 102, 0.28);
  color: var(--color-text);
}

hr {
  border: 0;
  height: 1px;
  width: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.18), transparent);
  margin: var(--space-24) 0;
}

/* =====================
   Accessibility
   ===================== */
:focus {
  outline: none;
}

:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

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

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

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

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

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

.section__heading {
  margin-bottom: var(--space-24);
}

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

.inline-flex {
  display: inline-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-16 {
  gap: var(--space-16);
}

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

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

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

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

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

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

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

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

.mt-0 { margin-top: 0; }
.mt-16 { margin-top: var(--space-16); }
.mt-24 { margin-top: var(--space-24); }
.mt-32 { margin-top: var(--space-32); }

.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: var(--space-16); }
.mb-24 { margin-bottom: var(--space-24); }
.mb-32 { margin-bottom: var(--space-32); }

.py-24 {
  padding-top: var(--space-24);
  padding-bottom: var(--space-24);
}

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

/***************************
 * Badges / Pills (for
 * tournament & schedule tags)
 ***************************/
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.1rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 12, 28, 0.9);
  color: var(--color-text-muted);
}

.badge--live {
  border-color: rgba(255, 51, 102, 0.7);
  background: rgba(255, 51, 102, 0.12);
  color: #ff99b3;
}

.badge--poker {
  border-color: rgba(0, 188, 255, 0.7);
  background: rgba(0, 188, 255, 0.12);
  color: #7fd8ff;
}

.badge--sports {
  border-color: rgba(32, 201, 151, 0.7);
  background: rgba(32, 201, 151, 0.12);
  color: #8ff5d3;
}

/* =====================
   Form Controls / Inputs
   ===================== */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="search"],
input[type="password"],
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 9, 22, 0.96);
  color: var(--color-text);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  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(164, 172, 201, 0.7);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: rgba(255, 51, 102, 0.7);
  box-shadow: var(--shadow-focus);
  background: rgba(10, 15, 36, 0.98);
}

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

label {
  display: block;
  font-size: var(--text-sm);
  margin-bottom: 0.3rem;
  color: var(--gray-200);
}

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

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

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

/* =====================
   Buttons
   ===================== */
.btn {
  --btn-bg: var(--color-primary);
  --btn-bg-hover: #ff4b77;
  --btn-color: #fff;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-color);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--transition-normal),
              border-color var(--transition-normal),
              box-shadow var(--transition-normal),
              transform var(--transition-fast),
              color var(--transition-normal);
  white-space: nowrap;
}

.btn:hover {
  background: var(--btn-bg-hover);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(255, 51, 102, 0.45);
}

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

.btn:focus-visible {
  box-shadow: var(--shadow-focus);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-bg-hover: rgba(255, 51, 102, 0.16);
  --btn-color: var(--color-text);

  border-color: rgba(255, 255, 255, 0.26);
  background: transparent;
}

.btn--ghost {
  --btn-bg: rgba(11, 16, 34, 0.7);
  --btn-bg-hover: rgba(20, 26, 52, 0.96);
  --btn-color: var(--color-text);

  border-color: rgba(255, 255, 255, 0.08);
}

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

.btn--sm {
  padding: 0.4rem 1rem;
  font-size: var(--text-xs);
}

.btn--lg {
  padding: 0.8rem 1.8rem;
  font-size: var(--text-md);
}

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

/* Status variants (e.g. reservation status) */
.btn--success {
  --btn-bg: var(--color-success);
  --btn-bg-hover: #23d6a0;
}

.btn--danger {
  --btn-bg: var(--color-danger);
  --btn-bg-hover: #ff6669;
}

/* =====================
   Cards & Surfaces
   ===================== */
.card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: var(--space-24);
  background: radial-gradient(circle at top left, rgba(255, 51, 102, 0.11), transparent 56%),
              radial-gradient(circle at bottom right, rgba(0, 188, 255, 0.09), transparent 60%),
              rgba(8, 12, 32, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
}

.card--subtle {
  background: rgba(7, 10, 28, 0.94);
}

.card--outlined {
  background: transparent;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.18);
}

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

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

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

.card__body {
  font-size: var(--text-sm);
}

.card__footer {
  margin-top: var(--space-16);
}

/* =====================
   Media / Galleries
   ===================== */
.media-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #020309;
}

.media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--elevated {
  box-shadow: var(--shadow-elevated);
}

/* Simple gallery grid for interior photos */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-16);
}

/* =====================
   Specialized Components
   for Zynko Hub structure
   ===================== */

/* Schedule / calendar list (for tournaments & sports broadcasts) */
.schedule-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.schedule-item {
  display: grid;
  grid-template-columns: 0.9fr 1.8fr auto;
  align-items: center;
  gap: var(--space-12);
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  background: rgba(13, 18, 40, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.schedule-item__time {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--gray-100);
}

.schedule-item__main {
  font-size: var(--text-sm);
}

.schedule-item__main-title {
  font-weight: 600;
  color: var(--gray-50);
}

.schedule-item__main-meta {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.schedule-item__cta {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .schedule-item {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .schedule-item__cta {
    justify-content: flex-start;
  }
}

/* Testimonial style */
.testimonial {
  position: relative;
  padding: var(--space-24);
  border-radius: var(--radius-lg);
  background: rgba(8, 11, 30, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 0.2rem;
  left: 0.9rem;
  font-size: 3rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
}

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

.testimonial__meta {
  margin-top: var(--space-12);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gray-300);
}

/* Info chips for dress code, rules, opening hours */
.info-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.info-chip {
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--text-xs);
  color: var(--gray-200);
  background: rgba(6, 9, 24, 0.9);
}

/* Location / map wrapper */
.map-shell {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-soft);
}

/* =====================
   Utility Text / Color
   ===================== */
.text-muted {
  color: var(--color-text-muted);
}

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

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

.bg-surface-alt {
  background: var(--color-surface-alt);
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  background: rgba(255, 255, 255, 0.05);
  color: var(--gray-100);
}

/* =====================
   Zynko Hub specific
   header / nav helpers
   ===================== */
.nav-blur {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(24px);
  background: linear-gradient(to bottom, rgba(5, 8, 22, 0.96), rgba(5, 8, 22, 0.8));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--gradient-primary);
  transition: width var(--transition-normal);
}

.nav-link:hover {
  color: var(--gray-50);
}

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

.nav-link--active {
  color: #fff;
}

/* Hero subtitle / label (e.g. "Polski klub gier karcianych i sportu na żywo") */
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  background: rgba(11, 16, 34, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-200);
}

.hero-label__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: radial-gradient(circle, #ff3366 0%, #ff8a00 55%, #ffc107 100%);
}

/* =====================
   Footer helpers
   ===================== */
.site-footer {
  padding-top: var(--space-32);
  padding-bottom: var(--space-24);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: radial-gradient(circle at top center, rgba(255, 51, 102, 0.18), transparent 60%),
              #050816;
}

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

/* End of base.css */
