/* ============================================================================
   Variables
   ========================================================================== */
:root {
  /* Colors */
  --color-background: #050509;
  --color-surface: #10121a;
  --color-surface-alt: #181b24;
  --color-text: #f5f5f7;
  --color-text-muted: #a1a5b3;
  --color-primary: #ff3366;
  --color-primary-soft: rgba(255, 51, 102, 0.12);
  --color-success: #22c55e;
  --color-warning: #fbbf24;
  --color-danger: #ef4444;
  --color-border-subtle: #252836;
  --color-border-strong: #3b3f52;
  --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: system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  --font-heading: system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", 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 (px) */
  --space-0: 0;
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-56: 56px;
  --space-64: 64px;
  --space-80: 80px;
  --space-96: 96px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.55);

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

  /* Layout */
  --container-width: 1120px;
  --header-height: 72px;
}

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

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

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

* {
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
}

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

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: none;
  border-radius: 0;
}

button {
  border: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none !important; /* As requested for all UL/OL */
}

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);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
}

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

h1 { font-size: var(--font-size-4xl); margin-bottom: var(--space-24); }
h2 { font-size: var(--font-size-3xl); margin-bottom: var(--space-20); }
h3 { font-size: var(--font-size-2xl); margin-bottom: var(--space-16); }
h4 { font-size: var(--font-size-xl); margin-bottom: var(--space-12); }
h5 { font-size: var(--font-size-lg); margin-bottom: var(--space-8); }
h6 { font-size: var(--font-size-base); margin-bottom: var(--space-8); }

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

strong,
b {
  font-weight: 600;
}

/* Links (Hungarian site – clear interactive feel) */
a {
  color: var(--color-primary);
  transition: color var(--transition-base), opacity var(--transition-base);
}

a:hover {
  color: #949494 !important; /* As requested */
}

a:active {
  opacity: 0.8;
}

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

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

.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%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--space-16);
}

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

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

.section--contrast {
  background: var(--color-surface);
}

/* Flex utilities */
.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-8 { gap: var(--space-8); }
.gap-12 { gap: var(--space-12); }
.gap-16 { gap: var(--space-16); }
.gap-24 { gap: var(--space-24); }
.gap-32 { gap: var(--space-32); }

/* Grid utilities */
.grid {
  display: grid;
}

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

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

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

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

.mt-0 { margin-top: 0; }
.mt-16 { margin-top: var(--space-16); }
.mt-24 { margin-top: var(--space-24); }
.mt-32 { margin-top: var(--space-32); }

.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: var(--space-16); }
.mb-24 { margin-bottom: var(--space-24); }
.mb-32 { margin-bottom: var(--space-32); }

.py-16 { padding-block: var(--space-16); }
.py-24 { padding-block: var(--space-24); }
.py-32 { padding-block: var(--space-32); }

/* Simple mobile burger helper (no JS, base visuals only) */
.burger {
  width: 24px;
  height: 18px;
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}

.burger__line {
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  border-radius: var(--radius-full);
  transition: transform var(--transition-base), opacity var(--transition-base), background-color var(--transition-base);
}

/* ============================================================================
   Components
   ========================================================================== */
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid transparent;
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition-base), color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-fast);
}

.btn:hover {
  background: #ffffff;
  color: #000000;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

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

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border-strong);
  box-shadow: none;
}

.btn--outline:hover {
  background: var(--color-primary-soft);
  color: #ffffff;
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: none;
  box-shadow: none;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.04);
}

/* Form elements */
.input,
select,
textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  background-color: var(--color-surface-alt);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  transition: border-color var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base);
}

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

.input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary);
}

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

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

/* Card – for event highlights, poker blocks, corporate info */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-subtle);
  padding: var(--space-24);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-strong);
}

.card__header {
  margin-bottom: var(--space-16);
}

.card__title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-8);
}

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

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

/* Header / Navigation basics (multi-page, simple navigation) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-height);
  background: rgba(5, 5, 9, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-24);
}

.nav__link {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  position: relative;
  padding-block: 4px;
  transition: color var(--transition-base);
}

.nav__link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-base);
}

.nav__link--active,
.nav__link:hover {
  color: #ffffff;
}

.nav__link--active::after,
.nav__link:hover::after {
  transform: scaleX(1);
}

@media (max-width: 768px) {
  .site-header {
    position: fixed;
  }

  .nav {
    display: none; /* actual toggling done via JS in project */
  }
}

/* Footer basics (contact, address) */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #050509;
  padding-block: var(--space-32);
}

.site-footer__meta {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* Tag / pill – for labels like "Offline poker", "Céges rendezvény" */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tag--accent {
  background: var(--color-primary-soft);
  color: #ffffff;
}

/* Hero section helper */
.hero {
  padding-block: var(--space-80);
}

.hero__title {
  font-size: var(--font-size-5xl);
  line-height: var(--line-height-tight);
}

.hero__subtitle {
  max-width: 36rem;
  margin-top: var(--space-16);
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .hero {
    padding-block: var(--space-64);
  }

  .hero__title {
    font-size: var(--font-size-3xl);
  }
}

/* Simple chip-style list for features without bullets */
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.feature-list__item {
  padding: 0.25rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border-subtle);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* Tables (for pricing / packages) */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
}

.table th,
.table td {
  padding: 0.75rem 0.5rem;
  text-align: left;
}

.table thead th {
  border-bottom: 1px solid var(--color-border-subtle);
  color: var(--color-text);
}

.table tbody tr + tr td {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* Badges for status labels (e.g. "Foglalható", "Csak offline") */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
}

.badge--success {
  background: rgba(34, 197, 94, 0.15);
  color: #bbf7d0;
}

.badge--warning {
  background: rgba(251, 191, 36, 0.15);
  color: #facc15;
}

.badge--danger {
  background: rgba(239, 68, 68, 0.15);
  color: #fecaca;
}

/* End of base.css */
