@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

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

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  background-color: #f8f8f8;
  background-image: url('img/background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #272727;
}

.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: -80px auto 0;
  max-width: 1640px;
  padding: 2rem 70px calc(2.5rem + 30px);
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.description {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0;
}

.logo {
  height: 72px;
  width: auto;
  display: block;
  padding: 10px 0;
  box-sizing: content-box;
}

.description .logo + .title {
  margin-top: 24px;
}

.title {
  color: #272727;
  font-size: 32px;
  line-height: 30px;
  font-weight: 600;
  margin-bottom: 0.25rem;
  margin-top: 0;
}

.subtitle {
  color: #989898;
  font-size: 18px;
  line-height: 30px;
  font-weight: 400;
  max-width: 980px;
}

.image-container {
  width: 100%;
  max-width: 750px;
  margin: 20px 0 0 0;
  display: flex;
  justify-content: center;
}

.animation-player {
  width: clamp(320px, 80vw, 720px);
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.nav {
  margin-top: 20px;
}

.lang-switch {
  display: inline-flex;
  gap: 10px;
  padding: 6px;
  border-radius: 999px;
  background: #f3f3f3;
  border: 1px solid #e1e1e1;
}

.lang-btn {
  min-width: 64px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: #575757;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-align: center;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  background: #ffffff;
  border-color: #d7d7d7;
  color: #272727;
}

.lang-btn.is-active {
  background: #f7b01c;
  border-color: #f7b01c;
  color: #272727;
}

@media (max-width: 768px) {
  .wrapper {
    padding: 0.5rem 17px 1.5rem;
  }

  .nav {
    margin-top: 0;
  }

  .title {
    font-size: 24px;
  }

  .subtitle {
    font-size: 16px;
  }
}
