/* PoradnikGracza — Offline Pachinko Entertainment Hall */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@500;600;700;800&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --ink: #0c0e12;
  --ink-soft: #161920;
  --panel: #1a1e27;
  --line: rgba(255, 214, 160, 0.14);
  --text: #f4efe6;
  --muted: #a39b8e;
  --amber: #e8a54b;
  --amber-bright: #ffc56e;
  --teal: #3ec9c2;
  --teal-dim: rgba(62, 201, 194, 0.18);
  --warm-glow: rgba(232, 165, 75, 0.22);
  --danger: #c45c4a;
  --radius: 4px;
  --max: 1120px;
  --nav-h: 72px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.65;
  font-size: 1.05rem;
  overflow-x: hidden;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, var(--warm-glow), transparent 55%),
    radial-gradient(ellipse 60% 40% at 95% 20%, var(--teal-dim), transparent 50%),
    linear-gradient(180deg, #0c0e12 0%, #10131a 50%, #0a0c10 100%);
}

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

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--amber-bright);
}

ul {
  list-style: none;
}

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

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(12, 14, 18, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo span {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  font-family: var(--font-body);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius);
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--text);
  transition: 0.3s var(--ease);
}

.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

.nav-list {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.nav-list a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav-list a[aria-current="page"] {
  color: var(--amber-bright);
}

.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.4rem;
  border: 1.5px solid var(--amber);
  color: var(--amber);
  font-weight: 700;
  font-size: 0.75rem;
  border-radius: 2px;
}

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

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 18s var(--ease) infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 14, 18, 0.35) 0%, rgba(12, 14, 18, 0.55) 40%, rgba(12, 14, 18, 0.94) 100%),
    linear-gradient(90deg, rgba(12, 14, 18, 0.7) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 3.5rem 0 4rem;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  max-width: 40rem;
  animation: fadeUp 0.9s var(--ease) both;
}

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

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 8vw, 4.2rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #fff 20%, var(--amber-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-mark {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid rgba(62, 201, 194, 0.45);
  padding: 0.4rem 0.75rem;
  margin-bottom: 1.25rem;
  border-radius: var(--radius);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 0.85rem;
  color: var(--text);
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

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

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--amber);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--amber-bright);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--amber);
  color: var(--amber-bright);
}

/* ——— Sections ——— */
.section {
  padding: 5rem 0;
  position: relative;
  z-index: 1;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-lead {
  color: var(--muted);
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

/* ——— Info strip ——— */
.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: -2rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.info-strip article {
  background: var(--panel);
  padding: 1.5rem 1.35rem;
}

.info-strip h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--amber-bright);
}

.info-strip p,
.info-strip address {
  font-style: normal;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ——— About Pachinko ——— */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.about-card {
  background: linear-gradient(145deg, rgba(26, 30, 39, 0.95), rgba(20, 24, 32, 0.9));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--teal));
}

.about-card p {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.about-card p:last-child {
  margin-bottom: 0;
}

.disclaimer {
  margin-top: 1.5rem;
  padding: 1.15rem 1.25rem;
  border-left: 3px solid var(--amber);
  background: rgba(232, 165, 75, 0.08);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
}

.photo-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

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

.photo-frame:hover img {
  transform: scale(1.04);
}

.photo-frame figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  font-size: 0.82rem;
  color: var(--muted);
}

/* ——— Gallery ——— */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.75rem;
}

.gallery figure {
  grid-column: span 4;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s var(--ease) forwards;
}

.gallery figure:nth-child(1) { animation-delay: 0.05s; grid-column: span 7; }
.gallery figure:nth-child(2) { animation-delay: 0.15s; grid-column: span 5; }
.gallery figure:nth-child(3) { animation-delay: 0.25s; grid-column: span 5; }
.gallery figure:nth-child(4) { animation-delay: 0.35s; grid-column: span 7; }

.gallery img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

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

.gallery figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.85rem 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  font-size: 0.8rem;
  color: var(--muted);
}

/* ——— Hours table ——— */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.hours-table th,
.hours-table td {
  text-align: left;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

.hours-table th {
  color: var(--muted);
  font-weight: 600;
  width: 45%;
}

.hours-table td {
  color: var(--text);
}

/* ——— Location page ——— */
.page-hero {
  padding: 3.5rem 0 2rem;
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

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

.venue-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.map-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
  background: var(--panel);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  filter: grayscale(0.35) contrast(1.05);
}

.venue-details h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.venue-details p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.venue-meta {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.meta-item {
  padding: 1rem 1.15rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.meta-item strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.35rem;
}

.meta-item span,
.meta-item address {
  font-style: normal;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ——— Responsible ——— */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.rule-card {
  padding: 1.5rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.rule-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--amber-bright);
}

.rule-card p,
.rule-card ul {
  color: var(--muted);
  font-size: 0.95rem;
}

.rule-card li {
  padding-left: 1.1rem;
  position: relative;
  margin-bottom: 0.4rem;
}

.rule-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 1px;
}

.help-links {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.help-links a {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.1rem 1.25rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
}

.help-links a strong {
  color: var(--teal);
  font-size: 0.95rem;
}

.help-links a span {
  color: var(--muted);
  font-size: 0.85rem;
}

.help-links a:hover {
  border-color: var(--teal);
}

.age-banner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(232, 165, 75, 0.35);
  background: rgba(232, 165, 75, 0.07);
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.age-banner .badge-18 {
  width: 3.2rem;
  height: 3.2rem;
  font-size: 1rem;
  flex-shrink: 0;
}

.age-banner p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ——— Contact ——— */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
}

.contact-list {
  display: grid;
  gap: 1.25rem;
}

.contact-list dt {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-list dd {
  color: var(--muted);
  font-style: normal;
}

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

.form {
  display: grid;
  gap: 1rem;
  padding: 1.75rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

.form input,
.form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.25s;
}

.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--amber);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
}

.form-success {
  display: none;
  padding: 1rem;
  background: var(--teal-dim);
  border: 1px solid rgba(62, 201, 194, 0.4);
  border-radius: var(--radius);
  color: var(--teal);
  font-weight: 600;
}

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

/* ——— Footer ——— */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: rgba(8, 10, 14, 0.9);
  padding: 3rem 0 2rem;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.footer-badges span,
.footer-badges a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--muted);
}

.footer-badges .badge-offline {
  border-color: rgba(62, 201, 194, 0.45);
  color: var(--teal);
}

.footer-badges .badge-no {
  border-color: rgba(196, 92, 74, 0.45);
  color: #e08a7c;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.footer-grid p,
.footer-grid address {
  font-style: normal;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid h4 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.85rem;
}

.footer-grid ul {
  display: grid;
  gap: 0.45rem;
}

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

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

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

.footer-bottom .badge-18 {
  margin-right: 0.5rem;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .info-strip {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .venue-layout,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .rules-grid {
    grid-template-columns: 1fr;
  }

  .gallery figure,
  .gallery figure:nth-child(1),
  .gallery figure:nth-child(2),
  .gallery figure:nth-child(3),
  .gallery figure:nth-child(4) {
    grid-column: span 12;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-list {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(12, 14, 18, 0.97);
    backdrop-filter: blur(16px);
    padding: 1rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.35s var(--ease);
  }

  .nav-list.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list a {
    padding: 0.9rem 1rem;
  }

  .hero {
    min-height: 85svh;
  }

  .section {
    padding: 3.5rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-media img {
    transform: none;
  }
}
