:root {
  /* Colors */
  --color-background: #060606;
  --color-surface: #111014;
  --color-surface-soft: #18171c;
  --color-surface-alt: #1f1b22;
  --color-text: #f5efe6;
  --color-text-muted: #c0b6a6;
  --color-primary: #8c1532; /* deep burgundy */
  --color-primary-soft: rgba(140, 21, 50, 0.7);
  --color-primary-alt: #b02a40;
  --color-accent-gold: #c9a86a;
  --color-accent-gold-soft: rgba(201, 168, 106, 0.16);
  --color-border-subtle: rgba(255, 255, 255, 0.06);
  --color-success: #55b685;
  --color-warning: #e6a040;
  --color-danger: #d64545;
  --color-neutral-50: #f9fafb;
  --color-neutral-100: #f3f4f6;
  --color-neutral-200: #e5e7eb;
  --color-neutral-300: #d1d5db;
  --color-neutral-400: #9ca3af;
  --color-neutral-500: #6b7280;
  --color-neutral-600: #4b5563;
  --color-neutral-700: #374151;
  --color-neutral-800: #1f2933;
  --color-neutral-900: #111827;

  /* Typography */
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Playfair Display", "Times New Roman", 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.2;
  --line-height-snug: 1.35;
  --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-7: 1.75rem;  /* 28px */
  --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: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --radius-pill: 999px;

  /* Shadows (soft lounge lighting) */
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-medium: 0 18px 45px rgba(0, 0, 0, 0.5);
  --shadow-focus: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 0 0 3px rgba(201, 168, 106, 0.7);

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

/*
  =============================================
  Reset / Normalize
  =============================================
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
}

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

picture {
  display: block;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure {
  margin: 0;
}

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

/*
  =============================================
  Base Styles
  =============================================
*/

body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  background: radial-gradient(circle at top, #151018 0, #060606 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;
  line-height: var(--line-height-tight);
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.5rem, 3vw + 1.5rem, 3.3rem);
  letter-spacing: 0.03em;
}

h2 {
  font-size: clamp(2rem, 2.5vw + 1.2rem, 2.5rem);
}

h3 {
  font-size: clamp(1.5rem, 2vw + 0.8rem, 2rem);
}

h4 {
  font-size: 1.25rem;
}

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

strong {
  font-weight: 600;
}

small {
  font-size: 0.875em;
}

a {
  cursor: pointer;
  transition: color var(--transition-base),
    text-shadow var(--transition-base),
    opacity var(--transition-fast);
}

a:hover {
  color: var(--color-accent-gold);
}

a:active {
  opacity: 0.8;
}

::selection {
  background: rgba(140, 21, 50, 0.7);
  color: #fff;
}

/* Lists */

ul[class],
ol[class] {
  list-style: none;
}

/* Horizontal rule */

hr {
  border: none;
  border-top: 1px solid var(--color-border-subtle);
  margin: var(--space-8) 0;
}

/*
  =============================================
  Accessibility & Focus States
  =============================================
*/

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--color-accent-gold);
  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:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* Reduced motion */

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

/*
  =============================================
  Layout Utilities
  =============================================
*/

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/*
  =============================================
  Components – Buttons
  =============================================
*/

.button,
button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
  --btn-bg: var(--color-primary);
  --btn-bg-hover: var(--color-primary-alt);
  --btn-color: #ffffff;
  --btn-border: transparent;
  --btn-shadow: var(--shadow-soft);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--btn-border);
  background: radial-gradient(circle at 10% 0, var(--color-primary-alt), var(--btn-bg));
  color: var(--btn-color) !important;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--btn-shadow);
  transition: background var(--transition-base),
    transform var(--transition-fast),
    box-shadow var(--transition-base),
    color var(--transition-fast),
    border-color var(--transition-fast);
}

.button--ghost {
  --btn-bg: transparent;
  --btn-bg-hover: rgba(255, 255, 255, 0.06);
  --btn-color: var(--color-text);
  --btn-border: rgba(201, 168, 106, 0.4);
  --btn-shadow: none;
  background: radial-gradient(circle at 10% 0, rgba(201, 168, 106, 0.12), rgba(255, 255, 255, 0.02));
}

.button--light {
  --btn-bg: var(--color-accent-gold);
  --btn-bg-hover: #e4c58a;
  --btn-color: #111;
  --btn-border: transparent;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover {
  background: radial-gradient(circle at 15% 0, var(--btn-bg-hover), var(--btn-bg));
  transform: translateY(-1px);
  box-shadow: var(--shadow-medium);
}

.button:active,
button:active,
input[type="submit"]:active,
input[type="button"]:active,
input[type="reset"]:active {
  transform: translateY(0);
  box-shadow: var(--shadow-soft);
}

.button:disabled,
button:disabled,
input[type="submit"]:disabled,
input[type="button"]:disabled,
input[type="reset"]:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.button:focus-visible,
button:focus-visible,
input[type="submit"]:focus-visible,
input[type="button"]:focus-visible,
input[type="reset"]:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

/*
  =============================================
  Components – Form Elements
  =============================================
*/

label {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--font-size-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.input,
textarea,
select,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="time"] {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(135deg, rgba(17, 16, 20, 0.98), rgba(23, 20, 30, 0.98));
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
}

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

.input:focus-visible,
textarea:focus-visible,
select:focus-visible,
input[type="text"]:focus-visible,
input[type="email"]:focus-visible,
input[type="tel"]:focus-visible,
input[type="password"]:focus-visible,
input[type="number"]:focus-visible,
input[type="date"]:focus-visible,
input[type="time"]:focus-visible {
  border-color: rgba(201, 168, 106, 0.9);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.8), 0 0 0 2px rgba(201, 168, 106, 0.6);
}

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

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(201, 168, 106, 0.9) 50%),
    linear-gradient(135deg, rgba(201, 168, 106, 0.9) 50%, transparent 50%);
  background-position: calc(100% - 14px) 52%, calc(100% - 9px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

input:disabled,
textarea:disabled,
select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/*
  =============================================
  Components – Card / Surface
  =============================================
*/

.card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  background: radial-gradient(circle at top left, rgba(140, 21, 50, 0.18), rgba(17, 16, 20, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(201, 168, 106, 0.08), transparent 55%);
  opacity: 0.7;
  pointer-events: none;
}

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

.card--muted {
  background: radial-gradient(circle at top, rgba(24, 23, 28, 0.95), rgba(10, 9, 12, 0.98));
}

.card--bordered {
  border-color: rgba(201, 168, 106, 0.5);
}

.card--poker {
  background: radial-gradient(circle at 30% -10%, rgba(140, 21, 50, 0.45), rgba(17, 16, 20, 0.98));
  border-image: linear-gradient(135deg, rgba(201, 168, 106, 0.7), rgba(140, 21, 50, 0.6)) 1;
}

.card--soft {
  padding: var(--space-4);
  border-radius: var(--radius-lg);
}

/* Hover-lift utility for cards & tiles */

.hover-lift {
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(201, 168, 106, 0.6);
}

/*
  =============================================
  Thematic Helpers – Poker & Lounge Atmosphere
  =============================================
*/

.bg-lounge {
  background: radial-gradient(circle at top, #1c151d 0, #050306 55%, #020105 100%);
}

.bg-poker-table {
  background: radial-gradient(circle at top, #173d2f 0, #041b13 50%, #020907 100%);
}

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

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

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(201, 168, 106, 0.65);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-gold);
  background: radial-gradient(circle at 0 0, rgba(201, 168, 106, 0.2), rgba(8, 6, 3, 0.9));
}

.chip-ring {
  position: relative;
  border-radius: 999px;
  padding: 1px;
  background: conic-gradient(from 180deg, rgba(201, 168, 106, 0.4), rgba(140, 21, 50, 0.7), rgba(201, 168, 106, 0.4));
}

.chip-ring__inner {
  border-radius: inherit;
  background: #050408;
  padding: 0.5rem 1rem;
}

/*
  =============================================
  Media & Gallery Helpers
  =============================================
*/

.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-soft);
}

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

.media-frame:hover img {
  transform: scale(1.06);
  filter: brightness(1.08);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0, rgba(0, 0, 0, 0.35) 65%);
  pointer-events: none;
}

/*
  =============================================
  Helper Text Styles (Hungarian copy)
  =============================================
*/

.lead {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-muted);
}

.overline {
  font-size: var(--font-size-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent-gold);
}

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

/* End of base.css */
