.apropos-page {
    padding-top: 180px;
    padding-bottom: 100px;
    animation: fadeIn 0.8s ease forwards;
}

.apropos-header {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.apropos-header-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 22px;
    padding: 40px 55px;
    text-align: center;
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.25);
    max-width: 700px;
    width: 100%;
    position: relative;
}

.apropos-header-box:before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: linear-gradient(120deg,
        rgba(74, 108, 247, 0.0),
        rgba(74, 108, 247, 0.4),
        rgba(74, 108, 247, 0.0),
    );
    filter: blur(18px);
    opacity: 0;
    transition: 0.4s ease;
    z-index: -1;
    animation: glowMove 3s linear infinite;
}

.apropos-header-box:hover::before {
    opacity: 1;
}

.apropos-header-box h1 {
    font-size: 46px;
    color: var(--accent);
    margin: 0;
}

.animated-line {
    width: 120px;
    height: 4px;
    margin: 18px auto 0 auto;
    border-radius: 10px;
    background: linear-gradient(90deg,
        rgba(74, 108, 247, 0.1),
        var(--accent),
        rgba(74, 108, 247, 0.1)
    );
    background-size: 200% 100%;
    animation: lineMove 2.5s linear infinite, lineGlow 2s ease-in-out infinite alternate;
}

.apropos-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    display: grid;
    gap: 40px;
    align-items: start;
}

.apropos-photo-box {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.apropos-photo {
    width: 100%;
    max-width: 320px;
    border-radius: 22px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    z-index: 2;
}

.apropos-photo-glow {
    position: absolute;
    inset: -10px;
    border-radius: 22px;
    background: radial-gradient(circle,
        rgba(74, 108, 247, 0.4),
        rgba(74, 108, 247, 0.0)
    );
    filter: blur(25px);
    animation: pulseGlow 3s ease-in-out infinite;
    z-index: 1;
}

.apropos-text {
    display: grid;
    gap: 30px;
}

.apropos-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.25);
    animation: cardFade 0.8s ease forwards;
}

.apropos-card h2 {
    font-size: 26px;
    color: var(--accent);
    margin-bottom: 12px;
}

.apropos-card p {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.6;
}

@keyframes glowMove {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes lineMove {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

@keyframes lineGlow {
    0% { box-shadow: 0 0 6px rgba(74, 108, 247, 0.3); }
    100% { box-shadow: 0 0 18px rgba(74, 108, 247, 0.7); }
}

@keyframes pulseGlow {
    0% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
    100% { opacity: 0.4; transform: scale(1); }
}

@keyframes cardFade {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .apropos-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .apropos-photo {
        margin: 0 auto;
    }
}