/* Контейнер для графика */
.chart-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    height: 350px;
    max-height: 400px;
}
@media (max-width : 843px ){
    .chart-container {
        height: 300px;
    }
}

/* Кастомный скроллбар */
::-webkit-scrollbar {
    width: 10px ; /* Ширина вертикального скроллбара */
    height: 8px; /* Высота горизонтального (на всякий случай) */
}

::-webkit-scrollbar-track {
    background: #f3efff; /* Цвет дорожки (твоя переменная brand-light) */
    border-radius: 5px ;
}

::-webkit-scrollbar-thumb {
    background: #f3efff; /* Цвет самого ползунка (твой основной brand) */
    border-radius: 10px;
    border: 2px solid #f3efff; /* Отступ вокруг ползунка, чтобы он казался тоньше */
}

::-webkit-scrollbar-thumb:hover {
    background: #6e6581; /* Цвет при наведении (brand-dark) */
}

/* Для Firefox */
* {
    scrollbar-width: auto;
    scrollbar-color: #8a70d6 #f3efff;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(138, 112, 214, 0.2);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.hero-background-text {
    position: fixed;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(6rem, 12vw, 15rem);
    font-weight: 800;
    color: rgba(51, 45, 65, 0.12);
    letter-spacing: 0.08em;
    white-space: nowrap;
    z-index: 1;
    mix-blend-mode: normal;
    pointer-events: none;
}

#main-shell {
    position: relative;
    z-index: 2;
}

/* Анимации */
.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.project-hero-gradient {
    background: linear-gradient(135deg, #8a70d6 0%, #a594f9 100%);
}

/* Стили для аккордеона навыков */
.skill-category {
    cursor: pointer;
    transition: all 0.3s;
}
.skill-category:hover {
    background-color: #f3efff;
}
.skill-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.skill-category.active .skill-list {
    max-height: 500px; /* Достаточно большое значение */
    transition: max-height 0.5s ease-in;
}
.arrow {
    transition: transform 0.3s;
}
.skill-category.active .arrow {
    transform: rotate(180deg);
}
