* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;

    font-family: Arial, sans-serif;

    color: white;

    background:
        radial-gradient(
            circle at 10% 10%,
            #0c5966,
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #06151b,
            #082d36,
            #06151b
        );
}

.topbar {
    height: 75px;

    padding: 0 6%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(255,255,255,.04);

    border-bottom:
        1px solid rgba(255,255,255,.08);

    backdrop-filter: blur(15px);
}

.brand {
    font-size: 23px;
    font-weight: 700;
}

.back-btn {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    color: white;
    text-decoration: none;

    background:
        rgba(255,255,255,.07);

    font-size: 22px;
}

.profile-mini {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-mini small {
    display: block;
    color: #7cebf5;
    font-size: 11px;
}

.avatar {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #0c6b78,
            #18c4d8
        );

    font-weight: bold;
}

.achievement-page {
    width: 92%;
    max-width: 1000px;

    margin: auto;

    padding: 35px 0 60px;
}

.hero {
    display: flex;
    align-items: center;

    gap: 20px;

    margin-bottom: 30px;
}

.trophy {
    width: 75px;
    height: 75px;

    display: grid;
    place-items: center;

    border-radius: 22px;

    font-size: 38px;

    background:
        rgba(255,190,60,.12);

    border:
        1px solid rgba(255,190,60,.2);
}

.hero p,
.section-title span,
.progress-header small {
    color: #7cebf5;

    font-size: 12px;

    letter-spacing: 1px;

    font-weight: 600;
}

.hero h1 {
    font-size: 38px;
    margin: 5px 0;
}

.hero span {
    color: #91a8ad;
}

.progress-card {
    padding: 25px;

    margin-bottom: 35px;

    border-radius: 20px;

    background:
        rgba(255,255,255,.06);

    border:
        1px solid rgba(255,255,255,.08);
}

.progress-header {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 15px;
}

.progress-header h2 {
    margin-top: 5px;
}

.progress-header strong {
    color: #7cebf5;
    font-size: 20px;
}

.progress-bar {
    height: 10px;

    overflow: hidden;

    border-radius: 20px;

    background:
        rgba(255,255,255,.1);
}

.progress-fill {
    width: 0%;
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #0c6b78,
            #18c4d8
        );

    transition: width .5s ease;
}

.section-title {
    margin-bottom: 18px;
}

.section-title h2 {
    margin-top: 5px;
}

.achievement-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 14px;
}

.achievement-card {
    position: relative;

    display: flex;
    align-items: center;

    gap: 15px;

    padding: 20px;

    border-radius: 18px;

    background:
        rgba(255,255,255,.06);

    border:
        1px solid rgba(255,255,255,.08);

    transition: .25s ease;
}

.achievement-icon {
    min-width: 55px;
    height: 55px;

    display: grid;
    place-items: center;

    border-radius: 16px;

    font-size: 27px;

    background:
        rgba(24,196,216,.12);
}

.achievement-info {
    padding-right: 25px;
}

.achievement-info h3 {
    font-size: 17px;
}

.achievement-info p {
    color: #91a8ad;

    font-size: 13px;

    margin: 5px 0;
}

.achievement-info span {
    color: #7cebf5;

    font-size: 12px;
}

.lock {
    position: absolute;

    right: 18px;
    top: 18px;

    font-size: 15px;
}

.achievement-card.locked {
    opacity: .45;

    filter: grayscale(.8);
}

.achievement-card.unlocked {
    opacity: 1;

    filter: none;

    border-color:
        rgba(24,196,216,.4);

    box-shadow:
        0 0 25px
        rgba(24,196,216,.12);
}

.achievement-card.unlocked .lock {
    color: #7cebf5;
}

.motivation {
    display: flex;
    align-items: center;

    gap: 15px;

    margin-top: 30px;

    padding: 20px;

    border-radius: 18px;

    background:
        rgba(255,255,255,.05);

    border:
        1px solid rgba(255,255,255,.08);
}

.motivation > span {
    font-size: 30px;
}

.motivation p {
    color: #91a8ad;

    font-size: 13px;

    margin-top: 4px;
}

@media (max-width: 650px) {

    .topbar {
        padding: 0 4%;
    }

    .brand {
        font-size: 19px;
    }

    .profile-mini div:last-child {
        display: none;
    }

    .achievement-page {
        width: 94%;
    }

    .hero h1 {
        font-size: 30px;
    }

    .achievement-grid {
        grid-template-columns: 1fr;
    }

}
.achievement-card.unlocked {
    border-color:
        rgba(24, 196, 216, .35);

    background:
        rgba(24, 196, 216, .10);
}

.achievement-card.unlocked .achievement-icon {
    box-shadow:
        0 0 20px
        rgba(24, 196, 216, .15);
}

.achievement-card.locked {
    opacity: .65;
}

.achievement-card.unlocked .lock {
    color: #7cebf5;
}
/* ======================================
   BEHAVIOR BADGES
====================================== */

.behavior-badges-section {
    margin-top: 55px;
}

.behavior-heading {
    margin-bottom: 28px;
}

.behavior-heading .section-label {
    color: #67e8f9;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.behavior-heading h2 {
    margin-top: 6px;
    font-size: 26px;
}

.behavior-heading p {
    margin-top: 6px;
    color: rgba(255,255,255,.45);
    font-size: 10px;
}

.badge-category {
    margin-top: 28px;
}

.badge-category-title {
    margin-bottom: 12px;
    color: rgba(255,255,255,.75);
    font-size: 12px;
    font-weight: 700;
}

.behavior-badge-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 12px;
}

.behavior-badge {
    position: relative;

    min-height: 150px;
    padding: 18px;

    border-radius: 17px;

    border:
        1px solid rgba(255,255,255,.06);

    background:
        rgba(255,255,255,.025);

    opacity: .58;

    filter: grayscale(.35);

    transition:
        transform .25s ease,
        opacity .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.behavior-badge:hover {
    transform: translateY(-3px);
}

.behavior-badge-icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    background:
        rgba(255,255,255,.045);

    font-size: 20px;
}

.behavior-badge h3 {
    margin-top: 13px;

    font-size: 13px;
}

.behavior-badge p {
    margin-top: 6px;

    color: rgba(255,255,255,.40);

    font-size: 9px;
    line-height: 1.6;
}

.badge-status {
    display: inline-block;

    margin-top: 12px;

    padding: 5px 8px;

    border-radius: 999px;

    background:
        rgba(255,255,255,.045);

    color:
        rgba(255,255,255,.40);

    font-size: 7px;
    font-weight: 700;
}


/* ======================================
   UNLOCKED BADGE
====================================== */

.behavior-badge.unlocked {
    opacity: 1;
    filter: none;

    border-color:
        rgba(103,232,249,.20);

    background:
        linear-gradient(
            135deg,
            rgba(34,211,238,.075),
            rgba(99,102,241,.045)
        );

    box-shadow:
        0 15px 35px
        rgba(0,0,0,.18);
}

.behavior-badge.unlocked
.behavior-badge-icon {
    background:
        rgba(103,232,249,.10);

    box-shadow:
        0 0 18px
        rgba(103,232,249,.10);
}

.behavior-badge.unlocked
.badge-status {
    color: #67e8f9;

    background:
        rgba(34,211,238,.08);

    border:
        1px solid
        rgba(34,211,238,.12);
}


/* MASTER TIER */

.behavior-badge.master-unlocked {
    border-color:
        rgba(250,204,21,.24);

    background:
        linear-gradient(
            135deg,
            rgba(250,204,21,.075),
            rgba(168,85,247,.05)
        );

    box-shadow:
        0 0 26px
        rgba(250,204,21,.08);
}


/* MOBILE */

@media (max-width: 850px) {

    .behavior-badge-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 560px) {

    .behavior-badge-grid {
        grid-template-columns: 1fr;
    }

}