* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", system-ui, sans-serif;
}

body {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.container {
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.header {
  margin-bottom: 60px;
  opacity: 0;
  animation: fadeIn 0.8s ease-out forwards;
}

.header h1 {
  color: #2b2d42;
  font-size: 3.2rem;
  margin-bottom: 15px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.header p {
  color: #6c757d;
  font-size: 1.3rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.languages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.language-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.03);
  padding: 35px 50px;
  min-width: 260px;
  opacity: 0;
  transform: translateY(30px);
}

.language-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  background: #f8f9fa;
  border-color: #e9ecef;
}

.language-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(41, 128, 185, 0.1) 0%,
    rgba(142, 68, 173, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.language-card:hover::before {
  opacity: 1;
}

.language-name {
  position: relative;
  z-index: 2;
}

.language-name h3 {
  font-size: 2.2rem;
  color: #2b2d42;
  margin-bottom: 8px;
  font-weight: 700;
}

.language-name p {
  color: #6c757d;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}

.indonesian .language-name h3 {
  color: #e74c3c;
}

.english .language-name h3 {
  color: #3498db;
}

.russian .language-name h3 {
  color: #2c3e50;
}

.footer {
  margin-top: 60px;
  color: #95a5a6;
  font-size: 0.8rem;
  padding-top: 25px;
  opacity: 0;
  animation: fadeIn 0.8s ease-out 0.6s forwards;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.language-card:nth-child(1) {
  animation: slideUp 0.6s ease-out 0.2s forwards;
}

.language-card:nth-child(2) {
  animation: slideUp 0.6s ease-out 0.3s forwards;
}

.language-card:nth-child(3) {
  animation: slideUp 0.6s ease-out 0.4s forwards;
}

/* Responsive design */
@media (max-width: 850px) {
  .languages {
    gap: 20px;
  }

  .language-card {
    min-width: 220px;
    padding: 30px 40px;
  }
}

@media (max-width: 768px) {
  .languages {
    flex-direction: column;
    align-items: center;
  }

  .language-card {
    width: 100%;
    max-width: 400px;
  }

  .header h1 {
    font-size: 2.5rem;
  }

  .header p {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .header h1 {
    font-size: 2.2rem;
  }

  .header p {
    font-size: 1rem;
  }

  .language-name h3 {
    font-size: 2rem;
  }

  .language-name p {
    font-size: 1.1rem;
  }
}
