/* Custom styles for WW2 Chronicles Social */

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: linear-gradient(135deg, #f3e8ff 0%, #fdf2f8 50%, #dbeafe 100%);
    background-attachment: fixed;
}

/* Soft pastel background texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 2px 2px, rgba(196,132,252,0.1) 1px, transparent 0),
        radial-gradient(circle at 10px 10px, rgba(134,239,172,0.1) 1px, transparent 0);
    background-size: 30px 30px, 40px 40px;
    pointer-events: none;
    z-index: -1;
}

/* Social media inspired card styling */
.shadow-lg {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Animated elements */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .7;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

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

button:active {
    transform: translateY(0);
}

/* Social platform color gradients */
.bg-gradient-to-r {
    background: linear-gradient(to right, var(--tw-gradient-stops));
}

.bg-gradient-to-br {
    background: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

/* Custom scrollbar for better UX */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #c084fc, #ec4899);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #a855f7, #db2777);
}

/* Typography enhancements */
.font-serif {
    font-family: 'Times New Roman', serif;
}

.font-mono {
    font-family: 'Monaco', 'Menlo', monospace;
}

/* Age verification modal styling */
.fixed.inset-0 {
    backdrop-filter: blur(4px);
}

/* Content warning styling with better visibility */
.bg-red-100 {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    border: 2px solid #f87171;
}

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

/* Social interaction enhancements */
.transition-all {
    transition: all 0.3s ease;
}

.transform:hover {
    transform: translateY(-2px) scale(1.02);
}

/* Card layout improvements */
.border-l-4 {
    border-left-width: 4px;
    border-left-style: solid;
}

/* Responsive text sizing */
@media (max-width: 768px) {
    .text-5xl {
        font-size: 2.5rem;
        line-height: 1;
    }
    
    .text-3xl {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
    
    .px-8 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* Community activity grid styling */
.grid-cols-3 > div {
    padding: 1rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(255,255,255,0.6));
    backdrop-filter: blur(10px);
}

/* Tweet-style text areas */
.font-mono {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border: 1px solid #e2e8f0;
}

/* Enhanced hover states for social interactions */
.hover\:bg-blue-600:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.hover\:bg-pink-600:hover {
    background: linear-gradient(135deg, #db2777, #be185d);
}

.hover\:bg-green-400:hover {
    background: linear-gradient(135deg, #4ade80, #22c55e);
}

/* Historical theme meets social media aesthetics */
.bg-military-steel {
    background: linear-gradient(135deg, #4a5568, #2d3748);
}

.bg-military-amber {
    background: linear-gradient(135deg, #d69e2e, #b7791f);
}

/* Print styles for educational sharing */
@media print {
    .fixed,
    button,
    .bg-gradient-to-br {
        display: none !important;
    }
    
    body {
        background: white !important;
    }
    
    .text-white {
        color: black !important;
    }
    
    .bg-white {
        border: 1px solid #000 !important;
    }
}