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

body {
  font-family: 'Poppins', sans-serif;
  background: #1b1c27;
  color: white;
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.header {
  text-align: center;
  margin-bottom: 50px;
}

.brand-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: url('logo.png') center/contain no-repeat;
}

.header h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #ffc200, #ffeb3b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 15px rgba(255, 235, 59, 0.4);
  filter: drop-shadow(0 0 8px rgba(255, 194, 0, 0.3));
  text-transform: uppercase;
}

.header p {
  font-size: 1.2rem;
  color: #a0a0a0;
  margin-bottom: 20px;
}

.nav-bar {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Updated Desktop Navigation Layout */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 4px 0;
  justify-content: space-between;
  width: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  margin-left: 20px;
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  height: 64px;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
  margin-right: 10px;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #ffc200;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffc200;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Login Button Styles */
.btn-login {
  padding: 8px 16px;
  background: transparent;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-login:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Sign Up Button Styles */
.btn-signup {
  padding: 8px 16px;
  background: #ffc200;
  color: #0d0d0d;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid #ffc200;
}

.btn-signup:hover {
  background: #ffeb3b;
  transform: translateY(-1px);
}

.mobile-menu {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
}

.mobile-logo {
  height: 64px;
  width: auto;
  border-radius: 8px;
  object-fit: contain;
}

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.3s ease;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger:hover span {
  background: #ffc200;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  display: none;
  z-index: 1000;
}

.mobile-nav-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
}

.mobile-nav-link {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.5rem;
  transition: color 0.3s ease;
  padding: 15px 30px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.mobile-nav-link:hover {
  color: #ffc200;
  background: rgba(255, 194, 0, 0.1);
}

.title-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
  max-height: 150px;
}

.results-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  margin-top: 50px;
  margin-bottom: 50px;
  flex-wrap: nowrap;
  width: 100vw;
  max-width: none;
  margin-left: calc(-50vw + 50%);
}

.results-modal-container {
  max-width: 420px;
  width: 100%;
  flex-shrink: 0;
  position: relative;
  z-index: 5;
}

.hero {
  width: 350px;
  height: auto;
  border-radius: 10px;
  flex-shrink: 0;
}

.hero-left {
  margin-top: 60px;
}

.hero-right {
  margin-top: 60px;
  position: relative;
  z-index: 10;
  margin-left: -20px;
}

.hero-right .hero {
  width: 350px !important;
  height: 400px !important;
  object-fit: fill !important;
}

.results-container {
  margin-bottom: 50px;
}

.results-grid {
  display: flex;
  justify-content: center;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 25px;
  width: 100%;
  max-width: 100%;
  flex: unset;
}

.week-card {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 15px;
  padding: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.week-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 194, 0, 0.2);
  border-color: rgba(255, 194, 0, 0.3);
}

.week-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.week-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffc200;
  margin-bottom: 5px;
}

.week-date {
  font-size: 0.9rem;
  color: #a0a0a0;
}

.week-stats {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 194, 0, 0.1);
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid rgba(255, 194, 0, 0.3);
}

.stat-item span:first-child {
  font-size: 1.2rem;
}

.stat-item span:last-child {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffc200;
}

.button-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, #ffc200, #ffeb3b);
  color: #0d0d0d;
  box-shadow: 0 4px 15px rgba(255, 194, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 194, 0, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffc200;
}

.winners-list {
  margin-top: 15px;
  padding: 15px;
  background: rgba(255, 194, 0, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(255, 194, 0, 0.2);
  display: none;
}

.winners-list.show {
  display: block;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.winners-title {
  font-size: 1rem;
  font-weight: 600;
  color: #ffc200;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.winners-title::before {
  content: '';
  width: 16px;
  height: 16px;
  background: url('win.png') center/contain no-repeat;
}

.winners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmin(120px, 1fr));
  gap: 8px;
}

.winner-item {
  background: rgba(0, 0, 0, 0.3);
  padding: 10px 12px;
  border-radius: 6px;
  text-align: left;
  font-size: 0.85rem;
  color: white;
  border: 1px solid rgba(255, 194, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
}

.winner-number {
  background: #ffc200;
  color: #0d0d0d;
  border-radius: 20px; /* Changed from 50% to make it oval */
  min-width: 35px; /* Increased from 20px */
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem; /* Slightly smaller font */
  font-weight: 700;
  flex-shrink: 0;
  padding: 0 4px; /* Add some padding for longer text */
}

.winner-name {
  flex: 1;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background: rgba(26, 26, 46, 0.95);
  margin: 5% auto;
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 800px;
  border: 1px solid rgba(255, 194, 0, 0.3);
}

.close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #ffc200;
}

#modalVideo {
  border-radius: 10px;
  background: #000;
}

/* Disclaimer Styles */
.disclaimer {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  margin-top: 30px;
  text-align: center;
}

.disclaimer h4 {
  color: #ffc200;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.disclaimer p {
  color: #a0a0a0;
  font-size: 0.75rem;
  line-height: 1.4;
  max-width: 800px;
  margin: 0 auto;
}

/* Footer */
.footer {
  text-align: center;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #a0a0a0;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .nav-buttons {
    display: none;
  }

  .mobile-menu {
    display: flex;
  }

  .title-image {
    max-height: 80px;
    max-width: 90%;
    margin-bottom: 10px;
  }

  .header h1 {
    font-size: 2.2rem;
  }

  .results-wrapper {
    flex-direction: column;
    align-items: center;
    width: 100% !important;
    margin-left: 0 !important;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .hero {
    display: none;
  }

  .results-modal-container {
    max-width: none;
    width: 100%;
  }

  .week-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .week-stats {
    flex-direction: column;
    gap: 10px;
  }

  .button-group {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
  }

  .modal-content {
    margin: 10% auto;
    width: 95%;
    padding: 20px;
  }

  .disclaimer {
    padding: 15px 10px;
  }

  .disclaimer p {
    font-size: 0.7rem;
  }
}