/* style.css - Custom styling and animations for Ragnarok Online website (Light Theme) */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* Font setups */
.font-fantasy {
    font-family: 'Cinzel', serif;
}
.font-sans-custom {
    font-family: 'Outfit', sans-serif;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #f8fafc; /* slate-50 */
    color: #334155; /* slate-700 */
    overflow-x: hidden;
}

/* Float Animation for Logo */
@keyframes ro-float {
    0%, 100% {
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 5px 15px rgba(217, 119, 6, 0.3)) drop-shadow(0 0 2px rgba(217, 119, 6, 0.15));
    }
    50% {
        transform: translateY(-20px) scale(1.03);
        filter: drop-shadow(0 20px 25px rgba(217, 119, 6, 0.45)) drop-shadow(0 0 10px rgba(217, 119, 6, 0.25));
    }
}
.animate-ro-float {
    animation: ro-float 6s ease-in-out infinite;
}

/* Floating animation for subtle background decorative blobs */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.25; }
    50% { transform: translateY(-40px) rotate(180deg); opacity: 0.55; }
}
.animate-float-slow-1 {
    animation: float-slow 12s ease-in-out infinite;
}
.animate-float-slow-2 {
    animation: float-slow 18s ease-in-out infinite;
}

/* Glowing text effects (Adjusted for high contrast in light mode) */
.text-gold-gradient {
    background: linear-gradient(to right, #d97706 0%, #b45309 50%, #78350f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}
.text-purple-gradient {
    background: linear-gradient(to right, #8b5cf6 0%, #6d28d9 50%, #4c1d95 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Border gold glow (light mode balanced) */
.border-gold-glow {
    border-color: rgba(217, 119, 6, 0.18);
    box-shadow: 0 0 15px rgba(217, 119, 6, 0.05);
}
.border-gold-glow:hover {
    border-color: rgba(217, 119, 6, 0.45);
    box-shadow: 0 0 20px rgba(217, 119, 6, 0.15);
}

/* Custom premium hover cards */
.news-card-hover {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.news-card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.15), 0 0 20px rgba(124, 58, 237, 0.08);
    border-color: rgba(124, 58, 237, 0.3);
}

/* Custom Scrollbar (Light theme) */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9; /* slate-100 */
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1; /* slate-300 */
    border-radius: 5px;
    border: 2px solid #f1f5f9;
}
::-webkit-scrollbar-thumb:hover {
    background: #b45309; /* amber-700 */
}

/* Glassmorphism panel (Light mode optimized) */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.03);
}

/* Pulse keyframes for glowing effects */
@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 8px rgba(217, 119, 6, 0.25); }
    50% { box-shadow: 0 0 18px rgba(217, 119, 6, 0.55); }
}
.btn-gold-glow {
    animation: glow-pulse 3s infinite;
}

/* Hero chevron bounce */
@keyframes scroll-bounce {
    0%, 100%, 20% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}
.animate-scroll-bounce {
    animation: scroll-bounce 2s infinite;
}

/* Smooth layout transitions */
.content-fade-in {
    opacity: 0;
    animation: fadeInEffect 0.8s ease-out forwards;
}

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

.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 158, 11, 0.2);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}
