/* Custom CSS for The Shadowed Tome project */
/* Base styles */
body {
    scroll-behavior: smooth;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    background-attachment: fixed;
    font-family: 'Cormorant Garamond', serif;
}

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;700&display=swap');
/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 12, 41, 0.5);
    backdrop-filter: blur(5px);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #e94560, #9c27b0);
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.2);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #c2384e, #7b1fa2);
}
/* Enhanced customization options */
:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #0f3460;
    --highlight-color: #e94560;
    --font-main: 'Cormorant Garamond', serif;
    --font-accent: 'Cinzel Decorative', cursive;
}

/* Mystical glow effect */
.glow-text {
    text-shadow: 0 0 8px rgba(233, 69, 96, 0.7);
}

/* Video background container */
.video-bg-container {
    position: relative;
    overflow: hidden;
}

.video-bg-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    z-index: 0;
}
.glow-box {
    box-shadow: 0 0 15px rgba(156, 39, 176, 0.5);
}

.parchment-effect {
    background: url('http://static.photos/vintage/640x360/42') center/cover;
    background-blend-mode: overlay;
    background-color: rgba(30, 30, 30, 0.7);
    border: 1px solid #5d4037;
    color: #f5f5f5;
}
/* Animation classes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

.delay-3 {
    animation-delay: 0.9s;
}

/* Special hover effects */
.hover-glow:hover {
    text-shadow: 0 0 10px rgba(233, 69, 96, 0.7);
}

/* Custom section dividers */
.section-divider {
    position: relative;
    height: 150px;
    overflow: hidden;
}

.section-divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(to bottom right, transparent 49%, #0f3460 50%), 
                linear-gradient(to bottom left, transparent 49%, #0f3460 50%);
    background-size: 50% 100%;
    background-repeat: no-repeat;
    background-position: left, right;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mobile-stack {
        flex-direction: column !important;
    }
    
    .mobile-center {
        text-align: center !important;
    }
}