/* Glass card */
.glass-box {
    background: rgba(123, 72, 18, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 194, 102, 0.35);
    border-radius: 24px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 8px 32px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.glass-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    pointer-events: none;
}

/* Preloader */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    color-scheme: light;
    background: linear-gradient(to bottom,
        #fbbf24 0%,
        #f97316 50%,
        #c2410c 100%
    );
    transition: opacity 0.55s ease, visibility 0.55s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

#preloader img {
    width: 160px;
    animation: logo-pulse 1.4s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% { transform: scale(1);    opacity: 1;    }
    50%       { transform: scale(1.1); opacity: 0.82; }
}
