* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, #1a1a1a, #4a4a4a);
}

.card-container {
    perspective: 1000px;
    width: 350px;
    height: 500px;
}

.card {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s;
    cursor: pointer;
}

.card.flipped {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.card-back {
    transform: rotateY(180deg);
}

.profile-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.info {
    text-align: center;
    color: white;
}

.info h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.info h2 {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.info p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
}

.contact-info {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: white;
}

.contact-item i {
    font-size: 20px;
    margin-right: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item a,
.contact-item p {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.social-icon {
    color: white;
    font-size: 24px;
    transition: transform 0.3s, color 0.3s;
}

.social-icon:hover {
    transform: translateY(-5px);
    color: rgba(255, 255, 255, 0.7);
}

.flip-prompt {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    left: 0;
    color: rgba(255, 255, 255, 0.6);
}

.flip-prompt i {
    margin-left: 5px;
    font-size: 14px;
}

@media (max-width: 400px) {
    .card-container {
        width: 90%;
        height: 450px;
    }
} 