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

:root {
  --primary: #1e40af;
  --primary-dark: #1e3a8a;
  --secondary: #f59e0b;
  --secondary-dark: #d97706;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-light: #f9fafb;
  --border: #e5e7eb;
  --success: #10b981;
  --error: #ef4444;
  --radius: 8px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-light);
}

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

/* Header */
header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

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

.btn {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: var(--secondary);
  color: white;
}

.btn-secondary:hover {
  background: var(--secondary-dark);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
}

/* Jackpots */
.jackpots {
  padding: 4rem 0;
}

.jackpots h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--text);
}

.jackpot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.jackpot-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
  text-align: center;
}

.jackpot-card:hover {
  transform: translateY(-4px);
}

.jackpot-card h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.jackpot-amount {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--secondary);
  margin: 1rem 0;
}

.jackpot-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* How It Works */
.how-it-works {
  background: var(--bg);
  padding: 4rem 0;
}

.how-it-works h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

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

.step {
  text-align: center;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1rem;
}

.step h3 {
  margin-bottom: 0.5rem;
  color: var(--text);
}

/* Numbers Display */
.numbers-section {
  padding: 4rem 0;
}

.numbers-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.game-results {
  display: grid;
  gap: 2rem;
}

.result-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.result-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.draw-info {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.numbers {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.number {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.125rem;
}

.number.special {
  background: var(--secondary);
}

.number.small {
  width: 40px;
  height: 40px;
  font-size: 1rem;
}

/* Number Selector */
.number-selector {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2rem 0;
}

.number-selector h3 {
  margin-bottom: 1rem;
  color: var(--text);
}

.number-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.number-btn {
  width: 50px;
  height: 50px;
  border: 2px solid var(--border);
  background: var(--bg);
  border-radius: 50%;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
}

.number-btn:hover {
  border-color: var(--primary);
  background: var(--bg-light);
}

.number-btn.selected {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.number-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Play Options */
.play-options {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2rem 0;
}

.option-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.option-row label {
  font-weight: 600;
  color: var(--text);
}

.option-row select,
.option-row input {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
}

/* Price Summary */
.price-summary {
  background: var(--bg);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}

.price-summary h3 {
  margin-bottom: 1rem;
}

.price {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary);
  margin: 1rem 0;
}

/* Forms */
.form-container {
  max-width: 500px;
  margin: 2rem auto;
  background: var(--bg);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

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

.error-message {
  color: var(--error);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: none;
}

.error-message.show {
  display: block;
}

/* Legal Content */
.legal-content {
  background: var(--bg);
  padding: 3rem;
  border-radius: var(--radius);
  margin: 2rem 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.legal-content h1 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.legal-content h2 {
  color: var(--text);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content p,
.legal-content ul {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.legal-content ul {
  padding-left: 2rem;
}

/* Footer */
footer {
  background: var(--text);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

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

.footer-section h3 {
  margin-bottom: 1rem;
}

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

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: white;
}

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

.page-header {
  background: var(--primary);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

/* Alert Box */
.alert {
  padding: 1rem;
  border-radius: var(--radius);
  margin: 1rem 0;
}

.alert-info {
  background: #dbeafe;
  border-left: 4px solid var(--primary);
  color: var(--primary-dark);
}

.alert-warning {
  background: #fef3c7;
  border-left: 4px solid var(--secondary);
  color: #92400e;
}

/* Responsive */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
  }

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

  .trust-badges {
    flex-direction: column;
    gap: 1rem;
  }

  .number-grid {
    grid-template-columns: repeat(7, 1fr);
  }

  .option-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}
