/*
Theme Name: EOZgame Dark Dragon
Theme URI: https://eozgame.com/
Author: EOZgame Team
Description: EOZgame official dark fantasy game portal theme with games, news, forum hub, store, downloads, and multilingual UI.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: darkdragon
*/

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(255,215,0,0.3); }
    50% { box-shadow: 0 0 40px rgba(255,215,0,0.6); }
}

@keyframes border-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scale-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes glow-pulse {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(255,215,0,0.5)); }
    50% { filter: drop-shadow(0 0 20px rgba(255,215,0,0.8)); }
}

@keyframes energy-flow {
    0% { 
        background-position: -200% 0;
        box-shadow: 0 0 10px rgba(255,215,0,0.4);
    }
    50% {
        box-shadow: 0 0 25px rgba(255,215,0,0.8), 0 0 40px rgba(255,140,0,0.4);
    }
    100% { 
        background-position: 200% 0;
        box-shadow: 0 0 10px rgba(255,215,0,0.4);
    }
}

@keyframes fire-flicker {
    0%, 100% { opacity: 0.8; }
    25% { opacity: 1; }
    50% { opacity: 0.6; }
    75% { opacity: 0.9; }
}

.energy-bar-container {
    position: relative;
    height: 8px;
    background: rgba(0,0,0,0.6);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255,215,0,0.2);
}

.energy-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b00, #ffd700, #ffec8b, #ffd700, #ff6b00);
    background-size: 200% 100%;
    animation: energy-flow 2.5s linear infinite;
    border-radius: 3px;
    position: relative;
}

.energy-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: energy-flow 1.5s linear infinite;
}

.energy-fire-top {
    position: absolute;
    top: -4px;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(to bottom, rgba(255,100,0,0.8), rgba(255,215,0,0.4), transparent);
    animation: fire-flicker 0.5s ease-in-out infinite;
    filter: blur(2px);
}

.shimmer-text {
    background: linear-gradient(90deg, #ffd700, #d4af37, #ffd700, #d4af37);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

.glow-gold {
    box-shadow: 0 0 20px rgba(255,215,0,0.3), 0 0 40px rgba(255,215,0,0.1);
}

.glow-gold-hover {
    transition: all 0.3s ease;
}

.glow-gold-hover:hover {
    box-shadow: 0 0 30px rgba(255,215,0,0.5), 0 0 60px rgba(255,215,0,0.2);
}

.border-gold-gradient {
    position: relative;
    background: #12121a;
    border-radius: 12px;
}

.border-gold-gradient::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 12px;
    background: linear-gradient(90deg, #ffd700, #d4af37, #ffd700);
    background-size: 200% auto;
    animation: border-flow 3s linear infinite;
    z-index: -1;
}

.border-gold-gradient > * {
    position: relative;
    z-index: 1;
}

.fade-in-up {
    animation: fade-in-up 0.6s ease-out forwards;
}

.fade-in-up-delay-1 {
    animation: fade-in-up 0.6s ease-out 0.1s forwards;
    opacity: 0;
}

.fade-in-up-delay-2 {
    animation: fade-in-up 0.6s ease-out 0.2s forwards;
    opacity: 0;
}

.fade-in-up-delay-3 {
    animation: fade-in-up 0.6s ease-out 0.3s forwards;
    opacity: 0;
}

.fade-in-up-delay-4 {
    animation: fade-in-up 0.6s ease-out 0.4s forwards;
    opacity: 0;
}

.fade-in-up-delay-5 {
    animation: fade-in-up 0.6s ease-out 0.5s forwards;
    opacity: 0;
}

.fade-in-delay-1 {
    animation: fade-in 0.8s ease-out 0.1s forwards;
    opacity: 0;
}

.fade-in-delay-2 {
    animation: fade-in 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.scale-in {
    animation: scale-in 0.5s ease-out forwards;
}

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

.float-animation-delay {
    animation: float 4s ease-in-out 2s infinite;
}

.pulse-glow-animation {
    animation: pulse-glow 2s ease-in-out infinite;
}

.glow-text {
    text-shadow: 0 0 10px rgba(255,215,0,0.5), 0 0 20px rgba(255,215,0,0.3);
}

.glow-text-strong {
    text-shadow: 0 0 15px rgba(255,215,0,0.7), 0 0 30px rgba(255,215,0,0.5), 0 0 45px rgba(255,215,0,0.3);
}

.card-glow-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #2a2a3a;
}

.card-glow-hover:hover {
    border-color: rgba(255,215,0,0.5);
    box-shadow: 0 10px 40px rgba(255,215,0,0.15), 0 0 20px rgba(255,215,0,0.05);
    transform: translateY(-4px);
}

.footer-link {
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffd700 !important;
}

.social-icon {
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-2px);
}

.btn-gold {
    background: linear-gradient(135deg, #ffd700, #b8860b);
    color: #0a0a0f;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-gold:hover {
    box-shadow: 0 6px 20px rgba(255,215,0,0.4);
    transform: translateY(-2px);
}

.btn-gold-outline {
    border: 1px solid #ffd700;
    color: #ffd700;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-gold-outline:hover {
    background: rgba(255,215,0,0.1);
    box-shadow: 0 0 20px rgba(255,215,0,0.3);
}

.line-gold-flow {
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffd700, #d4af37, #ffd700, transparent);
    background-size: 200% auto;
    animation: border-flow 3s linear infinite;
}

.particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffd700;
    border-radius: 50%;
    opacity: 0.6;
    box-shadow: 0 0 10px rgba(255,215,0,0.5);
}

.scroll-indicator {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    z-index: 100;
}

.scroll-indicator span {
    color: #ffd700;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.7;
}

.scroll-indicator .arrow {
    width: 20px;
    height: 30px;
    border: 2px solid #ffd700;
    border-radius: 10px;
    position: relative;
}

.scroll-indicator .arrow::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #ffd700;
    border-radius: 50%;
    animation: float 1.5s ease-in-out infinite;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0f;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ffd700, #b8860b);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ffec8b, #ffd700);
}

@keyframes gradient-shift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(30deg); }
}

.gold-gradient-shift {
    animation: gradient-shift 8s ease-in-out infinite;
}
