/* Custom styles for WW2 Chronicles */

body {
    font-family: 'Times New Roman', serif;
    background: linear-gradient(135deg, #f5f5f0 0%, #e8e8e0 100%);
    background-attachment: fixed;
}

/* Military-themed background texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(107,123,84,0.05) 1px, transparent 0);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: -1;
}

/* Vintage paper effect for story cards */
.prose {
    background: linear-gradient(145deg, #fefefe, #f8f8f0);
    text-shadow: 0 0 1px rgba(0,0,0,0.1);
}

/* Enhanced shadows for depth */
.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(107,123,84,0.1);
}

/* Custom scrollbar for story detail modal */
.max-h-\[90vh\]::-webkit-scrollbar {
    width: 8px;
}

.max-h-\[90vh\]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.max-h-\[90vh\]::-webkit-scrollbar-thumb {
    background: #6B7B54;
    border-radius: 4px;
}

.max-h-\[90vh\]::-webkit-scrollbar-thumb:hover {
    background: #556043;
}

/* Typography enhancements */
h1, h2, h3 {
    letter-spacing: -0.025em;
}

/* Button hover effects */
button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

button:hover {
    transform: translateY(-1px);
}

/* Content warning styling */
.bg-red-900 {
    background: linear-gradient(135deg, #7f1d1d, #991b1b);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

/* Age verification badge */
.bg-red-600 {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.3);
}

/* Military themed gradients */
.bg-military-steel {
    background: linear-gradient(135deg, #4A5568, #2D3748);
}

.bg-military-olive {
    background: linear-gradient(135deg, #6B7B54, #556043);
}

/* Intensity meter styling */
.w-2.h-2 {
    transition: all 0.2s ease;
}

.w-2.h-2:hover {
    transform: scale(1.2);
}

/* Historical document styling */
.prose p {
    margin-bottom: 1.5em;
    line-height: 1.8;
}

.prose h3 {
    margin-top: 2em;
    margin-bottom: 1em;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #6B7B54;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .text-5xl {
        font-size: 2.5rem;
    }
    
    .px-8 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .py-4 {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
}

/* Print styles for educational use */
@media print {
    .bg-red-900,
    .bg-red-600,
    button {
        display: none;
    }
    
    body {
        background: white;
    }
    
    .text-white {
        color: black !important;
    }
}