/* errors.css */

/* ----------------------------- */
/* 404 & 500 PAGE STYLES         */
/* ----------------------------- */

.center-wrapper {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 32px 16px;
}

.text {
    font-size: 32px;
    font-weight: 600;
    margin: 16px 0;
}

.text-wide {
    width: 100%;       /* во всю ширину контейнера */
    max-width: 100vw;  /* не ограничивать по ширине окна */
    margin: 0 auto;    /* центрирование, если нужно */
    padding: 0 16px;   /* небольшие отступы по бокам, можно убрать */
    box-sizing: border-box; /* чтобы паддинги не ломали ширину */
}

.text-soft {
    width: 100%;       /* во всю ширину контейнера */
    max-width: 100vw;  /* не ограничивать по ширине окна */
    margin: 0 auto;    /* центрирование, если нужно */
    padding: 0 16px;   /* небольшие отступы по бокам, можно убрать */
    box-sizing: border-box; /* чтобы паддинги не ломали ширину */
    text-align: center;
}

/* LOGO */
.logo {
    width: 120px;
    margin-bottom: 24px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* BUTTONS */
.tg-button {
    padding: 12px 24px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.tg-button:hover {
    background: #005f50; /* чуть темнее акцентного */
    transform: translateY(-2px);
}

/* Кнопка-призрак */
.tg-button[style*="transparent"] {
    border: 1px solid var(--accent);
    background: transparent;
    color: var(--accent);
    box-shadow: none;
}

.tg-button[style*="transparent"]:hover {
    background: var(--accent);
    color: #fff;
}