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

html {
  scroll-behavior: smooth;
}

:root {
  --primary: #ff0055;
  --secondary: #ff3366;
  --dark-bg: #0a0a0a;
  --card-bg: #1a0a0f;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --orange: #ff0055;
  --success: #ff0055;
  --border-color: #3d1a24;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.header {
  background-color: var(--dark-bg);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.logo svg {
  width: 24px;
  height: 24px;
}

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

.nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

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

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 0 10px rgba(255, 0, 85, 0.5);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover {
  background-color: #ff1a66;
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(255, 0, 85, 0.8);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary:hover {
  border-color: var(--primary);
  background-color: rgba(255, 0, 85, 0.1);
  box-shadow: 0 0 10px rgba(255, 0, 85, 0.3);
}

.btn-large {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-full {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-white {
  background-color: white;
  color: var(--dark-bg);
  text-decoration: none;
}

.btn-white:hover {
  background-color: #f0f0f0;
}

.btn-white-orange {
  background-color: white;
  color: #000;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-white-orange:hover {
  background-color: #f0f0f0;
  transform: translateY(-1px);
}

.hero {
  padding: 40px 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(255, 0, 85, 0.1);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 11px;
  margin-bottom: 16px;
  box-shadow: 0 0 10px rgba(255, 0, 85, 0.3);
}

.badge svg {
  width: 12px;
  height: 12px;
}

.hero-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.highlight {
  color: var(--primary);
  text-shadow: 0 0 20px rgba(255, 0, 85, 0.6), 0 0 40px rgba(255, 0, 85, 0.3);
}

.hero-description {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 12px;
}

.trust-item svg {
  width: 16px;
  height: 16px;
}

.jackpot-card {
  background: linear-gradient(135deg, var(--card-bg) 0%, #2a0a15 100%);
  border: 1px solid var(--primary);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin-bottom: 12px;
  box-shadow: 0 0 20px rgba(255, 0, 85, 0.2);
}

.jackpot-label {
  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.jackpot-amount {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  text-shadow: 0 0 20px rgba(255, 0, 85, 0.8), 0 0 40px rgba(255, 0, 85, 0.4);
}

.jackpot-time {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 12px;
}

.jackpot-time svg {
  width: 14px;
  height: 14px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}

.stat-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
  text-shadow: 0 0 15px rgba(255, 0, 85, 0.6);
}

.stat-label {
  color: var(--text-secondary);
  font-size: 11px;
}

.draws-section {
  padding: 40px 0;
  background: linear-gradient(180deg, var(--dark-bg) 0%, #150a0f 100%);
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 13px;
  text-align: center;
  margin-bottom: 32px;
}

.draw-card {
  max-width: 600px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--card-bg) 0%, #2a0a15 100%);
  border: 1px solid var(--primary);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 0 30px rgba(255, 0, 85, 0.15);
}

.draw-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.draw-label {
  color: var(--text-secondary);
  font-size: 11px;
  margin-bottom: 2px;
}

.draw-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.time-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  background-color: rgba(255, 0, 85, 0.1);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 11px;
  box-shadow: 0 0 10px rgba(255, 0, 85, 0.3);
}

.time-badge svg {
  width: 12px;
  height: 12px;
}

.draw-jackpot {
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  color: var(--secondary);
  margin-bottom: 16px;
  text-shadow: 0 0 20px rgba(255, 51, 102, 0.8), 0 0 40px rgba(255, 51, 102, 0.4);
}

.currency {
  font-size: 32px;
}

.million {
  font-size: 16px;
  color: var(--text-secondary);
  margin-left: 4px;
}

.maxmillions-badge {
  display: block;
  margin: 0 auto 16px;
  background-color: var(--success);
  color: white;
  border: none;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(255, 0, 85, 0.6);
}

.draw-description {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
  font-size: 13px;
}

.draw-info {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 12px;
}

.info-item svg {
  width: 16px;
  height: 16px;
}

.draw-note {
  text-align: center;
  color: var(--text-secondary);
  font-size: 10px;
  font-style: italic;
  margin-top: 12px;
}

.winners-section {
  padding: 40px 0;
}

.winners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.winner-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
}

.winner-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.winner-game {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.winner-date {
  color: var(--text-secondary);
  font-size: 11px;
}

.latest-badge {
  background-color: var(--primary);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(255, 0, 85, 0.6);
}

.numbers {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--secondary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 12px;
}

.bonus-section {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.plus {
  color: var(--text-secondary);
  font-size: 16px;
}

.bonus {
  background-color: var(--primary);
  color: var(--dark-bg);
}

.winner-prize {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
  text-shadow: 0 0 15px rgba(255, 0, 85, 0.6);
}

.winner-prize.rollover {
  color: var(--secondary);
}

.winner-count {
  color: var(--text-secondary);
  font-size: 12px;
}

.how-it-works {
  padding: 40px 0;
  background: linear-gradient(180deg, var(--dark-bg) 0%, #150a0f 100%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px 20px;
  position: relative;
  text-align: center;
}

.step-number {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: var(--primary);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 0 15px rgba(255, 0, 85, 0.7);
}

.step-icon {
  color: var(--primary);
  margin-bottom: 16px;
}

.step-icon svg {
  width: 36px;
  height: 36px;
}

.step-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.step-description {
  color: var(--text-secondary);
  line-height: 1.5;
  font-size: 13px;
}

.blog-section {
  padding: 40px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.blog-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s;
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}

.blog-card:hover {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(255, 0, 85, 0.2);
  transform: translateY(-4px);
}

.blog-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(255, 0, 85, 0.1);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 16px;
  box-shadow: 0 0 10px rgba(255, 0, 85, 0.2);
}

.blog-badge svg {
  width: 12px;
  height: 12px;
}

.blog-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
  color: var(--text-primary);
}

.blog-excerpt {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  font-size: 11px;
  color: var(--text-secondary);
}

.blog-date {
  display: flex;
  align-items: center;
  gap: 4px;
}

.blog-read-time {
  color: var(--primary);
  font-weight: 600;
}

.cta-section {
  padding: 40px 0;
}

.cta-card {
  background: linear-gradient(135deg, var(--secondary) 0%, #cc0044 100%);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 0 40px rgba(255, 0, 85, 0.3);
}

.cta-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.cta-description {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}

.responsibility-dark {
  background-color: #0d2533;
  padding: 24px 0;
}

.responsibility-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.resp-icon {
  color: var(--text-secondary);
}

.resp-icon svg {
  width: 28px;
  height: 28px;
}

.resp-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.resp-text {
  color: var(--text-secondary);
  line-height: 1.5;
  font-size: 13px;
}

.resp-link {
  color: var(--primary);
  text-decoration: none;
}

.resp-link:hover {
  text-decoration: underline;
}

.responsibility-orange {
  background-color: var(--orange);
  padding: 32px 0;
  text-align: center;
}

.resp-orange-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--dark-bg);
  margin-bottom: 12px;
}

.resp-orange-text {
  color: var(--dark-bg);
  font-size: 13px;
  max-width: 700px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.footer {
  background-color: #081520;
  padding: 32px 0;
}

.footer-content {
  text-align: center;
}

.footer-text {
  color: var(--text-secondary);
  margin-bottom: 10px;
  line-height: 1.5;
  font-size: 12px;
}

.footer-highlight {
  color: #ef4444;
  font-weight: 600;
}

.footer-link {
  color: var(--primary);
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-warning {
  color: #ef4444;
  font-weight: 700;
  font-size: 11px;
  margin: 16px 0;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 12px;
}

.footer-links a:hover {
  color: var(--text-primary);
}

.separator {
  color: var(--text-secondary);
}

.footer-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-badge {
  background-color: var(--card-bg);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.footer-badge:hover {
  border-color: var(--primary);
  background-color: rgba(255, 0, 85, 0.1);
  box-shadow: 0 0 10px rgba(255, 0, 85, 0.3);
}

.footer-badge.highlight {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(255, 0, 85, 0.6);
}

.blog-article {
  padding: 40px 0;
  min-height: 100vh;
}

.article-header {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}

.article-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 13px;
}

.article-date {
  color: var(--text-secondary);
}

.article-read-time {
  color: var(--primary);
  font-weight: 600;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
}

.content-section {
  margin-bottom: 40px;
}

.content-section h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.content-section h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.content-section p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 15px;
}

.content-section ul {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
  padding-left: 24px;
  font-size: 15px;
}

.content-section li {
  margin-bottom: 8px;
}

.content-section strong {
  color: var(--text-primary);
  font-weight: 600;
}

.lottery-org-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}

.lottery-org-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--primary);
}

.lottery-org-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 14px;
  margin-bottom: 0;
}

.game-card {
  background: linear-gradient(135deg, var(--card-bg) 0%, #2a0a15 100%);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  transition: all 0.3s;
}

.game-card:hover {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(255, 0, 85, 0.2);
}

.game-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--primary);
}

.game-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 14px;
  margin-bottom: 0;
}

.article-cta {
  background: linear-gradient(135deg, var(--secondary) 0%, #cc0044 100%);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  margin-top: 48px;
  box-shadow: 0 0 40px rgba(255, 0, 85, 0.3);
}

.article-cta h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.article-cta p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

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

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

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

  .nav {
    display: none;
  }

  .cta-card {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .tickets-layout {
    grid-template-columns: 1fr;
  }

  .tickets-sidebar {
    position: static;
  }

  .lottery-selector {
    grid-template-columns: 1fr;
  }

  .numbers-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: linear-gradient(135deg, #1a3a52 0%, #0d2533 100%);
  border: 1px solid var(--primary);
  border-radius: 12px;
  padding: 32px;
  max-width: 560px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 0 40px rgba(255, 0, 85, 0.3);
  z-index: 1001;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.modal-subtitle {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 24px;
}

.registration-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-group label {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
}

.form-group input,
.form-group select {
  background-color: rgba(10, 10, 10, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 14px;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(255, 0, 85, 0.3);
}

.form-group input::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background-color: var(--dark-bg);
  color: var(--text-primary);
}

.checkbox-group {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--primary);
}

.checkbox-group label {
  cursor: pointer;
  margin: 0;
}

/* Tickets Page Styles */
.tickets-page {
  min-height: 100vh;
  padding: 32px 0;
  background-color: var(--dark-bg);
}

.tickets-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  align-items: start;
}

.tickets-main {
  background-color: rgba(26, 10, 15, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
}

.tickets-section-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.lottery-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.lottery-option {
  background-color: rgba(38, 38, 38, 0.8);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-secondary);
}

.lottery-option svg {
  width: 32px;
  height: 32px;
}

.lottery-option span {
  font-size: 14px;
  font-weight: 600;
}

.lottery-option:hover {
  border-color: var(--primary);
  background-color: rgba(255, 0, 85, 0.1);
  color: var(--text-primary);
}

.lottery-option.active {
  border-color: var(--primary);
  background-color: rgba(58, 26, 36, 0.8);
  color: var(--primary);
  box-shadow: 0 0 20px rgba(255, 0, 85, 0.3);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.number-btn {
  aspect-ratio: 1;
  background-color: rgba(38, 38, 38, 0.8);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.number-btn:hover {
  border-color: var(--primary);
  background-color: rgba(255, 0, 85, 0.1);
  transform: translateY(-2px);
}

.number-btn.selected {
  background-color: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 0 15px rgba(255, 0, 85, 0.6);
}

.ticket-actions {
  display: flex;
  gap: 16px;
}

.tickets-sidebar {
  position: sticky;
  top: 80px;
}

.cart-section {
  background: linear-gradient(135deg, #1a3a52 0%, #0d2533 100%);
  border: 1px solid var(--primary);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 0 30px rgba(255, 0, 85, 0.2);
}

.cart-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.cart-items {
  min-height: 80px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.empty-cart {
  color: var(--text-secondary);
  font-size: 13px;
  text-align: center;
  padding: 20px 0;
}

.cart-item {
  background-color: rgba(10, 10, 10, 0.4);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
}

.cart-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.cart-item-lottery {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.cart-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

.cart-item-numbers {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.cart-number {
  background-color: rgba(255, 0, 85, 0.2);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

#cart-total-amount {
  color: var(--primary);
  font-size: 20px;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 24px;
  }

  .section-title {
    font-size: 22px;
  }

  .jackpot-amount {
    font-size: 28px;
  }

  .draw-jackpot {
    font-size: 36px;
  }

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

  .draw-info {
    flex-direction: column;
    gap: 10px;
  }

  .modal-content {
    padding: 24px;
    max-width: 95%;
  }

  .modal-title {
    font-size: 20px;
  }

  .numbers-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .number-btn {
    font-size: 14px;
  }

  .ticket-actions {
    flex-direction: column;
  }

  .tickets-main {
    padding: 20px;
  }

  .cart-section {
    padding: 20px;
  }

  .article-title {
    font-size: 28px;
  }

  .content-section h2 {
    font-size: 22px;
  }

  .content-section h3 {
    font-size: 18px;
  }

  .article-cta {
    padding: 24px;
  }

  .article-cta h3 {
    font-size: 20px;
  }
}
