/* Universal Box-Sizing */
* {
  box-sizing: border-box;
}

/* Global user icon styling */
.user-icon-container {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1000;
}

.user-icon-container img {
  width: 40px;
  height: 40px;
  cursor: pointer;
}

/* Body Styles */
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: #1a1a1a;
  color: #ffffff;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Footer Styles */
footer {
  background-color: transparent;
  text-align: center;
  position: absolute;
  width: 100%;
  bottom: 0;
  z-index: 10;
  height: 100px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content p {
  color: #ffffff;
}

.social-media a {
  margin: 0 10px;
}

.social-media img {
  width: 30px;
}

/* Navigation Bar Styles */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background-color: transparent;
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 1000;
}

nav .nav-left {
  display: flex;
  align-items: center;
}

nav .nav-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

nav .logo {
  width: 50px;
  margin-right: 10px;
}

nav .site-name {
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
}

nav .nav-right a {
  margin: 0 8px;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  white-space: nowrap;
}

nav .nav-right a.active {
  border-bottom: 2px solid #3EE0F5;
}

nav .icon {
  width: 24px;
  height: 24px;
  margin-left: 15px;
}

nav .icon img {
  width: 100%;
  height: 100%;
}

.nav-link.active {
  text-decoration: underline;
  color: #007BFF;
}

@media (max-width: 1200px) {
  nav .nav-right a {
    font-size: 12px;
    margin: 0 4px;
  }
}

@media (max-width: 992px) {
  nav .nav-right a {
    font-size: 11px;
    margin: 0 3px;
  }
}

@media (max-width: 768px) {
  nav .nav-right {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  nav .nav-right a {
    margin: 5px 10px;
    font-size: 12px;
  }
  nav .icon {
    margin-left: 10px;
  }
}

/* Carousel Styles */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.slide {
  min-width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.slide-background {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.card {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  padding: 20px;
  border-radius: 10px;
  color: #ffffff;
  width: 30%;
  max-width: 400px;
}

a.play-button {
  display: inline-block;
  padding: 8px 16px;
  background-color: #3EE0F5;
  border: none;
  color: #ffffff;
  cursor: pointer;
  border-radius: 5px;
  text-transform: uppercase;
  font-size: 14px;
  text-decoration: none;
}

a.play-button:hover {
  background-color: #2bb3d9;
}

/* Dots for Carousel */
.carousel-dots {
  text-align: center;
  margin-top: 20px;
  position: absolute;
  width: 100%;
  bottom: 120px; /* Adjusted to fit the arrows */
}

.dot {
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #3EE0F5;
}

.dot:hover {
  background-color: #2bb3d9;
}

/* Arrow Navigation for Carousel */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #ffffff;
  text-decoration: none;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1000;
}

.carousel-arrow.left-arrow {
  left: 10px;
}

.carousel-arrow.right-arrow {
  right: 10px;
}

.carousel-arrow:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

/* Modal Styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
}

.modal-content {
  background-color: #000000;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #3EE0F5;
  width: 300px;
  border-radius: 10px;
  color: #FFFFFF;
}

.close {
  color: #FFFFFF;
  float: right;
  font-size: 28px;
  cursor: pointer;
}

.close:hover {
  color: #3EE0F5;
}

.modal-content input {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  background-color: #1a1a1a;
  border: none;
  color: #FFFFFF;
  border-bottom: 1px solid #3EE0F5;
}

.modal-content button {
  width: 100%;
  padding: 10px;
  background-color: #3EE0F5;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  border-radius: 5px;
}

.modal-content button:hover {
  background-color: #2bb3d9;
}

.modal-content p {
  text-align: center;
}

.modal-content a {
  color: #3EE0F5;
  cursor: pointer;
}

/* Success Popup Styles */
#successPopup {
  display: none;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #28a745;
  color: white;
  padding: 15px 30px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 3000;
}

#successMessage {
  font-size: 16px;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .card {
    width: 80%;
    left: 10%;
  }
  .card h2 {
    font-size: 28px;
  }
  .card p {
    font-size: 12px;
  }
  .play-button {
    font-size: 12px;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  nav .site-name {
    display: none;
  }
  nav .nav-right a {
    font-size: 10px;
  }
  nav .icon {
    margin-left: 5px;
  }
  .carousel-arrow {
    font-size: 1.5rem;
  }
}