/* =========================================
   Variables
   ========================================= */
:root {
  /* Color Palette - Luxurious Nightlife */
  --color-background: #05070b; /* deep almost-black navy */
  --color-surface: #11141d; /* card / section background */
  --color-surface-alt: #181b26;
  --color-text: #f5f5f7;
  --color-text-muted: #a4a7b5;

  --color-primary: #f1c453; /* warm gold */
  --color-primary-soft: rgba(241, 196, 83, 0.1);
  --color-primary-strong: #ffd978;

  --color-accent-burgundy: #7a1631;
  --color-accent-navy: #0b1a33;

  --color-success: #34d399;
  --color-warning: #facc15;
  --color-danger: #f97373;

  --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, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-heading: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, 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-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-pill: 999px;

  /* Shadows - subtle glossy nightlife feel */
  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 18px 45px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.7);

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

@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 1ms linear;
    --transition-normal: 1ms linear;
    --transition-slow: 1ms linear;
  }
}


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

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

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd,
ul,
ol,
fieldset,
legend {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
  padding-left: 0;
}

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

img {
  height: auto;
}

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

button,
[role="button"] {
  cursor: pointer;
}

button:disabled,
[role="button"][aria-disabled="true"],
button[aria-disabled="true"] {
  cursor: not-allowed;
}

textarea {
  resize: vertical;
}

html,
body {
  height: 100%;
}

body {
  min-height: 100vh;
}

/* Remove default link underline; will style in Base */
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, #13162a 0, #05070b 55%, #000000 100%);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  min-height: 60vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: var(--line-height-tight);
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.4rem, 3.3vw, var(--font-size-5xl));
  letter-spacing: 0.03em;
}

h2 {
  font-size: clamp(1.9rem, 2.6vw, var(--font-size-4xl));
}

h3 {
  font-size: clamp(1.5rem, 2vw, var(--font-size-3xl));
}

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

h5 {
  font-size: var(--font-size-xl);
}

h6 {
  font-size: var(--font-size-lg);
}

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

strong,
b {
  font-weight: 600;
}

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

a {
  color: var(--color-primary);
  transition: color var(--transition-normal), opacity var(--transition-fast);
}

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

a:active {
  opacity: 0.9;
}

hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin: var(--space-8) 0;
}

::selection {
  background: rgba(241, 196, 83, 0.25);
  color: var(--color-text);
}


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

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

[data-focus-hidden="true"]:focus-visible {
  outline: none;
}

/* Screen-reader only helper */
.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%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
  max-width: 1120px; /* comfortable for Polish event agency corporate pages */
}

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

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

.section--alt {
  background: radial-gradient(circle at top right, rgba(241, 196, 83, 0.06), transparent 55%),
    linear-gradient(135deg, #05070b 0, #0a0d15 40%, #05070b 100%);
}

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

.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(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
}

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

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

.mt-0 {
  margin-top: 0;
}

.mt-4 {
  margin-top: var(--space-4);
}

.mt-6 {
  margin-top: var(--space-6);
}

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

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

.mb-6 {
  margin-bottom: var(--space-6);
}

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

.hide-on-mobile {
  display: none;
}

@media (min-width: 768px) {
  .hide-on-mobile {
    display: block;
  }

  .hide-on-desktop {
    display: none;
  }
}


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

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color var(--transition-normal),
    color var(--transition-normal),
    border-color var(--transition-normal),
    box-shadow var(--transition-normal),
    transform var(--transition-fast);
  white-space: nowrap;
}

.button--primary {
  background: linear-gradient(135deg, #f1c453 0%, #ffed9f 40%, #f1c453 100%);
  color: #221500;
  box-shadow: 0 0 0 1px rgba(255, 250, 230, 0.1), var(--shadow-md);
}

.button--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255, 250, 230, 0.2), var(--shadow-lg);
}

.button--primary:active {
  transform: translateY(0);
  box-shadow: 0 0 0 1px rgba(255, 250, 230, 0.08), var(--shadow-sm);
}

.button--outline {
  background: rgba(5, 7, 11, 0.7);
  color: var(--color-text);
  border-color: rgba(241, 196, 83, 0.7);
  box-shadow: 0 0 0 1px rgba(241, 196, 83, 0.2);
}

.button--outline:hover {
  background: rgba(241, 196, 83, 0.12);
}

.button--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: rgba(255, 255, 255, 0.18);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.button--danger {
  background: linear-gradient(135deg, #f97373 0, #f97373 30%, #facc15 100%);
  color: #1b0707;
}

.button--sm {
  padding: 0.55rem 1.2rem;
  font-size: var(--font-size-xs);
}

.button--lg {
  padding: 0.95rem 2rem;
  font-size: var(--font-size-base);
}

.button:disabled,
.button[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}

.button__icon {
  display: inline-flex;
  margin-left: 0.4rem;
}

/* Inputs & Forms */
.input,
.textarea,
.select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 13, 23, 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-normal);
}

.input::placeholder,
.textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.input:focus-visible,
.textarea:focus-visible,
.select:focus-visible {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(241, 196, 83, 0.35), 0 0 0 6px rgba(241, 196, 83, 0.12);
}

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

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

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

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

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

/* Card */
.card {
  background: radial-gradient(circle at top left, rgba(241, 196, 83, 0.07), transparent 55%),
    linear-gradient(145deg, var(--color-surface) 0, var(--color-surface-alt) 40%, #070813 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 120% -10%, rgba(122, 22, 49, 0.65), transparent 55%);
  opacity: 0.3;
  mix-blend-mode: screen;
  pointer-events: none;
}

.card__content {
  position: relative;
  z-index: 1;
}

.card--soft {
  background: rgba(11, 14, 26, 0.9);
  box-shadow: var(--shadow-sm);
}

.card--bordered {
  border-color: rgba(241, 196, 83, 0.25);
}

/* Tag / badge - e.g. trust badges, legal info */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(241, 196, 83, 0.6);
  background: rgba(5, 7, 11, 0.85);
  color: var(--color-primary-strong);
}

.badge--muted {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--color-text-muted);
}

/* Hero-specific utility: glow container */
.glow-panel {
  position: relative;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 10% 0%, rgba(241, 196, 83, 0.25), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(122, 22, 49, 0.55), transparent 60%),
    linear-gradient(135deg, #070813 0%, #05070b 60%, #000000 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(241, 196, 83, 0.25), 0 40px 120px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}

.glow-panel::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 20% -10%, rgba(241, 196, 83, 0.16), transparent 65%);
  mix-blend-mode: screen;
  opacity: 0.9;
  pointer-events: none;
}

.glow-panel__content {
  position: relative;
  z-index: 1;
}

/* Simple chips / tokens for casino-style section details */
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  background: rgba(10, 16, 32, 0.9);
  border: 1px solid rgba(241, 196, 83, 0.35);
  color: var(--color-text-muted);
}

.chip--highlight {
  background: radial-gradient(circle at 0 0, rgba(241, 196, 83, 0.35), rgba(10, 16, 32, 0.96));
  color: var(--color-text);
}

/* Testimonial base layout */
.testimonial {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.testimonial__quote {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
}

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

/* FAQ base layout */
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-4) 0;
}

.faq-item__question {
  font-weight: 500;
  cursor: pointer;
}

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

/* Footer base */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-8) 0 var(--space-6);
  background: linear-gradient(to top, #020309 0, #05070b 40%, transparent 100%);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

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

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


/* =========================================
   Motion & Animation Utilities
   ========================================= */
.fade-in-up {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .fade-in-up,
  .fade-in-up.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
