:root {
  /* Cores Principais do Fundo */
  --bg-blue-dark: #215A78;
  --bg-blue-light: #49A7C3;

  /* Cores de Tema / Fontes */
  --gold-primary: #FFD700;
  --gold-bright: #FFEB3B;
  --gold-pale: #FFDF00;
  
  /* Cores dos Botões Gerais (Verde) */
  --btn-green-start: #30B54D;
  --btn-green-end: #2F8845;
  --btn-green-border: #40b95e;
  --btn-green-shadow: rgba(27, 58, 36, 0.57);
  --btn-green-hover-start: #40b65d;
  --btn-green-hover-end: #27943f;
  --btn-green-hover-shadow: rgba(48, 181, 77, 0.56);

  /* Cores do Botão Discord */
  --btn-discord-start: #7289da;
  --btn-discord-end: #5d6fb2;
  --btn-discord-border: #7289da;
  --btn-discord-shadow: #5c6e8e;

  /* Cores Auxiliares */
  --text-white: #fff;
  --text-yellow-light: #fffde6;
  --bg-overlay-dark: rgba(0, 0, 0, 0.6);
  --bg-overlay-semi: rgba(0, 0, 0, 0.45);
}

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

html,
body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}

/* BACKGROUND CONFIG */
body {
  background: conic-gradient(
      var(--bg-blue-dark) 0deg 15deg,
      var(--bg-blue-light) 15deg 30deg,
      var(--bg-blue-dark) 30deg 45deg,
      var(--bg-blue-light) 45deg 60deg,
      var(--bg-blue-dark) 60deg 75deg,
      var(--bg-blue-light) 75deg 90deg,
      var(--bg-blue-dark) 90deg 105deg,
      var(--bg-blue-light) 105deg 120deg,
      var(--bg-blue-dark) 120deg 135deg,
      var(--bg-blue-light) 135deg 150deg,
      var(--bg-blue-dark) 150deg 165deg,
      var(--bg-blue-light) 165deg 180deg,
      var(--bg-blue-dark) 180deg 195deg,
      var(--bg-blue-light) 195deg 210deg,
      var(--bg-blue-dark) 210deg 225deg,
      var(--bg-blue-light) 225deg 240deg,
      var(--bg-blue-dark) 240deg 255deg,
      var(--bg-blue-light) 255deg 270deg,
      var(--bg-blue-dark) 270deg 285deg,
      var(--bg-blue-light) 285deg 300deg,
      var(--bg-blue-dark) 300deg 315deg,
      var(--bg-blue-light) 315deg 330deg,
      var(--bg-blue-dark) 330deg 345deg,
      var(--bg-blue-light) 345deg 360deg
  );
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;

  font-family: 'Roboto', Arial, sans-serif;
  color: var(--text-white);

  display: flex;
  flex-direction: column;
  text-align: center;

  min-height: 100vh;
  padding: 20px;
  position: relative;
}

/* MAIN CONTENT */
.content {
  z-index: 10;
  animation: fadeIn 1s cubic-bezier(.22, .61, .36, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto;
  width: 100%;
  max-width: 1200px;
  /* Limit width on large screens */
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

h1 {
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 1.5em;
  letter-spacing: .05em;
  margin-bottom: 16px;
  color: var(--gold-primary);
  text-shadow: 2px 2px 6px #000, 0 0 12px rgba(255, 215, 0, 0.47);
}

.retro-bar {
  height: 4px;
  width: 180px;
  background: linear-gradient(90deg, var(--gold-primary) 20%, #fa983a 70%, #bb0000 100%);
  margin: 0 auto 24px auto;
  border-radius: 2px;
  box-shadow: 0px 4px 18px rgba(255, 215, 0, 0.53);
}

.status-msg {
  margin-top: 30px;
  font-size: 1.12em;
  color: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(30, 22, 0, 0.63);
  border-radius: 6px;
  padding: 8px 18px;
  box-shadow: 0 4px 14px rgba(255, 215, 0, 0.13);
}

/* --- BOTÃO ESTILO --- */
.gb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 28px;
  font-family: "Orbitron", sans-serif;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-white);
  background: linear-gradient(180deg, var(--btn-green-start) 0%, var(--btn-green-end) 90%);
  border: 2px solid var(--btn-green-border);
  border-radius: 8px;
  box-shadow: 0 0 10px var(--btn-green-shadow);
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
  margin-bottom: 20px;
  /* Espaço entre os botões */
}

.gb-btn:hover {
  transform: scale(1.05);
  background: linear-gradient(180deg, var(--btn-green-hover-start) 0%, var(--btn-green-hover-end) 100%);
  box-shadow: 0 0 16px var(--btn-green-hover-shadow);
  color: var(--text-yellow-light);
}

/* --- BOTÃO DO DISCORD --- */
.discord-btn {
  background: linear-gradient(180deg, var(--btn-discord-start) 0%, var(--btn-discord-end) 100%);
  border: 2px solid var(--btn-discord-border);
  box-shadow: 0 0 10px var(--btn-discord-shadow);
}

.discord-btn:hover {
  background: linear-gradient(180deg, var(--btn-discord-end) 0%, var(--btn-discord-start) 100%);
  box-shadow: 0 0 16px var(--btn-discord-start);
  color: var(--text-yellow-light);
}

/* ÍCONE SVG dentro do botão */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-icon img {
  width: 36px;
  height: 36px;
  filter: brightness(0) invert(1);
  /* deixa branco */
}

/* --- UNDER CONSTRUCTION & LOADER --- */
.construction-container {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 20px 40px;
  background: var(--bg-overlay-dark);
  border: 2px solid var(--gold-primary);
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
  margin-bottom: 25px;
  animation: pulse 2s infinite alternate;
  display: none;
}

.construction-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2em;
  color: var(--gold-primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 900;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.loader {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 215, 0, 0.1);
  border-left-color: var(--gold-primary);
  border-radius: 50%;
  animation: span 1s linear infinite;
}

@keyframes span {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  from {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
  }

  to {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
  }
}

.tagline {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  min-height: 180px;
  /* Espaço para a phoenix não sumir */
}

.tagline img.main-logo {
  max-width: 320px;
  height: auto;
  z-index: 10;
  position: relative;
}

.phoenix-logo {
  width: 176px;
  height: auto;
  position: absolute;
  left: -120px;
  top: 50%;
  margin-top: -88px;
  z-index: 15;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5));
  pointer-events: none;
  transform: scaleX(-1);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(-2deg) scaleX(-1);
  }

  50% {
    transform: translateY(-30px) rotate(4deg) scaleX(-1);
  }
}

/* RESPONSIVIDADE */
@media (max-width: 600px) {
  body {
    padding-top: 40px;
    padding-bottom: 40px;
    height: auto;
  }

  .content {
    padding: 0 16px;
    width: 100%;
  }

  .tagline {
    flex-direction: column;
    padding-left: 0;
    min-height: auto;
    display: flex;
    /* Volta para flex no mobile */
  }

  .tagline img.main-logo {
    max-width: 260px;
  }

  .phoenix-logo {
    position: relative;
    width: 160px;
    left: 0;
    top: 0;
    margin-top: 0;
    margin-bottom: -40px;
  }

  h1 {
    font-size: 1.4em;
    padding: 0 10px;
  }

  .retro-bar {
    width: 140px;
    margin-bottom: 20px;
  }

  /* Botões em tela cheia mas mantendo ícone ao lado do texto */
  .gb-btn {
    width: 100%;
    max-width: 340px;
    justify-content: center;
    padding: 18px 20px;
    font-size: 1em;
    margin-bottom: 14px;
  }

  .btn-icon img {
    width: 26px;
    height: 26px;
  }

  .intro {
    font-size: 1em;
    /* Maior que 0.9em original */
    line-height: 1.6;
    padding: 24px;
    margin-top: 24px;
    /* Garante que não encoste na borda */
    width: 100%;
    max-width: 100%;
  }

  .intro h2 {
    font-size: 1.15em;
    margin-bottom: 12px;
  }
}

.intro {
  max-width: 720px;
  margin-top: 28px;
  font-size: 0.98em;
  line-height: 1.5;
  text-align: left;
  background: var(--bg-overlay-semi);
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 20px #00000044;
}

.intro h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.05em;
  margin: 10px 0 6px;
  color: var(--gold-bright);
  text-shadow: 1px 1px 4px #000000aa;
}

.intro p {
  margin-bottom: 8px;
}

.intro ul {
  margin-left: 18px;
  margin-bottom: 8px;
}

.intro li {
  margin-bottom: 4px;
}

/* Screen-reader / crawler-only accessible elements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
