/* Yandex Modal Styles */
.yandex-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 24px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    overflow-y: auto;
    z-index: 1000;
    padding: 0;
}

.yandex-modal__overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

.yandex-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 1001;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.yandex-modal__close:hover {
    background: #fff;
    color: #000;
    transform: scale(1.1);
}

.yandex-modal__content {
    padding: 40px;
}

.yandex-modal__header {
    text-align: center;
    margin-bottom: 30px;
}

.yandex-modal__title {
    font-size: 32px;
    font-weight: 700;
    color: black;
    margin-bottom: 10px;
    margin-top: 0;
}

.yandex-modal__subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.yandex-modal__body {
    margin-bottom: 30px;
}

.yandex-modal__description {
    text-align: center;
    margin-bottom: 30px;
}

.yandex-modal__description p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.yandex-modal__platforms {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.platform-card {
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.platform-card:hover {
    border-color: #129e4c;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(18, 158, 76, 0.15);
}

.platform-card__icon {
    width: 60px;
    height: 60px;
    /* background: linear-gradient(135deg, #129e4c, #2ecc71);
    border-radius: 50%; */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    /* color: white; */
    font-size: 24px;
}

.platform-card__content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.platform-card__content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.platform-card__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.stars {
    color: #ffd700;
    font-size: 18px;
}

.rating-text {
    font-size: 14px;
    font-weight: 600;
    color: #129e4c;
}

.platform-card__button {
    background: linear-gradient(135deg, #129e4c, #2ecc71);
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.platform-card__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(18, 158, 76, 0.3);
}

.platform-card__button a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.platform-card__button a i {
    font-size: 14px;
}

.yandex-modal__contact {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.contact-info__phone,
.contact-info__whatsapp {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.contact-info__phone i {
    color: #129e4c;
    font-size: 18px;
}

.contact-info__whatsapp i {
    color: #25D366;
    font-size: 18px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .yandex-modal {
        width: 95%;
        margin: 20px;
    }
    
    .yandex-modal__content {
        padding: 30px 20px;
    }
    
    .yandex-modal__title {
        font-size: 24px;
    }
    
    .yandex-modal__platforms {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .yandex-modal {
        width: 100%;
        height: 100%;
        border-radius: 0;
        max-height: 100vh;
    }
    
    .yandex-modal__content {
        padding: 20px 15px;
    }
    
    .yandex-modal__title {
        font-size: 22px;
    }
    
    .platform-card {
        padding: 20px 15px;
    }
}
