@font-face {
  font-family: 'Rajdhani';
  src: url('/assets/fonts/Rajdhani-Bold.ttf') format('truetype');
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Rajdhani';
  src: url('/assets/fonts/Rajdhani-Light.ttf') format('truetype');
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Rajdhani';
  src: url('/assets/fonts/Rajdhani-Medium.ttf') format('truetype');
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Rajdhani';
  src: url('/assets/fonts/Rajdhani-Regular.ttf') format('truetype');
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Rajdhani';
  src: url('/assets/fonts/Rajdhani-SemiBold.ttf') format('truetype');
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  padding: 0;
  margin: 0;
  background-color: #000;
}

body {
  min-height: 100dvh;
  margin: 0 auto;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: whitesmoke;
  border-radius: 1em;
  gap: 2em;
  text-align: center;
}

img {
  width: 100px;
  height: auto;
}

section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.header h1 {
  font-family: "Rajdhani", sans-serif;
  margin-bottom: 0.2em;
}

.header p {
  font-family: "Rajdhani", sans-serif;
  margin: 0;
  font-size: 1.4em;
}

.content p {
  margin-top: 0;
  margin-bottom: 0;
  font-family: "Poppins", sans-serif;
  font-size: 1.2em;
  text-align: center;
  width: 80%;
  color: whitesmoke;
}

.gradient-text {
  background: linear-gradient(90deg, rgb(42, 200, 234), rgb(181, 105, 247));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Language switcher */
.lang-switcher {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.lang-switcher a {
  text-decoration: none;
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  font-family: "Poppins", sans-serif;
  color: whitesmoke;
}

.lang-switcher a[aria-current="page"] {
  text-decoration: underline;
}

/* Responsiveness: tablets and phones */
@media (max-width: 1024px) {
  .container {
    padding: 1rem;
  }

  img {
    width: 80px;
  }

  .header p {
    font-size: 1.3em;
  }

  .content p {
    font-size: 1.1em;
    width: 90%;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  img {
    width: 72px;
  }

  .lang-switcher {
    flex-direction: row;
    gap: 0.75rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1rem;
    gap: 1rem;
  }

  img {
    width: 64px;
  }

  .lang-switcher {
    flex-direction: column;
    gap: 0.5rem;
    /* Increased gap for better touch targets */
  }

  .lang-switcher span {
    display: none;
  }

  .header p {
    font-size: 1.2em;
  }

  .content p {
    font-size: 1em;
    width: 100%;
  }
}