/* Твои текущие стили */
html, body {
    overflow: hidden;
    padding: 0;
    margin: 0;
    font-family: 'PT Serif', serif;
    background-color: rgb(255, 255, 255);
}

.container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column-reverse;
    align-items: start;
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

/* Стили для заголовка */
.name {
    color: white;
    font-size: 4vw;
    text-shadow: 0 0 5px #000000;
    user-select: none;
    pointer-events: none;
    margin-bottom: 20px; /* Отступ между заголовком и кнопкой */
}

@media all and (min-width: 640px) {
    .name {
        font-family: 'La Bisane Regular', sans-serif;
        text-align: center;
        font-size: 42px;
        color: white;
    }
}

/* Стили для header и кнопки */
header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

header nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Обновленные стили для кнопки с анимацией */
.catalog-button {
    position: relative;
    display: inline-block;
    width: 200px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    text-decoration: none;
    color: #000000;
    font-family: inherit;
    text-transform: none;
}

.catalog-button svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.catalog-button span {
    position: relative;
    z-index: 2;
    font-size: 18px;
}

.catalog-button path {
    stroke-width: 2;
    stroke: #000000;
    fill: none;
    stroke-dasharray: 460;
    transition: stroke-dashoffset 1s linear;
}

.catalog-button:hover path {
    animation: dash 2s reverse cubic-bezier(0.45, 0.03, 0.51, 0.95) 0s infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: 600;
        stroke-dasharray: 600 0;
    }
}
/* Обновлённые стили для предупреждения и иконок */
.warning-block {
    margin-top: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.warning-text {
    color: rgb(0, 0, 0); /* Белый текст */
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
    text-shadow: 0 0 5px rgba(0,0,0,0.5); /* Тень для лучшей читаемости */
    padding: 0 15px; /* Чтобы текст не прилипал к краям */
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    filter: drop-shadow(0 0 3px rgba(0,0,0,0.5)); /* Тень для иконок */
}

.social-icons a {
    display: block;
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
}

.social-icons img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Для мобильных устройств */
@media (max-width: 640px) {
    .warning-text {
        font-size: 12px;
    }
    .social-icons {
        gap: 15px;
    }
}

/* Добавьте в конец вашего CSS */
.warning-block {
    position: relative; /* Важно для z-index */
    z-index: 5; /* Меньше, чем у canvas (который по умолчанию 0) */
    pointer-events: none; /* Чтобы клики проходили сквозь текст к цветам */
}

.warning-text, .social-icons {
    pointer-events: auto; /* Но сами элементы должны быть кликабельны */
}

/* Убедитесь, что canvas имеет правильное позиционирование */
#canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1; /* Выше чем warning-block, но ниже чем .content */
}