/* YouTube Thumbnail specific styles */

/* Override default resize styles with YouTube branding */
#resizeDropZone {
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.05) 0%, rgba(255, 68, 68, 0.03) 50%, rgba(255, 107, 53, 0.02) 100%);
  border: 2px dashed rgba(255, 0, 0, 0.3);
  border-radius: 24px;
  padding: 48px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#resizeDropZone:hover {
  border-color: rgba(255, 0, 0, 0.5);
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.08) 0%, rgba(255, 68, 68, 0.05) 50%, rgba(255, 107, 53, 0.03) 100%);
}

#resizeDropZone.drag {
  border-color: #ff0000;
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.1) 0%, rgba(255, 68, 68, 0.07) 50%, rgba(255, 107, 53, 0.05) 100%);
  transform: scale(1.02);
}

/* YouTube play button icon */
.youtube-play-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #ff0000 0%, #ff4444 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(255, 0, 0, 0.3);
}

/* Success modal YouTube branding - Modern design */
.success-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.success-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-modal-content {
  max-width: 600px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.25);
  border: none;
  padding: 40px;
  margin: 20px;
}

.success-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  font-size: 20px;
  color: #666;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 50%;
  transition: all 0.2s ease;
  z-index: 1001;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.success-close-btn:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  color: #111;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.success-message {
  text-align: center;
  margin-bottom: 32px;
  padding: 24px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  position: relative;
}

.success-message::before {
  content: "✓";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.success-message #resize-success-heading {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
  margin-top: 8px;
}

.success-message #resizeSuccessDimensions {
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 6px 12px;
  border-radius: 16px;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.success-message {
  margin-bottom: 24px;
}

.success-message h3 {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #ff0000 0%, #ff4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.success-dimensions {
  font-size: 16px;
  color: var(--light-text);
  opacity: 0.8;
}

/* SEO content cards */
.seo-content .platform-card {
  background: linear-gradient(135deg, #ff0000 0%, #ff4444 50%, #cc0000 100%);
  border-radius: 16px;
  padding: 24px;
  color: white;
  text-align: center;
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.seo-content .platform-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(255, 0, 0, 0.3);
}

.seo-content .platform-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.seo-content .platform-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.seo-content .platform-card p {
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.5;
}

/* CTA section */
.youtube-cta {
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.05) 0%, rgba(255, 68, 68, 0.03) 50%, rgba(255, 107, 53, 0.03) 100%);
  border: 1px solid rgba(255, 0, 0, 0.1);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}

.youtube-cta h3 {
  background: linear-gradient(135deg, #ff0000 0%, #ff4444 50%, #cc0000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Animation keyframes */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-10px) rotate(1deg); }
  66% { transform: translateY(5px) rotate(-1deg); }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Responsive design */
@media (max-width: 768px) {
  #resizeDropZone {
    padding: 32px 20px;
    min-height: 350px;
  }

  .success-modal-content {
    padding: 24px;
    margin: 10px;
    width: calc(100% - 20px);
    max-width: none;
  }

  .success-message {
    padding: 20px;
    margin-bottom: 24px;
  }

  .success-message #resize-success-heading {
    font-size: 20px;
  }

  .success-close-btn {
    top: 10px;
    right: 10px;
    font-size: 18px;
    padding: 6px 10px;
  }

  .seo-content .platform-card {
    padding: 20px;
  }

  .youtube-cta {
    padding: 32px 20px;
  }
}
