/*
Theme Name: Retro Club
Theme URI: https://www.retroclub.fi
Author: Retro Club Vaasa
Description: Retro Club & Gaming Center Vaasa — tumma retro-teema juhlatilasivustolle.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: retroclub
*/

/* ===========================
   MUUTTUJAT
=========================== */
:root {
  --black:  #0a0a0a;
  --dark:   #111111;
  --card:   #181818;
  --neon:   #ff2d55;
  --neon2:  #ffcc00;
  --neon3:  #00e5ff;
  --text:   #e8e0d0;
  --muted:  #888888;
  --border: #222222;
}

/* ===========================
   POHJA
=========================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* CRT-viivat */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent, transparent 2px,
    rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

a { color: var(--neon2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--neon); }
img { max-width: 100%; height: auto; display: block; }

/* ===========================
   NAVIGAATIO
=========================== */
#site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 3rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(8px);
  z-index: 1000;
}

.site-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: .15em;
  color: var(--neon2);
  text-shadow: 0 0 20px rgba(255,204,0,.4);
  text-decoration: none;
}
.site-logo span { color: var(--neon); }

#main-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

#main-nav ul li a {
  color: var(--muted);
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .2s;
  text-decoration: none;
}
#main-nav ul li a:hover,
#main-nav ul li.current-menu-item > a,
#main-nav ul li.current_page_item > a { color: var(--neon2); }

#main-nav ul li.menu-cta a {
  background: var(--neon);
  color: #fff !important;
  padding: .5rem 1.2rem;
  font-weight: 600;
  letter-spacing: .05em;
  transition: background .2s;
}
#main-nav ul li.menu-cta a:hover { background: #ff4d6d; }


.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--muted);
  color: var(--text);
  padding: .5rem .8rem;
  cursor: pointer;
  font-size: 1.1rem;
}

/* ===========================
   HERO
=========================== */
.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: stretch;
  padding: 0;
  gap: 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem;
  min-width: 0;
}

.hero-image {
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(255,45,85,.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(0,229,255,.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-tag {
  font-family: 'VT323', monospace;
  font-size: 1.1rem;
  color: var(--neon3);
  letter-spacing: .2em;
  margin-bottom: 1rem;
  opacity: .8;
}

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.2rem, 8vw, 7.2rem);
  line-height: .9;
  letter-spacing: .02em;
  color: var(--text);
}
.hero h1 .highlight {
  color: var(--neon2);
  text-shadow: 0 0 40px rgba(255,204,0,.3);
  display: block;
}
.hero h1 .dim { color: #444; }


.hero-sub {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: var(--muted);
  font-weight: 300;
  max-width: 480px;
  line-height: 1.6;
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.hero-watermark {
  display: block;
  margin-top: 2.5rem;
  font-family: 'VT323', monospace;
  font-size: .9rem;
  color: #333;
  letter-spacing: .15em;
  text-transform: uppercase;
}

/* ===========================
   PAINIKKEET
=========================== */
.btn-primary {
  background: var(--neon);
  color: #fff;
  padding: .9rem 2.2rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: .1em;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: all .2s;
  box-shadow: 0 0 30px rgba(255,45,85,.3);
  text-decoration: none;
}
.btn-primary:hover {
  background: #ff4d6d;
  box-shadow: 0 0 50px rgba(255,45,85,.5);
  transform: translateY(-1px);
  color: #fff;
}

.btn-outline {
  color: var(--text);
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid #333;
  padding-bottom: 2px;
  transition: border-color .2s, color .2s;
}
.btn-outline:hover { border-color: var(--neon2); color: var(--neon2); }

/* ===========================
   KELTAINEN STRIP
=========================== */
.info-strip {
  background: var(--neon2);
  padding: .6rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.strip-track {
  display: inline-flex;
  gap: 3rem;
  animation: marquee 30s linear infinite;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.strip-track span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: .15em;
  color: var(--black);
}

/* ===========================
   OMINAISUUDET (3 palstaa)
=========================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #1a1a1a;
}

.feature-item {
  background: var(--black);
  padding: 2.5rem;
  transition: background .2s;
}
.feature-item:hover { background: #0f0f0f; }

.feature-icon { font-size: 2rem; margin-bottom: 1rem; }

.feature-item h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: .08em;
  color: var(--neon2);
  margin-bottom: .5rem;
}

.feature-item p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 300;
}

/* ===========================
   OSIO-OTSIKOT
=========================== */
.section-label {
  font-family: 'VT323', monospace;
  font-size: 1rem;
  color: var(--neon3);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: .05em;
  margin-bottom: 2rem;
  color: var(--text);
}

/* ===========================
   VARUSTELU
=========================== */
.varustelu-section { padding: 5rem 3rem; background: var(--dark); }

.gear-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8rem;
}

.gear-item {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1rem 1.2rem;
  font-size: .85rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: .6rem;
  transition: border-color .2s;
}
.gear-item:hover { border-color: var(--neon2); }
.gear-item::before { content: '▸'; color: var(--neon); font-size: .7rem; flex-shrink: 0; }

/* ===========================
   HINNASTO
=========================== */
.hinnasto-section { padding: 5rem 3rem; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 2rem 1.5rem;
  position: relative;
  transition: border-color .2s;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover { border-color: var(--neon2); }

.pricing-card.featured {
  border-color: var(--neon2);
  box-shadow: 0 0 30px rgba(255,204,0,.1);
}
.pricing-card.featured::after {
  content: 'SUOSITTU';
  position: absolute;
  top: 0; right: 0;
  background: var(--neon2);
  color: var(--black);
  font-family: 'Bebas Neue', sans-serif;
  font-size: .75rem;
  letter-spacing: .1em;
  padding: .2rem .6rem;
}

.pricing-name {
  font-family: 'VT323', monospace;
  font-size: .9rem;
  color: var(--neon3);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: .8rem;
}

.pricing-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--neon2);
  line-height: 1;
  margin-bottom: .2rem;
}

.pricing-period {
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.pricing-features {
  list-style: none;
  margin: 0 0 1.5rem;
  flex: 1;
}
.pricing-features li {
  font-size: .85rem;
  color: var(--muted);
  padding: .35rem 0;
  border-bottom: 1px solid #1e1e1e;
  display: flex;
  gap: .5rem;
}
.pricing-features li::before { content: '—'; color: var(--neon); flex-shrink: 0; }

.terms-box {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 2rem;
}
.terms-box h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: .08em;
  color: var(--neon2);
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}
.terms-box h3:first-child { margin-top: 0; }
.terms-box p, .terms-box ul {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.7;
}
.terms-box ul { margin-left: 1.5rem; margin-top: .5rem; }
.terms-box ul li { margin-bottom: .3rem; }

/* ===========================
   KALENTERI
=========================== */
.kalenteri-section { padding: 5rem 3rem; }

.cal-wrapper {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 2rem;
  margin-top: 1.5rem;
}

.cal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.cal-month-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: .1em;
  color: var(--text);
}

.cal-nav-btn {
  background: none;
  border: none;
  color: var(--neon);
  font-size: 1.4rem;
  cursor: pointer;
  padding: .2rem .5rem;
  transition: color .2s;
  font-family: 'Barlow', sans-serif;
}
.cal-nav-btn:hover { color: var(--neon2); }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-dayname {
  text-align: center;
  font-size: .7rem;
  letter-spacing: .1em;
  color: var(--muted);
  padding: .4rem;
  text-transform: uppercase;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  position: relative;
  cursor: default;
  transition: background .15s;
}
.cal-day:hover:not(.empty) { background: #222; }
.cal-day.empty { opacity: 0; pointer-events: none; }
.cal-day.today { color: var(--neon2); font-weight: 600; }

.cal-day.varattu {
  background: rgba(255,45,85,.12);
  color: var(--neon);
}

.cal-time {
  position: absolute;
  bottom: 3px;
  left: 0; right: 0;
  text-align: center;
  font-size: .5rem;
  letter-spacing: .03em;
  color: var(--neon);
  font-family: 'VT323', monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cal-legend {
  margin-top: 1rem;
  display: flex;
  gap: 1.5rem;
  font-size: .75rem;
  color: var(--muted);
  align-items: center;
}
.legend-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: .3rem;
  vertical-align: middle;
}

.cal-loading {
  text-align: center;
  padding: 2rem;
  color: var(--muted);
  font-family: 'VT323', monospace;
  font-size: 1.2rem;
  letter-spacing: .2em;
}

.cal-status {
  margin-top: 1rem;
  font-size: .75rem;
  color: var(--muted);
  text-align: right;
}
.cal-status.ok { color: var(--neon3); }
.cal-status.err { color: var(--neon); }

/* ===========================
   YHTEYSTIEDOT & LOMAKE
=========================== */
.contact-section {
  padding: 5rem 3rem;
  background: var(--dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  letter-spacing: .05em;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.contact-detail {
  margin-bottom: 1.2rem;
  font-size: .9rem;
  color: var(--muted);
}
.contact-detail strong {
  display: block;
  color: var(--text);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .2rem;
}
.contact-detail a { color: var(--muted); }
.contact-detail a:hover { color: var(--neon2); }

.contact-note {
  margin-top: 2rem;
  font-size: .8rem;
  color: #555;
  line-height: 1.7;
}

.btn-call-mobile { display: none; }

.retro-form { display: flex; flex-direction: column; gap: .7rem; }

.retro-form input,
.retro-form textarea,
.retro-form select {
  width: 100%;
  background: var(--card);
  border: 1px solid #2a2a2a;
  color: var(--text);
  padding: .9rem 1rem;
  font-family: 'Barlow', sans-serif;
  font-size: .9rem;
  outline: none;
  transition: border-color .2s;
}
.retro-form input:focus,
.retro-form textarea:focus,
.retro-form select:focus { border-color: var(--neon2); }

.retro-form textarea { height: 130px; resize: vertical; }

.retro-form select { cursor: pointer; }
.retro-form select option { background: var(--card); }

.retro-form button {
  background: transparent;
  border: 1px solid var(--neon);
  color: var(--neon);
  padding: .9rem 2rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: .1em;
  cursor: pointer;
  transition: all .2s;
  width: 100%;
  margin-top: .3rem;
}
.retro-form button:hover { background: var(--neon); color: #fff; }

.form-msg {
  padding: .8rem 1rem;
  font-size: .85rem;
  letter-spacing: .05em;
}
.form-msg.success {
  background: rgba(0,229,255,.08);
  border: 1px solid var(--neon3);
  color: var(--neon3);
}
.form-msg.error {
  background: rgba(255,45,85,.08);
  border: 1px solid var(--neon);
  color: var(--neon);
}

/* ===========================
   PAGE HERO (sisäsivut)
=========================== */
.page-banner {
  padding: 5rem 3rem 3rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #111 0%, var(--black) 100%);
}

.page-banner .section-label { margin-bottom: .5rem; }

.page-banner h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: .05em;
  color: var(--text);
  line-height: 1;
}

.page-banner p {
  margin-top: .8rem;
  font-size: .95rem;
  color: var(--muted);
  max-width: 560px;
}

/* ===========================
   FOOTER
=========================== */
#site-footer {
  padding: 2rem 3rem;
  border-top: 1px solid #1a1a1a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .75rem;
  color: #444;
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: .15em;
  color: var(--neon2);
  text-decoration: none;
}
.footer-logo span { color: var(--neon); }

#site-footer a { color: #444; }
#site-footer a:hover { color: var(--muted); }

/* ===========================
   KIELIVALITSIN
=========================== */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-right: .5rem;
  list-style: none;
}

.lang-switcher li {
  display: flex;
  list-style: none;
}

.lang-switcher li a {
  display: block;
  padding: .15rem .2rem;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: all .15s;
  text-decoration: none;
  opacity: .5;
}

.lang-switcher li a img {
  width: 22px;
  height: auto;
  display: block;
  border: 1px solid rgba(255,255,255,.1);
}

.lang-switcher li a:hover {
  opacity: 1;
  border-color: var(--border);
}
.lang-switcher li.current-lang a {
  opacity: 1;
  border-color: rgba(255,204,0,.5);
}
.lang-switcher li.current-lang a img {
  border-color: var(--neon2);
}

@media (max-width: 900px) {
  .lang-switcher { display: none; }
}

/* ===========================
   VIIKKOKALENTERI
=========================== */
.wcal-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: .5rem;
}

.wcal-navgrp { display: flex; align-items: center; gap: .8rem; }

.wcal-btn-prev,
.wcal-btn-next {
  background: none;
  border: none;
  color: var(--neon);
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 .2rem;
  transition: color .15s;
}
.wcal-btn-prev:hover, .wcal-btn-next:hover { color: var(--neon2); }

.wcal-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.05rem;
  letter-spacing: .1em;
  color: var(--text);
  min-width: 152px;
  text-align: center;
}

.wcal-btn-now {
  background: none;
  border: 1px solid var(--neon2);
  color: var(--neon2);
  font-family: 'Bebas Neue', sans-serif;
  font-size: .68rem;
  letter-spacing: .1em;
  padding: .4rem 1rem;
  cursor: pointer;
  transition: all .15s;
}
.wcal-btn-now:hover { background: var(--neon2); color: var(--black); }

.wcal-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
}

.wcal-inner { min-width: 448px; }

.wcal-row-head {
  display: flex;
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.wcal-corner {
  width: 42px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
}

.wcal-dayhead {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: .55rem .2rem;
  border-right: 1px solid #1e1e1e;
  gap: 1px;
}
.wcal-dayhead:last-child { border-right: none; }
.wcal-dayhead.is-today   { border-bottom: 2px solid var(--neon2); }

.wcal-dn {
  font-size: .46rem;
  letter-spacing: .08em;
  color: var(--muted);
  text-transform: uppercase;
  font-family: 'Barlow', sans-serif;
}

.wcal-dd {
  font-family: 'Bebas Neue', sans-serif;
  font-size: .76rem;
  letter-spacing: .05em;
  color: var(--text);
}
.wcal-dayhead.is-today .wcal-dd { color: var(--neon2); }

.wcal-row-body { display: flex; }

.wcal-time-axis {
  width: 42px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  background: var(--dark);
}

.wcal-tick {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 2px 6px 0 0;
  border-bottom: 1px solid #1a1a1a;
  box-sizing: border-box;
}
.wcal-tick span {
  font-size: .45rem;
  color: #555;
  letter-spacing: .02em;
  line-height: 1;
}

.wcal-daycol {
  flex: 1;
  position: relative;
  border-right: 1px solid #1e1e1e;
  background: var(--black);
  box-sizing: border-box;
  overflow: hidden;
}
.wcal-daycol.is-last    { border-right: none; }
.wcal-daycol.is-today   { background: rgba(255,204,0,.018); }

.wcal-hline {
  position: absolute;
  left: 0; right: 0;
  border-top: 1px solid #1a1a1a;
  pointer-events: none;
}

.wcal-event {
  position: absolute;
  left: 2px; right: 2px;
  background: #8B0000;
  border-left: 3px solid #CC0000;
  padding: 3px 5px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  z-index: 2;
  box-sizing: border-box;
}

.wcal-ev-tag {
  font-family: 'Bebas Neue', sans-serif;
  font-size: .54rem;
  letter-spacing: .12em;
  color: #fff;
  line-height: 1;
}

.wcal-ev-time {
  font-size: .46rem;
  color: rgba(255,255,255,.75);
  letter-spacing: .03em;
  line-height: 1;
}

@media (max-width: 600px) {
  .wcal-inner       { min-width: 400px; }
  .wcal-corner,
  .wcal-time-axis   { width: 36px; }
  .wcal-tick        { padding-right: 3px; }
  .wcal-tick span   { font-size: .48rem; }
  .wcal-dd          { font-size: .82rem; }
  .wcal-dn          { font-size: .52rem; }
  .wcal-ev-tag      { font-size: .6rem; }
  .wcal-ev-time     { display: none; }
  .wcal-title       { min-width: 130px; font-size: 1.1rem; }
}

/* ===========================
   GALLERIA
=========================== */
.galleria-section { padding: 4rem 3rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
  grid-auto-rows: 260px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  cursor: pointer;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.75) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .25s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-caption {
  font-size: .8rem;
  color: var(--text);
  letter-spacing: .05em;
  line-height: 1.4;
}

.gallery-zoom {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--neon2);
  font-size: 1.4rem;
  opacity: .8;
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.95);
  z-index: 9000;
  align-items: center;
  justify-content: center;
}

.lightbox.active { display: flex; }

.lightbox-inner {
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}

.lightbox-inner img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  box-shadow: 0 0 60px rgba(0,0,0,.8);
}

#lightbox-caption {
  margin-top: .8rem;
  font-size: .85rem;
  color: var(--muted);
  letter-spacing: .05em;
}

.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color .2s;
  z-index: 9001;
}
.lightbox-close:hover { color: var(--neon); }

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text);
  font-size: 3rem;
  cursor: pointer;
  padding: 1rem;
  transition: color .2s;
  z-index: 9001;
  line-height: 1;
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-prev:hover,
.lightbox-next:hover { color: var(--neon2); }

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .galleria-section { padding: 3rem 1.5rem; }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
  .gallery-item--wide { grid-column: span 1; }
}

/* ===========================
   SINGLE POST
=========================== */
.single-meta { color: var(--muted); font-size: .8rem; margin-top: .5rem; letter-spacing: .05em; }

.single-thumb { max-height: 480px; overflow: hidden; }
.single-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.single-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 3.5rem 3rem;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
}
.single-content h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: .06em;
  color: var(--neon2);
  margin: 2.5rem 0 .75rem;
}
.single-content p { margin-bottom: 1.2rem; }
.single-content ul, .single-content ol {
  padding-left: 1.4rem;
  margin-bottom: 1.2rem;
}
.single-content li { margin-bottom: .5rem; }
.single-content strong { color: var(--text); }
.single-content a { color: var(--neon); text-decoration: underline; }
.single-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}
.single-content em { color: var(--muted); }

.single-back { text-align: center; padding: 0 0 4rem; }

@media (max-width: 900px) {
  .single-content { padding: 2.5rem 1.5rem; }
}

/* ===========================
   BLOGI
=========================== */
.blog-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.blog-card:first-child { padding-top: 0; }
.blog-card-thumb { display: block; overflow: hidden; }
.blog-card-thumb img { width: 100%; height: 180px; object-fit: cover; display: block; transition: transform .3s; }
.blog-card-thumb:hover img { transform: scale(1.04); }
.blog-card-cat { font-family: 'VT323', monospace; font-size: .85rem; color: var(--neon); letter-spacing: .08em; margin-bottom: .4rem; }
.blog-card-title { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; letter-spacing: .04em; margin-bottom: .4rem; }
.blog-card-title a { color: var(--text); text-decoration: none; transition: color .2s; }
.blog-card-title a:hover { color: var(--neon2); }
.blog-card-meta { font-size: .78rem; color: var(--muted); margin-bottom: .75rem; }
.blog-card-excerpt { font-size: .88rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.2rem; }

@media (max-width: 700px) {
  .blog-card { grid-template-columns: 1fr; gap: 1rem; }
  .blog-card-thumb img { height: 200px; }
}

/* ===========================
   LASTENJUHLAT
=========================== */
.lj-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0a1a 50%, #0a0a14 100%);
  border-bottom: 1px solid var(--border);
}
.lj-hero-inner {
  max-width: 700px;
  padding: 5rem 3rem;
}
.lj-hero-inner h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: .95;
  letter-spacing: .02em;
  margin: .75rem 0 1.25rem;
}
.lj-hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.lj-section { padding: 4.5rem 3rem; }
.lj-wrap { max-width: 1100px; margin: 0 auto; }

.lj-intro {
  color: var(--muted);
  font-size: .95rem;
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.lj-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.lj-feat-item {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.75rem 1.5rem;
  transition: border-color .2s;
}
.lj-feat-item:hover { border-color: var(--neon2); }
.lj-feat-icon { font-size: 2rem; margin-bottom: .75rem; }
.lj-feat-item h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  letter-spacing: .06em;
  color: var(--neon2);
  margin-bottom: .5rem;
}
.lj-feat-item p { font-size: .88rem; color: var(--muted); line-height: 1.65; }

.lj-times {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.lj-time-card {
  background: var(--card);
  border: 1px solid var(--neon3);
  padding: 1.5rem;
}
.lj-time-unavail { border-color: var(--border); opacity: .45; }
.lj-time-label {
  font-family: 'VT323', monospace;
  font-size: .85rem;
  color: var(--neon3);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .3rem;
}
.lj-time-unavail .lj-time-label { color: var(--muted); }
.lj-time-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: .05em;
  color: var(--text);
  margin-bottom: .5rem;
}
.lj-time-card p { font-size: .83rem; color: var(--muted); line-height: 1.6; }

.lj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-top: 2rem;
}
.lj-tag {
  background: var(--card);
  border: 1px solid var(--neon);
  color: var(--text);
  padding: .55rem 1.2rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: .06em;
}

.lj-faq { margin-top: 2rem; max-width: 720px; }
.lj-faq-item {
  border-bottom: 1px solid var(--border);
}
.lj-faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.15rem;
  letter-spacing: .06em;
  padding: 1.25rem 2rem 1.25rem 0;
  cursor: pointer;
  position: relative;
  transition: color .15s;
}
.lj-faq-q:hover { color: var(--neon2); }
.lj-faq-q::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--neon);
  transition: transform .2s;
}
.lj-faq-q[aria-expanded="true"]::after { transform: translateY(-50%) rotate(45deg); }
.lj-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.lj-faq-a p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.75;
  padding-bottom: 1.25rem;
}

.lj-cta { background: var(--dark); border-top: 1px solid var(--border); }

@media (max-width: 900px) {
  .lj-hero-inner { padding: 3.5rem 1.5rem; }
  .lj-section { padding: 3rem 1.5rem; }
  .lj-features { grid-template-columns: 1fr; }
  .lj-times { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .lj-times { grid-template-columns: 1fr; }
}

/* ===========================
   ADMIN BAR KORJAUS
=========================== */
.admin-bar #site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar #site-header { top: 46px; } }

/* ===========================
   MOBIILI
=========================== */
@media (max-width: 900px) {
  #site-header { padding: 1rem 1.5rem; }
  #main-nav { display: none; width: 100%; }
  #main-nav.open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(10,10,10,.98);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
  }
  #main-nav.open ul { flex-direction: column; gap: .5rem; }
  .nav-toggle { display: block; }

  .lang-switcher {
    display: flex;
    gap: .9rem;
    margin-right: .2rem;
  }
  .lang-switcher li a img { width: 26px; }
  .lang-switcher li a { padding: .1rem; }

  .hero { min-height: unset; grid-template-columns: 1fr; }
  .hero-content { padding: 2.5rem 1.5rem; order: 2; }
  .hero-image { position: relative; height: 55vw; min-height: 240px; order: 1; }
  .hero-watermark { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .gear-grid { grid-template-columns: repeat(2, 1fr); }
  .varustelu-section, .hinnasto-section, .kalenteri-section { padding: 3rem 1.5rem; }
  .front-gear { display: none; }
  .strip-track { gap: 1.4rem; }
  .strip-track span { font-size: .85rem; }
  .btn-call-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    background: #1a9e3f;
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.25rem;
    letter-spacing: .08em;
    text-decoration: none;
    padding: .85rem 1.5rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    width: 100%;
  }
  .btn-call-mobile::before {
    content: '📞';
    font-size: 1.1rem;
  }
  .contact-section { grid-template-columns: 1fr; padding: 3rem 1.5rem; gap: 2.5rem; }
  .page-banner { padding: 3rem 1.5rem 2rem; }
  #site-footer { padding: 1.5rem; flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  .gear-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .cal-dayname { font-size: .6rem; padding: .2rem; }
  .cal-day { font-size: .75rem; }
  .cal-day.varattu::after { display: none; }
}
