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

html, body{
    min-height: 100vh;
    font-family: "DM Sans", sans-serif;
}

body{
    background: linear-gradient(135deg, #e8eef5 0%, #dde6ef 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
}
.heading{
    margin-bottom: 24px;
    font-size: 26px;
    animation: slide-in 5s;
    -webkit-animation: slide-in 5s;
}


@keyframes slide-in {
    from {
    transform: translateY(-10px);
    opacity: 0;
    }
    to {
    transform: translateY(0);
    opacity: 1;
    }
}

/* Page Wrapper */
.page-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    width: 100%;
    max-height: 960px;
}
e
/* Base Card */
.card {
    border-radius: 24px;
    overflow: hidden;
    animation: cardIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.card:nth-child(2) { animation-delay: 0.12s; }

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(32px) scale(0.94);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* card 1 */
.card-dark {
    background-color:  #1c1c1e;
    box-shadow: 0 24px 64px rgba(0,0,0,0.55), 0 4px 16px rgba(0,0,0,0.3);
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 28px 36px;
    gap: 0;
    overflow: visible;
    margin-top: 60px;
}

.card-dark>.avatar-wrap {
    width: 190px;
    height: 190px;
    border-radius: 20px;
    overflow: hidden;
    background-image:
    linear-gradient(45deg, #ccc 25%, transparent 25%),
    linear-gradient(-45deg, #ccc 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #ccc 75%),
    linear-gradient(-45deg, transparent 75%, #ccc 75%);
    background-position: 0 0, 0 7px, 7px -7px, -7px 0px;
    background-size: 14px 14px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    flex-shrink: 0;
    margin-top: -80px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.45);
}

.card-dark>.avatar-wrap>.avatar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-dark>.avatar-wrap>.avatar>.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-dark>.body>.nama{
    font-family: "Barlow", sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: #ffffff;
    letter-spacing: 0.04em;
    text-align: center;
    margin-bottom: 12px;
}

.card-dark>.body>.role {
    font-size: 1rem;
    font-weight: 400;
    color: #ffffff;
    text-align: center;
    margin-bottom: 28px;
}

.card-dark>.body>.social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.card-dark>.body>.social>.social-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background-color: #2e2e34;
    border: #3a3a42;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color:#b0b0ba;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.card-dark>.body>.social>.social-btn:hover {
    background-color: #ffffff;
    color: #1c1c1e;
    border-color:  #ffffff;
    transform: translateY(-5px);
}

.card-dark>.body>.social>.social-btn>svg {
    width: 18px;
    height: 18px;
}


/* Card 2 */
.card-glass {
    width: 600px;
    min-height: 300px;
    background: linear-gradient(135deg,  #6fa3d0 0%, #9ac0e4 100%);
    /* background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35); */
    box-shadow: 0 20px 60px rgba(80,120,180,0.35), 0 4px 16px rgba(80,120,180,0.2);
    overflow: hidden;
    position: relative;
    margin-top: 30px;
}

.card-glass>.glass-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.card-glass>.glass-blob-1{
    width: 200px;
    height: 200px;
    background: rgba(180, 210, 240, 0.6);
    top: -40px;
    right: -40px;
}

.card-glass>.glass-blob-2 {
    width: 160px;
    height: 160px;
    background: rgba(140, 180, 220, 0.5);
    bottom: -30px;
    left: 60px;
}

.card-glass>.inner{
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 230px;
}

.card-glass>.inner>.img-wrap {
    flex-shrink: 0;
    width: 252px;
    align-self: stretch;
    padding: 16px 0 16px 16px;
}

.card-glass>.inner>.img-wrap>.img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(20,40,80,0.25);
}

.card-glass>.inner>.img-wrap>.img>.potrait-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: stretch;
}

.card-glass>.inner>.img-wrap>.img>.potrait-placeholder>.potrait-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,220,0.5) 0%, transparent 70%);
}

.card-glass>.inner>.img-wrap>.img>.potrait-placeholder>img {
    width: 100%;
    height: 100%;
    display: block;
}

.card-glass>.inner>.info {
    flex: 1;
    padding: 24px 24px 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}

.card-glass>.inner>.info>.nama {
    font-family: "Barlow", sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    color: #1a2035;
    margin-bottom: 3px;
    letter-spacing: 0.01em;
}

.card-glass>.inner>.info>.handle {
    font-size: 0.82rem;
    font-weight: 400;
    color:  #3a4a6a;
    margin-bottom: 10px;
}

.card-glass>.inner>.info>.bio {
    font-size: 0.83rem;
    font-weight: 400;
    color: #2c3c5a;
    line-height: 1.5;
    margin-bottom: 16px;
}

.card-glass>.inner>.info>.social {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.card-glass>.inner>.info>.social>.glass-icon{
    width: 35px;
    height: 35px;
    border-radius: 8px;
    background: rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #1a2035;
    backdrop-filter: blur(4px);
    transition: background-color 0.2s, transform 0.2s;
}

.card-glass>.inner>.info>.social>.glass-icon:hover {
    background-color: rgba(255,255,255,0.5);
    transform: translateY(-5px);
}
.card-glass>.inner>.info>.social>.glass-icon>svg {
    width: 25px;
    height: 25px;
}

.card-glass>.inner>.info>.cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.card-glass>.inner>.info>.cta>.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.card-glass>.inner>.info>.cta>.cta-btn>svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.card-glass>.inner>.info>.cta>.cta-btn--dark {
    background: #1e2a4a;
    color: #fff;
}

.card-glass>.inner>.info>.cta>.cta-btn--light {
    background: #5a9fd4;
    color: #fff;
}

.card-glass>.inner>.info>.cta>.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}


@media (max-width: 520px) {
    body {
        padding: 24px 12px;
    }

    /* Card 1 */
    .card-dark {
        width: 100%;
        max-width: 320px;
        padding: 28px 20px 32px;
    }

    .card-dark>.avatar-wrap {
        width: 160px;
        height: 160px;
    }

    .card-dark>.avatar-wrap>.avatar>.avatar-img {
        width: 160px;
        height: 160px;
    }

    .card-dark>.body>.nama {
        font-size: 1.1rem;
    }

    /* Card 2  */
    .card-glass {
        width: 100%;
        max-width: 300px;
    }

    .card-glass>.inner {
        flex-direction: column;
        align-items: center;
    }

    .card-glass>.inner>.img-wrap {
        width: calc(100% - 32px);
        padding: 16px 16px 0 16px;
        align-self: auto;
    }

    .card-glass>.inner>.img-wrap>.img {
        min-height: 180px;
        height: 250px;
    }

    .card-glass>.inner>.info {
        padding: 20px;
        align-items: flex-start;
    }

    .card-glass>.inner>.info>.nama {
        font-size: 1.2rem;
    }

    .card-glass>.inner>.info>.cta>.cta-btn {
        font-size: 0.72rem;
        padding: 8px 13px;
    }
}

@media (max-width: 360px) {
    .card-glass>.inner>.info>.cta {
        flex-direction: column;
    }

    .card-glass>.inner>.info>.cta>.cta-btn {
        width: 100%;
        justify-content: center;
    }
}