html,body {
    height: 100%
}

/* ======= GLOBAL ======= */
body {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #fff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  padding-bottom: 80px;
    background-repeat: no-repeat;
    background-color: #000;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center;
    background-attachment: fixed
}


/* ======= HEADER ======= */
header .topbanner {
  height: 6px;
  background-color: #ffc107;
}

.header-title {
  padding: 1.5rem 1rem;
  text-align: center;
}

.main-title {
  font-size: 1.8rem;
  font-weight: bold;
}

/* ======= TITLES ======= */
.trial-title,
.title-wrap .title {
  color: #fff;
  margin-top: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}


/* ======= BOXES / SECTIONS ======= */
.box {
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

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

.box.shade {
  background-color: #1a1a1a;
  border: 1px solid #333;
}


/* ======= UNLIMITED BANNER ======= */
.unltd-holder {
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
  margin-bottom: 1rem;
}

.unltd-price {
  font-size: 4rem;
  font-weight: 800;
  color: #f1f1f1;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  margin-bottom: 0;
}

.unltd-price .currency {
  font-size: 2.2rem;
  vertical-align: super;
  color: #ccc;
}


/* ======= UNLIMITED TITLE ======= */
.unltd-title {
  color: #ffc107;
  font-size: 2rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

/* ======= DETAILS LIST ======= */
.unltd-details ul {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.unltd-details li {
  color: #ffc107;
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
  position: relative;
  padding-left: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s ease-in-out;
}

.unltd-details li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #28a745;
  font-size: 1.1rem;
  font-weight: bold;
}


.unltd-details li:hover {
  color: #e77d0b;
  transform: scale(1.02);
}

/* ======= BOX BACKGROUND STYLING ======= */
.box.shade {
  background: linear-gradient(135deg, #111, #1a1a1a);
  border: 1px solid #2c2c2c;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}



/* ======= FORM ======= */
.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  background-color: #f8f9fa;
  color: #000;
  border-radius: 0.6rem;
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid #ced4da;
  transition: border 0.3s ease, box-shadow 0.3s ease;
  font-size: 0.95rem;
}

.form-control:focus {
  border-color: #ffc107;
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.3);
  background-color: #fff;
}


/* ======= BUTTONS ======= */
.button,
.verify-btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 0.6rem;
  background: linear-gradient(135deg, #ffc107, #ffca2c);
  color: #000;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 193, 7, 0.3);
  width: 100%;
  text-align: center;
}

.button:hover,
.verify-btn:hover {
  background: linear-gradient(135deg, #e0a800, #d39e00);
  color: #fff;
  box-shadow: 0 6px 14px rgba(224, 168, 0, 0.4);
}


/* ======= SIGN IN LINK ======= */
.subform-link .signin-btn {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #ffc107;
  cursor: pointer;
  text-align: center;
}

.subform-link .signin-btn i {
  margin-right: 0.5rem;
}


/* ======= LANGUAGE DROPDOWN ======= */
.lang-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 1rem;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.125);
  background-color: transparent;
  border-radius: 6px;
  transition: background 0.3s;
}

.dropdown-toggle:hover {
  background-color: rgba(0, 123, 255, 0.1);
}

.dropdown-toggle img {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 3px;
}

.lang-container img {
  max-width: 24px;
  height: auto;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 768px) {
  .lang-container {
    justify-content: center;
    margin-bottom: 1rem;
  }

  .dropdown-menu {
    min-width: 150px;
  }
}

/* ======= FOOTER FIXED STYLING (MINI VERSION) ======= */


footer.main-footer {
  background-color: rgba(17, 17, 17, 0.4);
  border-top: 1px solid #444;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  color: #ccc;
  font-size: 10px;
  line-height: 1;
  padding: 2px 8px;
  height: 24px;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(4px);
    
}


footer.main-footer .footer-left {
  flex: 1;
  text-align: left;
}

footer.main-footer .footer-right {
  flex: 1;
  text-align: right;
}


footer.main-footer .dropdown-toggle {
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  line-height: 1.2;
  border: 1px solid rgba(0, 0, 0, 0.125);
  background-color: transparent;
  color: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Dropdown Menu */
footer.main-footer .dropdown-menu {
  background-color: #222;
  border: 1px solid #444;
  padding: 0;
  min-width: 120px;
}

footer.main-footer .dropdown-menu .dropdown-item {
  color: #ccc;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
}

footer.main-footer .dropdown-menu .dropdown-item:hover {
  background-color: #333;
  color: #fff;
}

/* Responsive (optional tweak for small screens) */
@media (max-width: 480px) {
  footer.main-footer {
    flex-direction: column;
    text-align: center;
    gap: 0.2rem;
    padding: 2px 6px;
    height: auto; /* biar fleksibel kalo ada dropdown */
    min-height: 24px;
    overflow: visible;
  }

  footer.main-footer .footer-left,
  footer.main-footer .footer-right {
    flex: none;
    width: 100%;
    text-align: center;
    padding: 2px 6px;
    height: auto;
    font-size: 10px;
  }

  .lang-container {
    justify-content: center;
    margin-bottom: 2px;
    position: relative;
    z-index: 999;
  }

  footer.main-footer .dropdown-menu {
    position: absolute !important;
    top: 100%; /* tampilkan dropdown di bawah tombol */
    left: 50%;
    transform: translateX(-50%);
    margin-top: 2px;
    z-index: 1000;
  }
}


/* ======= SHADOW OVERLAY WITH LIGHT BLUR ======= */
.shadow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999;
  display: none;
}

/* ======= POPUP CONTAINER ======= */
.popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ✅ FIX: Add .open class to show popup */
.popup.open {
  display: flex !important;
}

/* ✅ FIX: Force popup to be visible when open */
#phone-verification-popup.open {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}


/* ======= POPUP CONTENT BOX ======= */
.popup .content {
  background: #111;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 400px;
  margin: auto;
  color: #fff;
  text-align: center;
}


/* ======= TITLES & TEXT ======= */
.verify-title {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
  color: #fff;
}

.verify-subtitle,
.verify-label,
.verify-text,
.verify-or-text,
.verify-link {
  font-size: 0.95rem;
  color: #eee;
  margin-bottom: 1rem;
}

.verify-text.text-bold {
  font-weight: 600;
}

/* ======= FORM FIELD ======= */
.verify-form-phone {
  margin: 1rem 0;
  text-align: left;
}

.verify-label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 500;
}

.verify-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #ccc;
  background: rgba(255, 255, 255, 0.85);
  color: #000;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.verify-input:focus {
  border-color: #ffc107;
  outline: none;
}

/* ======= BUTTON STYLE ======= */
.verify-btn {
  display: inline-block;
  background: linear-gradient(to right, #ffc107, #ff9800);
  color: #000;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 0.5rem;
  margin-top: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
  transition: all 0.3s ease;
}

.verify-btn:hover {
  background: linear-gradient(to right, #ffca28, #ffb300);
  color: #fff;
}

/* ======= SUCCESS / DENIED ICON GLOW ======= */
.verify-process.success,
.verify-process.denied {
  display: block;
  width: 60px;
  height: 60px;
  margin: 1rem auto;
  background-size: contain;
  background-repeat: no-repeat;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
}

.verify-process.success {
  background-image: url('template/images/success-icon.png');
}

.verify-process.denied {
  background-image: url('template/images/error-icon.png');
}

/* ======= LOADER ======= */
.verify-loader img {
  width: 100px;
  height: auto;
  display: block;
  margin: 2rem auto;
}

/* ======= RESPONSIVE MOBILE ======= */
@media (max-width: 480px) {
  .popup .content {
    padding: 1.5rem;
    width: 90%;
  }

  .verify-title {
    font-size: 1.4rem;
  }

  .verify-btn {
    width: 100%;
  }
}



/* ======= BACKGROUND SHADOW ======= */
.shadow {
  background-color: rgba(0, 0, 0, 0.7);
}

/* ======= RESPONSIVE ======= */
@media (max-width: 768px) {
  .main-title {
    font-size: 1.5rem;
  }

  .box {
    padding: 1rem;
  }

  .unltd-title {
    font-size: 1.2rem;
  }

  .unltd-price {
    font-size: 2rem;
  }

  .trial-title,
  .title-wrap .title {
    font-size: 1.2rem;
  }
}


@media (max-height: 780px) {
    body {
        height:100%
    }
}

@media (max-width: 480px) {
  footer.main-footer {
    flex-direction: column;
    text-align: center;
    gap: 0.2rem;
    padding: 2px 6px;
    height: auto; 
    min-height: 24px;
    overflow: visible;
  }

  footer.main-footer .footer-left,
  footer.main-footer .footer-right {
    flex: none;
    width: 100%;
    text-align: center;
    padding: 2px 6px;
    height: auto;
    font-size: 10px;
  }

  .lang-container {
    justify-content: center;
    margin-bottom: 2px;
    position: relative;
    z-index: 999;
  }

  footer.main-footer .dropdown-menu {
    position: absolute !important;
    top: 100%; /* tampilkan dropdown di bawah tombol */
    left: 50%;
    transform: translateX(-50%);
    margin-top: 2px;
    z-index: 1000;
  }
}


body.default {
    background-image: url('../images/backgrounds/bg_sports_default.jpg')
}
@media (max-width: 768px) {
    body.default {
        background-image:url('../images/backgrounds/bg_sports_default.jpg')
    }
}

body.stadium {
    background-image: url('../images/backgrounds/bg_sports_stadium.jpg')
}

body.pitch {
    background-image: url('../images/backgrounds/bg_sports_stadium2.jpg')
}

body.field {
    background-image: url('../images/backgrounds/bg_gen_field.jpg')
}

body.sports {
    background-image: url('../images/backgrounds/bg_gen_sports-collection.jpg')
}

body.rugby {
    background-image: url('../images/backgrounds/bg_gen_rugby.jpg')
}

body.basketball {
    background-image: url('../images/backgrounds/bg_basketball_default_1910.jpg')
}

@media (max-width: 768px) {
    body.basketball {
        background-image:url('../images/backgrounds/bg_basketball_default_1910_mobile.jpg')
    }
}

body.basketball .title.media--title {
    font-size: clamp(1.4rem,4.5vw,2.6rem)
}

body.soccer {
    background-image: url('../images/backgrounds/bg_gen_soccer-ball.jpg')
}

body.golf {
    background-image: url('../images/backgrounds/bg_gen_golf.jpg')
}

body.fighting {
    background-image: url('../images/backgrounds/bg_gen_box.jpg')
}

body.wrestling {
    background-image: url('../images/backgrounds/bg_wrestling_default.jpg')
}

body.boxing {
    background-image: url('../images/backgrounds/bg_gen_box.jpg')
}

body.mma {
    background-image: url('../images/backgrounds/bg_mma_cage.jpg')
}

body.tennis {
    background-image: url('../images/backgrounds/bg_gen_tennis-orange.jpg')
}

body.racing {
    background-image: linear-gradient(180deg,rgba(0,0,0,0.4) 10%,transparent),url('../images/backgrounds/bg_gen_racetrack.jpg')
}

body.formula1 {
    background-image: linear-gradient(180deg,rgba(0,0,0,0.4) 10%,transparent),url('../images/backgrounds/bg_gen_racetrack.jpg')
}

body.nascar {
    background-image: linear-gradient(180deg,rgba(0,0,0,0.4) 10%,transparent),url('../images/backgrounds/bg_gen_racetrack.jpg')
}

body.motocross {
    background-image: linear-gradient(180deg,rgba(0,0,0,0.4) 10%,transparent),url('../images/backgrounds/bg_gen_motocross.jpg')
}

body.motogp {
    background-image: linear-gradient(180deg,rgba(0,0,0,0.6) 10%,transparent),url('../images/backgrounds/bg_gen_racetrack.jpg')
}

body.cricket {
    background-image: url('../images/backgrounds/bg_gen_cricketball.jpg')
}

body.baseball {
    background-image: url('../images/backgrounds/bg_gen_baseball.jpg')
}

body.hockey {
    background-image: url('../images/backgrounds/bg_gen_hockey.jpg')
}

body.football {
    background-image: url('../images/backgrounds/bg_football_default_field.jpg')
}

@media (max-width: 768px) {
    body.football {
        background-image:url('../images/backgrounds/bg_football_default_field-mobile.jpg')
    }
}

body.football .title.media--title {
    font-size: clamp(1.4rem,4.5vw,2.6rem)
}

body.ncaaf {
    background-image: url('../images/backgrounds/bg_football_default_field.jpg')
}

@media (max-width: 768px) {
    body.ncaaf {
        background-image:url('../images/backgrounds/bg_football_default_field-mobile.jpg')
    }
}

body.cycling {
    background-image: url('../images/backgrounds/bg_gen_cycling.jpg')
}

body.horseracing {
    background-image: url('../images/backgrounds/bg_gen_horse.jpg')
}

body.afl {
    background-image: url('../images/backgrounds/bg_gen_australian-football.jpg')
}

body.handball {
    background-image: url('../images/backgrounds/bg_gen_handball.jpg')
}

body.xgames {
    background-image: url('../images/backgrounds/bg_gen_snowboading.jpg')
}

body.xgames .title.media--title {
    font-size: clamp(1.4rem,4.5vw,2.6rem)
}

body.ski {
    background-image: url('../images/backgrounds/bg_gen_skiing.jpg')
}

body.curling {
    background-image: url('../images/backgrounds/bg_gen_curling.jpg')
}

/* ======= MODERN MODAL STYLES ======= */
body.modal-open {
    overflow: hidden;
}

.modern-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modern-modal.show {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-content {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
}

.modal-header {
    padding: 32px 32px 24px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.modal-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
    line-height: 1.3;
}

.modal-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.modal-body {
    padding: 24px 32px;
}

.form-group {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.modal-footer {
    padding: 24px 32px 32px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: #f5f5f5;
    color: #666;
}

.btn-secondary:hover {
    background: #e5e5e5;
    color: #333;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f5f5;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #e5e5e5;
    color: #333;
}

/* Loading Modal Styles */
.loading-content {
    text-align: center;
    padding: 48px 32px;
}

.loading-spinner {
    margin-bottom: 24px;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #f0f0f0;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.loading-text {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Success Modal Styles */
.success-content {
    text-align: center;
    padding: 48px 32px;
}

.success-icon {
    margin-bottom: 24px;
    color: #10b981;
}

.success-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px;
}

.success-text {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-modal {
        padding: 16px;
    }
    
    .modal-container {
        max-width: 100%;
    }
    
    .modal-header {
        padding: 24px 24px 20px;
    }
    
    .modal-body {
        padding: 20px 24px;
    }
    
    .modal-footer {
        padding: 20px 24px 24px;
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .modal-title {
        font-size: 20px;
    }
}
