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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: white;
  padding: 15px 0;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.btn-accept {
  background: #ffd700;
  color: #1e3c72;
  border: none;
  padding: 8px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-accept:hover {
  background: #ffed4e;
  transform: translateY(-2px);
}

.btn-learn-more {
  color: white;
  text-decoration: underline;
  padding: 8px 15px;
  transition: color 0.3s ease;
}

.btn-learn-more:hover {
  color: #ffd700;
}

/* Header */
.header {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: white;
  padding: 1rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: bold;
}

.logo i {
  font-size: 2rem;
  color: #ffd700;
}

.nav {
  display: flex;
  gap: 30px;
}

.nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #ffd700;
}

.auth-buttons {
  display: flex;
  gap: 15px;
}

.btn-primary,
.btn-secondary {
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #1e3c72;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: #1e3c72;
}

.license-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  margin-top: 10px;
  color: #ffd700;
}

.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: white;
  padding: 150px 0 80px;
  text-align: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta-section {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.btn-cta {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #1e3c72;
  padding: 15px 40px;
  border-radius: 30px;
  font-size: 1.2rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.btn-secondary-large {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 15px 40px;
  border-radius: 30px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-secondary-large:hover {
  background: white;
  color: #1e3c72;
  transform: translateY(-3px);
}

/* Countdown Timer */
.countdown-timer {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 15px;
  display: inline-block;
  backdrop-filter: blur(10px);
}

.timer-label {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #ffd700;
}

.timer-display {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.time-unit {
  text-align: center;
  padding: 15px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  min-width: 80px;
}

.time-unit span {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: #ffd700;
}

.time-unit label {
  font-size: 0.9rem;
  color: white;
  opacity: 0.8;
}

/* How It Works */
.how-it-works {
  padding: 80px 0;
  background: #f8f9fa;
}

.how-it-works h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: #1e3c72;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.step {
  text-align: center;
  padding: 40px 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
}

.step-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-icon i {
  font-size: 2rem;
  color: #ffd700;
}

.step h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #1e3c72;
}

.step p {
  color: #666;
  line-height: 1.6;
}

/* Trust & Security */
.trust-security {
  padding: 80px 0;
  background: white;
}

.trust-security h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: #1e3c72;
}

.trust-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 60px;
  align-items: start;
}

.trust-badges {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 15px;
  border-left: 5px solid #ffd700;
}

.badge i {
  font-size: 2.5rem;
  color: #1e3c72;
}

.badge h3 {
  color: #1e3c72;
  margin-bottom: 5px;
}

.badge p {
  color: #666;
  font-weight: 600;
}

.security-info {
  padding: 40px;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: white;
  border-radius: 15px;
}

.security-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #ffd700;
}

.security-info p {
  line-height: 1.8;
  margin-bottom: 20px;
}

.responsible-gambling {
  background: rgba(255, 215, 0, 0.1);
  padding: 20px;
  border-radius: 10px;
  border-left: 4px solid #ffd700;
}

.responsible-gambling p {
  margin: 0;
  font-weight: 600;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  color: #ffd700;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.footer-logo i {
  font-size: 2rem;
  color: #ffd700;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: #333;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #ffd700;
  color: #1a1a1a;
  transform: translateY(-2px);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #ffd700;
}

.footer-section ul li i {
  width: 20px;
  color: #ffd700;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.company-info p {
  margin: 5px 0;
  color: #ccc;
}

.age-restriction p {
  color: #ffd700;
  font-weight: bold;
}

/* Popups */
.popup {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.popup-content {
  background: white;
  margin: 5% auto;
  padding: 40px;
  border-radius: 15px;
  width: 90%;
  max-width: 600px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  animation: popupSlide 0.3s ease;
}

@keyframes popupSlide {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 20px;
}

.close:hover {
  color: #1e3c72;
}

.popup-content h2 {
  color: #1e3c72;
  margin-bottom: 30px;
  font-size: 2rem;
}

/* Forms */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1e3c72;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.form-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.forgot-password,
.auth-switch a {
  color: #1e3c72;
  text-decoration: none;
  font-weight: 600;
}

.forgot-password:hover,
.auth-switch a:hover {
  text-decoration: underline;
}

.auth-switch {
  text-align: center;
  margin-top: 20px;
}

/* Contact Content */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info h3 {
  color: #1e3c72;
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-item i {
  color: #1e3c72;
  font-size: 1.2rem;
  width: 20px;
  margin-top: 2px;
}

/* Results Content */
.results-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.result-item {
  padding: 25px;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 5px solid #1e3c72;
}

.result-item h3 {
  color: #1e3c72;
  margin-bottom: 15px;
}

.winning-numbers {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.number {
  width: 40px;
  height: 40px;
  background: #1e3c72;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.number.special {
  background: #ffd700;
  color: #1e3c72;
}

.results-note {
  text-align: center;
  color: #666;
  font-style: italic;
  padding: 20px;
  background: #f0f8ff;
  border-radius: 8px;
}

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

  .nav {
    display: none;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

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

  .time-unit {
    min-width: 60px;
    padding: 10px;
  }

  .time-unit span {
    font-size: 1.5rem;
  }

  .cta-section {
    flex-direction: column;
    align-items: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .trust-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

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

  .winning-numbers {
    justify-content: center;
  }

  .steps {
    grid-template-columns: 1fr;
  }
}
