:root {
    --color-estratego-black: #050505;
    --color-estratego-dark: #0a0a0a;
    --color-estratego-gold: #D4AF37;
}

body {
    background-color: var(--color-estratego-black);
    color: #f5f5f5;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-estratego-dark);
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-estratego-gold);
}

/* Gold Text Effect */
.text-gold-gradient {
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Border Glow */
.gold-border-glow {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}
.gold-border-glow:focus-within {
    border-color: var(--color-estratego-gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

/* Loader */
.loader {
    border: 2px solid rgba(212, 175, 55, 0.1);
    border-left-color: var(--color-estratego-gold);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Input Autofill Override for Dark Theme */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px var(--color-estratego-dark) inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Smooth Fade In */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
