/* Black Friday Specific Styles */

:root {
  --bf-bg: #050505;
  --bf-accent: #00ffa8;
  /* Cryptonite Green */
  --bf-accent-dark: #00d18a;
  --bf-accent-glow: rgba(0, 255, 168, 0.6);
  --bf-urgent: #ff3b30;
  /* Urgency Red */
  --bf-text: #ffffff;
  --bf-card: #111111;
}

body {
  background-color: var(--bf-bg) !important;
  color: var(--bf-text);
}

/* Hero Section Overrides */
.hero {
  background: radial-gradient(
    ellipse at 50% 30%,
    rgba(0, 255, 168, 0.08) 0%,
    var(--bf-bg) 50%,
    var(--bf-bg) 100%
  );
  padding-top: 0px !important;
  padding-bottom: 40px;
  min-height: auto;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(0, 255, 168, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(0, 255, 168, 0.03) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Hero Title Styling */
.bf-hero-title {
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.1;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--bf-text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

.hero-3x1 {
  color: var(--bf-accent);
  font-size: 1.2em;
  font-weight: 900;
  letter-spacing: 4px;
  text-shadow: 0 0 20px rgba(0, 255, 168, 0.6);
}

/* Hero Text Block */
.bf-hero-text {
  text-align: center;
  margin-bottom: 0;
  line-height: 1.3;
}

.bf-subtitle {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px 0;
  letter-spacing: 0.5px;
}

.bf-highlight {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--bf-accent);
  margin: 0;
  letter-spacing: 0.5px;
}

/* Hero Footer */
.bf-hero-footer {
  text-align: center;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.5;
  letter-spacing: 1px;
}

/* Diagonal Badge (Seal) */
.bf-seal-container {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  overflow: hidden;
  z-index: 10;
  pointer-events: none;
}

.bf-seal {
  background: linear-gradient(135deg, #ff3b30 0%, #d32f2f 100%);
  color: white;
  padding: 12px 40px;
  text-align: center;
  transform: rotate(45deg) translate(30%, -20%);
  transform-origin: center;
  position: absolute;
  top: 30px;
  right: -60px;
  width: 300px;
  font-weight: 900;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: pulse-red 2.5s ease-in-out infinite;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

/* Integrated Timer Button */
.btn-timer-wrapper {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(
    135deg,
    var(--bf-accent) 0%,
    var(--bf-accent-dark) 100%
  );
  padding: 20px 70px 18px;
  border-radius: 16px;
  text-decoration: none;
  box-shadow: 0 6px 0 #00a36b, 0 10px 30px rgba(0, 255, 168, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-timer-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.btn-timer-wrapper:hover::before {
  left: 100%;
}

.btn-timer-wrapper:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 0 #00a36b, 0 15px 40px rgba(0, 255, 168, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  filter: brightness(1.15);
}

.btn-timer-wrapper:active {
  transform: translateY(2px);
  box-shadow: 0 3px 0 #00a36b, 0 5px 20px rgba(0, 255, 168, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-main-text {
  color: #001a11;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 1px 0 rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
}

.btn-timer {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 26, 17, 0.25);
  padding: 8px 20px;
  border-radius: 25px;
  border: 1px solid rgba(0, 26, 17, 0.3);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.timer-segment {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.timer-value {
  color: #001a11;
  font-family: "Courier New", "Consolas", monospace;
  font-weight: 900;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  letter-spacing: 1px;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.timer-label {
  color: rgba(0, 26, 17, 0.7);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timer-separator {
  color: #001a11;
  font-family: "Courier New", "Consolas", monospace;
  font-weight: 900;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1;
  margin: 0 2px;
  opacity: 0.6;
}

/* CTA Microcopy */
.bf-cta-microcopy {
  color: var(--accent-color);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  margin-top: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 0 15px rgba(0, 255, 168, 0.3);
}

/* Trust Logos */
.bf-trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.logo-separator {
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.2rem;
}

@keyframes pulse-red {
  0%,
  100% {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6), 0 0 0 0 rgba(255, 59, 48, 0.6),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.7), 0 0 0 8px rgba(255, 59, 48, 0),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
}

/* CTA Button - Compact and Clear */
.bf-cta-button {
  display: inline-block !important;
  padding: 16px 45px !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 8px !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 255, 168, 0.3) !important;
  position: relative;
  overflow: hidden;
}

.bf-cta-button::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;
}

.bf-cta-button:hover::before {
  width: 300px;
  height: 300px;
}

.bf-cta-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 25px rgba(0, 255, 168, 0.5) !important;
}

.bf-cta-button:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 10px rgba(0, 255, 168, 0.3) !important;
}

/* Professional Countdown Timer - DaisyUI Style */
.bf-countdown-container {
  text-align: center;
  margin: 20px auto 0;
  max-width: 650px;
}

.countdown-label {
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.countdown-grid {
  display: grid;
  grid-auto-flow: column;
  gap: clamp(12px, 2vw, 20px);
  text-align: center;
  justify-content: center;
  grid-auto-columns: max-content;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  padding: clamp(12px, 2vw, 16px);
  background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
  border: 2px solid rgba(0, 255, 168, 0.3);
  border-radius: 16px;
  min-width: clamp(85px, 12vw, 110px);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 25px rgba(0, 255, 168, 0.15);
  position: relative;
  overflow: hidden;
}

.countdown-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 168, 0.6), transparent);
}

.countdown-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 168, 0.3), transparent);
}

/* Countdown flip animation effect */
.countdown {
  font-family: 'Courier New', 'Consolas', 'Monaco', monospace;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
  display: inline-flex;
}

.countdown-value {
  position: relative;
  display: inline-block;
  color: var(--bf-accent);
  text-shadow: 
    0 0 15px rgba(0, 255, 168, 0.9),
    0 0 30px rgba(0, 255, 168, 0.5),
    0 3px 6px rgba(0, 0, 0, 0.9);
  letter-spacing: 0;
  min-width: 1.2em;
  text-align: center;
}

/* Countdown value - no pseudo-element to avoid duplication */

.countdown-unit {
  font-size: clamp(0.75rem, 1.3vw, 0.9rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 8px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero {
    padding-top: 30px !important;
    padding-bottom: 40px;
    min-height: auto;
    display: block;
  }

  .bf-seal-container {
    transform: scale(0.7);
    top: -20px;
    right: -20px;
  }

  .bf-hero-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .hero-3x1 {
    font-size: 1.3em;
  }

  .bf-subtitle {
    font-size: 1.2rem;
    margin-bottom: 6px;
  }

  .bf-highlight {
    font-size: 1rem;
  }

  .bf-cta-button {
    padding: 14px 35px !important;
    font-size: 1rem !important;
  }

  .countdown-item {
    padding: 10px 12px;
    min-width: 75px;
  }

  .countdown {
    font-size: 2rem;
  }

  .countdown-grid {
    gap: 10px;
  }

  .countdown-unit {
    font-size: 0.7rem;
    margin-top: 6px;
  }

  .bf-trust-logos {
    gap: 15px;
  }

  .bf-trust-logos img {
    height: 24px !important;
  }
}
