* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
  background: 
    linear-gradient(
      rgba(0,0,0,0.35),
      rgba(0,0,0,0.35)
    ),
    url("images/back.jpeg") center/cover no-repeat;
  color: #fff;
  position: relative;
}

/* CONTAINER */
.container {
  min-height: calc(100vh - 60px); /* Subtrai altura do rodapé */
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* CONTROLES SUPERIORES VISÍVEIS - 3 QUADRADINHOS */
.controls {
  position: fixed;
  top: 15px;
  right: 15px;
  display: flex;
  gap: 6px;
  z-index: 1000;
  align-items: center;
  background: rgba(0, 0, 0, 0.2);
  padding: 6px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* SELEÇÃO DE IDIOMAS - 3 QUADRADOS LADO A LADO */
.language-selector {
  display: flex;
  gap: 4px;
}

/* BOTÕES QUADRADOS COM BANDEIRAS */
.lang-btn {
  width: 34px;
  height: 24px;
  border-radius: 4px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  position: relative;
}

.lang-btn:hover {
  transform: scale(1.08);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.15);
}

.lang-btn.active {
  border-color: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

/* ÍCONES DAS BANDEIRAS DENTRO DOS QUADRADOS */
.flag-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}

.lang-btn.active .flag-icon {
  transform: scale(1.05);
}

.lang-btn:hover .flag-icon {
  transform: scale(1.08);
}

/* PERFIL */
.perfil {
  margin-top: 40px;
  text-align: center;
}

.perfil img {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.6);
  margin-bottom: 14px;
}

.perfil h1 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.perfil span {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* BOTÕES */
.buttons {
  margin-top: 48px;
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.btn {
  text-align: center;
  padding: 15px;
  border-radius: 14px;
  text-decoration: none;
  color: #111;
  font-size: 0.95rem;
  font-weight: 500;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);
  transition: all 0.25s ease;
}

/* Botão secundário */
.btn.outline {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}

/* Hover */
.btn:hover {
  transform: translateY(-2px);
}

/* RODAPÉ */
.footer {
  height: 60px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.footer-content {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  opacity: 0.85;
  color: rgba(255, 255, 255, 0.9);
}

.footer-icon {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  transform: rotate(45deg);
}
