/* Responsive stylesheet for CherryOffers */

@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 3.2rem;
  }
  .mascot-container {
    height: 420px;
  }
}

@media (max-width: 991.98px) {
  .section-padding {
    padding: 70px 0;
  }
  .hero-section {
    padding: 120px 0 70px 0;
  }
  .hero-title {
    font-size: 2.8rem;
    text-align: center;
  }
  .hero-description {
    text-align: center;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .mascot-container {
    height: 380px;
    margin-top: 50px;
  }
  .floating-card-badge {
    padding: 8px 12px;
  }
  .floating-badge-icon {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }
  .badge-dating { right: 0%; top: 4%; }
  .badge-sweepstakes { left: 0%; top: 4%; }
  .badge-finance { left: 0%; top: 80%; }
  .badge-mobile { right: 0%; top: 80%; bottom: auto; }
  .badge-clicks { right: -2%; top: 44%; }

  .navbar-collapse {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    margin-top: 16px;
    box-shadow: var(--card-shadow);
    text-align: center;
  }
  .navbar-collapse .d-flex {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px !important;
    margin-top: 16px;
    width: 100%;
  }
  .nav-link::after {
    display: none;
  }
  .navbar-nav {
    margin-bottom: 10px !important;
  }
  .navbar-scrolled .navbar-collapse {
    margin-top: 10px;
  }

  /* Mobile-only half-moon badge layout */
  .badge-cpa {
    top: 16%;
    left: 4%;
  }
  .badge-cpl {
    top: 34%;
    left: 1%;
  }
  .badge-cps {
    top: 54%;
    left: 5%;
  }
  .mini-floating-badge {
    width: auto;
    padding: 6px 12px;
  }
  
  .growing-cta-banner {
    padding: 40px;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2.3rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .stats-number {
    font-size: 2.4rem;
  }
  .stats-counter-card {
    padding: 30px 15px;
  }
  .growing-cta-banner {
    padding: 30px 20px;
    text-align: center;
  }
  .growing-cta-banner .btn-cherry,
  .growing-cta-banner .btn-outline-cherry {
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
  }
  .growing-cta-banner .d-flex {
    flex-direction: column;
    gap: 12px !important;
  }

  /* Mobile-only CPA/CPL/CPS half-moon swirl */
  .badge-cpa {
    top: 16%;
    left: auto;
    right: 6%;
    transform: rotate(-4deg);
  }
  .badge-cpl {
    top: 28%;
    left: auto;
    right: 4%;
    transform: rotate(2deg);
  }
  .badge-cps {
    top: 46%;
    left: auto;
    right: 8%;
    transform: rotate(-3deg);
  }
  .mini-floating-badge {
    width: auto;
    padding: 6px 14px;
  }

  .dashboard-card {
    padding: 20px 15px;
  }
  .contact-form-card {
    padding: 24px 20px;
  }
}

@media (max-width: 575.98px) {
  /* Keep the existing contact cards within narrow mobile viewports. */
  #contact .contact-info-card-custom,
  #contact .contact-card-content {
    min-width: 0;
  }

  .hero-title {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 12px !important;
  }
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  .mascot-container {
    height: 320px;
  }
  .floating-card-badge {
    display: none !important; /* Hide floating badges on extra small screens for layout cleaniness */
  }
  .stats-number {
    font-size: 2.1rem;
  }
  .custom-accordion {
    gap: 12px;
  }
  .accordion-button-custom {
    padding: 16px 20px;
    font-size: 0.95rem;
  }
  .accordion-body-custom {
    padding: 0 20px 20px 20px;
  }
  .region-card {
    padding: 16px 12px;
  }
  .region-card-title {
    font-size: 0.95rem;
    margin-bottom: 4px;
  }
  .region-card-desc {
    font-size: 0.72rem;
  }
  .dashboard-widget-card {
    padding: 12px 8px;
  }
  .dashboard-widget-val {
    font-size: 1.2rem;
  }
  .dashboard-widget-lbl {
    font-size: 0.65rem;
  }
  .payment-card {
    padding: 20px 12px;
    border-radius: 16px;
  }
  .payment-logo {
    width: 44px;
    height: 44px;
    font-size: 1.35rem;
    margin-bottom: 12px;
    border-radius: 12px;
  }
  .payment-title {
    font-size: 0.95rem;
    margin-bottom: 4px;
  }
  .payment-desc {
    font-size: 0.72rem;
  }
  .payment-badge {
    padding: 2px 8px;
    font-size: 0.6rem;
    top: 8px;
    right: 8px;
  }
  .testimonial-card {
    padding: 24px 20px;
  }
}

@media (max-width: 768px) {
  /* Mobile-only premium half-circle orbit for the six green hero badges */
  .coin-bitcoin {
    top: 14%;
    right: 14%;
    left: auto;
    transform: translateY(-50%);
  }
  .badge-cpa {
    top: 18%;
    right: 6%;
    left: auto;
    transform: translateY(-50%);
  }
  .badge-cpl {
    top: 18%;
    left: 44%;
    right: auto;
    transform: translateX(-50%);
  }
  .badge-cps {
    top: 26%;
    left: 18%;
    right: auto;
    transform: translateY(-50%);
  }
  .coin-pound {
    top: 42%;
    left: 10%;
    right: auto;
    transform: translateY(-50%);
  }
  .coin-dollar {
    top: 58%;
    left: 18%;
    right: auto;
    transform: translateY(-50%);
  }
}
