/* Custom scrollbar to mimic premium feel */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #ccc;
}
::-webkit-scrollbar-thumb:hover {
    background: #fdfbd4;
}

/* Vertical Flipper Animation */
.flipper-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.flipper-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(100%);
    animation: flip 12s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.flipper-item:nth-child(2) {
    animation-delay: 4s;
}

.flipper-item:nth-child(3) {
    animation-delay: 8s;
}

@keyframes flip {
    0%, 2% { transform: translateY(100%); opacity: 0; }
    5%, 33.33% { transform: translateY(0); opacity: 1; }
    36.33%, 38.33% { transform: translateY(-100%); opacity: 0; }
    100% { transform: translateY(-100%); opacity: 0; }
}

/* Smooth underline animation */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: #fdfbd4; /* Amber-500 */
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

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

.mask-gradient {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* Ensure existing scroll animation works */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.animate-scroll {
    animation: scroll 30s linear infinite;
}
