/* ===== CONFIGURAÇÕES GERAIS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #141414;
    color: #fff;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* ===== CONTEÚDO PRINCIPAL ===== */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    padding: 2rem;
}

h1 {
    font-size: clamp(24px, 4vw, 48px);
    font-weight: 350;
    margin-bottom: 2.5rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
}

/* ===== SEÇÃO DE PERFIS ===== */
.profiles ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
}

.profile {
    text-decoration: none;
    color: #999;
    text-align: center;
    transition: color 0.2s ease;
}

.profile:hover {
    color: #fff;
}

figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile img {
    width: 160px;
    height: 160px;
    border-radius: 4px;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid transparent;
    transition: transform 0.2s ease, border 0.2s ease;
}

.profile:hover img {
    border: 3px solid #fff;
    transform: scale(1.05);
}

figcaption {
    font-size: 1.2rem;
    font-weight: 400;
    margin-top: 0.5rem;
}

/* ===== SEÇÃO GERENCIAR ===== */
.manage-section {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.manage-button {
    background: transparent;
    border: 1px solid #999;
    color: #999;
    padding: 10px 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    font-weight: 350;
    transition: all 0.3s ease;
}

.manage-button:hover {
    border-color: #e5e5e5;
    color: #e5e5e5;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1000px) {
    .profile img {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 600px) {
    main {
        justify-content: flex-start;
        padding-top: 3rem;
    }

    .profile img {
        width: 110px;
        height: 110px;
    }

    h1 {
        font-size: 1.8rem;
    }

    .profiles ul {
        gap: 1.5rem;
    }
}