@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary-green: #28a745;
    --primary-green-hover: #218838;
    --text-dark: #333333;
    --text-muted: #666666;
    --border-color: #dddddd;
    --bg-overlay: rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

/* Background Image styling */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Default background image - Change internal URL as needed */
    background-image: url('bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    filter: brightness(0.9);
}

/* Modal Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-overlay);
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2px);
    z-index: 1000;
}

/* Popup Content Card */
.popup-card {
    background: white;
    width: 90%;
    max-width: 480px;
    padding: 2.5rem 2rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.popup-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.popup-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 2rem;
    padding: 0 10px;
}

/* Buttons Container */
.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.btn {
    padding: 0.8rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 140px;
}

.btn-allow {
    background-color: var(--primary-green);
    color: white;
    border: none;
}

.btn-allow:hover {
    background-color: var(--primary-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-close {
    background-color: white;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

.btn-close:hover {
    background-color: #f8f9fa;
    border-color: #bbb;
}

/* Footer text */
.popup-footer {
    border-top: 1px solid #eeeeee;
    padding-top: 1.2rem;
    font-size: 0.9rem;
    color: #999999;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .popup-card {
        padding: 2rem 1.5rem;
    }
    
    .popup-title {
        font-size: 1.5rem;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}
