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

:root {
  /* Brand Colors */
  --primary-blue: #1e3a8a;
  --primary-yellow: #fde047;
  --secondary-blue: #3b82f6;
  --dark-blue: #0f172a;
  --light-yellow: #fef3c7;
  --white: #ffffff;
  --text-dark: #1e293b;
  --text-light: #475569;
  --border-color: #e2e8f0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--primary-blue);
  font-weight: 700;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

a {
  text-decoration: none;
  color: var(--primary-blue);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-yellow);
}

/* Header & Navigation */
header {
  background: var(--primary-blue);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary-yellow);
  font-size: 1.5rem;
  font-weight: 700;
}

/* Updated logo styling to accommodate actual logo image */
.logo-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--primary-yellow);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-yellow);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary-yellow);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 50%, var(--primary-yellow) 100%);
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 50px,
    rgba(255, 255, 255, 0.05) 50px,
    rgba(255, 255, 255, 0.05) 52px
  );
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  animation: fadeIn 1s ease;
}

.hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary-yellow);
  color: var(--primary-blue);
  box-shadow: 0 4px 15px rgba(253, 224, 71, 0.4);
}

.btn-primary:hover {
  background: #facc15;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(253, 224, 71, 0.6);
  animation: pulse 1s infinite;
}

.btn-secondary {
  background: var(--primary-blue);
  color: var(--primary-yellow);
  border: 2px solid var(--primary-yellow);
}

.btn-secondary:hover {
  background: var(--dark-blue);
  transform: translateY(-2px);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section {
  margin-bottom: 4rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--primary-yellow);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: var(--white);
  border: 2px solid var(--primary-blue);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-yellow);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(30, 58, 138, 0.2);
}

.card h3 {
  margin-bottom: 1rem;
}

.card p {
  color: var(--text-light);
}

/* Badge */
.badge {
  display: inline-block;
  background: var(--primary-blue);
  color: var(--primary-yellow);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Countdown Timer */
.countdown {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.countdown-box {
  background: var(--primary-blue);
  color: var(--primary-yellow);
  padding: 2rem;
  border-radius: 12px;
  min-width: 120px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.countdown-number {
  font-size: 3rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}

.countdown-label {
  font-size: 0.875rem;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Info Cards for Lottery */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.info-card {
  background: var(--white);
  border: 3px solid var(--primary-blue);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: var(--primary-yellow);
  border-radius: 0 12px 0 100%;
}

.info-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.2);
}

.info-card h3 {
  font-size: 2rem;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.info-card p {
  color: var(--text-light);
  font-weight: 500;
}

/* Checkmark List */
.checkmark-list {
  list-style: none;
  margin: 2rem 0;
}

.checkmark-list li {
  padding: 1rem 1rem 1rem 3rem;
  position: relative;
  margin-bottom: 1rem;
  background: var(--light-yellow);
  border-left: 4px solid var(--primary-blue);
  border-radius: 4px;
}

.checkmark-list li::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-blue);
  font-weight: 900;
  font-size: 1.25rem;
}

/* Legal Info Box */
.legal-box {
  background: var(--light-yellow);
  border: 2px solid var(--primary-blue);
  border-radius: 12px;
  padding: 2rem;
  margin: 3rem 0;
}

.legal-box h3 {
  margin-bottom: 1.5rem;
}

.legal-box ul {
  list-style: none;
  padding-left: 0;
}

.legal-box li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.legal-box li:last-child {
  border-bottom: none;
}

/* Forms */
form {
  max-width: 600px;
  margin: 2rem auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(253, 224, 71, 0.3);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

/* Map */
.map-container {
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* Footer */
footer {
  background: var(--primary-blue);
  color: var(--primary-yellow);
  padding: 3rem 2rem 1.5rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--primary-yellow);
  margin-bottom: 1.5rem;
}

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

.footer-section li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: var(--white);
}

.footer-section a:hover {
  color: var(--primary-yellow);
}

.footer-divider {
  height: 2px;
  background: var(--primary-yellow);
  margin: 2rem 0;
  opacity: 0.3;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(253, 224, 71, 0.2);
  color: var(--white);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 6px 20px rgba(253, 224, 71, 0.6);
  }
  50% {
    box-shadow: 0 6px 30px rgba(253, 224, 71, 0.9);
  }
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-blue);
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }

  .nav-links.active {
    display: flex;
  }

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

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

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .countdown {
    gap: 1rem;
  }

  .countdown-box {
    min-width: 100px;
    padding: 1.5rem 1rem;
  }

  .countdown-number {
    font-size: 2rem;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 4rem;
}

.mb-4 {
  margin-bottom: 4rem;
}

.bg-light-yellow {
  background: var(--light-yellow);
}

.bg-gradient {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 50%, var(--primary-yellow) 100%);
}
