/* === GLOBAL === */
body {
  background-color: #000 !important;
  color: #fff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* === BACKGROUND IMAGE BOX === */
.bg-box {
  position: relative;
  width: 100%;
  height: 110px;
  overflow: hidden;
  background: black;
}

.bg-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === TRANSPARENT NAVBAR === */
.navbar-main {
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  z-index: 1000;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

/* === LOGO === */
.navbar-logo {
  height: 72px;
  width: auto;
  max-height: 100px;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .navbar-logo {
    height: 60px;
  }
}

/* === NAVBAR BUTTONS === */
.nav-btn,
.nav-btn-primary {
  font-size: 0.88rem;
  padding: 0.3rem 1rem;
  font-weight: 600;
  border-radius: 20px;
  white-space: nowrap;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-family: 'Segoe UI', sans-serif;
}

.nav-btn {
  border: 1.5px solid #00aaff;
  color: #00aaff;
  background: transparent;
}

.nav-btn:hover {
  background-color: #00aaff;
  color: white;
}

.nav-btn-primary {
  background-color: #00aaff;
  color: white;
  border: 1.5px solid #00aaff;
}

.nav-btn-primary:hover {
  background-color: transparent;
  color: #00aaff;
}

/* === SPACING BETWEEN LOGO AND BUTTONS === */
.navbar .container-fluid {
  gap: 10px;
}

/* === SECONDARY NAVBAR === */
.navbar-secondary {
  background-color: #0d0d1b;
  overflow-x: auto;
  white-space: nowrap;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  margin-top: -10px; /* reduce space from top navbar */
}

.navbar-links-scroll {
  display: inline-flex;
  gap: 1rem;
  padding-left: 1rem;
}

.navbar-secondary a {
  color: white;
  font-weight: 700;
  text-decoration: none;
  padding: 0.6rem 1rem;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  border-radius: 6px;
  font-family: 'Segoe UI', sans-serif;
  letter-spacing: 0.5px;
}

.navbar-secondary a:hover {
  background-color: #1e2b5c;
  color: #00aaff;
  text-shadow: 1px 1px 2px black;
}

/* === OPTIONAL: MOBILE BUTTON SIZE TWEAKS === */
@media (max-width: 768px) {
  .nav-btn,
  .nav-btn-primary {
    font-size: 0.83rem;
    padding: 0.3rem 0.9rem;
  }

  .navbar-secondary {
    font-size: 0.85rem;
  }
}

.navbar-secondary {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}
.navbar-secondary {
  position: sticky;
  top: 0;
  z-index: 999;
}

/* Wrapper for scroll on mobile */
.navbar-links-scroll {
  display: flex;
  gap: 1rem;
  padding: 0 1rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  width: fit-content;
  margin: 0 auto;
}

/* Center text properly on desktop */
@media (min-width: 768px) {
  .navbar-secondary {
    display: flex;
    justify-content: center;
  }

  .navbar-links-scroll {
    overflow-x: visible;
  }
}

@media (max-width: 768px) {
  .navbar-main .container-fluid {
    flex-wrap: nowrap !important;
  }

  .navbar-main .container-fluid {
    gap: 0.5rem;
  }

  .navbar-logo {
    max-width: 40%;
    height: auto;
  }

  .navbar-main .d-flex {
    flex-shrink: 0;
    white-space: nowrap;
  }
}
@media (max-width: 768px) {
  .navbar-main .container-fluid {
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .navbar-logo {
    max-width: 130px; /* 🟦 adjust this as needed */
    height: auto;
    object-fit: contain;
  }

  .navbar-main .d-flex {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .nav-btn,
  .nav-btn-primary {
    font-size: 0.78rem;
    padding: 0.3rem 0.8rem;
  }
}
.navbar-logo {
  height: 60px;
  width: auto;
}


 /* FOOTER CSS */

 /* === FOOTER === */
.predictx-footer {
  background-color: #0d0d1b; /* Different black from body */
  color: #ccc;
  padding: 3rem 1.5rem 2rem;
  font-family: 'Segoe UI', sans-serif;
}

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-col {
  flex: 1 1 220px;
}

.brand-col {
  max-width: 320px;
}

.footer-logo {
  width: 130px;
  margin-bottom: 1rem;
}

.footer-description {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #bbb;
}

.age-icon {
  width: 40px;
  margin-top: 1rem;
}

.footer-warning {
  font-size: 0.75rem;
  color: #888;
  margin-top: 0.5rem;
}

.footer-col h5 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.footer-col ul li a {
  color: #bbb;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: #00aaff;
  text-shadow: 0 0 5px rgba(0, 170, 255, 0.5);
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #888;
}

/* === MOBILE FOOTER === */
@media (max-width: 768px) {
  .footer-cols {
    flex-direction: column;
    gap: 2.5rem;
  }

  .footer-col {
    text-align: left;
  }

  .footer-logo {
    width: 110px;
  }

  .footer-col ul li {
    font-size: 0.95rem;
  }
}
.footer-payments {
  margin-top: 2rem;
  text-align: center;
}

.payment-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.payment-logos img {
  height: 28px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.payment-logos img:hover {
  filter: none;
}

/* HERO IMAGE CSS */
@media (max-width: 767.98px) {
  /* Remove column constraints */
  .d-md-none .col-12,
  .d-md-none .col-md-10,
  .d-md-none .col-lg-8 {
    width: 100% !important;
    padding: 0 !important;
  }

  /* Full width container */
  .d-md-none .container-fluid {
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Hero wrapper: reduced margin & padding */
  .d-md-none .bg-dark {
    background-color: #111 !important;
    padding: 0.25rem !important;
    margin: 0 0.5rem; /* Tighter left/right */
    border-radius: 0.75rem !important;
  }

  /* Carousel image: fill the space */
  #heroCarousel img {
    width: 100%;
    height: 110px;
    object-fit: cover; /* makes it flush and professional */
    border-radius: 0.5rem !important;
    display: block;
    margin: 0 auto;
    background-color: #000;
  }

  /* Inner carousel container */
  #heroCarousel .carousel-inner {
    border-radius: 0.5rem !important;
    overflow: hidden;
  }

  /* Carousel indicators */
  #heroCarousel .carousel-indicators {
    margin-top: 0.5rem !important;
  }

  /* Hide arrows */
  #heroCarousel .carousel-control-prev,
  #heroCarousel .carousel-control-next {
    display: none !important;
  }

  /* Row spacing fix */
  .d-md-none .row.justify-content-center {
    margin-left: 0;
    margin-right: 0;
  }
}
@media (max-width: 767.98px) {
  /* Tighten outer padding */
  .d-md-none .bg-dark {
    padding-bottom: 0.25rem !important;
    margin-bottom: 0.25rem  !important;
  }

  /* Fix any extra padding from the row */
  .d-md-none .row.justify-content-center {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Prevent extra space below image */
  #heroCarousel {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  #heroCarousel .carousel-inner {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  #heroCarousel img {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    display: block;
  }

  /* Reduce indicator spacing if needed */
  #heroCarousel .carousel-indicators {
    margin-bottom: -0.60rem;
  }
}
@media (max-width: 767.98px) {
  .mobile-hero-spacing {
    margin-top: 0.5rem; /* Or try 0.75rem or 8px if you want a little more */
  }
}
@media (max-width: 767.98px) {
  .d-md-none .bg-dark {
    margin-top: 1rem !important; /* adds space under navbar */
  }
}
@media (max-width: 767.98px) {
  /* Outer container */
  .d-md-none .bg-dark {
    border-radius: 1.25rem !important; /* Previously 1rem – now slightly thicker */
  }

  /* Inner image */
  #heroCarousel img {
    border-radius: 1.25rem !important; /* Matches container, gives smooth look */
  }

  /* Carousel wrapper */
  #heroCarousel .carousel-inner {
    border-radius: 1.25rem !important;
  }
}

/* MOBILE JACKPOT & SPIN */

/* === MOBILE SCROLL SECTION FOR JACKPOT/SPIN/REFERRAL === */
@media (max-width: 767.98px) {
  .scroll-wrapper {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .card-box {
    scroll-snap-align: start;
    background-color: #111;
    width: 80vw;
    height: 140px;
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  }

  .card-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .stat-overlay {
    position: absolute;
    top: 0;
    right: 0;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    border-bottom-left-radius: 8px;
    z-index: 2;
  }

  .stat-bottom {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.25);
    color: #00aaff;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: right;
    z-index: 2;
  }

  .fade-text {
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    display: inline-block;
  }

  .fade-text.active {
    opacity: 1;
  }
}
.card-box {
  border: 1.5px solid #1f1f1f; /* subtle border */
  border-radius: 1rem;          /* rounded corners */
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4); /* optional shadow */
}


.scroll-wrapper {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

.card-box {
  scroll-snap-align: start;
  background: #111;
  border-radius: 1rem;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08); /* ✅ Soft light border */
}


  .stat-overlay {
    position: absolute;
    top: 6px;
    right: 6px;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    color: #fff;
    font-weight: 600;
    z-index: 5;
  }

  .stat-bottom {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    padding: 6px 8px;
    background: rgba(0, 0, 0, 0.35);
    color: #00aaff;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: end;
    z-index: 4;
  }

  .fade-text {
    display: inline-block;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
  }

  .fade-text.active {
    opacity: 1;
  }
 
/* 1. Rounded image inside each card */
.card-box img {
  border-radius: 1rem !important;
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

/* 2. Add spacing between hero and mobile cards */
.mobile-hero-spacing {
  margin-top: 0.75rem; /* Or try 1rem for more spacing */
}

.scroll-wrapper {
  padding-left: 0.75rem; /* ✅ Add space on the left */
  padding-right: 0.25rem; /* Optional: tighter right spacing */
}


/* DESKTOP SPIN AND JACKTPO */

.box-card {
  position: relative;
  height: 160px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: #111;
  transition: box-shadow 0.3s ease;
}

.box-card:hover {
  box-shadow: 0 0 15px rgba(0,0,0,0.25);
}

.box-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.stat-overlay {
  position: absolute;
  top: 8px;
  right: 8px;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  color: #fff;
  font-weight: 600;
  z-index: 5;
}

.stat-bottom {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  padding: 6px 8px;
  background: rgba(0, 0, 0, 0.35);
  color: #00aaff;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: end;
  z-index: 4;
}

.fade-text {
  display: inline-block;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.fade-text.active {
  opacity: 1;
}

.jackpot-banner {
  font-size: 0.82rem;
  line-height: 1.5;
  border-left: 4px solid gold;
  border-right: 4px solid gold;
}
.card-box:hover,
.shadow:hover {
  transform: scale(1.01);
  transition: transform 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 170, 255, 0.3);
  z-index: 2;
}

/* Odds button */
.btn-odd {
  background-color: transparent;
  border: 1px solid #0d6efd;
  color: #0d6efd;
  padding: 4px 10px;
  border-radius: 6px;
  transition: 0.2s;
  font-weight: 500;
  font-size: 0.8rem;
}
.btn-odd.active {
  background-color: #0d6efd;
  color: white;
}
.match-row {
  border: 1px solid #222;
}

.match-time {
  color: #ddd !important;
  font-size: 0.82rem;
  font-weight: 500;
}

.match-row {
  border: 1px solid #222;
}
.btn-odd {
  background-color: transparent;
  border: 1px solid #0d6efd;
  color: #0d6efd;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 6px;
  transition: 0.2s ease;
}
.btn-odd.active {
  background-color: #0d6efd;
  color: white;
}

/* BETSLIP CSS */

.floating-betslip {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 1000;
}
.floating-betslip .btn {
  border-radius: 30px;
  padding: 10px 20px;
}
.mobile-betslip-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #000;
  color: #fff;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  display: none;
  z-index: 999;
}
.betslip-body {
  max-height: 300px;
  overflow-y: auto;
  font-size: 14px;
}
.betslip-summary {
  background-color: #fff;
  color: #000;
}
.betslip-footer {
  border-top: 1px solid #ccc;
  background: #1c1c1c;
}
.bg-brown {
  background-color: #5c4033 !important;
}
.bg-blue {
  background-color: #007bff !important;
}
.selection-item {
  background: #fff;
  color: #000;
  padding: 10px;
  margin-bottom: 5px;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.remove-btn {
  color: red;
  font-size: 16px;
  cursor: pointer;
}
.voucher-popup {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
}
.voucher-content {
  width: 80%;
}
.voucher-trigger {
  cursor: pointer;
}
.floating-betslip {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 1000;
  }

  .mobile-betslip-popup,
  .voucher-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #000;
    color: #fff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    display: none;
    z-index: 999;
  }

  .voucher-card {
    background-color: #fff;
    color: #000;
    max-height: 300px;
    overflow-y: auto;
  }

  .bg-brown {
    background-color: #5c4033 !important;
  }

  .bg-blue {
    background-color: #007bff !important;
  }

  .btn:disabled {
    opacity: 0.6;
  }

  /* VOUCHER CSS */

  .voucher-popup {
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
  }

  .voucher-card {
    width: 100%;
    max-width: 500px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  }

  .voucher-box {
    border: 2px dashed #007bff;
    background-color: #e7f1ff;
    position: relative;
    padding: 15px 20px;
    border-radius: 15px;
    transition: transform 0.2s ease;
  }

  .voucher-box:hover {
    transform: scale(1.02);
  }

  .voucher-ribbon {
    font-size: 12px;
    background-color: #007bff;
    z-index: 10;
  }

  .btn-outline-primary {
    border-color: #007bff;
    color: #007bff;
  }

  .btn-outline-primary:hover {
    background-color: #007bff;
    color: white;
  }

  /* HOW TO PLAY CSS */
  .bg-dark {
  background-color: #111 !important;
}

.text-primary {
  color: #007bff !important;
}

.rounded-4 {
  border-radius: 20px;
}

.shadow {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* AUTH CSS  */

/* === Auth Modal Container === */
.auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* === Auth Card === */
.auth-card {
  background: #fff;
  color: #000;
  border-radius: 15px;
  padding: 30px 20px;
  width: 100%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 0.3s ease;
}

/* === Logo === */
.auth-logo {
  width: 80px;
  height: auto;
}

/* === Forms === */
.auth-form {
  display: block;
}

.auth-form.d-none {
  display: none;
}

/* === Input Fields === */
.auth-card input.form-control {
  border-radius: 8px;
  font-size: 0.95rem;
  padding: 10px;
}

/* === Buttons === */
.auth-card .btn {
  border-radius: 8px;
  font-weight: bold;
}

/* === Close Button === */
.auth-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #999;
  cursor: pointer;
  transition: color 0.2s ease;
}

.auth-close:hover {
  color: #ff4444;
}

/* === Animations === */
@keyframes fadeInUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0px);
    opacity: 1;
  }
}

/* === Responsive Adjustments === */
@media (max-width: 480px) {
  .auth-card {
    padding: 25px 15px;
  }

  .auth-logo {
    width: 65px;
  }
}

#px-spinner-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #001f3f;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.px-spinner-wrapper {
  position: relative;
  width: 150px;
  height: 150px;
}

.px-zigzag-ring {
  width: 100%;
  height: 100%;
  border: 6px dashed #ffffff;
  border-radius: 50%;
  animation: px-zigzag-spin 1.5s linear infinite;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.px-spinner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.6rem;
  color: #ffffff;
  font-weight: bold;
  font-family: 'Arial', sans-serif;
  text-align: center;
  width: 100%;
}

@keyframes px-zigzag-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#px-main-content {
  display: none;
}

@media (max-width: 576px) {
  .px-spinner-wrapper {
    width: 100px;
    height: 100px;
  }
  .px-spinner-text {
    font-size: 1.2rem;
  }
}
.btn-odd {
  background-color: transparent;
  border: 1px solid #0d6efd;
  color: #0d6efd;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 6px;
  padding: 4px 8px;
  text-align: center;
  transition: 0.2s ease;
  width: 30%;
}

.btn-odd.active {
  background-color: #0d6efd;
  color: white;
}

.match-row {
  border: 1px solid #222;
  border-radius: 10px;
  background-color: #141414;
}
.lucky-pick-circle {
  position: fixed;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  background-color: #2196f3;
  color: white;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.lucky-pick-circle:hover {
  background-color: #1976d2;
}
