/* BLACK FRIDAY POPUP - DIRECT CSS */

@keyframes bfFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bfSlideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes bfPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes bfRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes bfGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(191, 0, 1, 0.5); }
  50% { box-shadow: 0 0 40px rgba(191, 0, 1, 0.8); }
}

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

@keyframes bfGradientMove {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.black-friday-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bfFadeIn 0.5s ease-out;
  padding: 20px;
}

.black-friday-overlay.hidden {
  display: none;
}

.black-friday-popup {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  border: 3px solid #bf0001;
  max-width: 650px;
  width: 100%;
  border-radius: 20px;
  padding: 50px 40px;
  animation: bfSlideUp 0.6s ease-out;
  box-shadow: 0 20px 60px rgba(191, 0, 1, 0.4), 0 0 100px rgba(191, 0, 1, 0.2);
  overflow: hidden;
}

@media (max-width: 768px) {
  .black-friday-popup {
    padding: 60px 10px 0;
    max-width: 95%;
  }
}

.bf-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(191, 0, 1, 0.2);
  border: 2px solid #bf0001;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
}

.bf-close i {
  font-size: 18px;
}

.bf-close:hover {
  background: #bf0001;
  transform: rotate(90deg);
}

.bf-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.bf-decoration {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

.bf-circle-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #bf0001 0%, transparent 70%);
  top: -150px;
  right: -150px;
  animation: bfRotate 20s linear infinite;
}

.bf-circle-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #bf0001 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  animation: bfRotate 15s linear infinite reverse;
}

.bf-circle-3 {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, #bf0001 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: bfPulse 3s ease-in-out infinite;
}

.bf-header {
  margin-bottom: 30px;
}

.bf-badge {
  display: inline-block;
  background: linear-gradient(90deg, #bf0001 0%, #d60002 100%);
  padding: 8px 25px;
  border-radius: 50px;
  margin-bottom: 20px;
  animation: bfPulse 2s ease-in-out infinite;
  box-shadow: 0 4px 15px rgba(191, 0, 1, 0.5);
}

@media (max-width: 768px) {
  .bf-badge {
    display: none;
  }
}

.bf-badge-text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #fff;
  text-transform: uppercase;
}

.bf-title {
  margin: 0;
}

.bf-title-main {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: 900;
  line-height: 1.2;
  background: linear-gradient(135deg, #fff 0%, #bf0001 50%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: bfGradientMove 3s ease infinite;
  text-transform: uppercase;
  letter-spacing: 2px;
}

@media (max-width: 768px) {
  .bf-title-main {
    font-size: 32px;
  }
}

.bf-discount-wrapper {
  margin: 30px 0;
  animation: bfFloat 3s ease-in-out infinite;
}

.bf-discount-box {
  display: inline-block;
  background: linear-gradient(135deg, #bf0001 0%, #8a0001 100%);
  padding: 30px 60px;
  border-radius: 20px;
  border: 3px solid #fff;
  box-shadow: 0 10px 40px rgba(191, 0, 1, 0.6), inset 0 0 30px rgba(255, 255, 255, 0.1);
  position: relative;
}

@media (max-width: 768px) {
  .bf-discount-box {
    padding: 15px 30px;
  }
}

.bf-discount-number {
  display: block;
  font-size: 80px;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .bf-discount-number {
    font-size: 40px;
  }
}

.bf-discount-label {
  display: block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 5px;
  color: #fff;
  text-transform: uppercase;
  margin-top: 5px;
}

@media (max-width: 768px) {
  .bf-discount-label {
    font-size: 16px;
    letter-spacing: 3px;
  }
}

.bf-subtitle {
  font-size: 24px;
  color: #fff;
  margin: 20px 0 30px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .bf-subtitle {
    font-size: 16px;
    margin: 15px 0;
  }
}

.bf-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 30px 0;
}

@media (max-width: 768px) {
  .bf-countdown {
    gap: 5px;
    margin: 15px 0;
  }
}

.bf-countdown-item {
  background: rgba(191, 0, 1, 0.2);
  border: 2px solid #bf0001;
  border-radius: 12px;
  padding: 15px 20px;
  min-width: 80px;
}

@media (max-width: 768px) {
  .bf-countdown-item {
    padding: 10px 12px;
    min-width: 60px;
  }
}

.bf-countdown-value {
  display: block;
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

@media (max-width: 768px) {
  .bf-countdown-value {
    font-size: 24px;
  }
}

.bf-countdown-label {
  display: block;
  font-size: 11px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

@media (max-width: 768px) {
  .bf-countdown-label {
    font-size: 9px;
  }
}

.bf-countdown-separator {
  font-size: 32px;
  font-weight: 900;
  color: #bf0001;
}

@media (max-width: 768px) {
  .bf-countdown-separator {
    font-size: 24px;
  }
}

.bf-code-wrapper {
  margin: 30px 0;
  position: relative;
}

@media (max-width: 768px) {
  .bf-code-wrapper {
    margin: 15px 0;
  }
}

.bf-code-box {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px dashed #bf0001;
  border-radius: 12px;
  padding: 15px 25px;
}

@media (max-width: 768px) {
  .bf-code-box {
    padding: 12px 20px;
    gap: 10px;
  }
}

.bf-code-label {
  font-size: 14px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bf-code-value {
  font-size: 24px;
  font-weight: 900;
  color: #bf0001;
  letter-spacing: 2px;
  font-family: 'Courier New', monospace;
}

@media (max-width: 768px) {
  .bf-code-value {
    font-size: 18px;
  }
}

.bf-copy-btn {
  background: #bf0001;
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.bf-copy-btn:hover {
  background: #d60002;
  transform: scale(1.1);
}

.bf-copy-btn i {
  font-size: 16px;
}

.bf-copy-feedback {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: #28a745;
  color: #fff;
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  white-space: nowrap;
}

.bf-copy-feedback.show {
  opacity: 1;
  top: -40px;
}

.bf-copy-feedback::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #28a745;
}

.bf-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(135deg, #bf0001 0%, #d60002 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 20px 50px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(191, 0, 1, 0.5);
  margin: 20px 0;
  animation: bfPulse 2s ease-in-out infinite;
}

@media (max-width: 768px) {
  .bf-cta-button {
    font-size: 12px;
    padding: 10px 20px;
  }
}

.bf-cta-button i {
  transition: transform 0.3s;
}

.bf-cta-button:hover {
  background: linear-gradient(135deg, #d60002 0%, #bf0001 100%);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(191, 0, 1, 0.7);
  color: #fff;
  text-decoration: none;
}

.bf-cta-button:hover i {
  transform: translateX(8px);
}

.bf-terms {
  font-size: 11px;
  color: #666;
  margin-top: 20px;
  line-height: 1.4;
}

