@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(120deg, #0f2027, #203a43, #2c5364);
    min-height: 100vh;
    color: white;
    overflow-x: hidden;
}

nav {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    z-index: 100;
}

nav h1 {
    font-weight: 600;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
}

.container {
    padding: 120px 50px;
    max-width: 1200px;
    margin: auto;
}

/* CARD */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 30px;
}

.card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: 0.4s ease;
    transform-style: preserve-3d;
    opacity: 0;
    transform: translateY(40px);
}

.card.show {
    opacity: 1;
    transform: translateY(0);
}

.card:hover {
    transform: scale(1.05) rotateX(5deg) rotateY(5deg);
}

.card img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid rgba(255,255,255,0.4);
}

.card a {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 22px;
    border-radius: 30px;
    background: linear-gradient(45deg, #00c6ff, #0072ff);
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.card a:hover {
    box-shadow: 0 0 20px #00c6ff;
}

/* PROFILE PAGE */
.profile {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    gap: 40px;
    animation: fadeIn 1s ease;
}

.profile img {
    width: 220px;
    border-radius: 20px;
}

.profile table td {
    padding: 10px 20px;
}

/* ANIMATION */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media(max-width:768px){
    .profile {
        flex-direction: column;
        text-align: center;
    }
}
