
.export-buttons {
  margin: 30px 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.export-section {
  background: #161e31;
  border-radius: 14px;
  padding: 36px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  border: 1px solid rgba(71,85,105,0.5);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.export-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
  pointer-events: none;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.export-header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.floating-emojis {
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 40px;
  pointer-events: none;
}

.emoji-float {
  position: absolute;
  font-size: 26px;
  animation: float 3s ease-in-out infinite;
  opacity: 0.7;
  text-shadow: 0 0 10px rgba(244,114,182,0.4);
}

.emoji-float:nth-child(1) { left: 10%; }
.emoji-float:nth-child(2) { left: 25%; }
.emoji-float:nth-child(3) { left: 50%; }
.emoji-float:nth-child(4) { left: 75%; }
.emoji-float:nth-child(5) { left: 90%; }

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(5deg); }
  50% { transform: translateY(-5px) rotate(-5deg); }
  75% { transform: translateY(-15px) rotate(3deg); }
}

.export-header h3 {
  margin: 0 0 12px 0;
  color: #f1f5f9;
  font-size: 30px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}

.export-header h3::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #7c3aed, #f472b6);
  border-radius: 2px;
}

.export-subtitle {
  margin: 0 0 24px 0;
  color: #94a3b8;
  font-size: 17px;
  font-weight: 400;
}

.button-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
}

.export-btn {
  padding: 0;
  border: 2px solid rgba(71,85,105,0.5);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #1c2640;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.export-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,0.15), transparent);
  transition: left 0.5s;
}

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

.btn-content {
  display: flex;
  align-items: center;
  padding: 22px;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.btn-content i {
  font-size: 26px;
  min-width: 26px;
}

.btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.btn-text strong {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 2px;
  color: #f1f5f9;
}

.btn-text small {
  font-size: 13px;
  opacity: 0.7;
  color: #94a3b8;
}

.csv-btn { border-left: 4px solid #34d399; }
.csv-btn .btn-content i { color: #34d399; }
.csv-btn .btn-text strong { color: #34d399; }

.copy-btn { border-left: 4px solid #f472b6; }
.copy-btn .btn-content i { color: #f472b6; }
.copy-btn .btn-text strong { color: #f472b6; }

.sheets-btn { border-left: 4px solid #60a5fa; }
.sheets-btn .btn-content i { color: #60a5fa; }
.sheets-btn .btn-text strong { color: #60a5fa; }

.share-btn { border-left: 4px solid #a78bfa; }
.share-btn .btn-content i { color: #a78bfa; }
.share-btn .btn-text strong { color: #a78bfa; }

.export-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(124,58,237,0.2);
  border-color: #7c3aed;
}

.export-btn:active { transform: translateY(0); }

.export-btn:disabled {
  opacity: 0.5;
  transform: none;
  cursor: not-allowed;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.export-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #f1f5f9;
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  color: #f472b6;
}

.stat-label {
  font-size: 13px;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
  color: #94a3b8;
}

.stat-divider {
  color: rgba(71,85,105,0.5);
  font-size: 20px;
}

.export-help {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  background: #253352;
  border-radius: 14px;
  color: #94a3b8;
  font-size: 15px;
  text-align: center;
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 2;
  border: 1px solid rgba(71,85,105,0.5);
}

.export-help i {
  color: #f472b6;
  font-size: 18px;
}


.instructions-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

.instructions-modal .modal-content {
  background: #161e31;
  padding: 36px;
  border-radius: 14px;
  max-width: 640px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  border: 1px solid rgba(71,85,105,0.5);
  position: relative;
  backdrop-filter: blur(16px);
}

.instructions-modal .modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #7c3aed, #f472b6);
  border-radius: 14px 14px 0 0;
}

.instructions-modal h3 {
  margin: 0 0 24px 0;
  color: #f1f5f9;
  text-align: center;
  font-size: 26px;
  font-weight: 700;
}

.instructions-modal h4 {
  color: #f472b6;
  margin: 18px 0 12px 0;
  font-size: 19px;
  font-weight: 700;
}

.instructions-modal ol, .instructions-modal ul {
  padding-left: 20px;
  line-height: 1.7;
  color: #f1f5f9;
}

.instructions-modal li {
  margin-bottom: 10px;
  font-size: 16px;
  color: #94a3b8;
}

.instructions-modal strong {
  color: #f472b6;
  font-weight: 700;
}

.instructions-modal p {
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 16px;
}

.quick-links {
  margin-top: 24px;
  padding: 24px;
  background: #253352;
  border-radius: 14px;
  border: 1px solid rgba(71,85,105,0.5);
}

.quick-link {
  display: inline-block;
  margin: 5px 10px 5px 0;
  padding: 12px 24px;
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #f1f5f9;
  text-decoration: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(124,58,237,0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.quick-link:hover {
  background: linear-gradient(135deg, #6d28d9, #7c3aed);
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(124,58,237,0.4);
  text-decoration: none;
  color: #f1f5f9;
}

.modal-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.primary-btn {
  padding: 14px 36px;
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #f1f5f9;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(124,58,237,0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.primary-btn:hover {
  background: linear-gradient(135deg, #6d28d9, #7c3aed);
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(124,58,237,0.4);
}


@media (min-width:2000px) {
  .export-section { padding: 44px; }
  .export-header h3 { font-size: 36px; }
  .export-subtitle { font-size: 20px; }
  .btn-content { padding: 28px; }
  .btn-content i { font-size: 30px; }
  .btn-text strong { font-size: 20px; }
  .btn-text small { font-size: 15px; }
  .stat-number { font-size: 34px; }
  .stat-label { font-size: 15px; }
  .export-help { font-size: 17px; padding: 20px; }
}

@media (max-width: 768px) {
  .export-section {
    padding: 24px;
    margin: 15px 0;
  }

  .button-group {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .export-header h3 {
    font-size: 24px;
  }

  .export-subtitle {
    font-size: 15px;
  }

  .btn-content {
    padding: 16px;
  }

  .stat-number {
    font-size: 22px;
  }

  .floating-emojis {
    display: none;
  }

  .instructions-modal .modal-content {
    padding: 24px;
    margin: 15px;
  }

  .instructions-modal h3 {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .export-section { padding: 18px; }
  .export-header h3 { font-size: 20px; }
  .btn-content { padding: 14px; gap: 12px; }
  .btn-content i { font-size: 22px; }
  .btn-text strong { font-size: 15px; }
  .stat-number { font-size: 20px; }
  .stat-label { font-size: 11px; }
  .export-help { font-size: 13px; padding: 12px; }
}

.export-buttons {
  animation: slideUpFade 0.6s ease-out;
}

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