/* Magyar Pachinko Club — offline venue styles */
:root {
  --bg: #0c0b0a;
  --bg-2: #151311;
  --bg-3: #1e1b18;
  --ink: #f3eee6;
  --muted: #9d968c;
  --line: rgba(243, 238, 230, 0.12);
  --accent: #d94a2f;
  --accent-2: #c9a46a;
  --ok: #7d9b78;
  --radius: 2px;
  --max: 1120px;
  --nav-h: 4.25rem;
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(217, 74, 47, 0.14), transparent 55%),
    radial-gradient(900px 500px at -10% 30%, rgba(201, 164, 106, 0.08), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--ink);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgba(12, 11, 10, 0.82);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-decoration: none;
  color: var(--ink);
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand__mark {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.nav {
  display: none;
  gap: 1.4rem;
  align-items: center;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 1.5px;
  background: currentColor;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav.is-open {
  display: flex;
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0.5rem 1rem 1rem;
  background: rgba(12, 11, 10, 0.96);
  border-bottom: 1px solid var(--line);
}

.nav.is-open a {
  padding: 0.85rem 0.4rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 860px) {
  .nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 18s var(--ease) infinite alternate;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(12, 11, 10, 0.35) 0%, rgba(12, 11, 10, 0.55) 40%, rgba(12, 11, 10, 0.92) 100%),
    linear-gradient(90deg, rgba(12, 11, 10, 0.75) 0%, rgba(12, 11, 10, 0.2) 55%, rgba(12, 11, 10, 0.45) 100%);
}

.hero__content {
  padding: 4.5rem 0 3.5rem;
  max-width: 40rem;
  animation: riseIn 0.9s var(--ease) both;
}

.hero__eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.hero h1 {
  font-size: clamp(2.8rem, 7.5vw, 4.6rem);
  margin-bottom: 0.45rem;
}

.hero__lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 32rem;
  margin-bottom: 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__media img,
  .hero__eyebrow,
  .hero h1,
  .hero__lead,
  .hero__actions,
  .reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.9rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: #ef5a3d;
  color: #fff;
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--accent-2);
  color: var(--ink);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section--tight {
  padding: 2.5rem 0;
}

.section--alt {
  background: linear-gradient(180deg, rgba(30, 27, 24, 0.65), rgba(12, 11, 10, 0.2));
  border-block: 1px solid var(--line);
}

.section__head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section__head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
}

.section__head p {
  color: var(--muted);
}

.kicker {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
}

/* Info strip */
.info-strip {
  display: grid;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.info-strip__item {
  display: grid;
  gap: 0.2rem;
}

.info-strip__label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.info-strip__value {
  color: var(--ink);
  font-weight: 600;
}

.info-strip__value a {
  color: inherit;
  text-decoration: none;
}

.info-strip__value a:hover {
  color: var(--accent-2);
}

@media (min-width: 760px) {
  .info-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* About block */
.about-pachinko {
  display: grid;
  gap: 1.5rem;
  padding: 1.75rem;
  background:
    linear-gradient(135deg, rgba(217, 74, 47, 0.12), transparent 45%),
    var(--bg-3);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
}

.about-pachinko h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.disclaimer {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border: 1px dashed rgba(201, 164, 106, 0.45);
  background: rgba(201, 164, 106, 0.06);
  color: var(--ink);
  font-size: 0.95rem;
}

/* Gallery */
.gallery {
  display: grid;
  gap: 0.85rem;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  background: var(--bg-2);
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.gallery figure:hover img {
  transform: scale(1.04);
}

.gallery figcaption {
  padding: 0.7rem 0.1rem 0;
  font-size: 0.88rem;
  color: var(--muted);
}

@media (min-width: 700px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Split */
.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.split__media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }

  .split--reverse .split__media {
    order: 2;
  }
}

/* Venue card-free list */
.venue-facts {
  display: grid;
  gap: 1.1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.venue-facts li {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.venue-facts strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.25rem;
}

.venue-facts span {
  color: var(--muted);
}

/* Map */
.map-wrap {
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-2);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: min(420px, 55vw);
  border: 0;
  filter: grayscale(0.25) contrast(1.05);
}

/* Rules */
.rules {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: rule;
}

.rules li {
  position: relative;
  padding: 1rem 1rem 1rem 3.4rem;
  border-bottom: 1px solid var(--line);
}

.rules li::before {
  counter-increment: rule;
  content: counter(rule, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent);
}

.help-links {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.help-links a {
  display: block;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}

.help-links a span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

.help-links a:hover {
  color: var(--accent-2);
}

.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  height: 3rem;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
  }
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.contact-list li {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.contact-list strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.contact-list a {
  color: var(--ink);
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--accent-2);
}

.form {
  display: grid;
  gap: 1rem;
}

.form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  padding: 0.85rem 0.95rem;
  font: inherit;
  border-radius: var(--radius);
}

.form input:focus,
.form textarea:focus {
  outline: 2px solid rgba(201, 164, 106, 0.45);
  outline-offset: 1px;
  border-color: var(--accent-2);
}

.form textarea {
  min-height: 9rem;
  resize: vertical;
}

.form__note {
  font-size: 0.85rem;
  color: var(--muted);
}

.form-status {
  display: none;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(125, 155, 120, 0.45);
  background: rgba(125, 155, 120, 0.12);
  color: var(--ink);
}

.form-status.is-visible {
  display: block;
}

/* Page hero (inner) */
.page-hero {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  max-width: 18ch;
}

.page-hero p {
  max-width: 38rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: #090807;
  padding: 2.5rem 0 1.5rem;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}

.footer-badges span,
.footer-badges a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--muted);
}

.footer-badges a:hover {
  color: var(--ink);
  border-color: var(--accent-2);
}

.footer-badges .is-accent {
  border-color: rgba(217, 74, 47, 0.55);
  color: #f0b0a4;
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
  margin-bottom: 2rem;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-grid h2 {
  font-size: 1rem;
  margin-bottom: 0.7rem;
}

.footer-grid p,
.footer-grid a {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-grid a {
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--ink);
}

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Utility */
.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;
}
