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

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to right, #3a1c71, #d76d77, #ffaf7b);
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a, a:visited {
  color: white;
  text-decoration: none;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid white;
  margin-bottom: 2rem;
}

header > div {
  display: flex;
  align-items: center;
  gap: 1rem;
}

header strong {
  font-weight: bold;
  font-size: 1rem;
  color: white;
}

.language-switcher {
  display: flex;
  gap: 0.25rem;
}

.language-switcher button {
  background: transparent;
  border: 1px solid white;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  font-size: 0.85rem;
}

.language-switcher button:hover {
  background: white;
  color: black;
}

header nav {
  display: flex;
  align-items: center;
}

header nav a {
  margin-left: 1.5rem;
  font-weight: 500;
  text-transform: lowercase;
  transition: opacity 0.3s;
  color: white;
  text-decoration: none;
}

header nav a:hover {
  opacity: 0.7;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 2rem 1rem;
}

.main-title {
  font-family: 'Canela Text', serif;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: -1rem;
}

.card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.5rem 1.5rem 2rem;
  text-align: center;
  width: 270px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card i {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.card-username {
  font-weight: 500;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  word-break: break-word;
}

.card-button {
  border: 2px solid white;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.card-button:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

footer {
  margin-top: auto;
  text-align: center;
  padding: 1.5rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.social-icons a {
  color: white;
  font-size: 1.6rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #000000;
}

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

  .card {
    width: 90%;
  }
}