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

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a237e;
  color: white;
  padding: 15px 0;
  z-index: 1001;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

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

.cookie-banner .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.cookie-banner p {
  margin: 0;
  flex: 1;
}

.cookie-banner a {
  color: #ffd700;
  text-decoration: underline;
}

/* Header */
.header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  color: #1a237e;
}

.logo i {
  font-size: 32px;
  color: #ffd700;
}

.license-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #e8f5e8;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #2e7d32;
}

.flag {
  width: 24px;
  height: auto;
}

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

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #1a237e;
}

.nav-actions {
  display: flex;
  gap: 15px;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Buttons */
.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0d1254 0%, #2c387e 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 35, 126, 0.3);
}

.btn-outline {
  background: transparent;
  color: #1a237e;
  border: 2px solid #1a237e;
}

.btn-outline:hover {
  background: #1a237e;
  color: white;
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

.btn-full {
  width: 100%;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1a237e 0%, #3949ab 50%, #5c6bc0 100%);
  color: white;
  padding: 120px 0 80px;
  text-align: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.countdown-timer {
  margin: 40px 0 50px;
}

.countdown-timer h4 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

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

.time-unit {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  min-width: 80px;
}

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

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

.hero-actions {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

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

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

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

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

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

.step-icon i {
  font-size: 32px;
  color: #1a237e;
}

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

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

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

.section-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.trust-info h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a237e;
  margin-bottom: 20px;
}

.trust-info p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.8;
}

.credentials {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 15px;
  margin-bottom: 30px;
}

.credential {
  padding: 8px 0;
  font-size: 1rem;
  color: #333;
}

.credential strong {
  color: #1a237e;
  font-weight: 600;
}

.security-badges {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #e8f5e8;
  padding: 12px 20px;
  border-radius: 25px;
  color: #2e7d32;
  font-weight: 600;
}

.badge i {
  font-size: 18px;
}

.responsible-gambling {
  background: #fff3e0;
  padding: 40px;
  border-radius: 20px;
  border-left: 5px solid #ff9800;
}

.responsible-gambling h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #e65100;
  margin-bottom: 15px;
}

.responsible-gambling p {
  color: #666;
  margin-bottom: 20px;
}

.responsible-gambling ul {
  list-style: none;
  margin-bottom: 25px;
}

.responsible-gambling li {
  padding: 8px 0;
  color: #666;
  position: relative;
  padding-left: 25px;
}

.responsible-gambling li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4caf50;
  font-weight: bold;
}

.help-link {
  display: inline-block;
  background: #e65100;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.help-link:hover {
  background: #bf360c;
}

/* Footer */
.footer {
  background: #1a237e;
  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 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffd700;
}

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

.footer-section li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

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

.footer-brand p {
  color: #ccc;
  margin-top: 15px;
}

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

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  font-size: 18px;
  transition: all 0.3s ease;
}

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

.responsible-gambling-footer {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 10px;
  text-align: center;
}

.responsible-gambling-footer p {
  margin: 0 0 10px;
  color: #ffcdd2;
}

.responsible-gambling-footer a {
  color: #ffd700;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  color: #ccc;
}

/* Popups */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background: white;
  border-radius: 20px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 30px 20px;
  border-bottom: 1px solid #eee;
}

.popup-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a237e;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-btn:hover {
  background: #f5f5f5;
  color: #333;
}

.popup-form {
  padding: 30px;
}

.form-group {
  margin-bottom: 20px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.checkbox-group label {
  margin: 0;
  font-weight: 400;
  line-height: 1.5;
}

.form-links {
  text-align: center;
  margin-top: 20px;
}

.form-links a {
  color: #1a237e;
  text-decoration: none;
  font-weight: 600;
}

.form-links a:hover {
  text-decoration: underline;
}

.forgot-password {
  display: block;
  margin-bottom: 15px;
}

/* Contact Info */
.contact-info {
  padding: 20px 30px;
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
}

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

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item i {
  width: 40px;
  height: 40px;
  background: #1a237e;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  color: #1a237e;
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-item p {
  margin: 0;
  color: #666;
}

/* Results Content */
.results-content {
  padding: 30px;
}

.result-item {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 15px;
  margin-bottom: 25px;
}

.result-item:last-child {
  margin-bottom: 0;
}

.result-item h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a237e;
  margin-bottom: 5px;
}

.draw-date {
  color: #666;
  margin-bottom: 20px;
}

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

.number,
.powerball,
.supplement {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
}

.number {
  background: #1a237e;
}

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

  .mobile-menu-toggle {
    display: flex;
  }

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

  .timer {
    gap: 15px;
  }

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

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

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 300px;
  }

  .section-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .popup-content {
    margin: 20px;
    max-width: calc(100% - 40px);
  }

  .popup-header,
  .popup-form,
  .contact-info,
  .results-content {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 100px 0 60px;
  }

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

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .how-it-works,
  .trust-security {
    padding: 60px 0;
  }

  .how-it-works h2,
  .trust-info h2 {
    font-size: 2rem;
  }
}
