/* Custom Color Palette */
:root {
    --header-bg-gradient: linear-gradient(-180deg, #32617F 20%, #1F4258 91%);
    --nav-bg: #102132; 
    --nav-active-bg: #1e384f; 
    --body-bg: #000000;
    --footer-bg: #efefe9;
    --accent-blue: #3182ce;
    --accent-yellow: #ffdf00;
    --modal-bg: #0d1b2a;
}

body {
    background-color: var(--body-bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
}

.header-gradient {
    background: var(--header-bg-gradient);
}

@media (max-width: 1024px) {
    body {
        padding-bottom: 70px;
    }
}

::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
}
.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 20s linear infinite;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.play-btn-shape {
    clip-path: polygon(15% 0%, 100% 0, 100% 100%, 0% 100%);
}

/* --- MOBILE NAVIGATION STYLES --- */
.special-nav-item {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: url('https://images.unsplash.com/photo-1511193311914-0346f16efe90?ixlib=rb-4.0.3&auto=format&fit=crop&w=150&q=80');
    background-size: cover;
    background-position: center;
    border: 3px solid #102132;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.5);
    z-index: 60;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.special-nav-bg {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 32px;
    background-color: #102132;
    border-radius: 64px 64px 0 0;
    z-index: 50;
}

.nav-item-active {
    background: linear-gradient(to bottom, #2c526e, #102132);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

.floating-gift {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 70px;
    height: 70px;
    z-index: 100;
    cursor: pointer;
}

.footer-link {
    color: #555;
    text-decoration: underline;
    font-size: 10px;
    margin: 0 3px;
}

.slider-container {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.slider-item {
    scroll-snap-align: start;
}

.desktop-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    border-color: #3182ce;
    transition: all 0.3s ease;
}

/* --- MODAL STYLES --- */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    background-color: var(--modal-bg);
}

@media (min-width: 1024px) {
    .modal-overlay {
        background-color: rgba(0,0,0,0.8);
        align-items: center;
        justify-content: center;
    }
    .modal-content {
        width: 400px;
        max-height: 90vh;
        overflow-y: auto;
        border-radius: 12px;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    }
    .search-modal-content {
        width: 600px; 
        max-height: 90vh;
        overflow-y: auto;
        border-radius: 12px;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    }
}

@media (max-width: 1023px) {
    .modal-content, .search-modal-content {
        width: 100%;
        height: 100%;
        overflow-y: auto;
    }
}

.modal-input {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: none;
    outline: none;
    font-size: 14px;
    color: #333;
}

/* --- DROPDOWN ANIMATION --- */
.group:hover .group-hover\:block {
    display: block;
    animation: fadeIn 0.2s ease-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}