/**
 * AFFILIATE CTA STYLES - Eye-catching conversion-focused design
 * Purpose: Drive clicks to affiliate link
 * Affiliate URL: https://betjjj999.com?ch=55699
 */

/* ============================================
   VIBRANT COLOR SCHEME
   ============================================ */

:root {
  /* === VIBRANT PRIMARY COLORS === */
  --color-cta-primary: #27AE60;        /* Vibrant green */
  --color-cta-primary-hover: #229954;  /* Darker green on hover */
  --color-cta-secondary: #F39C12;      /* Vibrant orange/gold */
  --color-cta-secondary-hover: #E67E22; /* Darker orange on hover */
  --color-cta-danger: #E74C3C;         /* Red for warnings */
  --color-cta-info: #3498DB;           /* Blue for info */

  /* === ACCENT COLORS === */
  --color-accent-gold: #F1C40F;
  --color-accent-emerald: #2ECC71;
  --color-gradient-green: linear-gradient(135deg, #27AE60 0%, #229954 100%);
  --color-gradient-gold: linear-gradient(135deg, #F39C12 0%, #E67E22 100%);

  /* === SHADOW & GLOW === */
  --shadow-cta: 0 4px 12px rgba(39, 174, 96, 0.3);
  --shadow-cta-hover: 0 6px 20px rgba(39, 174, 96, 0.5);
  --glow-green: 0 0 20px rgba(39, 174, 96, 0.6);
}

/* ============================================
   PRIMARY CTA BUTTON - Main Affiliate Link
   ============================================ */

.cta-primary,
.btn-cta-primary {
  display: inline-block;
  background: var(--color-gradient-green);
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  padding: 16px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-cta);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.cta-primary::before,
.btn-cta-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-primary:hover::before,
.btn-cta-primary:hover::before {
  width: 300px;
  height: 300px;
}

.cta-primary:hover,
.btn-cta-primary:hover {
  background: var(--color-cta-primary-hover);
  box-shadow: var(--shadow-cta-hover);
  transform: translateY(-2px);
}

.cta-primary:active,
.btn-cta-primary:active {
  transform: translateY(0);
}

/* ============================================
   SECONDARY CTA BUTTON - Alternative Actions
   ============================================ */

.cta-secondary,
.btn-cta-secondary {
  display: inline-block;
  background: var(--color-gradient-gold);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  padding: 14px 28px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
  transition: all 0.3s ease;
}

.cta-secondary:hover,
.btn-cta-secondary:hover {
  background: var(--color-cta-secondary-hover);
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.5);
  transform: translateY(-2px);
}

/* ============================================
   CTA BANNER - Sticky Top Banner
   ============================================ */

.cta-banner {
  background: var(--color-gradient-green);
  color: #FFFFFF;
  text-align: center;
  padding: 12px 20px;
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  animation: slideDown 0.5s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cta-banner-text {
  font-size: 16px;
  font-weight: 600;
  margin-right: 16px;
}

.cta-banner-button {
  background: #FFFFFF;
  color: var(--color-cta-primary);
  padding: 8px 24px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-banner-button:hover {
  background: var(--color-accent-gold);
  color: #FFFFFF;
  transform: scale(1.05);
}

/* ============================================
   CTA BOX - Highlighted Call-to-Action Sections
   ============================================ */

.cta-box {
  background: linear-gradient(135deg, #27AE60 0%, #2ECC71 100%);
  color: #FFFFFF;
  padding: 32px;
  border-radius: 12px;
  text-align: center;
  margin: 40px 0;
  box-shadow: 0 8px 24px rgba(39, 174, 96, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulse 3s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.cta-box-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-box-text {
  font-size: 18px;
  margin-bottom: 24px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.cta-box-button {
  background: #FFFFFF;
  color: var(--color-cta-primary);
  padding: 16px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.cta-box-button:hover {
  background: var(--color-accent-gold);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ============================================
   FLOATING CTA BUTTON - Mobile Bottom Bar
   ============================================ */

.cta-floating {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.cta-floating-button {
  background: var(--color-gradient-green);
  color: #FFFFFF;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 8px 24px rgba(39, 174, 96, 0.5);
  transition: all 0.3s ease;
}

.cta-floating-button:hover {
  box-shadow: var(--glow-green);
  transform: scale(1.1);
}

/* Mobile sticky bottom bar */
.cta-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-gradient-green);
  padding: 12px 20px;
  text-align: center;
  z-index: 999;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .cta-mobile-bar {
    display: block;
  }

  .cta-floating {
    display: none;
  }
}

.cta-mobile-button {
  background: #FFFFFF;
  color: var(--color-cta-primary);
  padding: 14px 0;
  width: 100%;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  display: block;
}

/* ============================================
   WARNING BOX - Urgency & FOMO
   ============================================ */

.warning-box {
  background: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
  color: #FFFFFF;
  padding: 20px;
  border-radius: 8px;
  margin: 24px 0;
  border-left: 4px solid #FFFFFF;
}

.warning-box-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

/* ============================================
   HIGHLIGHT ACCENTS - Visual Interest
   ============================================ */

.highlight-green {
  background: var(--color-cta-primary);
  color: #FFFFFF;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.highlight-gold {
  background: var(--color-accent-gold);
  color: #000000;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.text-green {
  color: var(--color-cta-primary);
  font-weight: 600;
}

.text-gold {
  color: var(--color-cta-secondary);
  font-weight: 600;
}

/* ============================================
   COMPARISON TABLE ENHANCEMENTS
   ============================================ */

.table-highlight-positive {
  background: rgba(39, 174, 96, 0.1);
  color: var(--color-cta-primary);
  font-weight: 600;
}

.table-highlight-negative {
  background: rgba(231, 76, 60, 0.1);
  color: var(--color-cta-danger);
  font-weight: 600;
}
