:root {
  --ha-bg-main: #2A1810;
  --ha-bg-surface: #3D2517;
  --ha-color-accent: linear-gradient(135deg, #E5B67C 0%, #D4A03A 100%);
  --ha-color-cta: #2EC9C9;
  --ha-text-primary: #D4B98C;
  --ha-text-heading: #E5B67C;
  --ha-border-color: #1F110B;
  --ha-font-main: 'Cinzel', Georgia, serif;
  --ha-radius-btn: 50px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--ha-font-main); font-size: 14px; color: var(--ha-text-primary); background: var(--ha-bg-main); line-height: 1.6; }
a { color: var(--ha-text-heading); text-decoration: none; }
a:hover { opacity: 0.9; }
img { max-width: 100%; height: auto; vertical-align: middle; }
h1, h2, h3 { color: var(--ha-text-heading); font-weight: 700; text-transform: uppercase; margin: 0 0 0.75em; }
h1 { font-size: clamp(1.5rem, 4vw, 2rem); }
h2 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

.ha-skip-link {
  position: absolute;
  top: -100px;
  left: 10px;
  padding: 10px 16px;
  background: var(--ha-bg-surface);
  color: var(--ha-text-heading);
  z-index: 1000;
  transition: top 0.3s;
}
.ha-skip-link:focus { top: 10px; outline: 2px solid var(--ha-text-heading); }

.ha-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.ha-header {
  background: var(--ha-bg-surface);
  border-bottom: 1px solid var(--ha-border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}
.ha-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
  flex-wrap: wrap;
}
.ha-logo.ha-logo-text { font-size: 1.25rem; font-weight: 700; text-transform: uppercase; color: var(--ha-text-heading); }
.ha-nav-list { display: flex; list-style: none; margin: 0; padding: 0; gap: 24px; font-weight: 600; text-transform: uppercase; }
.ha-burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.ha-burger-line { width: 24px; height: 2px; background: var(--ha-text-heading); }

.ha-btn {
  display: inline-block;
  padding: 10px 24px;
  font-family: inherit;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  border-radius: var(--ha-radius-btn);
  cursor: pointer;
  transition: opacity 0.2s;
}
.ha-btn-primary { background: var(--ha-color-cta); color: var(--ha-bg-main); border: none; }
.ha-btn-cta { background: var(--ha-color-cta); color: var(--ha-bg-main); border: none; }
.ha-btn-lg { padding: 14px 32px; font-size: 14px; }

.ha-breadcrumbs { padding: 12px 0; }
.ha-breadcrumb-list { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; gap: 8px; font-size: 13px; }
.ha-breadcrumb-list a { color: var(--ha-text-primary); }
.ha-breadcrumb-list a:hover { color: var(--ha-text-heading); }
.ha-breadcrumb-sep { color: var(--ha-text-primary); opacity: 0.7; }

.ha-hero { position: relative; margin-bottom: 32px; min-height: 300px; }
.ha-hero-picture { display: block; }
.ha-hero-img { width: 100%; height: auto; min-height: 300px; object-fit: cover; display: block; }
.ha-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
}
.ha-hero-cta { text-align: center; padding: 24px; max-width: 600px; }
.ha-hero-title { color: #fff; margin-bottom: 12px; }
.ha-hero-subtitle { color: rgba(255,255,255,0.95); margin-bottom: 20px; font-size: 1rem; text-transform: none; }

.ha-slots { padding: 40px 0; }
.ha-slots-title { margin-bottom: 24px; }
.ha-slots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ha-slot-card { margin: 0; }
.ha-slot-link { display: block; }
.ha-slot-img-wrap { overflow: hidden; border-radius: 12px; aspect-ratio: 1; max-width: 150px; margin: 0 auto; background: #2a1f15; }
.ha-slot-img-wrap img { width: 100%; height: 100%; object-fit: contain; }

.ha-content { padding: 40px 0 60px; }
.ha-article { max-width: 800px; }
.ha-article p { margin: 0 0 1em; }
.ha-article h3 { margin-top: 1.5em; }

.ha-table-wrap { overflow-x: auto; margin: 24px 0; -webkit-overflow-scrolling: touch; max-width: 100%; }
.ha-data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--ha-bg-surface);
  border-radius: 8px;
  overflow: hidden;
  min-width: 300px;
}
.ha-data-table th, .ha-data-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--ha-border-color); }
.ha-data-table th { background: rgba(0,0,0,0.3); color: var(--ha-text-heading); font-weight: 600; }

.ha-cta-block { margin-top: 40px; padding: 32px; background: var(--ha-bg-surface); border-radius: 8px; text-align: center; }

.ha-footer { background: var(--ha-bg-surface); border-top: 1px solid var(--ha-border-color); padding: 40px 0 24px; }
.ha-footer-payments { margin-bottom: 24px; }
.ha-footer-payments-title { font-size: 14px; margin-bottom: 16px; color: var(--ha-text-heading); }
.ha-footer-pay-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}
.ha-footer-pay-logos img { height: 32px; width: auto; max-width: 60px; object-fit: contain; opacity: 0.9; }
.ha-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid var(--ha-border-color); }
.ha-age-badge { background: var(--ha-text-heading); color: var(--ha-bg-main); padding: 4px 10px; border-radius: 4px; font-weight: 700; font-size: 12px; }
.ha-copyright { margin: 0; font-size: 12px; color: var(--ha-text-primary); opacity: 0.8; }

.ha-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 768px) {
  .ha-article { overflow-x: hidden; }
  .ha-table-wrap { min-width: 0; width: 100%; overflow-x: visible; }
  .ha-data-table { min-width: 0; width: 100%; display: block; }
  .ha-data-table thead { display: none; }
  .ha-data-table tbody tr:first-child { display: none; }
  .ha-data-table tbody tr { display: block; margin-bottom: 20px; border: 1px solid var(--ha-border-color); border-radius: 8px; overflow: hidden; background: var(--ha-bg-surface); }
  .ha-data-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--ha-border-color);
  }
  .ha-data-table td:last-child { border-bottom: none; }
  .ha-data-table td p { margin: 0; }
  .ha-data-table td::before { font-weight: 600; color: var(--ha-text-heading); flex-shrink: 0; }
  .ha-data-table td:nth-child(1)::before { content: "Promóció"; }
  .ha-data-table td:nth-child(2)::before { content: "Bónusz"; }
  .ha-data-table td:nth-child(3)::before { content: "Min. befizetés"; }
  .ha-data-table td:nth-child(4)::before { content: "Megforgatás"; }
  .ha-data-table td > * { text-align: right; min-width: 0; }

  html, body { overflow-x: hidden; max-width: 100vw; }
  .ha-burger { display: flex; }
  .ha-nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ha-bg-surface);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }
  .ha-nav-list.ha-open { display: flex; }
  html, body { overflow-x: hidden; max-width: 100vw; }
}

@media (min-width: 769px) {
  .ha-slots-grid { grid-template-columns: repeat(3, 1fr); }
}
