/* =========================================
   ABOUT PAGE
   ========================================= */

#content {
    max-width: 850px;
    margin: 0 auto 60px auto;
    padding: 0 15px;
}

/* Base Page Header */
#page_info h1 {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 8px;
    font-size: 2.2rem;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-weight: 600;
    color: var(--text-main);
    text-shadow: 0 3px var(--shadow-olive-dark);
    margin-bottom: 40px;
}

/* --- UNIVERSAL PANEL STYLING (Mobile Default) --- */
/* Now correctly targets your #about ID and the stats panel */
#about, .stats-panel {
    background-color: var(--bg-card-opaque);
    border: 1px solid var(--border-olive);
    border-radius: 12px;
    padding: 25px 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px var(--shadow-card);
    box-sizing: border-box;
    width: 100%;
}

#about p {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 20px;
}

#about p:last-of-type {
    margin-bottom: 0;
}

/* --- SOCIAL ICONS BLOCK --- */
#social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border-olive);
}

#social a {
    text-decoration: none;
    display: inline-block;
}

#social i {
    font-size: 2.2rem;
    color: var(--text-muted);
    transition: color 0.2s ease, transform 0.2s ease;
}

#social a:hover i {
    color: var(--color-link);
    transform: translateY(-4px) scale(1.05);
}

/* --- STATS PANEL (Mobile Default) --- */
.stats-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.stat-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: 100%;
}

.stat-divider {
    height: 1px;
    width: 50%;
    background-color: var(--border-olive);
    opacity: 0.5;
}

.stat-label {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.stat-value {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-link);
    letter-spacing: 1px;
}

/* =========================================
   DESKTOP RESPONSIVE EXCEPTIONS
   ========================================= */
@media only screen and (min-width: 769px) {
    #about, .stats-panel {
        padding: 35px 40px; 
    }
    
    .stats-panel {
        flex-direction: row; 
        justify-content: space-evenly;
        gap: 0;
    }
    
    .stat-block {
        width: 45%; 
    }
    
    .stat-divider {
        height: 50px; 
        width: 1px;
    }
}