/* 
   ETERNAL BAIAK - MODERN DESIGN SYSTEM (Fase 2)
   Design System Global: Glassmorphism, Premium Typography & Animations
*/

:root {
    --color-gold: #f4cc6a;
    --color-gold-light: #fff5ba;
    --color-primary: #af0400;
    --color-primary-light: #ff4d4d;
    --color-online: #00fb54;
    --bg-glass: rgba(255, 255, 255, 0.08);
    --bg-glass-dark: rgba(0, 0, 0, 0.6);
    --border-glass: rgba(255, 255, 255, 0.1);
    --font-heading: 'Cinzel', serif;
    --font-main: 'Montserrat', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 1. RESET & GLOBALS */
* {
    transition: var(--transition-smooth);
}

body {
    font-family: var(--font-main);
    color: #eee;
}

/* 2. GLASSMORPHISM CORE */
.modern-glass {
    background: var(--bg-glass) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid var(--border-glass) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37) !important;
}

.modern-glass-dark {
    background: var(--bg-glass-dark) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* 3. TYPOGRAPHY */
h1,
h2,
h3,
.Text,
.CaptionContainer .Text {
    font-family: var(--font-heading) !important;
    letter-spacing: 1px;
}

/* 4. ANIMATIONS */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes float-slow {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes glow-gold {
    0% {
        box-shadow: 0 0 5px rgba(244, 204, 106, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(244, 204, 106, 0.5);
    }

    100% {
        box-shadow: 0 0 5px rgba(244, 204, 106, 0.2);
    }
}

.rarity-pill-glow {
    animation: glow-gold 2s infinite ease-in-out;
}

/* 5. PREMIUM BUTTONS */
.btn-premium {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light)) !important;
    border: 1px solid var(--color-gold) !important;
    border-radius: 6px;
    color: white !important;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 8px 18px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    overflow: hidden;
    position: relative;
    display: inline-block;
    text-decoration: none !important;
}

.btn-premium:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary)) !important;
    box-shadow: 0 0 15px var(--color-gold);
}

.btn-premium::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    transition: all 0.5s;
}

.btn-premium:hover::after {
    left: 120%;
}

/* 6. ADVANCED ANIMATIONS */
@keyframes magic-fog {
    0% {
        transform: scale(1) translateX(0);
        opacity: 0.1;
    }

    50% {
        transform: scale(1.1) translateX(20px);
        opacity: 0.2;
    }

    100% {
        transform: scale(1) translateX(0);
        opacity: 0.1;
    }
}

.magic-fog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: -10;
    animation: magic-fog 10s infinite linear;
}

/* 7. PREMIUM SCROLLBARS */
::-webkit-scrollbar {
    width: 10px;
    background: #111;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--color-primary), var(--color-gold));
    border-radius: 5px;
    border: 2px solid #111;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

/* 8. MENU & LOGO ENHANCEMENTS */
.logo-animated {
    animation: float 4s infinite ease-in-out;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

.float-slow {
    animation: float-slow 6s infinite ease-in-out;
}

.Submenuitem:hover {
    padding-left: 15px !important;
    background: rgba(244, 204, 106, 0.1) !important;
    border-left: 3px solid var(--color-gold);
}