/* Public Profile - Mobile-First Design */

/* Profile Header */
.profile-header {
    text-align: center;
    padding: 50px 20px 40px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    margin: 0 auto 20px;
    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-username {
    font-size: 28px;
    color: var(--off-yellow);
}

.edit-profile-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: var(--pastel-blue);
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
}

.section-title {
    font-size: 1.5rem;
    color: var(--off-yellow);
    text-align: center;
    margin-bottom: 25px;
}

.no-badges {
    text-align: center;
    color: var(--off-white);
    opacity: 0.7;
    padding: 30px 20px;
}

.no-badges p {
    margin: 10px 0;
}


/* Large Phone - 400px+ */
@media (min-width: 400px) {
    .profile-username {
        font-size: 2.2rem;
    }

}

/* Small Tablet - 600px+ */
@media (min-width: 600px) {
    .profile-header {
        padding: 35px 25px;
    }

    .profile-avatar {
        width: 110px;
        height: 110px;
        border-radius: 14px;
    }

    .edit-profile-btn {
        padding: 12px 24px;
        font-size: 16px;
    }
}

/* Tablet - 768px+ */
@media (min-width: 768px) {
    .profile-header {
        padding: 40px;
        margin: 30px 40px 40px;
    }

    .profile-avatar {
        width: 120px;
        height: 120px;
        border-radius: 16px;
    }

    .profile-username {
        font-size: 2.5rem;
    }


    .badges-section {
        padding: 40px;
        margin: 0 40px 40px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .no-badges {
        padding: 40px;
    }

}

/* Desktop - 1024px+ */
@media (min-width: 1024px) {
    /* Uses base.css page-container max-width of 640px */
}