/* ===== СТРАНИЦА ABOUT ===== */

/* Основной контент на странице about */
.about-page #typing-text {
    font-size: 32px;
    color: var(--primary-green);
    text-shadow: 1px 1px 0px black;
    margin: 20px 0;
    max-width: calc(100% - 400px);
    word-wrap: break-word;
}

.about-page h1 {
    max-width: calc(100% - 400px);
}

.about-page p {
    max-width: calc(100% - 400px);
}

/* Ссылка "Вернуться на главную" */
.about-page .back-link {
    display: inline-block;
    margin: 20px 0;
    color: var(--white);
    background-color: rgba(0, 0, 0, 0.3);
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
}

.about-page .back-link:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Чат - переопределяем позиционирование для страницы about */
.about-page #chat-box {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 40px 0;
    margin-left: 300px;
}

/* Адаптивность для мобильных */
@media (max-width: 1200px) {
    .about-page #typing-text,
    .about-page h1,
    .about-page p {
        max-width: calc(100% - 300px);
    }
    
    .about-page #chat-box {
        margin-left: 200px;
    }
}

@media (max-width: 900px) {
    .about-page #typing-text,
    .about-page h1,
    .about-page p {
        max-width: calc(100% - 200px);
    }
    
    .about-page #chat-box {
        margin-left: 100px;
    }
}

@media (max-width: 768px) {
    .about-page #typing-text {
        font-size: 24px;
        max-width: 100%;
    }
    
    .about-page h1,
    .about-page p {
        max-width: 100%;
    }
    
    .about-page #chat-box {
        margin-left: 0;
        margin-top: 20px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .about-page #typing-text {
        font-size: 20px;
    }
    
    .about-page #chat-box {
        margin-left: 0;
        margin-top: 20px;
    }
}

/* Информационные карточки - такие же стили как .content-section */
.info-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: bold;
}

.info-card p {
    color: #fff;
    line-height: 1.6;
    font-size: 16px;
}
