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

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f0f0f0;
    font-family: Arial, sans-serif;
}

.container {
    perspective: 1000px;
}

.card {
    width: 300px;
    height: 400px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

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

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.card-front {
    background: linear-gradient(45deg, #3a1c71, #d76d77);
    color: white;
    padding: 20px;
}

.card-back {
    background: linear-gradient(45deg, #24243e, #302b63);
    color: white;
    transform: rotateY(180deg);
    padding: 20px;
}

h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

p {
    font-size: 18px;
}

.profile-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid white;
    background: #fff;
}

.name {
    font-size: 24px;
    margin-bottom: 5px;
}

.title {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.bio {
    font-size: 14px;
    line-height: 1.4;
    padding: 0 20px;
}

.details-list {
    text-align: left;
    width: 100%;
    padding: 0 30px;
}

.details-item {
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.details-item svg {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    fill: currentColor;
}

.email-link {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.email-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 20px;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
}

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

.social-icon {
    color: white;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.2);
}

.social-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}