/* ========================================================================== 
   Variables
   ========================================================================== */

:root {
  /* Colors */
  --color-background: #050508; /* mély, elegáns sötét háttér */
  --color-surface: #101016; /* szekciók, kártyák háttér */
  --color-surface-alt: #181822;

  --color-text: #f6f0e6; /* meleg törtfehér szöveg */
  --color-text-muted: #c7bfb0;

  --color-primary: #8b1538; /* bordó - fő kiemelő */
  --color-primary-soft: rgba(139, 21, 56, 0.16);
  --color-primary-strong: #b01a46;

  --color-success: #3ea37a;
  --color-warning: #d1a448;
  --color-danger: #d64f4f;

  --color-gold: #d8b26a; /* finom arany részletek */
  --color-gold-soft: rgba(216, 178, 106, 0.24);

  --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-serif: 'Playfair Display', 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;

  --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.6;
  --line-height-relaxed: 1.8;

  /* 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: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --radius-full: 999px;

  /* Shadows (lágy, „lounge” hangulat) */
  --shadow-soft: 0 14px 35px rgba(0, 0, 0, 0.45);
  --shadow-subtle: 0 8px 20px rgba(0, 0, 0, 0.35);
  --shadow-gold-glow: 0 0 0 1px rgba(216, 178, 106, 0.26), 0 14px 35px rgba(0, 0, 0, 0.55);

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

  /* Layout */
  --container-width: 1120px;
  --container-padding-x: 1.5rem;
}

/* Reduced motion adjustments */
@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0ms;
    --transition-normal: 0ms;
    --transition-slow: 0ms;
  }
}

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

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

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

body {
  margin: 0;
}

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

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

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

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

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

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

textarea {
  resize: vertical;
}

:focus {
  outline: none;
}

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

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

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  background-color: var(--color-background);
  color: var(--color-text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.03em;
}

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

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

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

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

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

h6 {
  font-size: var(--font-size-base);
  line-height: var(--line-height-snug);
  margin-bottom: var(--space-1);
}

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

strong {
  font-weight: 600;
  color: var(--color-text);
}

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

a {
  color: var(--color-gold);
  transition: color var(--transition-normal),
    text-shadow var(--transition-fast),
    opacity var(--transition-fast);
}

a:hover {
  color: var(--color-primary-strong);
  text-shadow: 0 0 14px rgba(176, 26, 70, 0.45);
}

a:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
}

::selection {
  background-color: var(--color-primary-soft);
  color: var(--color-text);
}

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

/* Layout containers */

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--container-padding-x);
}

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

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

/* Flex utilities */

.flex {
  display: flex;
}

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

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

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

/* Grid utilities */

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

/* Typography utilities */

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

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

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

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

/* Spacing utilities */

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

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

.py-4 { padding-block: var(--space-4); }
.py-6 { padding-block: var(--space-6); }
.py-8 { padding-block: var(--space-8); }

.px-4 { padding-inline: var(--space-4); }

/* Visibility helpers */

.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,
.sr-only-focusable:focus-visible {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* Utility to hint "offline only" labels */

.badge-offline {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.125rem 0.75rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(139, 21, 56, 0.8), rgba(16, 16, 22, 0.9));
  color: var(--color-text);
  font-size: var(--font-size-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(216, 178, 106, 0.45);
}

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

/* Buttons - elegáns, bordó / arany kiemeléssel */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  font-size: var(--font-size-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  transition:
    background-color var(--transition-normal),
    color var(--transition-normal),
    border-color var(--transition-normal),
    box-shadow var(--transition-slow),
    transform var(--transition-fast);
}

.btn-primary {
  background: radial-gradient(circle at 0 0, rgba(216, 178, 106, 0.26), transparent 60%),
    linear-gradient(135deg, #8b1538, #b01a46);
  color: var(--color-text) !important;
  border-color: rgba(216, 178, 106, 0.4);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold-glow);
  background: linear-gradient(135deg, #b01a46, #8b1538);
}

.btn-secondary {
  background: rgba(16, 16, 22, 0.9);
  color: var(--color-text);
  border-color: rgba(216, 178, 106, 0.4);
}

.btn-secondary:hover {
  background: rgba(24, 24, 34, 0.95);
  box-shadow: var(--shadow-subtle);
}

.btn-ghost {
  background: transparent;
  color: var(--color-gold);
  border-color: rgba(216, 178, 106, 0.25);
}

.btn-ghost:hover {
  background: rgba(139, 21, 56, 0.16);
}

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

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

/* Form elements */

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field label {
  font-size: var(--font-size-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text);
}

.input,
.textarea,
.select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(216, 178, 106, 0.22);
  background-color: rgba(5, 5, 8, 0.85);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background-color var(--transition-fast);
}

.input::placeholder,
.textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.7;
}

.input:focus-visible,
.textarea:focus-visible,
.select:focus-visible {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 1px rgba(216, 178, 106, 0.4), 0 0 0 6px rgba(139, 21, 56, 0.25);
  background-color: rgba(5, 5, 8, 0.95);
}

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

/* Card component – kártya jellegű szekciók (étterem + póker hangulat) */

.card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  background:
    radial-gradient(circle at top left, rgba(139, 21, 56, 0.22), transparent 55%),
    radial-gradient(circle at bottom right, rgba(216, 178, 106, 0.12), transparent 55%),
    linear-gradient(135deg, #101016, #181822);
  border: 1px solid rgba(216, 178, 106, 0.3);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  backdrop-filter: blur(16px);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-slow),
    border-color var(--transition-fast);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06) 0%,
    transparent 40%,
    transparent 60%,
    rgba(255, 255, 255, 0.02) 100%
  );
  mix-blend-mode: soft-light;
  opacity: 0.25;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold-glow);
  border-color: rgba(216, 178, 106, 0.5);
}

.card--subtle {
  background: rgba(16, 16, 22, 0.96);
  border-color: rgba(216, 178, 106, 0.18);
  box-shadow: var(--shadow-subtle);
}

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

.card-title {
  font-family: var(--font-serif);
  font-size: var(--font-size-2xl);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

/* Tag-like chips – pl. offline póker estékre, etikett, szerepek */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background-color: rgba(16, 16, 22, 0.95);
  border: 1px solid rgba(216, 178, 106, 0.35);
  color: var(--color-text-muted);
}

.chip--primary {
  background-color: rgba(139, 21, 56, 0.25);
  color: var(--color-text);
}

/* Tables – például asztalfoglalás, pókerasztalok száma stb. */

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

thead {
  background-color: rgba(16, 16, 22, 0.9);
}

thead th {
  font-size: var(--font-size-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.7rem 0.75rem;
  text-align: left;
  color: var(--color-text);
}

tbody tr:nth-child(even) {
  background-color: rgba(16, 16, 22, 0.7);
}

tbody tr:nth-child(odd) {
  background-color: rgba(8, 8, 12, 0.8);
}

td {
  padding: 0.65rem 0.75rem;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* Alerts / info-box pl. offline-only figyelmeztetésekhez */

.alert {
  position: relative;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-size: var(--font-size-sm);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.alert-icon {
  margin-top: 0.05rem;
}

.alert--info {
  background-color: rgba(16, 16, 22, 0.95);
  border-color: rgba(216, 178, 106, 0.5);
  color: var(--color-text-muted);
}

.alert--warning {
  background-color: rgba(82, 49, 12, 0.75);
  border-color: rgba(209, 164, 72, 0.9);
  color: #fdf3d5;
}

.alert--success {
  background-color: rgba(17, 46, 33, 0.9);
  border-color: rgba(62, 163, 122, 0.9);
  color: #e1f7f0;
}

.alert--danger {
  background-color: rgba(68, 15, 18, 0.9);
  border-color: rgba(214, 79, 79, 0.95);
  color: #fde4e4;
}

/* Navigation base – letisztult felső menü több oldalhoz (Főoldal, Rólunk stb.) */

.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: radial-gradient(circle at top left, rgba(139, 21, 56, 0.32), transparent 55%),
    rgba(5, 5, 8, 0.96);
  border-bottom: 1px solid rgba(216, 178, 106, 0.24);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: 0.85rem;
}

.navbar-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.navbar-brand-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.navbar-brand-sub {
  font-size: var(--font-size-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: var(--font-size-sm);
}

.nav-link {
  position: relative;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding-block: 0.25rem;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-primary));
  transition: width var(--transition-normal);
}

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

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

.nav-link--active {
  color: var(--color-gold);
}

@media (max-width: 768px) {
  .navbar-inner {
    flex-wrap: wrap;
  }

  .navbar-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    row-gap: 0.5rem;
  }
}

/* Hero / lapfejrészekre hangolt alap – sötét, atmoszférikus */

.hero {
  padding-block: var(--space-20) var(--space-16);
  background:
    radial-gradient(circle at top center, rgba(139, 21, 56, 0.55), transparent 60%),
    radial-gradient(circle at bottom, rgba(216, 178, 106, 0.18), transparent 70%),
    #050508;
}

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

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.2rem);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-4);
}

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

/* FAQ (GYIK) alap – összecsukható blokkokhoz */

.faq-item {
  border-bottom: 1px solid rgba(216, 178, 106, 0.24);
  padding-block: var(--space-4);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  cursor: pointer;
}

.faq-question-title {
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--color-text);
}

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

/* Accessibility: prefers-reduced-motion */

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


.btn,
.btn-outline,
.btn-primary{
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  text-align: center;
  line-height: 1.35;
}