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

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--ac-font-main); font-size: 14px; color: var(--ac-text-primary); background: var(--ac-bg-main); line-height: 1.6; }
a { color: var(--ac-text-heading); text-decoration: none; }
a:hover { opacity: 0.9; }
img { max-width: 100%; height: auto; vertical-align: middle; }
h1, h2, h3 { color: var(--ac-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); }
h3 { font-size: 1.1rem; }

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

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

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

.ac-header-actions { display: flex; gap: 12px; }
.ac-btn {
  display: inline-block;
  padding: 10px 24px;
  font-family: inherit;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  border-radius: var(--ac-radius-btn);
  cursor: pointer;
  transition: opacity 0.2s;
}
.ac-btn-primary {
  background: var(--ac-color-cta);
  color: var(--ac-bg-main);
  border: none;
}
.ac-btn-outline {
  background: transparent;
  color: var(--ac-text-heading);
  border: 2px solid var(--ac-text-heading);
}
.ac-btn-lg { padding: 14px 32px; font-size: 14px; }

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

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

.ac-slots { padding: 40px 0; }
.ac-slots-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.ac-slots-title { margin: 0; }
.ac-view-all { font-weight: 600; }
.ac-slots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ac-slot-card { margin: 0; }
.ac-slot-link { display: block; }
.ac-slot-img-wrap {
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1;
  max-width: 150px;
  margin: 0 auto;
  background: var(--ac-bg-surface);
}
.ac-slot-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

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

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

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

.ac-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) {
  .ac-article { overflow-x: hidden; }
  .ac-table-wrap { min-width: 0; width: 100%; overflow-x: visible; }
  .ac-data-table { min-width: 0; width: 100%; display: block; }
  .ac-data-table thead { display: none; }
  .ac-data-table tbody tr:first-child { display: none; }
  .ac-data-table tbody tr { display: block; margin-bottom: 20px; border: 1px solid var(--ac-border-color); border-radius: 8px; overflow: hidden; background: var(--ac-bg-surface); }
  .ac-data-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--ac-border-color);
  }
  .ac-data-table td:last-child { border-bottom: none; }
  .ac-data-table td p { margin: 0; }
  .ac-data-table td::before { font-weight: 600; color: var(--ac-text-heading); flex-shrink: 0; }
  .ac-data-table td:nth-child(1)::before { content: "Kategória"; }
  .ac-data-table td:nth-child(2)::before { content: "Játékok"; }
  .ac-data-table td:nth-child(3)::before { content: "Funkciók"; }
  .ac-data-table td:nth-child(4)::before { content: "Demó"; }
  .ac-data-table td > * { text-align: right; min-width: 0; }

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

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

@media (min-width: 1024px) {
  .ac-slots-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}
