* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  font-family: "Trebuchet MS", "Apple SD Gothic Neo", sans-serif;
  background: linear-gradient(180deg, #1b1035 0%, #0a1128 60%, #050814 100%);
  color: #fff;
}

.hero {
  text-align: center;
  padding: 60px 20px 40px;
}

.hero h1 {
  font-size: clamp(1.8rem, 8vw, 3rem);
  margin: 0;
  background: linear-gradient(90deg, #ffd166, #ef476f, #06d6a0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  margin-top: 10px;
  color: #cfd8ff;
  font-size: 1.1rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
  gap: 24px;
  justify-content: center;
  padding: 20px 20px 60px;
}

.project-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(6px);
}

.project-card h2 {
  margin: 0 0 20px;
  font-size: 1.4rem;
}

.enter-btn {
  display: inline-block;
  padding: 10px 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffd166, #ef476f);
  color: #1b1035;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.enter-btn:hover {
  transform: scale(1.06);
}

.lang-switch {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
  display: flex;
  gap: 8px;
}

.back-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 100;
  padding: 8px 20px;
  font-size: 0.85rem;
}

.lang-btn {
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  color: #cfd8ff;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.lang-btn.active {
  background: linear-gradient(90deg, #ffd166, #ef476f);
  color: #1b1035;
  border-color: transparent;
  font-weight: bold;
}
