/* Globálne nastavenia */
:root {
    --gold: #d4af37;
    --dark-bg: #0f0f0f;
    --darker-bg: #050505;
    --card-bg: #1a1a1a;
    --text-color: #e0e0e0;

  /* modal accent */
  --purple-main: #7a2cff;
  --purple-dark: rgba(122, 44, 255, 0.35);
  --purple-light: #c9a7ff;
}
img {
    max-width: 100%; height: auto;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.nav-right-items {
    display: flex;
    align-items: center;
    gap: 20px; /* Medzera medzi prepínačom a hlavným tlačidlom */
}

.language-selector {
    display: flex;
    border: 1px solid var(--gold);
    border-radius: 5px;
    overflow: hidden; /* Aby zaoblené rohy fungovali správne */
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 8px 12px;
    color: var(--gold);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
}

.lang-btn:hover {
    background: rgba(212, 175, 55, 0.2);
}

.lang-btn.active {
    background: var(--gold);
    color: var(--dark-bg); /* Text farby pozadia */
}

/* Mobilná úprava pre navigáciu */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column; /* Položky pod sebou */
        gap: 15px;
    }
    .nav-links {
        width: 100%;
        justify-content: center;
    }
    .nav-right-items {
        width: 100%;
        justify-content: center;
        gap: 10px;
    }
    .btn-nav, .language-selector {
        width: auto;
        flex-shrink: 0;
    }
}
@keyframes fog {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-200vw, 0, 0); }
}
body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
}

a { text-decoration: none; color: white; transition: 0.3s; }

/* Navigácia */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    padding: 15px 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold);
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a:hover { color: var(--gold); }

.btn-nav {
    border: 1px solid var(--gold);
    padding: 8px 20px;
    color: var(--gold);
    font-family: 'Cinzel', serif;
}

.btn-nav:hover { background: var(--gold); color: black; }

.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../bg-presentation.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Toto už tam máš, ale je kľúčové pre parallax efekt */
    /* Pridávame jemnú animáciu posunu pozadia */
    animation: backgroundPan 120s linear infinite alternate;
}

@keyframes backgroundPan {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.hero-content h1 { font-size: 4rem; text-shadow: 0 0 20px black; margin-bottom: 10px; }
.hero-content p { font-size: 1.5rem; margin-bottom: 22px; color: #fff; }

.hero-buttons { display: flex; gap: 20px; justify-content: center; }

.btn {
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Cinzel', serif;
    cursor: pointer;
}

.btn-gold { background: var(--gold); color: black; border: 1px solid var(--gold); }
.btn-gold:hover { background: transparent; color: var(--gold); }
.btn-outline { background: transparent; color: white; border: 1px solid white; }
.btn-outline:hover { background: white; color: black; }

/* Štatistiky */
.stats-section {
    display: flex;
    justify-content: space-around;
    background: var(--darker-bg);
    padding: 40px 0;
    border-bottom: 1px solid #333;
}

.stat-box { text-align: center; }
.stat-box i { font-size: 2.5rem; color: var(--gold); margin-bottom: 10px; }
.stat-box h3 { font-size: 1.2rem; color: #fff; margin-bottom: 5px; }
.stat-box p { font-weight: bold; color: #888; }

/* Všeobecné sekcie */
.content-section, .dark-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-title { font-size: 2.5rem; margin-bottom: 10px; position: relative; display: inline-block; }
.section-title::after {
    content: ''; display: block; width: 60%; height: 2px; background: var(--gold);
    margin: 10px auto 0;
}
.section-subtitle { margin-bottom: 60px; color: #888; }

/* Grid Systém (Karty) */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    border: 1px solid #333;
    transition: 0.3s;
    overflow: hidden;
}

.card:hover { transform: translateY(-10px); border-color: var(--gold); }
.card-image img { width: 100%; height: auto; display: block; }
.card-text { padding: 20px; text-align: left; }
.card-text h3 { margin-bottom: 10px; color: #fff; }
.card-text p { font-size: 0.9rem; color: #aaa; }

/* Sekcia Postavy (Split) */
.dark-section {
    background: #111;
    width: 100%;
    max-width: 100%;
}

.split-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
    padding: 40px 20px;
}

.text-content { flex: 1; text-align: left; min-width: 300px; }
.image-content { flex: 1; min-width: 300px; }
.image-content img { width: 100%; max-width: 500px; border-radius: 10px; box-shadow: 0 0 20px rgba(0,0,0,0.5); }

.text-content ul { list-style: none; margin-top: 20px; }
.text-content li { margin-bottom: 10px; font-size: 1.1rem; }
.text-content i { color: var(--gold); margin-right: 10px; }

/* Galéria Dungeonov */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.gallery-item {
    position: relative; /* Dôležité pre absolútne pozicovanie levelu */
    width: 250px;
    height: 350px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #333;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}



/* --- NOVÝ KÓD PRE LEVEL --- */
.level-badge {
    position: absolute;
    top: 0;
    right: 0; /* Umiestnenie v pravom hornom rohu */
    background-color: rgba(0, 0, 0, 0.8); /* Tmavé pozadie pre čitateľnosť */
    color: #ffd700; /* Zlatá farba textu (typická pre Metin2) */
    padding: 5px 10px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 14px;
    border-bottom-left-radius: 10px; /* Zaoblenie rohu */
    border-left: 1px solid #555;
    border-bottom: 1px solid #555;
    z-index: 2; /* Aby bol text vždy nad obrázkom */
}

.gallery-item img{ transition: 0.5s; }

.overlay{
  position: absolute;
  bottom: -60px;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 12px 10px;
  background: rgba(212,175,55,0.92);
  color: #000;
  font-weight: 700;
  transition: 0.35s ease;
  font-family: 'Cinzel', serif;
}
.gallery-item:hover .overlay{ bottom: 0; }
.gallery-item:hover img{
  transform: scale(1.06);
  filter: contrast(1.05) brightness(0.95);
}
.gallery-item:hover{
  border-color: rgba(212,175,55,0.7);
  box-shadow: 0 0 25px rgba(212,175,55,0.10);
}


/* Footer */
footer {
    background: black;
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid #333;
}

.socials { margin: 20px 0; }
.socials a { font-size: 2rem; margin: 0 15px; color: #555; }
.socials a:hover { color: var(--gold); }

/* Mobilná úprava */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-content h1 { font-size: 2.5rem; }
    .split-container { text-align: center; }
    .text-content { text-align: center; }
}

.modal {
    display: none; /* Predvolene skryté */
    position: fixed; /* Zostane na mieste aj pri rolovaní */
    z-index: 10000; /* Vysoká vrstva, aby bolo nad všetkým */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Ak je obsah dlhší, dá sa rolovať */
    background-color: rgba(0,0,0,0.8); /* Tmavé pozadie s priehľadnosťou */
    backdrop-filter: blur(5px); /* Jemné rozostrenie pozadia */
    /* Následné pravidlá (display: flex; atď.) sa aplikujú cez JS pri otvorení */
}

.modal-content {
    background-color: var(--card-bg); /* Použijeme farbu kariet */
    margin: auto; /* Vycentrovanie pomocou margin auto + flex pre rodiča */
    padding: 30px;
    border: 2px solid var(--purple-main); /* Fialový okraj */
    border-radius: 10px;
    width: 80%;
    max-width: 700px;
    box-shadow: 0 0 25px var(--purple-dark); /* Fialový tieň */
    position: relative;
    text-align: center;
    transform: scale(0.9); /* Začína menšie, animuje sa do plnej veľkosti */
    opacity: 0; /* Začína neviditeľné */
    animation: modal-appear 0.3s forwards ease-out;
}

@keyframes modal-appear {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-content h3 {
    color: var(--purple-light);
    font-size: 2.2rem;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(118, 31, 113, 0.7);
}

.modal-content img {
    max-width: 90%;
    height: auto;
    border: 1px solid #444;
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.modal-content p {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.6;
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-button:hover,
.close-button:focus {
    color: var(--purple-light);
    transform: scale(1.1);
    text-shadow: 0 0 10px var(--purple-light);
}

/* Mobilná úprava pre modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 20px;
    }
    .modal-content h3 {
        font-size: 1.8rem;
    }
    .modal-content p {
        font-size: 1rem;
    }
    .close-button {
        font-size: 30px;
        top: 10px;
        right: 15px;
    }
}

.forge-wrap {
  width: 100%;
}

.forge-track {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  padding: 10px 6px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.forge-track::-webkit-scrollbar {
  height: 8px;
}
.forge-track::-webkit-scrollbar-thumb {
  background: rgba(212,175,55,0.35);
  border-radius: 999px;
}
.forge-track::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
}

.forge-step {
  scroll-snap-align: start;
  min-width: 220px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 14px;
  padding: 12px;
  text-align: center;
}

.forge-step img {
  width: 90px;
  height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(212,175,55,0.12));
}

.forge-meta {
  margin-top: 8px;
}

.forge-title {
  color: #d4af37;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.forge-sub {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin-top: 4px;
}

.forge-arrow {
  color: rgba(212,175,55,0.8);
  font-size: 26px;
  user-select: none;
  flex: 0 0 auto;
}

.forge-step.active {
  box-shadow: 0 0 0 2px rgba(212,175,55,0.25), 0 0 25px rgba(212,175,55,0.12);
}

.forge-hint {
  margin-top: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.subsection-title{
  margin-top: 28px;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.5px;
}

/* Table wrapper: makes it swipeable on mobile */
.table-scroll{
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
  border: 1px solid rgba(212,175,55,0.22);
  background: rgba(0,0,0,0.25);
}

/* Bonus table */
.bonus-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 980px; /* important: forces horizontal scroll on small screens */
}

.bonus-table thead th{
  position: sticky;
  top: 0;
  background: rgba(10,10,10,0.95);
  color: #d4af37;
  text-align: left;
  font-weight: 700;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(212,175,55,0.25);
  white-space: nowrap;
}

.bonus-table td{
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
}

/* First column emphasis */
.bonus-table td:first-child{
  color: rgba(255,255,255,0.95);
  font-weight: 600;
}

/* YES/NO as small badges */
.bonus-table td:not(:first-child){
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.bonus-table tbody tr:hover{
  background: rgba(212,175,55,0.06);
}

.bonus-note{
  margin-top: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}

/* Special bonuses grid */
.special-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.special-card{
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(212,175,55,0.22);
  background: rgba(0,0,0,0.22);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.special-card strong{
  color: rgba(255,255,255,0.9);
  font-weight: 700;
}

.special-card span{
  color: #d4af37;
  font-weight: 800;
}

/* Mobile */
@media (max-width: 900px){
  .special-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px){
  .special-grid{
    grid-template-columns: 1fr;
  }

  .bonus-table{
    min-width: 920px; /* keep scroll behavior */
  }
}
/* Shared grid for Base + Special bonuses */
.bonus-grid,
.special-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.bonus-card,
.special-card{
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(212,175,55,0.22);
  background: rgba(0,0,0,0.22);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.bonus-card strong,
.special-card strong{
  color: rgba(255,255,255,0.9);
  font-weight: 700;
}

.bonus-card span,
.special-card span{
  color: #d4af37;
  font-weight: 800;
  white-space: nowrap;
}

/* Mobile */
@media (max-width: 900px){
  .bonus-grid,
  .special-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px){
  .bonus-grid,
  .special-grid{
    grid-template-columns: 1fr;
  }
}
/* Basic information “table” */
.info-table{
  max-width: 1100px;
  margin: 24px auto 0;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
}

.info-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.info-cell{
  padding: 14px 16px;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  line-height: 1.3;
  color: rgba(255,255,255,0.92);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.info-row:first-child .info-cell{
  border-top: none;
}

.info-cell:nth-child(1){
  border-right: 1px solid rgba(255,255,255,0.08);
}

/* Mobile: 1 column */
@media (max-width: 720px){
  .info-row{
    grid-template-columns: 1fr;
  }
  .info-cell:nth-child(1){
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
}

.radius {
	border-radius: 25px;
}
.radius10 {
	border-radius: 10px;
}

.bright {
	filter: brightness(0.6);
}


.bright:hover {
	filter: brightness(0.8);
}

.hero-section{ position: relative; }

.scroll-hint{
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 44px;
  border: 2px solid rgba(212,175,55,0.65);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
  opacity: 0.9;
}
.scroll-hint span{
  width: 6px;
  height: 6px;
  background: rgba(212,175,55,0.9);
  border-radius: 999px;
  animation: scrollDot 1.4s infinite;
}
@keyframes scrollDot{
  0%{ transform: translateY(0); opacity: 1; }
  70%{ transform: translateY(18px); opacity: 0.25; }
  100%{ transform: translateY(18px); opacity: 0; }
}

.floating-cta{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  background: var(--gold);
  color: #000;
  padding: 12px 16px;
  border-radius: 999px;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
  border: 1px solid rgba(0,0,0,0.35);
}
.floating-cta:hover{
  transform: translateY(-2px);
}

.start-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 20px;
}
.start-card{
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(212,175,55,0.18);
  border-radius: 16px;
  padding: 22px;
  text-align: left;
  transition: 0.3s;
}
.start-card:hover{
  transform: translateY(-6px);
  border-color: rgba(212,175,55,0.35);
  box-shadow: 0 0 0 2px rgba(212,175,55,0.12), 0 0 30px rgba(212,175,55,0.06);
}
.start-icon{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.22);
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 18px;
}
.start-card h3{ color:#fff; margin-bottom: 8px; }
.start-card p{ color: rgba(255,255,255,0.72); margin-bottom: 14px; font-size: 0.95rem; }
.start-btn{ display:inline-block; }

.lang-wrapper {
  text-align: center;
  margin: 25px 0 15px;
  animation: fadeIn 1.3s ease-out;
}
.lang-wrapper h3 {
  font-size: 1.05em;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(223deg, #ff5555, #8e11b7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.lang-switcher {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.lang-switcher a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  transition: all 0.25s ease;
  box-shadow: 0 0 10px rgba(255, 85, 85, 0.25);
}
.lang-switcher .fi {
  width: 100%;
  height: 100%;
  font-size: 0; /* fixuje “-” bug */
  background-size: cover;
  border-radius: 10px;
  display: block;
}
.lang-switcher a:hover {
  transform: scale(1.1);
  background: linear-gradient(223deg, rgba(255,85,85,0.25), rgba(142,17,183,0.25));
  box-shadow: 0 0 22px rgba(142, 17, 183, 0.6);
}
@media (max-width: 600px) {
  .lang-switcher a {
    width: 52px;
    height: 36px;
  }
  .lang-wrapper h3 {
    font-size: 0.9em;
  }
}

.status-badge{
  display:inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  border-radius: 999px;
  color: #ffd966;
  background: rgba(212,175,55,0.15);
  border: 1px solid rgba(212,175,55,0.45);
}
.prelaunch-note{
  background: rgba(0,0,0,0.45);
  border-top: 1px solid rgba(212,175,55,0.25);
  border-bottom: 1px solid rgba(212,175,55,0.25);
  text-align:center;
  padding: 18px 20px;
}
.prelaunch-note p{
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}

/* jemný “locked” hint */
.btn-disabled{
  pointer-events: none;
  opacity: 0.55;
  filter: grayscale(0.35);
  cursor: not-allowed;
  position: relative;
}

/* badge na rámku */
.btn-disabled::after{
  content: "COMING SOON";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--dark-bg);
  color: #ffd966;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,0.6);
  white-space: nowrap;
  z-index: 2;
}
.nav-badge{
  border: 1px solid rgba(212,175,55,0.45);
  color: #ffd966;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(212,175,55,0.12);
}

/* Events table */
.events-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 760px; /* aby to na mobilu hezky scrollovalo */
}

.events-table thead th{
  position: sticky;
  top: 0;
  background: rgba(10,10,10,0.95);
  color: #d4af37;
  text-align: left;
  font-weight: 800;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(212,175,55,0.25);
  white-space: nowrap;
}

.events-table td{
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
}

.events-table tbody tr:hover{
  background: rgba(212,175,55,0.06);
}

.events-table td:first-child{
  color: rgba(255,255,255,0.95);
  font-weight: 700;
}

.events-note{
  margin-top: 12px;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
}

/* Monthly tags */
.event-tags{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.event-tag{
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(212,175,55,0.22);
  background: rgba(0,0,0,0.22);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.event-tag strong{
  color: rgba(255,255,255,0.92);
  font-weight: 800;
}

.event-tag span{
  color: #d4af37;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 900px){
  .event-tags{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px){
  .event-tags{ grid-template-columns: 1fr; }
}

/* ========= EVENTS – mobile friendly ========= */

/* 1) Table wrapper (už máš table-scroll, jen doplníme spacing) */
.table-scroll{
  margin-top: 10px;
  border-radius: 14px;
}

/* 2) Events table desktop/tablet */
.events-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 760px; /* na mobilu zůstane swipe */
}

/* 3) MOBILE: tabulka se změní na karty (lepší než swipe) */
@media (max-width: 680px){

  /* vypneme sticky header a tabulku rozsekáme na bloky */
  .events-table{
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 10px; /* mezera mezi “kartami” */
  }

  .events-table thead{
    display: none; /* na mobilu nepotřebujeme hlavičku */
  }

  .events-table,
  .events-table tbody,
  .events-table tr,
  .events-table td{
    display: block;
    width: 100%;
  }

  .events-table tr{
    background: rgba(0,0,0,0.22);
    border: 1px solid rgba(212,175,55,0.22);
    border-radius: 14px;
    overflow: hidden;
  }

  .events-table td{
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    white-space: normal; /* ať se text zalamuje */
  }
  .events-table td:last-child{
    border-bottom: none;
  }

  /* popisky před hodnotou (Day / Event / Time) */
  .events-table td:nth-child(1)::before{
    content: "Day";
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 4px;
  }
  .events-table td:nth-child(2)::before{
    content: "Event";
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 4px;
  }
  .events-table td:nth-child(3)::before{
    content: "Time";
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 4px;
  }

  /* malý highlight času */
  .events-table td:nth-child(3){
    color: rgba(255,255,255,0.92);
    font-weight: 700;
  }

  /* wrapper už není potřeba scrollovat */
  .table-scroll{
    overflow: visible;
    border: none;
    background: transparent;
  }
}

/* 4) Monthly tags už jsou responsive, jen trochu zmenšíme text na mobil */
@media (max-width: 520px){
  .event-tag{
    padding: 11px 12px;
  }
  .event-tag span{
    font-size: 0.92rem;
  }
}

.events-table thead th{
  text-align: center;
}

/* ===== FINAL CTA ===== */
.final-cta{
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.75),
    rgba(0,0,0,0.95)
  );
  border-top: 1px solid rgba(212,175,55,0.25);
  padding: 70px 20px 80px;
  text-align: center;
}

.final-cta h2{
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.final-cta p{
  color: rgba(255,255,255,0.75);
  margin-bottom: 28px;
  font-size: 1rem;
}

.final-cta-buttons{
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,0.35);
  transition: 0.3s;
  min-width: 180px;
  justify-content: center;
}

.cta-btn i{
  font-size: 1.3rem;
}

/* Discord */
.cta-btn.discord{
  background: rgba(88,101,242,0.18);
  color: #cfd5ff;
}
.cta-btn.discord:hover{
  background: rgba(88,101,242,0.35);
  box-shadow: 0 0 25px rgba(88,101,242,0.45);
}

/* Facebook */
.cta-btn.facebook{
  background: rgba(24,119,242,0.18);
  color: #d2e3ff;
}
.cta-btn.facebook:hover{
  background: rgba(24,119,242,0.35);
  box-shadow: 0 0 25px rgba(24,119,242,0.45);
}

/* Mobile */
@media (max-width: 600px){
  .final-cta h2{
    font-size: 1.8rem;
  }
  .cta-btn{
    width: 100%;
    max-width: 320px;
  }
}

