/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  background-color: #003c71;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1000;
  width: 100%;
}

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

.header-logo img {
  height: 40px;
  width: auto;
}

.header-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-primary-yellow {
  background-color: #ffcc00;
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-weight: 700;
}

.btn-primary-yellow:hover {
  background-color: #ffd633;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary-blue {
  background-color: #003c71;
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary-blue:hover {
  background-color: #0056a3;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-block {
  width: 100%;
  display: block;
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
  min-width: 250px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 60px 0;
  width: 100%;
}

.hero-gradient {
  background: linear-gradient(135deg, #003c71 0%, #0066cc 50%, #0bab6b 100%);
  min-height: 500px;
}

.hero-gradient::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -50px;
  width: 600px;
  height: 600px;
  background: #0bab6b;
  border-radius: 50%;
  opacity: 0.3;
  z-index: 0;
}

.hero-gradient::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: 200px;
  width: 400px;
  height: 400px;
  background: #809d1e;
  border-radius: 50%;
  opacity: 0.2;
  z-index: 0;
}

.hero-layout {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  z-index: 1;
}

.hero-content {
  flex: 1;
  color: #ffffff;
  z-index: 2;
}

.hero-logo img {
  max-height: 80px;
  margin-bottom: 20px;
}

.hero-info {
  color: #ffffff;
}

.hero-date {
  font-size: 14px;
  margin-bottom: 15px;
  opacity: 0.9;
}

.hero-amount {
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-est {
  font-size: 1.4rem;
  font-weight: 400;
  opacity: 0.9;
}

.hero-bonus {
  margin: 20px 0;
}

.hero-terms {
  font-size: 12px;
  margin-top: 10px;
  opacity: 0.9;
  color: #ffffff;
}

.hero-image {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 2;
}

.hero-image img {
  max-width: 600px;
  height: auto;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 60px 0;
  background-color: #ffffff;
}

.section-title {
  font-size: 3.6rem;
  font-weight: 700;
  color: #003c71;
  margin-bottom: 40px;
  text-align: left;
}

/* ============================================
   PACKS SECTION
   ============================================ */
.packs-section {
  padding: 60px 0;
}

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

.pack-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.3s ease;
}

.pack-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pack-header {
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('/content/dam/olg/web/product/lottery/product/quick-pick-packs/BEST%20VARIETY-BLUE%20BG.png') center center / cover;
  padding: 20px;
}

.pack-header img {
  max-height: 191px;
  max-width: 90%;
}

.pack-body {
  position: relative;
  padding: 14px 24px 24px;
  min-height: 152px;
  flex-grow: 1;
}

.pack-badge {
  position: absolute;
  top: 0;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  background-color: #e4002b;
  border-radius: 0 0 5px 5px;
  width: 56px;
  height: 50px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  color: #fff;
  line-height: 17px;
  font-size: 14px;
  font-style: italic;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.4);
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
}

.pack-price {
  font-size: 2.4rem;
  font-weight: 700;
  color: #003c71;
  margin: 10px 0 5px 0;
}

.pack-name {
  font-size: 1.6rem;
  font-weight: 600;
  color: #003c71;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.pack-odds {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.pack-footer {
  padding: 0 24px 24px;
}

.pack-disclaimer {
  text-align: center;
  color: #666;
  font-size: 14px;
  margin-top: 20px;
}

/* ============================================
   GAMES SECTION
   ============================================ */
.games-section {
  padding: 60px 0;
}

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

.game-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.3s ease;
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
}

.game-header {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.game-header img {
  max-height: 90px;
  max-width: 150px;
  z-index: 2;
  position: relative;
}

/* Game Background Gradients */
.bg-lotto-max {
  background: linear-gradient(to bottom, #809d1e 0%, #4d7918 100%);
}

.bg-lotto-649 {
  background: linear-gradient(to bottom, #0095d0 0%, #0565a3 100%);
}

.bg-daily-grand {
  background: linear-gradient(to bottom, #ed6c01 0%, #a73d1d 100%);
}

.bg-lottario {
  background: linear-gradient(to bottom, #e27a13 0%, #b14e2a 100%);
}

.bg-ontario-49 {
  background: linear-gradient(to bottom, #d1444c 0%, #9a3841 100%);
}

.bg-daily-keno {
  background: linear-gradient(to bottom, #0bab6b 0%, #00703f 100%);
}

.bg-pick-2 {
  background: linear-gradient(to bottom, #ed3031 0%, #951e1f 100%);
}

.bg-pick-3 {
  background: linear-gradient(to bottom, #0e499e 0%, #082e65 100%);
}

.bg-pick-4 {
  background: linear-gradient(to bottom, #10b0e6 0%, #09607c 100%);
}

.bg-encore {
  background: linear-gradient(to bottom, #939ac1 0%, #5969a2 100%);
}

.game-body {
  padding: 24px;
  flex-grow: 1;
}

.game-jackpot {
  font-size: 2rem;
  font-weight: 700;
  color: #003c71;
  margin-bottom: 10px;
}

.game-est {
  font-size: 1.4rem;
  font-weight: 400;
  opacity: 0.8;
}

.game-prize {
  font-size: 1.6rem;
  font-weight: 600;
  color: #003c71;
  margin-bottom: 10px;
}

.game-draw {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.game-footer {
  padding: 0 24px 24px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background-color: #ffffff;
  border-top: 1px solid #e0e0e0;
  margin-top: 60px;
}

.footer-top {
  padding: 40px 0;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.footer-social img {
  width: 32px;
  height: 32px;
}

.footer-age {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  margin-bottom: 30px;
}

.footer-age img {
  width: 32px;
  height: 32px;
}

.footer-text {
  margin-top: 20px;
}

.footer-text p {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.6;
}

.footer-text a {
  color: #003c71;
  text-decoration: underline;
}

.footer-bottom {
  background-color: #003c71;
  color: #ffffff;
  padding: 20px 0;
}

.footer-bottom p {
  margin: 0;
  color: #ffffff;
  font-size: 14px;
}

/* ============================================
   UTILITIES
   ============================================ */
.mobile-hide {
  display: block;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
  .container {
    padding: 0 15px;
  }

  .header-inner {
    padding: 15px;
    flex-wrap: wrap;
  }

  .header-nav {
    order: 3;
    width: 100%;
    margin-top: 10px;
    display: none;
  }

  .hero-section {
    padding: 40px 0;
    min-height: auto;
  }

  .hero-layout {
    flex-direction: column;
    gap: 30px;
  }

  .hero-image.mobile-hide {
    display: none;
  }

  .hero-amount {
    font-size: 2.8rem;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 2.8rem;
    margin-bottom: 30px;
  }

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

  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .btn-large {
    width: 100%;
    min-width: 100%;
  }
}

@media (max-width: 767px) {
  .header-inner {
    padding: 12px 15px;
  }

  .header-logo img {
    height: 35px;
  }

  .header-actions {
    gap: 8px;
  }

  .btn {
    padding: 8px 16px;
    font-size: 12px;
  }

  .hero-section {
    padding: 30px 0;
  }

  .hero-amount {
    font-size: 2.4rem;
  }

  .hero-logo img {
    max-height: 60px;
    margin-bottom: 15px;
  }

  .section {
    padding: 30px 0;
  }

  .section-title {
    font-size: 2.4rem;
    margin-bottom: 20px;
  }

  .games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pack-body {
    padding: 14px 20px 20px;
  }

  .pack-footer {
    padding: 0 20px 20px;
  }

  .game-body {
    padding: 20px;
  }

  .game-footer {
    padding: 0 20px 20px;
  }

  .footer-top {
    padding: 30px 0;
  }

  .footer-social,
  .footer-age {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
* {
  transition: color 0.2s ease, background-color 0.2s ease;
}

.pack-card,
.game-card,
.btn {
  transition: all 0.3s ease;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
a:focus,
button:focus {
  outline: 2px solid #1195ff;
  outline-offset: 2px;
}
