/* Импортируем конфиг */
@import url('./popup-colors.css');

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--popup-overlay-color);
    z-index: 1000;
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.popup-overlay.popup-visible {
    opacity: 1;
}

.popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: var(--popup-background-color);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 90%;
    width: 500px;
    z-index: 1001;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.popup-visible .popup-container {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.popup-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.popup-header h2 {
    color: var(--popup-header-color);
    font-size: 1.5rem;
    font-weight: bold;
}

.popup-logo {
    text-align: center;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-logo img {
    max-width: 120px;
    height: auto;
}

.popup-content {
    margin-bottom: 1.5rem;
}

.popup-content h3 {
    color: var(--popup-header-color);
}

.popup-content p {
    color: var(--popup-text-color);
}

.popup-rating {
    text-align: center;
    margin-bottom: 1rem;
    color: #ffc107;
}

.popup-bonus {
    text-align: center;
    margin-bottom: 1.5rem;
}

.popup-button {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background: var(--popup-button-background);
    color: var(--popup-button-text);
    text-align: center;
    border-radius: 9999px;
    font-weight: bold;
    transition: background-color 0.2s;
}

.popup-button:hover {
    background: var(--popup-button-hover);
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: #718096;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.popup-close:hover {
    color: #2d3748;
}

/* Mobile Responsive Styles */
@media (max-width: 640px) {
    .popup-container {
        width: 95%;
        padding: 1.5rem;
    }

    .popup-header h2 {
        font-size: 1.25rem;
    }

    .popup-logo img {
        max-width: 100px;
    }
} 