/* ========================================================================== 
   Variables
   ========================================================================== */
:root {
  /* Colors - core */
  --color-bg: #050814; /* deep night background for sections */
  --color-surface: #0b1022; /* cards / elevated surfaces */
  --color-surface-alt: #11162b;
  --color-text: #f9fafb;
  --color-text-muted: #9ca3af;
  --color-border-subtle: rgba(148, 163, 184, 0.35);

  /* Brand / accent - neon nightlife palette */
  --color-primary: #3b82f6; /* neon blue */
  --color-primary-soft: rgba(59, 130, 246, 0.12);
  --color-secondary: #a855f7; /* neon purple */
  --color-accent-pink: #ec4899;
  --color-accent-gold: #facc15;

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

  /* Neutral grays */
  --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;

  /* Gradients for hero / buttons / overlays */
  --gradient-hero: linear-gradient(135deg, #0b1022 0%, #111827 35%, #1f2937 65%, #020617 100%);
  --gradient-neon: linear-gradient(135deg, #3b82f6, #a855f7, #ec4899);
  --gradient-gold: linear-gradient(135deg, #facc15, #f59e0b);

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --font-display: "Poppins", "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;

  /* Font sizes (mobile-first) */
  --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 heights */
  --line-height-tight: 1.1;
  --line-height-snug: 1.3;
  --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-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 999px;

  /* Shadows (soft neon emphasis) */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.25);
  --shadow-md: 0 6px 18px rgba(15, 23, 42, 0.55);
  --shadow-lg: 0 18px 45px rgba(15, 23, 42, 0.85);
  --shadow-neon-blue: 0 0 24px rgba(59, 130, 246, 0.55);
  --shadow-neon-pink: 0 0 26px rgba(236, 72, 153, 0.55);

  /* Transitions / motion */
  --transition-fast: 150ms ease-out;
  --transition-base: 220ms ease-out;
  --transition-slow: 380ms ease-out;
  --easing-soft: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --content-max-width: 1120px;
  --header-height: 4.25rem;
}

@media (min-width: 768px) {
  :root {
    --font-size-3xl: 2.25rem; /* 36px */
    --font-size-4xl: 3rem;    /* 48px */
    --font-size-5xl: 3.75rem; /* 60px */
  }
}

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

* {
  margin: 0;
}

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

body {
  min-height: 100vh;
}

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

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

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

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

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

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

/* ========================================================================== 
   Base Styles
   ========================================================================== */
body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  -webkit-font-smoothing: antialiased;
  background: radial-gradient(circle at top, rgba(59, 130, 246, 0.12), transparent 55%),
              radial-gradient(circle at bottom, rgba(236, 72, 153, 0.16), transparent 55%),
              var(--color-bg);
  color: var(--color-text);
}

main {
  display: block;
}

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

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

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

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

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

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

strong {
  font-weight: 600;
}

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

a {
  position: relative;
  transition: color var(--transition-base) var(--easing-soft);
}

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

/* Underline-on-hover utility for nav & inline links */
.a-underline-hover {
  text-decoration: none;
}

.a-underline-hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15em;
  width: 0;
  height: 2px;
  background: var(--gradient-neon);
  border-radius: var(--radius-full);
  transition: width var(--transition-base) var(--easing-soft);
}

.a-underline-hover:hover::after,
.a-underline-hover:focus-visible::after {
  width: 100%;
}

code, pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
}

hr {
  border: none;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  margin: var(--space-8) 0;
}

/* ========================================================================== 
   Accessibility & Focus Styles
   ========================================================================== */
:focus {
  outline: none;
}

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

[data-focus-visible-added] {
  outline: 2px solid var(--color-accent-pink);
  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;
}

/* ========================================================================== 
   Layout Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--content-max-width);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

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

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

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

.section--alt {
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.18), transparent 55%),
    var(--color-surface);
}

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

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

.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-6);
}

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

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

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

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

.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

/* ========================================================================== 
   Components - Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding-inline: 1.25rem;
  padding-block: 0.7rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background var(--transition-base) var(--easing-soft),
    color var(--transition-base) var(--easing-soft),
    border-color var(--transition-base) var(--easing-soft),
    box-shadow var(--transition-base) var(--easing-soft),
    transform var(--transition-fast) var(--easing-soft);
}

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

.btn-primary {
  background-image: var(--gradient-neon);
  color: #0b1120;
  box-shadow: var(--shadow-md), var(--shadow-neon-blue);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px) scale(1.01);
  box-shadow: var(--shadow-lg), var(--shadow-neon-pink);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0) scale(0.99);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.6);
  color: var(--gray-50);
}

.btn-outline:hover:not(:disabled) {
  border-color: var(--color-primary);
  background: rgba(15, 23, 42, 0.9);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.6);
  color: var(--gray-50);
  border-radius: var(--radius-full);
}

.btn-ghost:hover:not(:disabled) {
  background: rgba(15, 23, 42, 0.85);
}

/* Icon alignment helper */
.btn-icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: var(--radius-full);
}

/* ========================================================================== 
   Components - Form Elements
   ========================================================================== */
label {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--gray-200);
}

.input,
textarea,
select {
  width: 100%;
  padding-inline: var(--space-3);
  padding-block: 0.7rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.85);
  color: var(--gray-50);
  font-size: var(--font-size-sm);
  transition:
    border-color var(--transition-base) var(--easing-soft),
    box-shadow var(--transition-base) var(--easing-soft),
    background var(--transition-base) var(--easing-soft);
}

.input::placeholder,
textarea::placeholder {
  color: var(--gray-500);
}

.input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.6);
  background: rgba(15, 23, 42, 0.95);
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

.input-error {
  border-color: var(--color-danger);
}

.input-error:focus-visible {
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.65);
}

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

/* ========================================================================== 
   Components - Cards & Surfaces
   ========================================================================== */
.card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.25), transparent 55%),
              radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.2), transparent 55%);
  opacity: 0;
  transition: opacity var(--transition-base) var(--easing-soft);
}

.card:hover::before {
  opacity: 1;
}

.card--outlined {
  background: rgba(15, 23, 42, 0.8);
  border-style: dashed;
}

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

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

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

/* Event tag chips */
.chip {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-full);
  padding-inline: 0.7rem;
  padding-block: 0.25rem;
  font-size: var(--font-size-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--gray-100);
  background: rgba(15, 23, 42, 0.7);
}

.chip--primary {
  border-color: rgba(59, 130, 246, 0.7);
  background: rgba(15, 23, 42, 0.9);
}

.chip--gold {
  border-color: rgba(250, 204, 21, 0.8);
  background: rgba(24, 20, 5, 0.9);
  color: #fefce8;
}

/* ========================================================================== 
   Components - Hero & Media Shells
   ========================================================================== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding-block: var(--space-10);
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 0%, rgba(59, 130, 246, 0.3), transparent 55%),
              radial-gradient(circle at 90% 100%, rgba(236, 72, 153, 0.35), transparent 55%);
  mix-blend-mode: screen;
  opacity: 0.9;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-accent-gold);
  margin-bottom: var(--space-3);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-3);
}

.hero-subtitle {
  max-width: 34rem;
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

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

/* Media frame for sliders / galleries */
.media-frame {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.3), rgba(15, 23, 42, 0.95));
  box-shadow: var(--shadow-lg), var(--shadow-neon-blue);
}

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

/* ========================================================================== 
   Components - Badges & Status
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding-inline: 0.5rem;
  padding-block: 0.2rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.badge-success {
  background: rgba(22, 163, 74, 0.15);
  color: #bbf7d0;
}

.badge-warning {
  background: rgba(234, 179, 8, 0.2);
  color: #fef9c3;
}

.badge-danger {
  background: rgba(248, 113, 113, 0.12);
  color: #fee2e2;
}

/* ========================================================================== 
   Utilities - Text & Meta
   ========================================================================== */
.text-muted {
  color: var(--color-text-muted);
}

.text-accent {
  background: var(--gradient-neon);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kicker {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

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

.section-description {
  max-width: 36rem;
  color: var(--color-text-muted);
}

/* Legal / disclaimer text in footer */
.footer-disclaimer {
  margin-top: var(--space-4);
  font-size: var(--font-size-xs);
  line-height: var(--line-height-relaxed);
  color: var(--gray-400);
}

/* ========================================================================== 
   Utilities - Chips for Categories (Póker Estek, Koncertek, etc.)
   ========================================================================== */
.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding-inline: 0.9rem;
  padding-block: 0.35rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--gray-100);
}

.category-pill--poker {
  border-color: rgba(250, 204, 21, 0.9);
  background: radial-gradient(circle at top left, rgba(250, 204, 21, 0.22), rgba(15, 23, 42, 0.95));
}

.category-pill--concert {
  border-color: rgba(59, 130, 246, 0.9);
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.2), rgba(15, 23, 42, 0.95));
}

.category-pill--standup {
  border-color: rgba(168, 85, 247, 0.9);
  background: radial-gradient(circle at top left, rgba(168, 85, 247, 0.22), rgba(15, 23, 42, 0.95));
}

.category-pill--dj {
  border-color: rgba(236, 72, 153, 0.9);
  background: radial-gradient(circle at top left, rgba(236, 72, 153, 0.22), rgba(15, 23, 42, 0.95));
}

/* ========================================================================== 
   Utilities - Misc
   ========================================================================== */
.tagline {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.badge-offline-only {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding-inline: 0.75rem;
  padding-block: 0.25rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(22, 163, 74, 0.7);
  background: rgba(21, 128, 61, 0.15);
  color: #bbf7d0;
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Helper for subtle glass effect sections (e.g., event calendar, gallery) */
.glass-panel {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.96));
  backdrop-filter: blur(18px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: var(--shadow-md);
}
