﻿/* =========================
   GLOBAL - Modern Sonoria Style
========================= */

:root {
  --bg: #000000;
  --text: rgba(255,255,255,0.86);
  --muted: rgba(255,255,255,0.65);
  --gold: #d6b25e;
  --goldGlow: rgba(214,178,94,0.45);
  --border: rgba(255,255,255,0.08);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Protected text (copy protection) */
.protected-text {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

img {
  pointer-events: none;
  user-drag: none;
  -webkit-user-drag: none;
}

/* =========================
   SCROLLBAR
========================= */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 10px; }

/* =========================
   MUSIC CONTROL
========================= */
.music-control {
  position: fixed;
  top: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 100000;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(214,178,94,0.25);
  border-radius: 30px;
  padding: 8px 14px;
  backdrop-filter: blur(10px);
  box-shadow: 0px 0px 18px rgba(214,178,94,0.12);
}

.music-control button {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: 0.3s;
}

.music-control button:hover {
  color: var(--gold);
  transform: scale(1.05);
}

/* =========================
   LANDING HERO (with video background)
========================= */
.hero {
  height: 100vh;
  width: 100%;
  position: relative;
  display: none;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero.active {
  display: flex;
}

#mapVideo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.65));
  z-index: 1;
}

/* =========================
   MAP HOTSPOTS
========================= */
.map-navigation {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.hotspot {
  position: absolute;
  width: 12%;
  height: 12%;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 6;
}

.hotspot::after {
  content: attr(data-name);
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  color: var(--gold);
  opacity: 0;
  transition: 0.3s;
  text-shadow: 0 0 10px black;
  pointer-events: none;
}
/* Üdvözlő szöveg a videón */
.map-welcome {
  position: absolute;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 900px;
  text-align: center;
  z-index: 20;

  background: none;
  border: none;
  padding: 0;
  box-shadow: none;
  backdrop-filter: none;

  pointer-events: none;
}

.map-welcome h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.95);
}

.map-welcome p {
  font-size: 0.95rem;
  font-weight: 200;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
}


.hotspot:hover::after {
  opacity: 1;
}

.hotspot:hover {
  background: rgba(214,178,94,0.15);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(214,178,94,0.3);
}

/* Hotspot pozíciók - finomhangolva */
.astra { top: 18%; left: 42%; }
.ciklon { bottom: 12%; left: 42%; }
.pango { top: 45%; left: 42%; }
.marina { top: 38%; left: 8%; }
.langocska { top: 38%; right: 8%; }

.hero-content {
  position: relative;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  z-index: 10;
  pointer-events: none;
}

.hero-content .enter-btn {
  pointer-events: auto;
}

.title {
  font-family: 'Cinzel', serif;
  font-size: 3.2rem;
  font-weight: 300;
  letter-spacing: 7px;
  color: #ffffff;
  text-shadow: 0px 0px 18px rgba(214,178,94,0.2);
}

.subtitle {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 300;
  margin-top: 10px;
  color: rgba(230, 230, 230, 0.75);
  letter-spacing: 2px;
}

.intro-text {
  margin-top: 35px;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(240, 240, 240, 0.82);
  text-shadow: 0px 0px 12px rgba(0,0,0,0.95);
}

.enter-btn {
  display: inline-block;
  margin-top: 40px;
  padding: 14px 42px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 40px;
  font-size: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all 0.4s ease;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  cursor: pointer;
  color: white;
  font-family: 'Cinzel', serif;
}

.enter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0px 0px 25px var(--goldGlow);
  transform: translateY(-4px);
}

/* Landing animation */
.landing-anim {
  opacity: 0;
  transform: translateY(55px);
  animation: landingFade 4.2s ease forwards;
}

/* Landing header háttér */
.landing-header {
  background: url("header.png") center/cover no-repeat;
}

@keyframes landingFade {
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

/* =========================
   NAVIGATION - JAVÍTVA!
========================= */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Alapértelmezésben rejtve, amíg nem lépünk be */
nav.hidden {
  display: none;
}

/* Amikor nincs hidden osztály (belépés után) -> látható */
nav:not(.hidden) {
  display: block;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding: 15px 22px;
  list-style: none;
  justify-content: center;
}

nav ul li a {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 2px;
  padding: 6px 4px;
  transition: 0.35s;
  opacity: 0.78;
  color: rgba(255,255,255,0.75);
}

nav ul li a:hover {
  opacity: 1;
  color: var(--gold);
  text-shadow: 0px 0px 12px var(--goldGlow);
}

/* =========================
   PAGE SECTIONS
========================= */
.page-section {
  display: none;
}

.page-section.active {
  display: block;
}

.page-header {
  height: 50vh;
  background: url("header.png") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-header .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.18), rgba(0,0,0,0.95));
  z-index: 1;
}

.page-header .header-content {
  position: relative;
  padding: 30px;
  z-index: 3;
}

.page-header h1 {
  font-family: 'Cinzel', serif;
  font-size: 2.6rem;
  font-weight: 400;
  letter-spacing: 4px;
  text-shadow: 0px 0px 12px rgba(255,255,255,0.12);
}

.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 30px;
  line-height: 1.8;
  font-size: 1.05rem;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 25px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.92);
}

.card {
  margin-top: 20px;
  padding: 28px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(10px);
  transition: 0.4s;
}

.card:hover {
  border-color: rgba(214,178,94,0.2);
}

/* Fade in animation */
.fade-in {
  opacity: 0;
  transform: translateY(35px);
  animation: fadeInUp 2s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

/* =========================
   REZONANCIA PAGE
========================= */

.rezonancia-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
}

.rezonancia-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

#rezParticles,
#rezFog {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rezonancia-header {
  position: relative;
  z-index: 2;
  padding: 120px 10% 40px 10%;
  text-align: center;
}

.rezonancia-header h1 {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  letter-spacing: 6px;
  font-weight: 400;
  text-shadow: 0 0 18px rgba(214,178,94,0.15);
}

.rezonancia-header p {
  margin-top: 15px;
  opacity: 0.7;
  font-weight: 200;
  line-height: 1.7;
}

/* Sticky player */
.rez-sticky-player {
  position: sticky;
  top: 65px;
  z-index: 9999;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  padding: 18px 10%;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(214,178,94,0.12);
  border-bottom: 1px solid rgba(214,178,94,0.12);
}

.rez-player-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.rez-player-title {
  font-family: 'Cinzel', serif;
  letter-spacing: 2px;
  color: var(--gold);
  font-size: 1rem;
}

.rez-player-sub {
  opacity: 0.6;
  font-weight: 200;
  font-size: 0.85rem;
}

.rez-sticky-player audio {
  width: 320px;
  max-width: 100%;
}

/* Scroll snap container */
.rezonancia-container {
  position: relative;
  z-index: 2;
  height: calc(100vh - 160px);
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  padding: 0 6%;
}

.rez-card {
  scroll-snap-align: start;
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  padding: 60px 40px;
  margin: 40px 0;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(12px);
  transition: 0.4s;
}

.rez-card:hover {
  border-color: rgba(214,178,94,0.25);
  box-shadow: 0 0 35px rgba(214,178,94,0.08);
}

.rez-left {
  padding-right: 10px;
}

.rez-title {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  letter-spacing: 3px;
  margin-bottom: 30px;
  color: rgba(255,255,255,0.92);
  transition: 0.4s;
}

.rez-title:hover {
  color: var(--gold);
  text-shadow: 0 0 18px rgba(214,178,94,0.35);
}

.rez-text-block {
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(25px);
  transition: 1.2s;
}

.rez-text-block.visible {
  opacity: 1;
  transform: translateY(0px);
}

.rez-text-block h3 {
  font-family: 'Cinzel', serif;
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 10px;
  color: rgba(214,178,94,0.95);
  font-size: 1.1rem;
}

.rez-text-block p {
  opacity: 0.8;
  font-weight: 200;
  line-height: 1.85;
}

.rez-text-block i {
  color: rgba(255,255,255,0.9);
  font-style: italic;
  text-shadow: 0 0 10px rgba(214,178,94,0.12);
}

/* Right side waveform */
.rez-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rez-wave-box {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: 22px;
  border: 1px solid rgba(214,178,94,0.15);
  background: rgba(0,0,0,0.55);
  overflow: hidden;
  box-shadow: 0 0 35px rgba(214,178,94,0.08);
  transition: 0.4s;
}

.rez-wave-box.dimmed {
  opacity: 0.35;
}

.rez-wave {
  width: 100%;
  height: 100%;
}

.rez-wave-label {
  position: absolute;
  bottom: 14px;
  left: 16px;
  font-family: 'Cinzel', serif;
  letter-spacing: 2px;
  opacity: 0.65;
  font-size: 0.85rem;
  color: var(--gold);
}

/* Metro special */
.metro-wave {
  border-color: rgba(200,200,200,0.25);
}

/* Responsive */
@media(max-width: 900px) {
  .rez-card {
    grid-template-columns: 1fr;
    padding: 45px 25px;
  }

  .rezonancia-container {
    height: auto;
    overflow: visible;
    scroll-snap-type: none;
  }

  .rez-wave-box {
    height: 320px;
  }

  .rez-sticky-player {
    flex-direction: column;
    align-items: flex-start;
  }

  .rez-sticky-player audio {
    width: 100%;
  }
}


/* =========================
   AUDIO PLAYER
========================= */
.audio-box {
  margin-top: 25px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.4);
}

.audio-box p {
  margin-bottom: 12px;
  font-family: 'Cinzel', serif;
  letter-spacing: 2px;
  opacity: 0.8;
  font-size: 0.9rem;
}

.audio-box audio {
  width: 100%;
  opacity: 0.9;
}

.audio-box audio::-webkit-media-controls-panel {
  background: rgba(0,0,0,0.7);
}

/* =========================
   HERO CHARACTER IMAGE
========================= */
.hero-image-box {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
}

.hero-image {
  width: 100%;
  max-width: 520px;
  border-radius: 18px;
  border: 1px solid rgba(214,178,94,0.18);
  opacity: 0.95;
  box-shadow: 0px 0px 25px rgba(214,178,94,0.12);
  transition: 0.4s ease;
}

.hero-image:hover {
  transform: scale(1.01);
  box-shadow: 0px 0px 35px rgba(214,178,94,0.22);
}

/* =========================
   GRID (for heroes and encyclopedia)
========================= */
.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 35px;
}

.grid-item {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  transition: 0.35s;
  text-align: center;
  font-family: 'Cinzel', serif;
  letter-spacing: 2px;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
}

.grid-item:hover {
  transform: translateY(-6px);
  border-color: rgba(214,178,94,0.35);
  box-shadow: 0px 0px 25px rgba(214,178,94,0.1);
  color: var(--gold);
}

/* Metro special */
.metro-item {
  border-color: rgba(180,180,180,0.2);
}

.metro-title {
  color: #c0c0c0;
}

.metro-card {
  border-color: rgba(200,200,200,0.2);
}

/* =========================
   HUB SECTION
========================= */
.hub-header {
  position: relative;
  width: 100%;
  height: 60vh;
  background: url("header.png") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hub-header .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0.95));
  z-index: 1;
}

#particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.6;
  pointer-events: none;
}

.hub-header .header-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 950px;
  padding: 20px;
}

.hub-welcome {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: 3px;
  margin-bottom: 18px;
  text-align: center;
}

.hub-subtext {
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.9;
  font-weight: 200;
  color: rgba(255,255,255,0.72);
  max-width: 800px;
  margin: 0 auto;
}

.hub-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.hub-box {
  padding: 28px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(10px);
  transition: 0.4s;
}

.hub-box:hover {
  transform: translateY(-6px);
  border-color: rgba(214,178,94,0.25);
  box-shadow: 0px 0px 25px rgba(214,178,94,0.08);
}

.hub-box h3 {
  font-family: 'Cinzel', serif;
  letter-spacing: 2px;
  font-weight: 400;
  margin-bottom: 15px;
  color: rgba(255,255,255,0.9);
  font-size: 1.25rem;
}

.hub-box p {
  opacity: 0.8;
  line-height: 1.85;
  font-weight: 200;
  font-size: 0.98rem;
}

/* CTA Box */
.cta-box {
  margin-top: 60px;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(214,178,94,0.2);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(10px);
  transition: 0.4s;
}

.cta-box:hover {
  border-color: rgba(214,178,94,0.25);
  transform: translateY(-4px);
}

.cta-text {
  flex: 2;
}

.cta-title-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 15px;
}

.logo-circle {
  width: 100px;
  height: 100px;
  background: transparent;
  -webkit-mask-image: radial-gradient(circle, black 65%, transparent 70%);
  mask-image: radial-gradient(circle, black 65%, transparent 70%);
}

.logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-text h3 {
  font-family: 'Cinzel', serif;
  font-weight: 400;
  letter-spacing: 2px;
  font-size: 1.6rem;
}

.cta-text p {
  opacity: 0.8;
  margin-bottom: 20px;
  font-weight: 200;
}

/* =========================
   SZONIKA TABLES
========================= */
.sonoria-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 25px;
  font-size: 0.95rem;
  background: rgba(0,0,0,0.3);
  border-radius: 14px;
  overflow: hidden;
}

.sonoria-table th {
  font-family: 'Cinzel', serif;
  font-weight: 400;
  letter-spacing: 2px;
  text-align: left;
  padding: 14px 16px;
  color: var(--gold);
  background: rgba(10,10,10,0.8);
  border-bottom: 1px solid rgba(214,178,94,0.2);
}

.sonoria-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: rgba(240,240,240,0.85);
  vertical-align: top;
}

.sonoria-table tr:hover td {
  background: rgba(214,178,94,0.05);
}

.sonoria-table td:first-child {
  font-family: 'Cinzel', serif;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.9);
  font-weight: 400;
}

/* KRÓNIKÁK Lista */
.kronika-list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.kronika-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  transition: 0.4s;
}

.kronika-item:hover {
  border-color: rgba(214,178,94,0.2);
  transform: translateX(6px);
}

.kronika-item h4 {
  font-family: 'Cinzel', serif;
  font-weight: 400;
  letter-spacing: 2px;
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--gold);
}

.kronika-item p {
  font-size: 0.96rem;
  font-weight: 200;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
}
/* =========================
   KRÓNIKÁK - TAGOLT STÍLUS
========================= */

.kronika-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.kronika-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 30px;
  transition: 0.4s;
}

.kronika-item:hover {
  border-color: rgba(214,178,94,0.25);
  transform: translateX(6px);
  box-shadow: 0 0 30px rgba(214,178,94,0.06);
}

.kronika-item h4 {
  font-family: 'Cinzel', serif;
  font-weight: 400;
  letter-spacing: 2px;
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.kronika-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.kronika-tag {
  display: inline-block;
  padding: 3px 14px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(214,178,94,0.12);
  border: 1px solid rgba(214,178,94,0.15);
  color: rgba(255,255,255,0.6);
}

.kronika-tag.metro-tag {
  background: rgba(150,150,150,0.12);
  border-color: rgba(150,150,150,0.2);
  color: #999;
}

.kronika-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.kronika-section {
  padding: 12px 16px;
  border-left: 2px solid rgba(214,178,94,0.15);
  background: rgba(255,255,255,0.015);
  border-radius: 0 8px 8px 0;
  transition: 0.3s;
}

.kronika-section:hover {
  border-left-color: var(--gold);
  background: rgba(214,178,94,0.03);
}

.kronika-section h5 {
  font-family: 'Cinzel', serif;
  font-weight: 300;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.kronika-section p {
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  font-weight: 200;
  margin-bottom: 6px;
}

.kronika-section p strong {
  color: rgba(255,255,255,0.9);
  font-weight: 400;
}

.kronika-steps {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
}

.kronika-steps li {
  padding: 6px 0 6px 28px;
  position: relative;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  font-weight: 200;
}

.kronika-steps li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
  top: 8px;
}

.kronika-steps li strong {
  color: rgba(255,255,255,0.9);
  font-weight: 400;
}

.kronika-intro {
  font-size: 1.05rem;
  font-weight: 200;
  color: rgba(255,255,255,0.6);
  margin-bottom: 30px;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.metro-kronika {
  border-color: rgba(150,150,150,0.15);
}

.metro-kronika .kronika-section {
  border-left-color: rgba(150,150,150,0.2);
}

.metro-kronika .kronika-section:hover {
  border-left-color: #999;
}

/* =========================
   RESPONSZÍV KRÓNIKÁK
========================= */
@media (max-width: 768px) {
  .kronika-item {
    padding: 20px;
  }
  
  .kronika-section {
    padding: 10px 12px;
  }
  
  .kronika-item h4 {
    font-size: 1.05rem;
  }
}
/* =========================
   FORM
========================= */
.form-input {
  width: 100%;
  padding: 14px;
  margin-top: 6px;
  margin-bottom: 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(10,10,10,0.85);
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
}

.textarea {
  height: 140px;
  resize: none;
}

/* =========================
   POPUP
========================= */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85); /* Sötét háttér */
  display: none; /* Alapértelmezésben rejtett */
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
}

.popup-content {
  background: #1a1a1a; /* Vagy a saját háttérszíned */
  padding: 30px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh; /* Ez a legfontosabb: ne legyen magasabb a képernyő 90%-ánál */
  overflow-y: auto;  /* Ez engedélyezi a görgetést, ha a tartalom hosszú */
  border: 1px solid #d8b56a;
  position: relative;
  color: white;
}
.popup-content h2 {
  font-family: 'Cinzel', serif;
  margin-bottom: 15px;
  letter-spacing: 2px;
  font-weight: 400;
  color: var(--gold);
}

.popup-content button {
  margin-top: 25px;
  padding: 10px 28px;
  border-radius: 30px;
  border: 1px solid rgba(214,178,94,0.4);
  background: transparent;
  color: white;
  cursor: pointer;
  transition: 0.3s;
  font-family: 'Cinzel', serif;
}

.popup-content button:hover {
  color: var(--gold);
  border-color: var(--gold);
  box-shadow: 0px 0px 15px rgba(214,178,94,0.25);
}

/* =========================
   FOOTER
========================= */
footer {
  padding: 50px 12%;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 200;
  color: rgba(255,255,255,0.55);
  background: rgba(0,0,0,0.95);
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .hub-columns {
    grid-template-columns: 1fr;
  }

  .cta-box {
    flex-direction: column;
    text-align: center;
  }

  .cta-title-row {
    justify-content: center;
  }

  .hero-content .title {
    font-size: 2.5rem;
  }

  .intro-text {
    font-size: 0.95rem;
  }

  nav ul {
    gap: 15px;
  }

  nav ul li a {
    font-size: 0.75rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .sonoria-table {
    font-size: 0.85rem;
  }

  .sonoria-table th,
  .sonoria-table td {
    padding: 10px 12px;
  }

  .hotspot {
    width: 15%;
    height: 15%;
  }

  .hotspot::after {
    font-size: 0.65rem;
    bottom: -25px;
  }
}

@media (max-width: 600px) {
  .content {
    padding: 40px 20px;
  }

  .card {
    padding: 20px;
  }

  .hub-welcome {
    font-size: 1.4rem;
  }

  .grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}
/* =========================
   CREATURE IMAGE POPUP
========================= */
.image-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 20px;
}

.image-popup-content {
  background: rgba(15,15,15,0.95);
  border: 1px solid rgba(214,178,94,0.35);
  border-radius: 20px;
  padding: 25px;
  max-width: 600px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0px 0px 30px rgba(214,178,94,0.15);
}

.image-popup-content img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 15px;
  border: 1px solid rgba(214,178,94,0.25);
}

.image-popup-content p {
  margin-top: 15px;
  font-family: 'Cinzel', serif;
  letter-spacing: 2px;
  font-size: 1.1rem;
  color: var(--gold);
}

.image-popup-close {
  position: absolute;
  top: 12px;
  right: 18px;
  cursor: pointer;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
  transition: 0.3s;
}

.image-popup-close:hover {
  color: var(--gold);
  transform: scale(1.1);
}