﻿/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    padding: 8px 0;
}

    .mobile-bottom-nav .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #666;
        font-size: 12px;
        padding: 5px;
        transition: all 0.3s;
    }

        .mobile-bottom-nav .bottom-nav-item i {
            font-size: 22px;
            margin-bottom: 4px;
            color: #999;
            transition: all 0.3s;
        }

        .mobile-bottom-nav .bottom-nav-item.active,
        .mobile-bottom-nav .bottom-nav-item:hover {
            color: #ff91b8;
        }

            .mobile-bottom-nav .bottom-nav-item.active i,
            .mobile-bottom-nav .bottom-nav-item:hover i {
                color: #ff91b8;
                transform: scale(1.1);
            }

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
    }

    /* Add padding to body to prevent content from being hidden behind bottom nav */
    body {
        padding-bottom: 70px;
    }
}

/* Advertisement Modal */
.ad-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

    .ad-modal.show {
        display: flex;
    }

.ad-modal-content {
    position: relative;
    max-width: 600px;
    width: 90%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    animation: slideUp 0.4s ease;
}

.ad-modal-image {
    width: 100%;
    height: auto;
    display: block;
}

.ad-modal-body {
    padding: 25px;
    text-align: center;
}

.ad-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.ad-modal-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.ad-modal-btn {
    display: inline-block;
    padding: 12px 35px;
    background: #ff91b8;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

    .ad-modal-btn:hover {
        background: #5F2652;
        color:#ffffff;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(239, 187, 32, 0.4);
    }

.ad-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 1;
}

    .ad-modal-close:hover {
        background: rgba(0, 0, 0, 0.8);
        transform: rotate(90deg);
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .ad-modal-content {
        max-width: 90%;
    }
}
