.wave-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: var(--first_bg);
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-logo {
    position: absolute;
    width: 50px;
    height: 50px;
    z-index: 2;
    opacity: 0.5;
}

.wave {
    position: absolute;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(249, 210, 29, 0.6),
        transparent
    );
    animation: wave-animation 1.2s linear infinite;
    transform: translateX(-100%);
}

.wave:nth-child(2) {
    animation-delay: 0.3s;
}

.wave:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes wave-animation {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Make container relative and handle image positioning */
.image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.image-container img {
    position: relative;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease-in;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-container img.loading {
    opacity: 0 !important;
    display: block !important;
}

.image-container img.loaded {
    opacity: 1 !important;
    display: block !important;
}

/* Optional: Add a subtle shimmer effect */
.wave-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
} 