body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
  margin: 0;
  padding: 40px 20px;
  background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 50%, #a5d6a7 100%);
  min-height: 100vh;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

/* Background decoration */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(129, 199, 132, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(200, 230, 201, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(165, 214, 167, 0.25) 0%, transparent 50%);
  z-index: -1;
}

h2 {
  font-size: 42px;
  color: #2e7d32;
  margin: 0;
  font-weight: 700;
  text-shadow: 0 4px 8px rgba(46, 125, 50, 0.2);
  letter-spacing: 1px;
}

.back {
  position: absolute;
  top: 30px;
  left: 30px;
  font-size: 22px;
  text-decoration: none;
  color: #2e7d32;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 12px 20px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(129, 199, 132, 0.3);
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.1);
}

.back:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #66bb6a, #4caf50);
  transform: translateX(-5px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  margin-top: 0;
  flex-wrap: wrap;
}

.role {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  color: #2e7d32;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: 50px 40px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(129, 199, 132, 0.3);
  box-shadow: 
    0 20px 40px rgba(76, 175, 80, 0.1),
    0 10px 20px rgba(129, 199, 132, 0.15);
  min-width: 260px;
  min-height: 300px;
  position: relative;
  overflow: hidden;
}

.role::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(129, 199, 132, 0.2), transparent);
  transition: left 0.5s ease;
}

.role:hover::before {
  left: 100%;
}

.role:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 
    0 30px 60px rgba(76, 175, 80, 0.2),
    0 15px 30px rgba(129, 199, 132, 0.25);
  background: rgba(255, 255, 255, 1);
  border-color: rgba(76, 175, 80, 0.5);
}

.icon {
  background: linear-gradient(135deg, #81c784 0%, #66bb6a 50%, #4caf50 100%);
  padding: 50px;
  border-radius: 25px;
  transition: all 0.4s ease;
  box-shadow: 
    0 15px 30px rgba(76, 175, 80, 0.25),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  transform: scale(0);
  transition: transform 0.4s ease;
}

.role:hover .icon {
  background: linear-gradient(135deg, #66bb6a 0%, #4caf50 50%, #43a047 100%);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 
    0 20px 40px rgba(76, 175, 80, 0.35),
    inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

.role:hover .icon::before {
  transform: scale(1);
}

.icon img {
  width: 120px;
  height: 120px;
  display: block;
  filter: brightness(1.1) contrast(1.1);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.role:hover .icon img {
  filter: brightness(1.2) contrast(1.2) drop-shadow(0 5px 10px rgba(46, 125, 50, 0.3));
}

.label {
  margin-top: 25px;
  font-weight: 700;
  font-size: 32px;
  color: #2e7d32;
  transition: all 0.3s ease;
  text-shadow: 0 2px 4px rgba(46, 125, 50, 0.1);
  letter-spacing: 0.5px;
}

.role:hover .label {
  color: #1b5e20;
  transform: scale(1.05);
  text-shadow: 0 4px 8px rgba(27, 94, 32, 0.3);
}

/* Floating particles effect */
.role::after {
  content: '';
  position: absolute;
  top: 20px;
  right: 20px;
  width: 8px;
  height: 8px;
  background: linear-gradient(45deg, #a5d6a7, #81c784);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.3s ease;
}

.role:hover::after {
  opacity: 1;
  animation: float-particle 2s ease-in-out infinite;
}

@keyframes float-particle {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-15px) scale(1.2); }
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 30px 20px;
    gap: 32px;
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
  }
  
  h2 {
    font-size: 36px;
  }
  
  .container {
    gap: 60px;
    margin-top: 0;
  }
  
  .role {
    padding: 36px 28px;
    min-width: 220px;
    min-height: 260px;
  }
  
  .icon {
    padding: 36px;
  }
  
  .icon img {
    width: 100px;
    height: 100px;
  }
  
  .label {
    font-size: 28px;
  }
  
  .back {
    font-size: 20px;
    top: 20px;
    left: 20px;
    padding: 10px 16px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 24px 16px;
    gap: 24px;
  }

  .container {
    flex-direction: column;
    gap: 40px;
  }
  
  .role {
    padding: 28px 22px;
    min-width: 180px;
    min-height: 200px;
  }
  
  .icon {
    padding: 30px;
  }
  
  .icon img {
    width: 72px;
    height: 72px;
  }
  
  .label {
    font-size: 24px;
  }
  
  h2 {
    font-size: 30px;
  }
}

/* Additional animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.role {
  animation: float 6s ease-in-out infinite;
}

.role:nth-child(2) {
  animation-delay: -3s;
}

/* Subtle pulse effect for icons */
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 15px 30px rgba(76, 175, 80, 0.25); }
  50% { box-shadow: 0 15px 30px rgba(76, 175, 80, 0.35); }
}

.icon {
  animation: pulse-green 4s ease-in-out infinite;
}
