/* ===== СБРОС И ШРИФТЫ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    min-height: 100vh;
    /* МЕНЯЕМ НА СВЕТЛО-ГОЛУБОЙ ГРАДИЕНТ */
    background: linear-gradient(145deg, #e6f3ff 0%, #b8d9f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.app-container {
    max-width: 440px;
    width: 100%;
    /* Делаем контейнер более светлым и прозрачным */
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 56px;
    padding: 32px 20px 40px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 50px 80px -20px rgba(0, 60, 120, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.8),
        inset 0 -4px 10px rgba(0, 30, 60, 0.1);
    position: relative;
    overflow: hidden;
}

/* ===== МАСКОТ ===== */
.mascot-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    z-index: 2;
}

.mascot-glow {
    position: absolute;
    width: 180px;
    height: 180px;
    /* Меняем свечение под светлый фон */
    background: radial-gradient(circle, rgba(0, 150, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    animation: pulseGlow 3s infinite alternate;
}

.mascot {
    width: 160px;
    height: 160px;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 100, 200, 0.4));
    position: relative;
    z-index: 3;
    animation: levitate 4s infinite ease-in-out;
}

/* ===== ПРИВЕТСТВИЕ ===== */
.greeting {
    text-align: center;
    margin-bottom: 30px;
    z-index: 2;
    position: relative;
}

.greeting-text {
    display: block;
    font-size: 28px;
    font-weight: 700;
    /* Меняем цвет текста на тёмный для светлого фона */
    color: #0a3a5a;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    text-shadow: 0 5px 15px rgba(0, 100, 200, 0.2);
}

/* ===== ПАНЕЛЬ ИКОНОК ПИРАМИДКОЙ ===== */
.icon-panel {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
    z-index: 2;
    position: relative;
}

.icon-row {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.top-row {
    margin-bottom: 0;
}

.bottom-row {
    gap: 35px;
}

/* Кнопки-иконки */
.icon-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Сама иконка - КВАДРАТНАЯ и ОГРОМНАЯ */
.icon-img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0, 50, 100, 0.3));
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: transparent;
    border-radius: 0;
}

/* Эффект при наведении/нажатии */
.icon-btn:hover .icon-img {
    transform: scale(1.15);
    filter: drop-shadow(0 15px 25px rgba(0, 120, 255, 0.6)) brightness(1.05);
}

.icon-btn:active .icon-img {
    transform: scale(0.95);
}

/* Активное состояние (подсветка) */
.icon-btn.active .icon-img {
    filter: drop-shadow(0 0 25px #0099ff) drop-shadow(0 10px 15px rgba(0, 70, 150, 0.4));
    transform: scale(1.05);
}

/* Подсказка при наведении */
.icon-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background: rgba(10, 58, 90, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
}

.icon-btn:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -40px;
    transform: translateX(-50%) scale(1);
}

/* ===== ОБЛАСТЬ КОНТЕНТА ===== */
.content-area {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 40px;
    padding: 24px;
    min-height: 180px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 0 30px rgba(0, 70, 140, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
    color: #0a3a5a;
    margin-top: 15px;
}

/* Анимации */
@keyframes levitate {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

@keyframes pulseGlow {
    0% { opacity: 0.2; transform: scale(0.8); }
    100% { opacity: 0.6; transform: scale(1.2); }
}

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

/* Контент вкладок */
.tab-content {
    animation: slideIn 0.3s ease;
}

.tab-content h2 {
    font-size: 24px;
    margin-bottom: 16px;
    color: #0a3a5a;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
}

.tab-content p {
    color: #1a4a6a;
    line-height: 1.6;
}

/* Адаптация для маленьких экранов */
@media (max-width: 450px) {
    .icon-img {
        width: 90px;
        height: 90px;
    }
    
    .icon-row {
        gap: 20px;
    }
    
    .bottom-row {
        gap: 25px;
    }
    
    .greeting-text {
        font-size: 24px;
    }
}

@media (max-width: 350px) {
    .icon-img {
        width: 75px;
        height: 75px;
    }
    
    .icon-row {
        gap: 15px;
    }
}