/* Custom styles for precise logo overlapping */
.header-logo-container {
    position: absolute;
    bottom: -35px;
    /* Adjusted to balance the new font size */
    left: 20px;
    z-index: 50;
    transition: transform 0.3s ease-out, opacity 0.3s ease;
}

@media (min-width: 768px) {
    .header-logo-container {
        bottom: -55px;
        /* Adjusted to balance the new font size */
        left: 5%;
    }
}

.vox-logo {
    font-size: 4.5rem;
    /* Scaled down for the longer word */
    line-height: 0.7;
    letter-spacing: -0.05em;
    font-weight: 900;
}

@media (min-width: 768px) {
    .vox-logo {
        font-size: 9rem;
        /* Scaled down to prevent overflow */
    }
}

/* Scrollbar customization for town square */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.5s ease-out forwards;
}

/* Glassmorphism utility */
.glass-header {
    background: rgba(255, 242, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Sticky Shrink state for logo when scrolling */
.header-scrolled .header-logo-container {
    transform: scale(0.6) translateY(-20px);
    transform-origin: left bottom;
    opacity: 0.9;
}