/* Age 18+ Popup */
#age-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.age-popup-content {
    position: relative;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 100000;
}

.age-popup-content h2 {
    color: #d32f2f;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: bold;
}

.age-popup-content p {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.age-popup-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.age-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.age-btn-confirm {
    background: #4caf50;
    color: #fff;
}

.age-btn-confirm:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.age-btn-exit {
    background: #f44336;
    color: #fff;
}

.age-btn-exit:hover {
    background: #da190b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.4);
}

/* Cookie Popup */
#cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c3e50;
    color: #fff;
    padding: 20px;
    z-index: 99998;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-popup-content {
    flex: 1;
    min-width: 250px;
}

.cookie-popup-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-btn {
    padding: 10px 25px;
    background: #4caf50;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

@media (max-width: 768px) {
    .age-popup-content {
        padding: 30px 20px;
    }
    
    .age-popup-content h2 {
        font-size: 24px;
    }
    
    .age-popup-buttons {
        flex-direction: column;
    }
    
    .age-btn {
        width: 100%;
    }
    
    #cookie-popup {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-btn {
        width: 100%;
    }
}

