/* Стили для страницы био */
.logo-link {
    text-decoration: none;
    color: inherit;
}

.bio-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    background-image: url('../images/okoka-anime.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.bio-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.8) 0%, rgba(26, 26, 46, 0.7) 50%, rgba(22, 33, 62, 0.8) 100%);
    z-index: 1;
}

.bio-header {
    text-align: center;
    position: relative;
    z-index: 2;
}

.bio-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.bio-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.bio-content {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.bio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.bio-section {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.bio-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(139, 92, 246, 0.5);
    border-color: rgba(139, 92, 246, 0.5);
}

.section-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.bio-section .section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 15px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    min-width: 0;
    overflow: hidden;
}

.contact-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.contact-item .contact-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.contact-item:hover .contact-icon {
    background: rgba(255, 255, 255, 0.2);
}

.contact-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.contact-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-info p {
    font-size: 0.9rem;
    opacity: 0.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Адаптивность для био */
@media (max-width: 768px) {
    .bio-title {
        font-size: 2.5rem;
    }
    
    .bio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .bio-section {
        padding: 1.5rem;
    }
    
    .contact-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .contact-info h3,
    .contact-info p {
        white-space: normal;
        text-overflow: unset;
        overflow: visible;
    }
}

@media (max-width: 480px) {
    .bio-title {
        font-size: 2rem;
    }
    
    .bio-subtitle {
        font-size: 1rem;
    }
    
    .bio-section {
        padding: 1rem;
    }
    
    .contact-item {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .contact-info h3 {
        font-size: 1rem;
    }
    
    .contact-info p {
        font-size: 0.8rem;
    }
}
