/* Custom Design System for Fercho Solar */

:root {
    --solar-gold: #FFD700;
    --solar-dark: #0a0a0a;
}

::selection {
    background: var(--solar-gold);
    color: black;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--solar-dark);
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--solar-gold);
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.2);
    border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--solar-gold);
}

/* Animations */
@keyframes subtle-zoom {
    0% { transform: scale(1.1); }
    100% { transform: scale(1.2); }
}

.animate-subtle-zoom {
    animation: subtle-zoom 20s infinite alternate ease-in-out;
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Preloader custom logic */
#preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Section titles effect */
h1, h2, h3 {
    text-wrap: balance;
}

/* Keypad styling for secret admin */
.keypad-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.keypad-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.keypad-btn:hover {
    background: var(--solar-gold);
    color: black;
    transform: scale(1.1);
}

.keypad-btn:active {
    transform: scale(0.9);
}

/* Marquee Animation */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    display: flex;
    width: 200%;
    animation: marquee 30s linear infinite;
}
