/* =========================================================
   HOME.CSS
   ========================================================= */

.home-page {
  background: #eef7f1;
  min-height: 100vh;
  padding-bottom: 50px;
}

.home-hero {
  background: linear-gradient(180deg, #053562 0%, #0d718a 100%);
  color: #fff;
  padding: 15px 16px 15px;
  text-align: center;
  margin-top: -20px;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.hero-mini {
  font-size: 12px;
  letter-spacing: 1px;
  opacity: 0.85;
  margin-bottom: 8px;
  margin-top: 20px;
  text-transform: uppercase;
}

.home-hero h1 {
  font-size: 34px;
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1.15;
  color: #fff;
}

.hero-sub {
  font-size: 14px;
  opacity: 0.92;
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: 0.25s ease;
  min-width: 180px;
}

.hero-btn-primary {
  background: #ffbf00;
  color: #111;
  box-shadow: 0 8px 18px rgba(255, 191, 0, 0.25);
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  background: #f5b400;
  color: #111;
}

.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.hero-btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 720px;
  margin: 0 auto 18px;
}

.hero-stat-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 16px 10px;
  backdrop-filter: blur(8px);
}

.hero-stat-card h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #ffd34d;
}

.hero-stat-card p {
  margin-top: 5px;
  font-size: 12px;
  opacity: 0.95;
}

.hero-trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.hero-trust-badges span {
  background: rgba(255, 255, 255, 0.12);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.live-ticker-wrap {
  display: flex;
  align-items: center;
  background: #0c5132;
  color: #fff;
  overflow: hidden;
}

.live-badge {
  background: #ffb703;
  color: #111;
  font-weight: 800;
  font-size: 12px;
  padding: 10px 14px;
  white-space: nowrap;
}

.live-ticker {
  overflow: hidden;
  flex: 1;
}

.live-ticker-track {
  display: inline-flex;
  gap: 50px;
  white-space: nowrap;
  padding: 10px 0;
  animation: tickerMove 25s linear infinite;
}

.live-ticker-track span {
  font-size: 13px;
}

@keyframes tickerMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.announcement-box {
  max-width: 1200px;
  margin: 18px auto 0;
  background: #f3f7eb;
  border: 1px solid #d7e3c7;
  border-left: 5px solid #58b56a;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.announcement-icon {
  font-size: 22px;
  margin-top: 2px;
}

.announcement-title {
  font-weight: 800;
  color: #2f7d42;
  margin-bottom: 6px;
  font-size: 13px;
}

.announcement-title span {
  color: #98a293;
  font-weight: 600;
  font-size: 12px;
}

.announcement-content p {
  margin: 0;
  color: #53615b;
  font-size: 14px;
  line-height: 1.6;
}

.draw-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.draw-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(20, 55, 36, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.draw-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(20, 55, 36, 0.16);
}

.draw-poster {
  width: 100%;
  background: #f5f5f5;
}

.draw-poster img {
  width: 100%;
  height: 290px;
  object-fit: cover;
}

.draw-card-bottom,
.draw-info {
  padding: 18px 18px 20px;
  background: linear-gradient(180deg, #4b90c9 0%, #054477 100%);
  color: #fff;
}

.draw-card:nth-child(2n) .draw-card-bottom,
.draw-card:nth-child(2n) .draw-info {
  background: linear-gradient(180deg, #c9b32b 0%, #a5921e 100%);
}

.draw-card:nth-child(3n) .draw-card-bottom,
.draw-card:nth-child(3n) .draw-info {
  background: linear-gradient(180deg, #33a8e0 0%, #238dc0 100%);
}

.draw-card-bottom h3,
.draw-info h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  color: #fff;
}

.ticket-price-badge {
  width: fit-content;
  margin: 0 auto 12px;
  background: rgba(255, 137, 27, 0.95);
  color: #111;
  font-weight: 800;
  font-size: 12px;
  padding: 7px 14px;
  border-radius: 999px;
}

.draw-card .draw-meta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.draw-card .draw-meta span {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.time-box {
  background: rgba(0, 0, 0, 0.14);
  border-radius: 10px;
  padding: 10px 12px;
  min-width: 64px;
  text-align: center;
}

.time-box span {
  display: block;
  font-size: 20px;
  font-weight: 900;
  color: rgba(255, 238, 83, 0.95);
  line-height: 1;
}

.time-box p,
.time-box small {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  color: #fff;
  opacity: 0.92;
}

.recent-results-section {
  margin-top: 54px;
}

.recent-results-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}

.recent-results-slider {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  width: 100%;
  padding: 10px 4px 6px;
}

.recent-results-slider::-webkit-scrollbar {
  display: none;
}

.recent-result-card {
  min-width: 300px;
  max-width: 300px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(20, 55, 36, 0.1);
  flex-shrink: 0;
}

.recent-result-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.recent-result-content {
  padding: 16px;
  text-align: center;
}

.recent-result-content h3 {
  font-size: 16px;
  font-weight: 800;
  color: #2a4134;
  margin: 0 0 10px;
  min-height: 44px;
}

.recent-result-date {
  font-size: 13px;
  color: #8d968f;
  margin-bottom: 14px;
}

.recent-result-btn {
  display: inline-block;
  background: #ffcf58;
  color: #111;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
}

.recent-result-btn:hover {
  background: #f5c43c;
  transform: translateY(-1px);
}

.recent-arrow {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #d6f2dc;
  color: #1e7a3b;
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
}

.video-box {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  height: 420px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  background: #000;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 920px;
  margin: 0 auto;
}

.step-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(20, 55, 36, 0.08);
}

.step-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #e7f7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: #203a2d;
  margin: 0 0 10px;
}

.step-card p {
  font-size: 14px;
  color: #8a978f;
  line-height: 1.7;
}

.notify-wrap {
  position: fixed;
  right: 18px;
  bottom: 20px;
  z-index: 999;
}

.notify-btn {
  border: none;
  background: linear-gradient(90deg, #ff8f2c, #ff6b00);
  color: #fff;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(255, 107, 0, 0.26);
  cursor: pointer;
}

.notify-btn.enabled {
  background: linear-gradient(90deg, #16a34a, #22c55e);
}

.notify-btn.blocked {
  background: linear-gradient(90deg, #dc2626, #ef4444);
}

/* =========================================================
   SCAM ALERT
   ========================================================= */
.red {
  color: #ef4444 !important;
}

.red-title {
  color: #c32020 !important;
}

.scam-alert-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.scam-alert-box {
  background: #fff1f1;
  border: 1px solid #f3c3c3;
  border-left: 5px solid #ef4444;
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.alert-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: #ffe2e2;
  color: #d32f2f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.scam-alert-box h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
  color: #842727;
}

.scam-alert-box p {
  margin: 0;
  font-size: 14px;
  color: #8f6b6b;
  line-height: 1.65;
}

.scam-btn-wrap {
  text-align: center;
  margin-top: 18px;
}

.learn-more-btn {
  display: inline-block;
  background: #fff;
  border: 1px solid #f2bcbc;
  color: #bf2b2b;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
}


@media (max-width: 1100px) {
  .draw-poster img {
    height: 250px;
  }
}

@media (max-width: 900px) {
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .draw-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .video-box {
    height: 320px;
  }
}

@media (max-width: 600px) {
  .home-hero {
    padding: 28px 14px 20px;
  }

  .home-hero h1 {
    font-size: 26px;
  }

  .hero-sub {
    font-size: 13px;
  }

  .hero-btn {
    width: 100%;
    min-width: unset;
    font-size: 13px;
    padding: 12px 16px;
  }

  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .hero-stat-card {
    padding: 14px 10px;
  }

  .recent-result-card {
    min-width: 86%;
    max-width: 86%;
  }

  .recent-result-image img {
    height: 145px;
  }

  .recent-arrow {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}