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

body{
  height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
  background: linear-gradient(135deg,#0f2027,#203a43,#2c5364);
}

/* Perspective Container */
.card-container{
  perspective:1000px;
}

/* Card */
.card{
  width:320px;
  height:420px;
  border-radius:20px;
  overflow:hidden;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  cursor:pointer;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

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

/* Front & Back */
.front, .back{
  position:absolute;
  width:100%;
  height:100%;
  backface-visibility:hidden;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  border-radius:20px;
  padding:25px;
  color:#fff;
}

/* Front Side */
.front{
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border:1px solid rgba(255,255,255,0.2);
}

.profile-img-container{
  width:120px;
  height:120px;
  border-radius:50%;
  overflow:hidden;
  border:3px solid #1db954;
  margin-bottom:15px;
}

.profile-img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.front h2{
  font-size:24px;
  margin-bottom:5px;
  text-shadow: 0 0 5px #1db954;
}

.front p{
  font-size:16px;
  margin-bottom:20px;
  color:#cfd8dc;
}

/* Social Icons */
.social-icons a{
  text-decoration:none;
  font-size:22px;
  margin:0 10px;
  color:#cfd8dc;
  transition: 0.3s;
}

.social-icons a:hover{
  color:#1db954;
  transform: scale(1.2);
  text-shadow:0 0 8px #1db954;
}

/* Back Side */
.back{
  background: rgba(29, 185, 84,0.1);
  backdrop-filter: blur(15px);
  transform: rotateY(180deg);
  text-align:center;
  border:1px solid rgba(29, 185, 84,0.3);
}

.back h3{
  font-size:22px;
  margin-bottom:15px;
  color:#1db954;
  text-shadow:0 0 5px #1db954;
}

.back p{
  margin-bottom:10px;
  font-size:15px;
  color:#cfd8dc;
}

