:root {
  --bg-main: #000000;
  --bg-alt: #0b0b0c;
  --bg-elevated: #121416;
  --accent-red: #e43f2d;
  --accent-yellow: #ffcc33;
  --accent-yellow-dark: #e6b700;
  --text-main: #ffffff;
  --text-muted: #d9d9d9;
  --text-soft: #a0a0a0;
  --glitch-cyan: #00f0ff;
  --border-soft: rgba(255, 255, 255, 0.08);
  --max-width: 1120px;
}

/* RESET SIMPLES */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

/* UTILITÁRIOS */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-title {
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 2.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 3rem;
  font-size: 0.95rem;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.95),
    rgba(0, 0, 0, 0.8)
  );
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
}

img.logo-official {
  max-width: 120px;
  width: 100%;
  display: block;
}

.banner-area img {
  max-width: 720px;
  width: 100%;
  padding: 60px 0;
}

.brand {
  text-decoration: none;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand img {
  margin-left: -2px;
  margin-bottom: 2px;
}

.brand-logo {
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.2em;
}

.brand-tagline {
  font-size: 0.9rem;
  text-align: center;
  color: var(--text-soft);
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 0.15rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-yellow), var(--accent-red));
  transition: width 0.2s ease-out;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link:hover::after {
  width: 100%;
}

/* MENU MOBILE */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.18rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background-color: var(--text-main);
}

/* HERO */

.hero {
  position: relative;
  margin: 30px 0 90px 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/gloam-logo.png');
  opacity: 0;
  pointer-events: none;
}

.hero-inner {
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-yellow);
  margin-bottom: 1.5rem;
}

.hero-logo {
  width: 100%;
  max-width: 520px;
  margin: 0 auto 1.5rem;
  display: block;
  filter: drop-shadow(0 0 18px rgba(0, 0, 0, 0.9));
}

.hero-title {
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 2.4rem;
  max-width: 720px;
  margin: 0 auto 1rem;
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.9);
}

.hero-subtitle {
  max-width: 680px;
  margin: 0 auto 2rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out,
    background 0.12s ease-out, color 0.12s ease-out;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-red));
  color: #000;
  box-shadow: 0 0 22px rgba(228, 63, 45, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 26px rgba(228, 63, 45, 0.6);
  background: linear-gradient(
    135deg,
    var(--accent-yellow-dark),
    var(--accent-red)
  );
}

.btn-ghost {
  background: transparent;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
}

.hero-scroll-hint {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-soft);
}

.scroll-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 1px solid var(--accent-yellow);
  animation: scrollPulse 1.6s infinite ease-out;
}

@keyframes scrollPulse {
  0% {
    transform: translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(6px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
}

/* TRAILER */

.section-trailer {
  background: radial-gradient(
      circle at top,
      rgba(255, 204, 51, 0.05),
      transparent 65%
    ),
    var(--bg-main);
  border-top: 1px solid var(--border-soft);
  text-align: center;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ABOUT */

.section-about {
  background: var(--bg-alt);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  gap: 3rem;
  align-items: flex-start;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.about-card {
  background: var(--bg-elevated);
  border-radius: 18px;
  padding: 1.75rem;
  border: 1px solid var(--border-soft);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
}

.about-card h3 {
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.about-list {
  list-style: none;
  margin-top: 0.75rem;
}

.about-list li {
  font-size: 0.9rem;
  color: var(--text-soft);
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0.4rem;
}

.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent-red));
}

/* FEATURES */

.section-features {
  background: var(--bg-main);
  border-top: 1px solid var(--border-soft);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-elevated);
  border-radius: 18px;
  padding: 1.5rem 1.4rem 1.4rem;
  border: 1px solid var(--border-soft);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
}

.feature-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(
    circle,
    rgba(255, 204, 51, 0.5),
    rgba(228, 63, 45, 0.7)
  );
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* HOW TO PLAY */

.section-how {
  background: var(--bg-alt);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.step-card {
  background: var(--bg-elevated);
  border-radius: 18px;
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--border-soft);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.step-card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* FAQ */

.section-faq {
  background: var(--bg-main);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  border-radius: 18px;
  border: 1px solid var(--border-soft);
  background: radial-gradient(
      circle at top,
      rgba(228, 63, 45, 0.12),
      transparent 60%
    ),
    var(--bg-elevated);
  overflow: hidden;
}

.faq-item + .faq-item {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-main);
  text-align: left;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  cursor: pointer;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.03);
}

.faq-toggle {
  margin-left: 1rem;
  font-size: 1.2rem;
  color: var(--accent-yellow);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.25rem;
  transition: max-height 0.25s ease-out, padding-bottom 0.25s ease-out;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-bottom: 0.9rem;
}

/* FOOTER */

.site-footer {
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 3rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 3rem 1.5rem 2rem;
}

.footer-title {
  font-family: 'Oswald', system-ui, sans-serif;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer-text {
  font-size: 0.85rem;
  color: var(--text-soft);
  max-width: 320px;
}

.footer-columns {
  display: flex;
  gap: 3rem;
}

.footer-column h4 {
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column li + li {
  margin-top: 0.35rem;
}

.footer-column a {
  color: var(--text-soft);
  font-size: 0.85rem;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--accent-yellow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.75rem 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a {
  color: var(--text-soft);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent-yellow);
}

.footer-links .active {
  color: #e6b700 !important;
}

/* RESPONSIVIDADE */

@media (max-width: 960px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-columns {
    gap: 2rem;
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding-inline: 1rem;
  }

  .main-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: rgba(0, 0, 0, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease-out, opacity 0.2s ease-out;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .features-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
}
