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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Animated background particles */
.bg-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 6s infinite ease-in-out;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.logo {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(45deg, #ff6b6b, #ffd93d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    filter: drop-shadow(0 0 5px rgba(255, 107, 107, 0.3));
  }

  to {
    filter: drop-shadow(0 0 15px rgba(255, 107, 107, 0.6));
  }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.nav-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.nav-links a:hover::before {
  left: 100%;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Main container */
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 80px);
  padding: 2rem;
  position: relative;
}

/* Profile Card */
.profile-card {
  width: 380px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 25px;
  padding: 0;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  position: relative;
  animation: cardEntry 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes cardEntry {
  0% {
    opacity: 0;
    transform: scale(0.8) rotateY(-15deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotateY(0deg);
  }
}

.profile-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.2);
}

/* Image container */
.image-container {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(1.1) saturate(1.2);
}

.profile-card:hover .profile-image {
  transform: scale(1.1);
}

/* Gradient overlay */
.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: white;
}

.profile-name {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 0.8s 0.5s both;
}

.profile-age {
  font-size: 1.2rem;
  opacity: 0.9;
  animation: fadeInUp 0.8s 0.7s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Profile content */
.profile-content {
  padding: 2rem;
}

.profile-bio {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s 0.9s both;
}

/* Interest tags */
.interests {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s 1.1s both;
}

.interest-tag {
  background: linear-gradient(45deg, #ff6b6b, #ffd93d);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  animation: tagPulse 2s infinite ease-in-out;
  animation-delay: var(--delay, 0s);
}

@keyframes tagPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

/* Action Buttons */
.action-buttons {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
  animation: fadeInUp 0.8s 1.3s both;
}

.action-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.action-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.5s;
}

.action-btn:hover::before {
  width: 200%;
  height: 200%;
}

.dislike-btn {
  background: linear-gradient(45deg, #ff4757, #ff6348);
  color: white;
  box-shadow: 0 8px 25px rgba(255, 71, 87, 0.3);
}

.dislike-btn:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 15px 35px rgba(255, 71, 87, 0.4);
}

.message-btn {
  background: linear-gradient(45deg, #5352ed, #3742fa);
  color: white;
  box-shadow: 0 8px 25px rgba(83, 82, 237, 0.3);
}

.message-btn:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 15px 35px rgba(83, 82, 237, 0.4);
}

.like-btn {
  background: linear-gradient(45deg, #2ed573, #1e90ff);
  color: white;
  box-shadow: 0 8px 25px rgba(46, 213, 115, 0.3);
}

.like-btn:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 15px 35px rgba(46, 213, 115, 0.4);
}

/* Click animations */
@keyframes heartBeat {
  0% {
    transform: scale(1);
  }

  14% {
    transform: scale(1.3);
  }

  28% {
    transform: scale(1);
  }

  42% {
    transform: scale(1.3);
  }

  70% {
    transform: scale(1);
  }
}

.heart-animation {
  animation: heartBeat 0.8s ease-in-out;
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-3px);
  }

  20%,
  40%,
  60%,
  80% {
    transform: translateX(3px);
  }
}

.shake-animation {
  animation: shake 0.5s ease-in-out;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

.bounce-animation {
  animation: bounce 0.6s ease-in-out;
}

/* Status indicator */
.online-status {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 15px;
  height: 15px;
  background: #2ed573;
  border-radius: 50%;
  border: 3px solid white;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 213, 115, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(46, 213, 115, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(46, 213, 115, 0);
  }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  .profile-card {
    width: 100%;
    max-width: 350px;
  }

  .navbar {
    padding: 1rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    padding: 0.3rem 0.8rem;
    font-size: 0.9rem;
  }
}