/*
  Dark theme, responsive layout, and component styles (HU)
  - Copied from EN to keep files independent per folder
*/

:root {
  --bg: #0b1020;
  --bg-elev: #121a33;
  --text: #e7eaf6;
  --muted: #a6b0cf;
  --primary: #59b7ff;
  --primary-contrast: #07111e;
  --cta: #00df76;
  --cta-contrast: #04150c;
  --border: #253153;
  --overlay: rgba(7, 17, 30, 0.6);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.skip-link {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus { position: static; width: auto; height: auto; padding: .5rem; background: var(--primary); color: #001; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.section { padding: 32px 0; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11,16,32,0.9); backdrop-filter: blur(6px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.logo { height: 40px; width: auto; }
.nav-list { list-style: none; display: flex; gap: 12px; margin: 0; padding: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 10px; border: 1px solid transparent; font-weight: 600; }
.btn-primary { background: var(--primary); color: var(--primary-contrast); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-cta { background: var(--cta); color: var(--cta-contrast); font-size: 1.125rem; padding: 12px 20px; }
.btn-cta:hover { filter: brightness(1.05); }

.breadcrumbs { background: var(--bg-elev); border-bottom: 1px solid var(--border); }
.breadcrumbs .container { display: flex; gap: 8px; padding: 8px 16px; }
.breadcrumbs ol { list-style: none; margin: 0; padding-left: 0; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a[aria-current="page"] { color: var(--text); font-weight: 600; }

.hero { position: relative; aspect-ratio: 16/6; background: var(--bg-elev); overflow: hidden; display: grid; place-items: center; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: relative; display: inline-flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; background: var(--overlay); padding: 16px 20px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(2px); }
.hero-title { margin: 0 0 8px; font-size: clamp(1.5rem, 2.5vw, 2.25rem); }
.hero-subtitle { margin: 0 0 16px; color: var(--muted); }

.content { background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.content h1, .content h2, .content h3 { line-height: 1.3; }
.content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.content th, .content td { border: 1px solid var(--border); padding: 8px; text-align: left; }
.content thead { background: #0e1731; }

@media (max-width: 640px) {
  .content table thead { display: none; }
  .content table, .content tbody, .content tr, .content td { display: block; width: 100%; }
  .content tr { margin-bottom: 12px; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
  .content td { position: relative; padding-left: 50%; border: none; border-bottom: 1px solid var(--border); }
  .content td:last-child { border-bottom: none; }
  .content td::before {
    content: attr(data-label);
    position: absolute; left: 12px; top: 8px; width: calc(50% - 24px); color: var(--muted); font-weight: 600;
  }
}

.slots-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 12px 0 0; padding: 0; }
.slot-card { display: block; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.slot-card img { display: block; width: 100%; height: auto; border-radius: 12px; }
.slot-card .slot-meta { padding: 10px; display: flex; align-items: center; justify-content: space-between; }
.slot-card .slot-name { font-size: .95rem; color: var(--text); }
.slot-card .slot-play { font-size: .9rem; }

@media (min-width: 640px) { .slots-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .slots-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.site-footer { border-top: 1px solid var(--border); background: #0b1020; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 0; }
.footer-links { list-style: none; display: flex; gap: 12px; margin: 0; padding: 0; }

/* Payment logos */
.pay-logos-wrap { width: 100%; margin-top: 12px; }
.pay-logos { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; padding: 0; margin: 10px 0 0; align-items: center; }
.pay-logos li { display: flex; align-items: center; justify-content: center; padding: 8px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 10px; }
.pay-logos img { max-height: 26px; width: auto; filter: saturate(0.9) brightness(0.95); }
@media (min-width: 640px) { .pay-logos { grid-template-columns: repeat(6, minmax(0,1fr)); } }
@media (min-width: 1024px) { .pay-logos { grid-template-columns: repeat(8, minmax(0,1fr)); } }

.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; }

@supports (height: 100dvh) {
  .hero { min-height: 40dvh; }
}


