/* Reset and base styles */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #111;
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  width: 150px;
  height: 225px;
  border-radius: 10px;
  margin: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px #ff004c;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #000;
  padding: 10px 20px;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 10;
  flex-wrap: wrap;
}

.navbar img {
  height: 50px;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-links a {
  font-weight: bold;
}

.search-bar {
  padding: 6px 10px;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  outline: none;
}

/* Genre Dropdown */
.genre-dropdown {
  position: relative;
}

.genre-dropdown button {
  background-color: #111;
  color: #fff;
  border: 1px solid #444;
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
}

.genre-menu {
  display: none;
  position: absolute;
  top: 35px;
  left: 0;
  background-color: #222;
  border: 1px solid #444;
  padding: 10px;
  z-index: 100;
  border-radius: 8px;
  max-height: 300px;
  overflow-y: auto;
  width: 200px;
}

.genre-menu a {
  display: block;
  color: #fff;
  padding: 5px 0;
}

.genre-menu a:hover {
  color: #ff004c;
}

/* Banner */
.banner {
  height: 350px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.banner-content {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 12px;
  max-width: 500px;
}

#banner-title {
  font-size: 3rem;
  font-weight: bold;
  background-color: rgba(0,0,0,0.6);
  padding: 10px 20px;
  border-radius: 10px;
}

.banner-buttons {
  margin-top: 15px;
  display: flex;
  gap: 10px;
}

.banner-buttons button {
  background-color: #ff004c;
  border: none;
  padding: 10px 16px;
  border-radius: 20px;
  font-size: 14px;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease;
}

.banner-buttons button:hover {
  background-color: #ff3366;
}
.banner-wrapper {
  position: relative;
  
}

/* Rows */
.row {
  padding: 20px;
}

.row h2 {
  margin-bottom: 10px;
  font-size: 1.8rem;
  border-left: 5px solid #ff004c;
  padding-left: 10px;
}

 

/* Carousel container */
.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
}

.list {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 10px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.list img {
  scroll-snap-align: start;
}

/* Carousel arrows */
.carousel-btn {
  background-color: rgba(0,0,0,0.6);
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
  padding: 8px 12px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  border-radius: 50%;
  transition: background 0.3s;
}

.carousel-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.carousel-btn.left {
  left: 0;
}

.carousel-btn.right {
  right: 0;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 20;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #222;
  padding: 20px;
  max-width: 900px;
  width: 95%;
  border-radius: 10px;
  color: #fff;
  position: relative;
}

.modal-body {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.modal-body img {
  width: 250px;
  height: auto;
}

.modal-text {
  flex: 1;
}

.modal-text h2 {
  margin-top: 0;
}

.modal-text .stars {
  color: gold;
}

/* Server Selector */
.server-selector {
  margin-top: 20px;
}

iframe {
  margin-top: 20px;
  border-radius: 10px;
}

/* Search Modal */
.search-modal {
  display: none;
  position: fixed;
  z-index: 15;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 10, 10, 0.95);
  flex-direction: column;
  align-items: center;
  padding: 40px;
}

#search-input {
  width: 100%;
  max-width: 500px;
  padding: 10px 40px 10px 10px;
  font-size: 18px;
  margin-bottom: 20px;
  border-radius: 10px;
  border: none;
  outline: none;
  background-color: #222;
  color: #fff;
}

.results {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* Footer */
.footer {
  background-color: #000;
  padding: 20px;
  text-align: center;
  font-size: 14px;
}

.footer-content {
  max-width: 1000px;
  margin: auto;
  color: #aaa;
}

.footer-links {
  margin-top: 10px;
}

.footer-links a {
  margin: 0 10px;
  color: #aaa;
}

.footer-links a:hover {
  color: #fff;
}
.ad-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.ad-top {
  margin-top: 10px;
}

.ad-footer {
  margin-bottom: 20px;
}

.horizontal-ad-container {
  display: flex;
  justify-content: center;
  gap: 20px; /* space between the two ads */
  margin: 20px 0;
}

.ad-unit {
  width: 320px;
  height: 50px;
}



/* Neon Flickering Text */
@keyframes flickerRed {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    text-shadow: 0 0 2px #ff004c, 0 0 5px #ff004c, 0 0 10px #ff004c;
    opacity: 1;
  }
  20%, 24%, 55% {
    text-shadow: none;
    opacity: 0.5;
  }
}

@keyframes flickerCyan {
  0%, 18%, 22%, 26%, 50%, 80%, 100% {
    text-shadow: 0 0 2px #00f7ff, 0 0 5px #00f7ff, 0 0 10px #00f7ff;
    opacity: 1;
  }
  19%, 25%, 51% {
    text-shadow: none;
    opacity: 0.5;
  }
}

.kaelski {
  font-size: 1.4rem;
  color: #ff004c;
  font-weight: bold;
  animation: flickerRed 3s infinite;
}

.unitv {
  font-size: 1.1rem;
  color: #00f7ff;
  text-transform: uppercase;
  animation: flickerCyan 4s infinite;
  margin-top: 4px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.neon-title {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.neon-marquee-container {
  position: sticky;
  top: 60px; /* adjust depending on navbar height */
  background-color: #000;
  z-index: 9;
  padding: 10px 0;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
  text-align: center;
}

.neon-text {
  color: #00f7ff;
  font-size: 1.1rem;
  font-weight: bold;
  text-shadow:
    0 0 5px #00f7ff,
    0 0 10px #00f7ff,
    0 0 20px #00f7ff,
    0 0 40px #00f7ff;
  animation: flickerCyan 4s infinite;
}
.neon-watch-btn {
  background-color: #1eff00;
  color: #000;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  font-size: 16px;
  border-radius: 30px;
  cursor: pointer;
  text-shadow: 0 0 5px #baff91, 0 0 10px #baff91, 0 0 20px #1eff00;
  box-shadow: 0 0 10px #1eff00, 0 0 20px #1eff00, 0 0 40px #baff91;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.neon-watch-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px #1eff00, 0 0 30px #1eff00, 0 0 60px #baff91;
}



/* MOBILE DISPLAY - Retain Landscape Style */
@media (max-width: 768px) {
  .navbar {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
  }

  .nav-links {
    flex-direction: row;
    flex-wrap: nowrap;
    width: auto;
    margin-top: 0;
  }

  .nav-links a,
  .genre-dropdown,
  .search-bar {
    width: auto;
    text-align: center;
    margin: 0 5px;
  }

  .search-bar {
    margin: 0;
    padding: 6px 10px;
  }

  .genre-dropdown button {
    width: auto;
    text-align: center;
  }

  .banner {
    height: auto;
    flex-direction: row;
    align-items: flex-end;
  }

  #banner-title {
    font-size: 2rem;
    padding: 8px 16px;
  }
}
