/* Custom styles for ZineForge */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue:wght@400&family=Oswald:wght@400;600;700&family=Source+Sans+Pro:wght@400;600&display=swap');

.protest-font {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  letter-spacing: 0.1em;
}

.vintage-btn {
  background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
  border: 2px solid #333;
  color: #333;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  transform: translateY(0);
  transition: all 0.2s ease;
  box-shadow: 3px 3px 0px #333;
}

.vintage-btn:hover {
  transform: translateY(-2px);
  box-shadow: 5px 5px 0px #333;
  background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
}

.vintage-btn:active {
  transform: translateY(1px);
  box-shadow: 1px 1px 0px #333;
}

.vintage-btn.active {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
  box-shadow: 3px 3px 0px #7f1d1d;
}

.vintage-btn.active:hover {
  box-shadow: 5px 5px 0px #7f1d1d;
}

.vintage-card {
  position: relative;
  box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.vintage-card:hover {
  box-shadow: 12px 12px 0px rgba(0, 0, 0, 0.3);
}

.vintage-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #333, #666);
  z-index: -1;
}

.featured-stamp {
  animation: stamp-pulse 2s infinite;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);
}

@keyframes stamp-pulse {
  0%, 100% { transform: rotate(12deg) scale(1); }
  50% { transform: rotate(12deg) scale(1.1); }
}

/* Vintage texture overlay */
.vintage-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, transparent 20%, rgba(255,255,255,0.3) 21%, rgba(255,255,255,0.3) 34%, transparent 35%, transparent),
    linear-gradient(0deg, rgba(0,0,0,0.1) 50%, transparent 50%);
  background-size: 30px 30px, 3px 3px;
  opacity: 0.1;
  pointer-events: none;
  z-index: 1;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border: 2px solid #333;
}

::-webkit-scrollbar-thumb {
  background: #dc2626;
  border: 2px solid #333;
}

::-webkit-scrollbar-thumb:hover {
  background: #b91c1c;
}

/* Paper texture for content areas */
.paper-texture {
  background-color: #f9f7f1;
  background-image: 
    linear-gradient(90deg, transparent 79px, #abced4 79px, #abced4 81px, transparent 81px),
    linear-gradient(#eee .1em, transparent .1em);
  background-size: 100% 1.2em;
}

/* High contrast mode for accessibility */
@media (prefers-contrast: high) {
  .vintage-btn {
    border-width: 3px;
    font-weight: 700;
  }
  
  .vintage-card {
    border-width: 3px;
  }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .vintage-card {
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.3);
  }
  
  .vintage-card:hover {
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.3);
  }
  
  .protest-font {
    letter-spacing: 0.05em;
  }
}

/* Print styles for zine export preview */
@media print {
  .vintage-btn,
  header,
  .no-print {
    display: none !important;
  }
  
  .vintage-card {
    box-shadow: none;
    border: 2px solid #000;
    break-inside: avoid;
  }
}

/* Animation for page transitions */
.page-transition {
  animation: slideIn 0.3s ease-in-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Focus styles for accessibility */
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid #fbbf24;
  outline-offset: 2px;
}

/* Loading animation for future use */
.loading-spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #dc2626;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

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