/* ==================================================
   Base
   ================================================== */

* {
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #111;
  background: #ffffff;
}

a {
  color: #0057d9;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 920px;
  margin: 0 auto;
  padding: 24px;
}

/* ==================================================
   Header / Hero
   ================================================== */

header {
  margin-bottom: 32px;
}

header h1 {
  font-size: 2.1rem;
  line-height: 1.25;
  margin-bottom: 12px;
}

header p {
  font-size: 1.05rem;
  color: #333;
}

.verified-badge {
  display: inline-block;
  margin-top: 12px;
  background: #edf7f0;
  color: #1a7a3c;
  border: 1px solid #a3d9b6;
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ==================================================
   Promo box
   ================================================== */

.promo-box {
  border: 2px solid #0057d9;
  background: #f4f8ff;
  padding: 24px;
  border-radius: 8px;
  margin: 32px 0;
}

.promo-box strong {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 8px;
}

.promo-code {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  background: #ffffff;
  padding: 12px 16px;
  display: inline-block;
  border-radius: 6px;
  border: 1px dashed #0057d9;
  margin: 12px 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.promo-code:hover {
  border-color: #0057d9;
  background: #eef4ff;
}

.promo-details {
  font-size: 0.95rem;
  color: #444;
}

/* ==================================================
   CTA
   ================================================== */

.cta {
  margin: 24px 0;
}

.cta a {
  display: inline-block;
  background: #0057d9;
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1.05rem;
}

.cta a:hover {
  background: #0046b3;
  text-decoration: none;
}

/* ==================================================
   Sections
   ================================================== */

section {
  margin: 40px 0;
}

section h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

section p,
section li {
  color: #222;
}

ul {
  padding-left: 20px;
}

/* ==================================================
   FAQ
   ================================================== */

.faq-item {
  margin-bottom: 20px;
}

.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

/* ==================================================
   Banner (optional affiliate)
   ================================================== */

.affiliate-banner {
  margin: 40px 0;
  text-align: center;
}

.affiliate-banner img {
  max-width: 100%;
  height: auto;
}

/* ==================================================
   Footer
   ================================================== */

footer {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid #ddd;
  font-size: 0.9rem;
  color: #555;
}

footer a {
  color: #555;
}

.footer-links {
  margin-bottom: 12px;
}

.footer-links a {
  margin-right: 12px;
}

/* ==================================================
   Responsive
   ================================================== */

@media (max-width: 600px) {
  header h1 {
    font-size: 1.7rem;
  }

  .promo-code {
    font-size: 1.3rem;
  }
}

/* Redirect Overlay & Toast */
.redirect-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.redirect-overlay.show {
    opacity: 1;
    pointer-events: auto;
}
.redirect-box {
    background: #ffffff;
    padding: 30px 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    max-width: 90%;
    width: 400px;
    animation: scaleUp 0.3s ease;
}
.redirect-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 15px 0 5px;
}
.redirect-text strong {
    color: var(--primary, #0057d9);
}
.redirect-sub {
    font-size: 1rem;
    color: #555;
}
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary, #0057d9);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes scaleUp {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: #1a1a1a;
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
    pointer-events: none;
}
.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.copy-helper {
    display: block;
    font-size: 0.85rem;
    color: #555;
    margin-top: -10px;
    margin-bottom: 15px;
    font-weight: 500;
}
