:root {
  --bg: #0D0D0D;
  --surface: #1A1A1A;
  --text-primary: #FFFFFF;
  --primary: #F5E000;
  --primary-dark: #D4C300;
  --primary-light: #FFF066;
  --gray-border: #2A2A2A;
  --gray-text: #A6A6A6;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-primary: 0 8px 20px rgba(245, 224, 0, 0.25);
  --transition: all 0.2s ease;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.4;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem 1.5rem;
}

main {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

/* seletor de idioma */
.lang-wrapper {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 100;
}

.language-selector {
  display: flex;
  gap: 6px;
  background: rgba(26, 26, 26, 0.92);
  backdrop-filter: blur(12px);
  padding: 5px 8px;
  border-radius: 40px;
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-sm);
}

.lang-btn {
  background: transparent;
  border: none;
  font-size: 0.75rem;
  font-weight: 600;
  color: #cfcfcf;
  padding: 5px 10px;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter', monospace;
  display: flex;
  align-items: center;
  gap: 5px;
}

.flag-icon {
  width: 18px;
  height: 18px;
  border-radius: 2px;
  object-fit: cover;
}

.lang-btn:hover {
  color: var(--primary);
  background: rgba(245, 224, 0, 0.1);
}

.lang-btn.active {
  background: var(--primary);
  color: #0D0D0D;
}

/* hero */
.hero {
  text-align: center;
  margin-bottom: 2rem;
  animation: fadeUp 0.5s ease forwards;
}

.logo-frame {
  width: 96px;
  height: 96px;
  margin: 0 auto 1rem;
  border-radius: 22%;
  background: #000000;
  border: 1px solid var(--gray-border);
  overflow: hidden;
  animation: logoPulse 2.6s ease-in-out infinite;
}

.logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

h1 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 span {
  font-weight: 500;
  color: var(--primary);
}

.tagline {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: var(--gray-text);
  letter-spacing: 0.3px;
}

/* botões principais */
.buttons-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--primary);
  color: #0D0D0D;
  padding: 12px 18px;
  border-radius: 60px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(245, 224, 0, 0.2);
  opacity: 0;
}

.btn .btn-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.btn span:nth-child(2) {
  flex: 1;
  text-align: left;
}

.btn-arrow {
  font-size: 1rem;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(245, 224, 0, 0.35);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* footer */
footer {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.7rem;
  color: #6b6b6b;
  border-top: 1px solid var(--gray-border);
  padding-top: 1.2rem;
  width: 100%;
  max-width: 600px;
}

footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  text-decoration: underline;
}

.dot {
  display: inline-block;
  margin-left: 6px;
  transform: rotate(45deg);
}

/* animação */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes btnIn {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logoPulse {
  0%, 100% {
    box-shadow: 0 8px 20px rgba(245, 224, 0, 0.25);
  }
  50% {
    box-shadow: 0 8px 28px rgba(245, 224, 0, 0.55);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero,
  .logo-frame,
  .btn {
    animation: none !important;
  }
}

/* responsividade */
@media (max-width: 500px) {
  body {
    padding: 1.5rem 0.8rem 1rem;
  }

  .logo-frame {
    width: 80px;
    height: 80px;
  }

  h1 {
    font-size: 1.5rem;
  }

  .btn {
    padding: 10px 14px;
    font-size: 0.85rem;
  }
}

@media (hover: none) {
  .btn:active {
    transform: scale(0.98);
  }
}
