body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #00ff5a; /* Зеленый фон всей страницы */
    font-family: 'Fira Sans', Arial, sans-serif;
}

.tooltip-container {
    position: relative;
    display: inline-block;
}

.round-button {
    background: linear-gradient(to bottom, #ffcc33, #cc9900); /* Градиент */
    color: white;
    border: 3px solid #ffcc33; /* Цвет ободка */
    border-radius: 50%;
    width: 13.5vw; /* Пропорциональная ширина кнопки */
    height: 13.5vw; /* Пропорциональная высота кнопки */
    max-width: 117px; /* Ограничение максимального размера */
    max-height: 117px; /* Ограничение максимального размера */
    display: flex; /* Flexbox для центрирования содержимого */
    justify-content: center; /* Горизонтальное центрирование */
    align-items: center; /* Вертикальное центрирование */
    cursor: pointer;
    box-shadow: inset 0 6px 8px rgba(0, 0, 0, 0.2), 0 4px 6px rgba(255, 255, 255, 0.3);
    transition: background 0.3s, transform 0.2s;
    font-family: 'Fira Sans', Arial, sans-serif;
    text-align: center;
    text-shadow: 2px 2px 3px rgba(255, 255, 255, 0.3), 
                 -2px -2px 3px rgba(0, 0, 0, 0.2); /* Вдавленный эффект */
}

.round-button .material-symbols-outlined {
    font-size: 60px; /* Размер иконки (по умолчанию) */
    color: white; /* Цвет иконки */
    transition: font-size 0.3s ease; /* Плавное изменение размера */
}

.round-button:hover {
    background: linear-gradient(to bottom, #e6b800, #b38f00); /* Цвет на hover */
    transform: scale(1.05);
}

.round-button:active {
    background: linear-gradient(to top, #b38f00, #e6b800); /* Цвет при нажатии */
    box-shadow: inset 0 4px 6px rgba(0, 0, 0, 0.4), inset 0 -4px 6px rgba(255, 255, 255, 0.2);
    transform: scale(0.95);
}

.tooltip {
    position: absolute;
    top: 50%;
    left: 130%; /* Расстояние от кнопки */
    transform: translateY(-50%);
    width: 180px; /* Ширина подсказки */
    background-color: rgba(0, 0, 0, 0.7); /* Чёрный цвет с прозрачностью 70% */
    color: #EEEEEE; /* Светло-серый цвет шрифта */
    padding: 10px 15px;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    white-space: normal; /* Текст переносится при необходимости */
    font-size: 14px; /* Размер шрифта подсказки */
    font-family: 'Fira Sans', Arial, sans-serif;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 10; /* Повышен приоритет для отображения */
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -8px;
    transform: translateY(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: transparent rgba(0, 0, 0, 0.7) transparent transparent;
}

.tooltip-container:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(10px);
}

/* Медиа-запрос для смартфонов */
@media (max-width: 750px) {
    .round-button {
        width: 14.85vw; /* Пропорциональное изменение кнопки */
        height: 14.85vw;
        max-width: 126px; /* Увеличено пропорционально */
        max-height: 126px;
    }

    .round-button .material-symbols-outlined {
        font-size: 30px; /* Размер иконки уменьшен до 30px */
    }
}
