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

/* Prevent horizontal scroll globally */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Ensure all elements respect viewport width */
* {
  max-width: 100%;
}

/* Prevent overflow for all grid and flex containers */
.grid, .flex, [class*="grid"], [class*="flex"] {
  overflow-x: hidden;
  max-width: 100%;
}

/* Specific fixes for common layout issues */
.scratch-cards, .instants-grid, .lotto-games, .results-faq-grid {
  overflow-x: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

/* Ensure all images are responsive */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
  overflow-x: hidden;
}


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

/* Header */
.header {
  background: transparent;
  color: white;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  transition: background-color 0.3s ease;
}

.nav {
  padding: 1rem 0;
  transition: background-color 0.3s ease;
}

/* Banner Carousel */
.banner-section {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.animate-fadeIn {
  animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.banner-slider {
  width: 100%;
  height: 400px;
}

.banner-slide {
  position: relative;
  width: 100%;
  height: 400px;
}

.swiper-cont {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.banner-cont {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  z-index: 2;
  color: white;
}

.cont-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-family: 'Roboto Flex', 'Segoe UI', sans-serif;
}

.cont-button {
  display: inline-block;
}

.cont-button a {
  background-color: white;
  color: #333;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  font-family: 'Roboto Flex', 'Segoe UI', sans-serif;
}

.cont-button a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Navigation Controls */
.swiper-toggle {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.swiper-toggle:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.swiper-prev {
  left: 20px;
}

.swiper-next {
  right: 20px;
}

.custom-select-arrow {
  font-size: 1.5rem;
  color: #333;
  font-weight: bold;
}

/* Pagination */
.swiper-pagination-con {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.swiper-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  opacity: 1;
}

.swiper-pagination-bullet-active,
.swiper-pagination-bullet:hover {
  background: white;
  transform: scale(1.2);
}

/* Responsive Design for Banner */
@media (max-width: 768px) {
  .banner-section {
      height: 350px;
      margin-top: 60px;
  }
  
  .banner-slider {
      height: 350px;
  }
  
  .banner-slide {
      height: 350px;
  }
  
  .banner-img {
      height: 350px;
  }
  
  .banner-cont {
      left: 5%;
      top: 50%;
      transform: translateY(-50%);
  }
  
  .cont-title {
      font-size: 2.2rem;
      margin-bottom: 1.5rem;
      line-height: 1.2;
  }
  
  .cont-button a {
      padding: 0.8rem 1.8rem;
      font-size: 0.95rem;
  }
  
  .swiper-toggle {
      width: 40px;
      height: 40px;
  }
  
  .swiper-prev {
      left: 10px;
  }
  
  .swiper-next {
      right: 10px;
  }
  
  .custom-select-arrow {
      font-size: 1.2rem;
  }
  
  .swiper-pagination-con {
      bottom: 15px;
  }
}

@media (max-width: 480px) {
  .banner-section {
      height: 300px;
      margin-top: 60px;
  }
  
  .banner-slider {
      height: 300px;
  }
  
  .banner-slide {
      height: 300px;
  }
  
  .banner-img {
      height: 300px;
  }
  
  .banner-cont {
      left: 3%;
      padding-right: 3%;
  }
  
  .cont-title {
      font-size: 1.8rem;
      margin-bottom: 1rem;
      line-height: 1.1;
  }
  
  .cont-button a {
      padding: 0.7rem 1.5rem;
      font-size: 0.9rem;
  }
  
  .swiper-toggle {
      width: 35px;
      height: 35px;
  }
  
  .swiper-prev {
      left: 5px;
  }
  
  .swiper-next {
      right: 5px;
  }
  
  .swiper-pagination-bullet {
      width: 10px;
      height: 10px;
  }
  
  .swiper-pagination-con {
      bottom: 10px;
  }
  
  .nav {
      padding: 0.3rem 0;
  }
  
  .logo {
      height: 25px;
  }
  
  .auth-btn {
      padding: 0.3rem 0.8rem;
      font-size: 0.8rem;
  }
  
  .auth-link {
      font-size: 0.8rem;
  }
}

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

.logo {
  height: 40px;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

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

.nav-link:hover {
  opacity: 0.8;
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.auth-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.auth-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: background-color 0.3s ease;
}

.auth-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Jackpot Section */
.jackpot-section {
  padding: 4rem 0;
  background: #f8f9fa;
}

.jackpot-card {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.lucky-day-badge img {
  height: 60px;
  margin-bottom: 1rem;
}

.countdown {
  text-align: center;
  margin-bottom: 2rem;
}

.countdown-label {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.countdown-timer {
  font-size: 2rem;
  font-weight: bold;
  color: #ff5722;
  font-family: 'Courier New', monospace;
}

.jackpot-title {
  font-size: 2rem;
  color: #333;
  margin-bottom: 1rem;
}

.jackpot-amount {
  margin-bottom: 1rem;
}

.currency {
  font-size: 1.5rem;
  color: #666;
}

.amount {
  font-size: 3rem;
  font-weight: bold;
  color: #ff5722;
}

.jackpot-subtitle {
  color: #ff5722;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.jackpot-desc {
  color: #666;
  margin-bottom: 0.5rem;
}

.jackpot-note {
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.play-btn {
  background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
  color: #333;
  padding: 1rem 3rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

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

/* Calendar */
.calendar-section {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 2rem;
}

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

.calendar-header h3 {
  font-size: 1.2rem;
  color: #333;
}

.save-pick {
  color: #ff5722;
  font-size: 0.9rem;
  cursor: pointer;
}

.calendar-nav {
  text-align: center;
  margin-bottom: 1rem;
}

.month-year {
  font-weight: bold;
  color: #333;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.calendar-day {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.calendar-day:hover {
  background: #ff5722;
  color: white;
}

.calendar-day.active {
  background: #ff5722;
  color: white;
}

.calendar-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.btn-minus, .btn-plus {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #ff5722;
  background: white;
  color: #ff5722;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-minus:hover, .btn-plus:hover {
  background: #ff5722;
  color: white;
}

.ticket-count {
  font-weight: bold;
  color: #333;
  min-width: 20px;
  text-align: center;
}

.quick-buy {
  background: #ff5722;
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.quick-buy:hover {
  background: #e64a19;
}

/* Daily Lotto */
.daily-lotto {
  padding: 4rem 0;
  background: white;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 3rem;
}

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

.lotto-card {
  border-radius: 20px;
  padding: 2rem;
  color: white;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.lotto-card.green {
  background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
}

.lotto-card.purple {
  background: linear-gradient(135deg, #9c27b0 0%, #6a1b9a 100%);
}

.lotto-card.orange {
  background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

.lotto-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.lotto-prize {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.lotto-draw {
  margin-bottom: 2rem;
}

.lotto-draw span {
  display: block;
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.draw-time {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Courier New', monospace;
  font-size: 1.5rem;
  font-weight: bold;
}

.draw-hour, .draw-minute, .draw-second {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem;
  border-radius: 8px;
  min-width: 50px;
}

.lotto-play-btn {
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-block;
}

.lotto-play-btn:hover {
  background: white;
  transform: translateY(-2px);
}

/* Scratch Cards */
.scratch-cards {
  padding: 4rem 0;
  background: #f8f9fa;
}

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

.scratch-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}

.scratch-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #4caf50;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  z-index: 2;
}

.card-badge.new {
  background: #ff5722;
}

.card-price {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: bold;
  z-index: 2;
}

.scratch-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-info {
  padding: 1.5rem;
  text-align: center;
}

.card-info h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.card-prize {
  color: #ff5722;
  font-weight: bold;
  font-size: 1.1rem;
}

/* E-Instants */
.e-instants {
  padding: 4rem 0;
  background: white;
}

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

.instant-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.instant-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.instant-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Results & FAQ */
.results-faq {
  padding: 4rem 0;
  background: #f8f9fa;
}

.results-faq-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.lucky-results {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.lucky-results h2 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 1rem;
}

.result-date {
  color: #666;
  margin-bottom: 1.5rem;
}

.result-numbers {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
}

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

.result-number.lucky {
  background: #ffd700;
  color: #333;
}

.prize-breakdown {
  margin-bottom: 2rem;
}

.prize-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
}

.lucky-chance h3 {
  color: #ff5722;
  margin-bottom: 1rem;
}

.chance-categories {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chance-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  font-size: 0.9rem;
}

.faq-section {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: fit-content;
}

.faq-section h2 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 1.5rem;
}

.faq-card {
  background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  color: #333;
}

.faq-icon {
  background: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  margin: 0 auto 1rem;
  color: #333;
}

.faq-card h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.faq-link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.faq-link:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Prize Tiers */
.prize-tiers {
  padding: 4rem 0;
  background: white;
}

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

.tier {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
  border-radius: 15px;
  color: #333;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.tier-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.tier-amount {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

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

/* Footer */
.footer {
  background: #2c3e50;
  color: white;
  padding: 4rem 0 2rem;
}

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

.footer-section h4 {
  margin-bottom: 1rem;
  color: #ecf0f1;
}

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

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

.footer-section a {
  color: #bdc3c7;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

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

.social-icons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.social-icons a {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  overflow: hidden;
}

.social-icons a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.social-icons img {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  object-fit: cover;
}

.app-store img {
  height: 50px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo img {
  height: 40px;
}

.footer-legal {
  text-align: right;
  font-size: 0.8rem;
  color: #bdc3c7;
  line-height: 1.4;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
  }
  
  .nav {
      padding: 0.5rem 0;
      background: rgba(0, 0, 0, 0.5);
  }
  
  .nav-container {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      position: relative;
  }
  
  .nav-toggle {
      display: block !important;
      order: 3;
  }
  
  .nav-menu {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: rgba(0, 0, 0, 0.9);
      backdrop-filter: blur(10px);
      flex-direction: column;
      padding: 1rem;
      transform: translateY(-100%);
      opacity: 0;
      pointer-events: none;
      transition: all 0.3s ease;
      z-index: 1000;
      border-radius: 0 0 10px 10px;
  }
  
  .nav-menu.mobile-active {
      transform: translateY(0);
      opacity: 1;
      pointer-events: auto;
  }
  
  .nav-auth {
      order: 2;
  }
  
  .nav-logo {
      order: 1;
  }
  
  .logo {
      height: 30px;
  }
  
  .auth-btn {
      padding: 0.4rem 1rem;
      font-size: 0.9rem;
  }
  
  .auth-link {
      font-size: 0.9rem;
  }
  
  .hero-container {
      flex-direction: column;
      text-align: center;
      gap: 2rem;
  }
  
  .hero-title {
      font-size: 2.5rem;
  }
  
  .jackpot-card {
      grid-template-columns: 1fr;
      gap: 2rem;
      padding: 2rem;
  }
  
  .countdown-timer {
      font-size: 1.5rem;
  }
  
  .amount {
      font-size: 2rem;
  }
  
  .calendar-grid {
      grid-template-columns: repeat(7, 1fr);
      gap: 0.3rem;
  }
  
  .calendar-day {
      width: 30px;
      height: 30px;
      font-size: 0.8rem;
  }
  
  .lotto-games {
      grid-template-columns: 1fr;
  }
  
  .cards-grid {
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1rem;
  }
  
  .instants-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
  }
  
  .results-faq-grid {
      grid-template-columns: 1fr;
  }
  
  .tiers-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
  }
  
  .footer-bottom {
      flex-direction: column;
      gap: 1rem;
      text-align: center;
  }
  
  .footer-legal {
      text-align: center;
  }
  
  /* Lucky Results Mobile */
  .lucky-results {
      padding: 1.5rem;
      margin: 0 10px;
      border-radius: 15px;
      overflow: hidden;
      max-width: calc(100vw - 20px);
      box-sizing: border-box;
  }
  
  .lucky-results h2 {
      font-size: 1.3rem;
  }
  
  .result-numbers {
      gap: 0.5rem;
      justify-content: center;
      flex-wrap: wrap;
      overflow: hidden;
  }
  
  .result-number {
      width: 35px;
      height: 35px;
      font-size: 0.9rem;
      flex-shrink: 0;
  }
  
  /* FAQ Section Mobile */
  .faq-section {
      padding: 1.5rem;
      margin: 0 10px;
      border-radius: 15px;
      overflow: hidden;
      max-width: calc(100vw - 20px);
      box-sizing: border-box;
  }
  
  .faq-section h2 {
      font-size: 1.3rem;
  }
  
  .faq-card {
      padding: 1.5rem;
      border-radius: 12px;
      overflow: hidden;
      word-wrap: break-word;
  }
  
  .faq-card h3 {
      font-size: 1.1rem;
  }
  
  .faq-card p {
      font-size: 0.9rem;
      word-wrap: break-word;
      overflow-wrap: break-word;
  }
}

@media (max-width: 480px) {
  .container {
      padding: 0 15px;
      overflow-x: hidden;
      max-width: 100vw;
      box-sizing: border-box;
  }
  
  /* Prevent horizontal scroll for all sections */
  .jackpot-section,
  .lotto-section,
  .scratch-cards-section,
  .instants-section,
  .results-faq {
      overflow-x: hidden;
      max-width: 100vw;
      box-sizing: border-box;
  }
  
  .jackpot-card,
  .lotto-card,
  .scratch-card,
  .instant-card {
      overflow: hidden;
      max-width: 100%;
      box-sizing: border-box;
  }
  
  .hero-title {
      font-size: 2rem;
  }
  
  .jackpot-card {
      padding: 1.5rem;
  }
  
  .section-title {
      font-size: 2rem;
  }
  
  .instants-grid {
      grid-template-columns: 1fr;
  }
  
  .calendar-controls {
      flex-wrap: wrap;
      gap: 0.5rem;
  }
  
  /* Lucky Results Small Mobile */
  .lucky-results {
      padding: 1rem;
      margin: 0 5px;
      border-radius: 12px;
      overflow: hidden;
      max-width: calc(100vw - 10px);
      box-sizing: border-box;
  }
  
  .lucky-results h2 {
      font-size: 1.2rem;
  }
  
  .result-numbers {
      gap: 0.3rem;
      overflow: hidden;
  }
  
  .result-number {
      width: 30px;
      height: 30px;
      font-size: 0.8rem;
      flex-shrink: 0;
  }
  
  /* FAQ Section Small Mobile */
  .faq-section {
      padding: 1rem;
      margin: 0 5px;
      border-radius: 12px;
      overflow: hidden;
      max-width: calc(100vw - 10px);
      box-sizing: border-box;
  }
  
  .faq-section h2 {
      font-size: 1.2rem;
  }
  
  .faq-card {
      padding: 1rem;
      border-radius: 10px;
      overflow: hidden;
      word-wrap: break-word;
  }
  
  .faq-card h3 {
      font-size: 1rem;
  }
  
  .faq-card p {
      font-size: 0.85rem;
      word-wrap: break-word;
      overflow-wrap: break-word;
  }
}