body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #e8e4f3 0%, #d1c4e9 100%);
    min-height: 100vh;
  }
  
  header {
    margin-bottom: 40px;
  }
  
  .profile-section {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
  }
  
  .profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease;
  }
  
  .profile-photo:hover {
    transform: scale(1.05);
  }
  
  .header-text {
    flex: 1;
  }
  
  .header-text h1 {
    margin: 0 0 10px 0;
    font-size: 2.5em;
    color: #333;
  }
  
  .header-text p {
    margin: 0;
    font-size: 1.2em;
    color: #666;
    font-weight: 300;
  }
  
  /* Responsive design for mobile */
  @media (max-width: 600px) {
    .profile-section {
      flex-direction: column;
      text-align: center;
      gap: 20px;
    }
    
    .profile-photo {
      width: 120px;
      height: 120px;
    }
    
    .header-text h1 {
      font-size: 2em;
    }
  }
  
  h1 {
    margin-bottom: 5px;
  }
  
  h2 {
    margin-top: 40px;
  }
  
.education-block {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 2px solid #b39ddb;
  border-radius: 8px;
  padding: 20px;
  margin: 15px 0;
  transition: all 0.3s ease;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.9);
}

.education-block:hover {
  border-color: #9575cd;
  background-color: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(149, 117, 205, 0.3);
}

.education-block div {
  margin: 0;
}

.education-block h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #7e57c2;
}

.education-block p {
  margin: 5px 0;
}
.work-experience-block {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin: 15px 0;
  background-color: #fff;
  transition: all 0.3s ease;
}

.work-experience-block:hover {
  border-color: #28a745;
  background-color: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.work-experience-block h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #28a745;
}

.work-experience-block p {
  margin: 5px 0 15px 0;
  font-weight: 500;
  color: #666;
}

.work-experience-block ul {
  margin: 0;
  padding-left: 20px;
}

.work-experience-block li {
  margin: 8px 0;
  line-height: 1.5;
}
.interests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.interest-card {
  background: transparent;
  width: 100%;
  height: 280px;
  perspective: 1000px;
  cursor: pointer;
}

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

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

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 30px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.card-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.interest-card:hover .card-inner {
  transform: scale(1.02);
}

.interest-card.flipped:hover .card-inner {
  transform: rotateY(180deg) scale(1.02);
}

.interest-icon {
  font-size: 2.5em;
  margin-bottom: 15px;
  display: block;
}

.card-front h3, .card-back h3 {
  margin: 0 0 15px 0;
  font-size: 1.2em;
  font-weight: bold;
}

.card-front p, .card-back p {
  margin: 0;
  font-size: 1em;
  line-height: 1.5;
  opacity: 0.9;
}

/* Responsive design for smaller screens */
@media (max-width: 600px) {
  .interests-grid {
    grid-template-columns: 1fr;
  }
  
  .interest-card {
    height: 250px;
  }
  
  .card-front, .card-back {
    padding: 25px;
  }
}
.game-link {
  color: #fff;
  text-decoration: underline;
  transition: all 0.3s ease;
}

.game-link:hover {
  color: #f0f0f0;
  text-decoration: none;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}