/* ======== PIXELOVÉ PÍSMO ======== */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

/* ======== ZÁKLAD ======== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #0b0b0b;
  color: #f5f5f5;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ======== POZADIE HVIEZD ======== */
#stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background: transparent;

}

body, header, section, footer {
  position: relative;
  z-index: 1;
}

/* ======== HLAVIČKA ======== */
header {
  width: 100%;
  border-bottom: 1px solid #222;
  background: rgba(11, 11, 11, 0.9);
  backdrop-filter: blur(5px);
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 1.2rem 2rem;
  gap: 3rem;
}

.logo img {
  height: 50px;
}

/* ======== NAVIGÁCIA ======== */
nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  letter-spacing: 1px;
  transition: color 0.3s;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.7rem;
}

nav a:hover {
  color: #ff4444;
}


/* ======== HERO ======== */
.hero {
  text-align: center;
  padding: 2rem 1rem; /* znížené z pôvodných 8rem */
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(to bottom right, rgba(11,11,11,0.9), rgba(20,20,20,0.8));
}
.glow-logo {
  display: block;
  margin: 0 auto 1rem auto;
  width: 340px; /* logo zostáva veľké */
  max-width: 90%; /* aby bolo responsive */
  filter: drop-shadow(0 0 6px #ff4444);
  transition: filter 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  animation: slowPulse 3s ease-in-out infinite;
}

.hero h1 {
  font-family: 'Press Start 2P', monospace;
  font-size: 2rem;
  color: #e7e7e7;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
}

.hero p {
  max-width: 700px;
  margin: 0 auto;
  color: #bbb;
  font-size: 1rem;
}

/* ======== O NÁS ======== */
.about {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.about h2 {
  font-family: 'Press Start 2P', monospace;
  text-align: center;
  font-size: 1.2rem;
  color: #d9d9d9;
}

.team {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

/* ======== ČLEN TÍMU ======== */
.member {
  background: #1a1a1a;
  padding: 1.5rem;
  border-radius: 1rem;
  width: 220px;
  text-align: center;
  transition: transform 0.3s, background 0.3s, filter 0.2s ease;
  cursor: pointer;
}

.member:hover {
  transform: scale(1.05);
  background: #222;
  filter: brightness(1.15);
}

.member img {
  width: 100%;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.member h3 {
  font-family: 'Press Start 2P', monospace;
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
}

.member p {
  color: #aaa;
  font-size: 0.9rem;
}

/* ======== O HRE ======== */
.game-info {
  max-width: 900px;
  margin: 0 auto;
  padding: 6rem 2rem;
  text-align: center;
  
}

.game-info h1 {
  font-family: 'Press Start 2P', monospace;
  font-size: 2rem;
  color: #000000;
  text-shadow: 0 0 10px #ffffff, 0 0 25px #ffffff;
  letter-spacing: 2px;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
}

.game-info p {
  color: #cfcfcf;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  text-shadow: 0 0 5px rgba(0,255,255,0.3);
}


.gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.gallery img {
  width: 300px;
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* ======== STRETNUTIA ======== */
.meetings {
  max-width: 900px;
  margin: 0 auto;
  padding: 6rem 2rem;
  text-align: center;
}

.meetings h1 {
  font-family: 'Press Start 2P', monospace;
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 2rem;
}

.meetings ul {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}

.meetings li {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 1rem;
  background: #1a1a1a;
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 1rem;
  transition: background 0.3s, transform 0.3s;
}

.meetings li:hover {
  background: #222;
  transform: translateY(-3px);
}

/* ======== MODÁLNE OKNO ======== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(3px);
  z-index: 1000;
}

.hidden {
  display: none;
}

.modal-content {
  background: rgba(20, 20, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  max-width: 400px;
  color: white;
  position: relative;
  animation: fadeIn 0.3s ease;
}

.modal-content img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 1rem;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

#close-modal {
  position: absolute;
  top: 0.5rem;
  right: 0.8rem;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

#close-modal:hover {
  color: #ff4d4d;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* ======== FOOTER ======== */
footer {
  text-align: center;
  padding: 1.5rem;
  border-top: 1px solid #333;
  color: #888;
  margin-top: auto;
  font-size: 0.8rem;
}

/* ======== RESPONZIVITA ======== */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 1rem;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .hero h1 {
    font-size: 1.3rem;
  }

  .member {
    width: 100%;
    max-width: 300px;
  }

  .gallery img {
    width: 100%;
    max-width: 320px;
  }
}

/* ======== DOKUMENTY ======== */
.docs {
  max-width: 900px;
  margin: 0 auto;
  padding: 6rem 2rem;
  text-align: center;
}

.docs h1 {
  font-family: 'Press Start 2P', monospace;
  font-size: 1.5rem;
  color: #ff4444;
  margin-bottom: 2rem;
}

.docs p {
  color: #bbb;
  font-size: 1rem;
  margin-bottom: 3rem;
}

.files {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.files a {
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  background: #1a1a1a;
  padding: 1rem 2rem;
  border-radius: 1rem;
  transition: background 0.3s, transform 0.3s;
  font-family: 'Press Start 2P', monospace;
}

.files a:hover {
  background: #222;
  transform: scale(1.05);
  color: #ff4444;
}
/* ======== ARKÁDOVÝ EFEKT LOG ======== */
.glow-logo {
  display: block;
  margin: 0 auto 2rem auto;
  width: 340px;
  filter: drop-shadow(0 0 6px #ffffff);
  transition: filter 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  animation: slowPulse 3s ease-in-out infinite;
}

.glow-logo:hover {
  filter: drop-shadow(0 0 15px #ffffff) brightness(1.3);
  transform: scale(1.05);
}

/* efekt aj pre malé logo v hlavičke */
.logo img {
  transition: filter 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.logo img:hover {
  filter: drop-shadow(0 0 10px #ffffff) brightness(1.2);
  transform: rotate(-3deg) scale(1.05);
}

/* jemné dýchanie svetla */
@keyframes slowPulse {
  0%, 100% {
    filter: drop-shadow(0 0 6px #f2f2f2);
  }
  50% {
    filter: drop-shadow(0 0 14px #000000);
  }
}
/* ======== SPOLOČNÁ FOTKA TÍMU ======== */
.team-photo {
  margin-top: 4rem;
  text-align: center;
  position: relative;
}

.team-photo img {
  width: 85%;
  max-width: 900px;
  border-radius: 12px;
  border: 2px solid #ffffff;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
  image-rendering: pixelated; /* jemný retro look */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: photoPulse 3s ease-in-out infinite;
}

.team-photo img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
}

    /* ======== HARMONOGRAM ======== */
    .timeline {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2rem;
      margin: 6rem auto;
      width: 1100px;
      padding: 2rem;
      background: rgba(20, 20, 40, 0.4);
      border-radius: 20px;
      box-shadow: 0 0 30px rgba(0,255,255,0.1);
      backdrop-filter: blur(5px);
    }

    .timeline h1 {
      font-family: 'Press Start 2P', monospace;
      color: #ffffff;
      font-size: 1.5rem;
      text-align: center;
      text-shadow: 0 0 15px #fcfcfc;
      margin-bottom: 1.5rem;
    }

    .timeline-item {
      width: 100%;
      padding: 1.5rem;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(0, 0, 0, 0.2);
      border-radius: 15px;
      text-align: center;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .timeline-item:hover {
      background: rgb(0, 0, 0);
      transform: scale(1.03);
      box-shadow: 0 0 15px rgb(0, 0, 0);
    }

    .timeline-item h3 {
      font-family: 'Press Start 2P', monospace;
      color: #ffffff;
      font-size: 1rem;
      margin-bottom: 0.8rem;
    }

    .timeline-item p {
      color: #ccc;
      font-size: 0.9rem;
    }

    /* MODÁL */
    .modal-content {
      text-align: left;
      padding: 2rem;
    }
    .modal-content h2 {
      font-family: 'Press Start 2P', monospace;
      color: #ffffff;
      font-size: 1.2rem;
      margin-bottom: 1rem;
    }
    strong {
  color: #ff4444; /* alebo iný odtieň červenej podľa potreby */
}


