body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #a8b6de, #1cc88a);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.card {
    width: 360px;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.3);
}

.card-header {
    background: #1a1d41;
    padding: 25px;
    text-align: center;
    color: #ecedf0;
}

.card-header img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 4px solid #fff;
    object-fit: cover;
}

.card-body {
    padding: 20px;
    text-align: center;
}

.social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.social a {
    width: 40px;
    height: 40px;
    background: #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
}

.social a:hover {
    background: #4e73df;
    color: #fff;
}

/* SLIDER */
input[type="radio"] {
    display: none;
}

.gallery {
    overflow: hidden;
    border-radius: 12px;
}

.slides {
    display: flex;
    width: 500%;
    transition: 0.6s;
}

.slide {
    width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.slide p {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,.6);
    color: #fff;
    margin: 0;
    padding: 10px;
    font-size: 14px;
}

/* POSITION */
#s1:checked ~ .gallery .slides { margin-left: 0; }
#s2:checked ~ .gallery .slides { margin-left: -100%; }
#s3:checked ~ .gallery .slides { margin-left: -200%; }
#s4:checked ~ .gallery .slides { margin-left: -300%; }
#s5:checked ~ .gallery .slides { margin-left: -400%; }

/* NAV */
.nav {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.nav label {
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    margin: 5px;
    cursor: pointer;
}

#s1:checked ~ .nav label:nth-child(1),
#s2:checked ~ .nav label:nth-child(2),
#s3:checked ~ .nav label:nth-child(3),
#s4:checked ~ .nav label:nth-child(4),
#s5:checked ~ .nav label:nth-child(5) {
    background: #4e73df;
}