/* ========================================================================
   Budapest Night Zone - Base Stylesheet
   URL: https://budapestnightzone.com
   Encoding: UTF-8 (do not alter)
   ====================================================================== */

/* ========================================================================
   1. CSS VARIABLES (THEME TOKENS)
   ====================================================================== */
:root {
  /* Color Palette - Nightlife Cyber Lounge */
  --color-background: #050816; /* Deep midnight blue */
  --color-background-alt: #070b16;
  --color-surface: rgba(9, 16, 32, 0.96);
  --color-surface-soft: rgba(10, 22, 46, 0.88);
  --color-surface-elevated: rgba(17, 32, 64, 0.98);
  --color-overlay: rgba(2, 6, 23, 0.92);

  --color-text: #f9fafb; /* Almost white */
  --color-text-muted: #9ca3af; /* Neutral gray */
  --color-text-soft: #6b7280;
  --color-border-subtle: rgba(148, 163, 184, 0.25);

  /* Primary & Accents */
  --color-primary: #fbbf24; /* Amber / gold */
  --color-primary-soft: rgba(251, 191, 36, 0.16);
  --color-primary-strong: #f59e0b;
  --color-primary-glow: 0 0 32px rgba(251, 191, 36, 0.65);

  /* Status Colors */
  --color-success: #22c55e;
  --color-success-soft: rgba(34, 197, 94, 0.18);
  --color-warning: #f97316;
  --color-warning-soft: rgba(249, 115, 22, 0.18);
  --color-danger: #ef4444;
  --color-danger-soft: rgba(239, 68, 68, 0.18);

  /* Neutral Grays (cool slate) */
  --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 - Display serif + geometric sans */
  --font-display: "Playfair Display", "Times New Roman", ui-serif, Georgia, "Noto Serif", serif;
  --font-sans: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --font-mono: "JetBrains Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* Font Sizes (aggressive hierarchy, rem-based) */
  --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 */
  --font-size-6xl: 3.75rem;  /* 60px */

  /* Line Heights */
  --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 - soft, premium rounding */
  --radius-xs: 0.5rem;      /* 8px */
  --radius-sm: 0.75rem;     /* 12px */
  --radius-md: 1rem;        /* 16px */
  --radius-lg: 1.25rem;     /* 20px */
  --radius-xl: 1.5rem;      /* 24px */
  --radius-pill: 9999px;

  /* Shadows - subtle, diffused, for dark UI */
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.45);
  --shadow-elevated: 0 24px 80px rgba(0, 0, 0, 0.7);
  --shadow-amber-glow: 0 0 40px rgba(251, 191, 36, 0.55);

  /* Transitions & Motion */
  --transition-fast: 150ms ease-out;
  --transition-base: 220ms ease-out;
  --transition-slow: 360ms ease;
  --transition-transform: transform var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base), opacity var(--transition-base);
  --transition-opacity: opacity var(--transition-base), visibility var(--transition-base);

  /* Layout */
  --container-max-width: 1200px;
  --container-wide-width: 1440px;
  --navbar-height: 72px;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0ms linear;
    --transition-base: 0ms linear;
    --transition-slow: 0ms linear;
  }

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

/* ========================================================================
   2. RESET & NORMALIZE
   ====================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

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

body {
  min-height: 100vh;
}

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

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

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

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

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

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

/* ========================================================================
   3. BASE TYPOGRAPHY & ELEMENTS
   ====================================================================== */
body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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.03em;
}

h1 {
  font-size: clamp(var(--font-size-4xl), 3vw + 1rem, var(--font-size-6xl));
  margin-bottom: var(--space-4);
}

h2 {
  font-size: clamp(var(--font-size-3xl), 2.25vw + 0.75rem, var(--font-size-5xl));
  margin-bottom: var(--space-3);
}

h3 {
  font-size: clamp(var(--font-size-2xl), 1.8vw + 0.6rem, var(--font-size-4xl));
  margin-bottom: var(--space-3);
}

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

h5 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2);
}

h6 {
  font-size: var(--font-size-base);
  margin-bottom: var(--space-2);
}

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

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

strong,
b {
  font-weight: 600;
}

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

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

/* Links - smart hover contrast on dark */
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-base), text-shadow var(--transition-base);
}

a:hover,
a:focus-visible {
  color: #fefce8; /* near-white for contrast */
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.8);
}

/* Lists */
ul,
ol {
  padding-left: var(--space-5);
  margin: 0 0 var(--space-3);
}

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

/* ========================================================================
   4. ACCESSIBILITY & FOCUS STYLES
   ====================================================================== */
:focus {
  outline: none;
}

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

/* For dark surfaces, add halo */
.focus-ring,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a[href]:focus-visible {
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.9), 0 0 0 3px rgba(251, 191, 36, 0.85);
}

/* Screen reader only utility */
.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;
}

/* ========================================================================
   5. LAYOUT UTILITIES
   ====================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
  min-width: 0;
}

.container-wide {
  width: 100%;
  max-width: var(--container-wide-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
  min-width: 0;
}

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

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

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

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

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

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

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

.gap-sm {
  gap: var(--space-3);
}

.gap-md {
  gap: var(--space-4);
}

.gap-lg {
  gap: var(--space-6);
}

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

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

/* Alignment & text utilities */
.text-center {
  text-align: center;
}

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

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

.text-soft {
  color: var(--color-text-soft);
}

/* Spacing utilities (common) */
.mt-0 { margin-top: 0; }
.mt-xs { margin-top: var(--space-2); }
.mt-sm { margin-top: var(--space-3); }
.mt-md { margin-top: var(--space-4); }
.mt-lg { margin-top: var(--space-6); }
.mt-xl { margin-top: var(--space-10); }

.mb-0 { margin-bottom: 0; }
.mb-xs { margin-bottom: var(--space-2); }
.mb-sm { margin-bottom: var(--space-3); }
.mb-md { margin-bottom: var(--space-4); }
.mb-lg { margin-bottom: var(--space-6); }
.mb-xl { margin-bottom: var(--space-10); }

.pt-section { padding-top: var(--space-16); }
.pb-section { padding-bottom: var(--space-16); }

/* Max-width text blocks for readable Hungarian copy */
.text-block {
  max-width: 60ch;
}

/* ========================================================================
   6. COMPONENT BASICS
   ====================================================================== */

/* Buttons - base, primary, ghost */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  font-size: var(--font-size-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-transform);
  position: relative;
  isolation: isolate;
}

.btn-primary {
  background: radial-gradient(circle at 20% 0%, #fef3c7 0, #fbbf24 22%, #78350f 100%);
  color: #0f172a;
  box-shadow: var(--shadow-amber-glow);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.14), rgba(15, 23, 42, 0.5));
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 0 0 1px rgba(250, 250, 249, 0.16), 0 26px 70px rgba(0, 0, 0, 0.85);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(0) scale(0.99);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.8);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.6);
  color: var(--gray-50);
  border-color: rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.btn-ghost:hover {
  border-color: rgba(251, 191, 36, 0.8);
  color: #fefce8;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: rgba(251, 191, 36, 0.8);
}

.btn-outline:hover {
  background: rgba(251, 191, 36, 0.08);
  color: #fefce8;
  box-shadow: 0 0 32px rgba(251, 191, 36, 0.6);
}

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

/* Inputs, textareas, selects */
.input,
.textarea,
.select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  background-color: rgba(15, 23, 42, 0.85);
  color: var(--gray-50);
  font-size: var(--font-size-sm);
  line-height: 1.4;
  outline: none;
  transition: var(--transition-transform);
}

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

.input:focus-visible,
.textarea:focus-visible,
.select:focus-visible {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.9), 0 0 0 3px rgba(251, 191, 36, 0.85);
}

.textarea {
  min-height: 140px;
  resize: vertical;
}

label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 500;
  margin-bottom: var(--space-2);
  color: var(--gray-100);
}

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

.form-hint {
  font-size: var(--font-size-xs);
  color: var(--color-text-soft);
  margin-top: var(--space-1);
}

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

/* Cards - glassmorphism surfaces */
.card {
  position: relative;
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, rgba(251, 191, 36, 0.04), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.card-soft {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.8));
  border: 1px solid rgba(31, 41, 55, 0.8);
}

.card-hoverable {
  transition: var(--transition-transform);
}

.card-hoverable:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

/* Tag / pill (e.g., tournament stakes, live status) */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.85);
  color: var(--gray-100);
}

.tag-gold {
  border-color: rgba(251, 191, 36, 0.9);
  background: rgba(251, 191, 36, 0.08);
  color: #fef9c3;
}

.tag-success {
  border-color: rgba(34, 197, 94, 0.9);
  background: var(--color-success-soft);
  color: #bbf7d0;
}

.tag-danger {
  border-color: rgba(239, 68, 68, 0.9);
  background: var(--color-danger-soft);
  color: #fecaca;
}

/* ========================================================================
   7. SPECIAL LAYOUT HOOKS FOR THIS PROJECT
   (Used across pages for consistency; no HTML here, just classes)
   ====================================================================== */

/* Top bar for logo & hamburger (minimal) */
.topbar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  width: 100%;
  max-width: 100%;
  height: var(--navbar-height);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--space-4);
  box-sizing: border-box;
  background: linear-gradient(to bottom, rgba(5, 7, 14, 0.98), rgba(5, 7, 14, 0.8), transparent);
  backdrop-filter: blur(18px);
}

.topbar-logo {
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-50);
}

/* Animated amber hamburger */
.icon-hamburger {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(251, 191, 36, 0.75);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  background: radial-gradient(circle at 0 0, rgba(251, 191, 36, 0.3), rgba(5, 7, 14, 0.96));
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.9), 0 0 20px rgba(251, 191, 36, 0.55);
  transition: var(--transition-transform);
}

.icon-hamburger-line {
  position: absolute;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #fef9c3;
  transition: transform var(--transition-base), opacity var(--transition-base), top var(--transition-base), bottom var(--transition-base);
}

.icon-hamburger-line:nth-child(1) { top: 14px; }
.icon-hamburger-line:nth-child(2) { top: 19px; }
.icon-hamburger-line:nth-child(3) { bottom: 14px; }

.icon-hamburger.is-open .icon-hamburger-line:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}

.icon-hamburger.is-open .icon-hamburger-line:nth-child(2) {
  opacity: 0;
}

.icon-hamburger.is-open .icon-hamburger-line:nth-child(3) {
  bottom: auto;
  top: 19px;
  transform: rotate(-45deg);
}

.icon-hamburger:hover {
  transform: translateY(-1px) scale(1.03);
}

/* Full-screen curtain menu overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: radial-gradient(circle at top left, rgba(251, 191, 36, 0.16), rgba(2, 6, 23, 0.96));
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4%);
  transition: var(--transition-opacity), transform var(--transition-slow);
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-overlay-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 3fr 1.2fr;
  gap: var(--space-10);
  padding: calc(var(--navbar-height) + var(--space-10)) var(--space-10) var(--space-10);
}

@media (max-width: 960px) {
  .nav-overlay-inner {
    grid-template-columns: 1fr;
    padding-inline: var(--space-6);
  }
}

.nav-overlay-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-4);
}

.nav-overlay-link {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw + 1rem, 4rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-100);
  position: relative;
  padding-bottom: 0.35rem;
}

.nav-overlay-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(251, 191, 36, 1), rgba(251, 191, 36, 0));
  transition: width var(--transition-base);
}

.nav-overlay-link:hover,
.nav-overlay-link:focus-visible {
  color: #fefce8;
}

.nav-overlay-link:hover::after,
.nav-overlay-link:focus-visible::after {
  width: 60%;
}

.nav-overlay-meta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-8);
}

.nav-social-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--color-text-soft);
}

.nav-social-link:hover {
  color: #fefce8;
}

/* Hero asymmetric split grid (60/40) */
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--space-10);
  align-items: stretch;
  padding-top: calc(var(--navbar-height) + var(--space-10));
  padding-bottom: var(--space-16);
  min-width: 0;
}

.hero-split > * {
  min-width: 0;
}

@media (max-width: 960px) {
  .hero-split {
    grid-template-columns: minmax(0, 1fr);
    padding-top: calc(var(--navbar-height) + var(--space-8));
  }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-6);
}

.hero-kicker {
  font-size: var(--font-size-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 3.8vw + 1rem, 4.4rem);
  line-height: 1.05;
  overflow-wrap: break-word;
}

.hero-title-accent {
  background: linear-gradient(90deg, #fef3c7, #fbbf24, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-bullets {
  display: grid;
  gap: var(--space-2);
  padding-left: 0;
}

.hero-bullet {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.hero-bullet-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle, #fbbf24, #f97316);
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.9);
}

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

/* Hero right widget - glass live poker status */
.hero-widget {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.hero-widget-panel {
  flex: 1;
  min-height: 260px;
  border-radius: 1.5rem;
  padding: var(--space-4);
  background: radial-gradient(circle at top, rgba(251, 191, 36, 0.18), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  overflow: hidden;
  position: relative;
}

.hero-widget-panel::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0% 0%, rgba(96, 165, 250, 0.18), transparent 55%), radial-gradient(circle at 100% 100%, rgba(251, 191, 36, 0.25), transparent 45%);
  opacity: 0.7;
  mix-blend-mode: screen;
  pointer-events: none;
}

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

.hero-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.hero-widget-title {
  font-size: var(--font-size-sm);
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gray-100);
}

.hero-widget-sub {
  font-size: var(--font-size-xs);
  color: var(--color-text-soft);
}

.hero-widget-rows {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.hero-widget-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  min-width: 0;
  font-size: var(--font-size-xs);
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(31, 41, 55, 0.9);
}

.hero-widget-row.is-hot {
  border-color: rgba(251, 191, 36, 0.9);
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.7);
}

.hero-widget-metric {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1 1 12rem;
  min-width: 0;
}

.hero-widget-metric-label {
  font-size: 0.7rem;
  color: var(--color-text-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-widget-metric-value {
  font-size: var(--font-size-sm);
  color: var(--gray-50);
}

/* Live ticker banner near footer */
.live-ticker {
  position: relative;
  width: 100%;
  max-width: 100%;
  border-top: 1px solid rgba(31, 41, 55, 0.95);
  border-bottom: 1px solid rgba(31, 41, 55, 0.95);
  background: radial-gradient(circle at top left, rgba(251, 191, 36, 0.12), rgba(5, 7, 14, 0.98));
  overflow: hidden;
}

.live-ticker-inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding-block: 0.7rem;
  min-width: 0;
  max-width: 100%;
}

.live-ticker-label {
  flex: 0 0 auto;
  padding-inline: var(--space-4);
  font-size: var(--font-size-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fefce8;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.live-ticker-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.9);
}

.live-ticker-track {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.live-ticker-marquee {
  display: inline-flex;
  gap: var(--space-6);
  white-space: nowrap;
  animation: ticker-scroll 60s linear infinite;
  will-change: transform;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.live-ticker-item {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* Pause marquee on hover for readability */
.live-ticker:hover .live-ticker-marquee {
  animation-play-state: paused;
}

/* Multi-tab showcase (Gasztro page) */
.tabs {
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, rgba(251, 191, 36, 0.1), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(31, 41, 55, 0.95);
  box-shadow: var(--shadow-soft);
  padding: var(--space-4);
}

.tabs-list {
  display: inline-flex;
  gap: var(--space-2);
  padding: 0.25rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.8);
  margin-bottom: var(--space-4);
}

.tab-trigger {
  position: relative;
  padding: 0.5rem 1.3rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  cursor: pointer;
  border: none;
  background: transparent;
  transition: var(--transition-transform);
}

.tab-trigger[aria-selected="true"] {
  color: #0f172a;
  background: radial-gradient(circle at 10% 0, #fefce8, #fbbf24);
  box-shadow: 0 0 24px rgba(251, 191, 36, 0.7);
}

.tab-trigger:hover {
  color: #fefce8;
}

.tabs-content {
  margin-top: var(--space-2);
}

.tab-panel {
  display: none;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.tab-panel.is-active {
  display: block;
  opacity: 1;
}

/* Floating VIP reservation node (Widget 5) */
.vip-floating {
  position: fixed;
  right: max(var(--space-4), env(safe-area-inset-right, 0px));
  bottom: max(var(--space-4), env(safe-area-inset-bottom, 0px));
  left: auto;
  z-index: 50;
  max-width: calc(100vw - 2 * var(--space-4));
  pointer-events: none;
}

.vip-floating-inner {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  max-width: 100%;
  padding: 0.6rem 1.1rem 0.6rem 0.7rem;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, rgba(251, 191, 36, 0.34), rgba(15, 23, 42, 0.96));
  border: 1px solid rgba(251, 191, 36, 0.8);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.9), 0 0 32px rgba(251, 191, 36, 0.7);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  pointer-events: auto;
}

.vip-floating-badge {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: conic-gradient(from 160deg, #fef3c7, #fbbf24, #f97316, #fef3c7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vip-floating-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.vip-floating-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #fefce8;
}

.vip-floating-sub {
  font-size: 0.7rem;
  color: var(--color-text-soft);
}

.vip-floating-cta {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  color: #fefce8;
  border: 1px solid rgba(148, 163, 184, 0.6);
  cursor: pointer;
  transition: var(--transition-transform);
}

.vip-floating-cta:hover {
  border-color: rgba(251, 191, 36, 0.9);
  box-shadow: 0 0 24px rgba(251, 191, 36, 0.7);
}

@media (max-width: 640px) {
  .vip-floating {
    left: var(--space-4);
    right: var(--space-4);
    max-width: none;
  }

  .vip-floating-inner {
    width: 100%;
    padding-inline: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .vip-floating-sub {
    display: none;
  }
}

/* ========================================================================
   8. MISC & HELPER CLASSES
   ====================================================================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--color-text-soft);
}

.badge-gold {
  border-color: rgba(251, 191, 36, 0.9);
  background: rgba(251, 191, 36, 0.1);
  color: #fef9c3;
}

.badge-outline {
  background: transparent;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(55, 65, 81, 0.8);
  font-size: 0.7rem;
  color: var(--color-text-soft);
}

.status-live {
  color: #bbf7d0;
}

.status-closed {
  color: #fecaca;
}

/* Subtle gradient separator for sections */
.section-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.45), transparent);
  margin-block: var(--space-10);
}

/* Image overlays in gallery */
.gallery-figure {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
}

.gallery-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 1.6s ease-out, filter 1.6s ease-out;
  filter: saturate(1.1) contrast(1.02);
}

.gallery-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 40%);
}

.gallery-figure:hover img {
  transform: scale(1.08);
  filter: saturate(1.2) contrast(1.08);
}

/* Footer base */
.footer-minimal {
  padding: var(--space-6) 0 var(--space-10);
  border-top: 1px solid rgba(31, 41, 55, 0.95);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(5, 7, 14, 1));
  font-size: var(--font-size-xs);
  color: var(--color-text-soft);
}

.footer-minimal-brand {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.footer-minimal a:hover {
  color: #fefce8;
}
