:root {
  --bg: #06040c;
  --bg-soft: #120a20;
  --line: #3a2a57;
  --text: #eef3ff;
  --text-soft: #bfc8e4;
  --purple: #7b3cff;
  --purple-dark: #3b1e7d;
  --purple-soft: #b68cff;
  --purple-mid: #5a2cc7;
  --purple-deep: #26124f;
  --purple-highlight: #d8c2ff;
  --green: #39d98a;
  --green-dark: #169a5a;
  --glow: rgba(123, 60, 255, 0.45);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: rgba(10, 7, 20, 0.92);
  border-bottom: 1px solid #31234a;
  backdrop-filter: blur(6px);
}

.top-nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-link {
  display: inline-flex;
}

.logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.3rem;
  flex-wrap: wrap;
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid #6e58aa;
  border-radius: 8px;
  background: linear-gradient(135deg, #4f2cb3 0%, #2f1b68 100%);
  color: #f2ecff;
  font-size: 1.1rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu a {
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.81rem;
  letter-spacing: 0.1em;
  color: #e5eeff;
  opacity: 0.9;
  padding-bottom: 0.42rem;
}

.menu a:hover {
  color: var(--purple-soft);
}

.menu a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.05rem;
  transform: translateX(-50%) scale(0);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 6px solid #8b5dff;
  transition: transform 0.2s ease;
}

.menu a:hover::after,
.menu a.active-menu::after {
  transform: translateX(-50%) scale(1);
}

.menu a.active-menu {
  color: #d4c1ff;
}

.hero {
  min-height: 100vh;
  padding-top: 90px;
  position: relative;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(123, 60, 255, 0.14), transparent 44%),
    radial-gradient(circle at 58% 46%, rgba(57, 217, 138, 0.06), transparent 46%),
    linear-gradient(180deg, rgba(3, 3, 8, 0.16), rgba(4, 3, 11, 0.44)),
    url("../assets/img/fundo.png")
      center / cover no-repeat;
}

.sub-hero {
  min-height: 300px;
  padding-top: 90px;
  position: relative;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(123, 60, 255, 0.36), transparent 45%),
    linear-gradient(180deg, rgba(7, 6, 14, 0.66), rgba(6, 4, 12, 0.92)),
    url("https://images.unsplash.com/photo-1511497584788-876760111969?auto=format&fit=crop&w=1900&q=80")
      center 25% / cover no-repeat;
}

.sub-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(6, 4, 12, 0.88));
}

.sub-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.sub-hero-content h1 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.sub-hero-content p {
  color: var(--text-soft);
  margin-top: 0.6rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(2, 4, 8, 0.9)),
    radial-gradient(circle at 50% 40%, transparent 0, rgba(0, 0, 0, 0.48) 65%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  padding-inline: 0.5rem;
}

.hero-logo {
  width: min(220px, 60vw);
  margin-bottom: 1rem;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.7));
}

h1,
h2,
h3 {
  font-family: "Cinzel", serif;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 0.8rem;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.hero p {
  color: var(--text-soft);
}

.countdown {
  margin: 1.3rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(68px, 80px));
  justify-content: center;
  gap: 0.55rem;
}

.countdown div {
  background: rgba(16, 9, 30, 0.68);
  border: 1px solid #423366;
  border-radius: 6px;
  padding: 0.55rem 0.4rem;
}

.countdown strong {
  display: block;
  font-size: 1.1rem;
}

.countdown span {
  display: block;
  color: #c5b7e8;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.hero-buttons {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  border: 1px solid transparent;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.72rem 1.2rem;
  font-weight: 600;
  border-radius: 8px;
  transition: transform 0.22s ease, filter 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.btn-primary,
.btn-register {
  background: linear-gradient(135deg, #7f47f0 0%, #5a2cc7 60%, #3c217c 100%);
  border-color: #9d83dd;
  box-shadow: 0 6px 14px rgba(66, 34, 140, 0.35);
  color: #f7f1ff;
}

.btn-primary:hover,
.btn-register:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  border-color: var(--purple-highlight);
  box-shadow: 0 9px 18px rgba(89, 50, 184, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, #5232a8 0%, #39206f 100%);
  border-color: #6e58aa;
  color: #f1e8ff;
  box-shadow: 0 6px 14px rgba(52, 31, 108, 0.35);
}

.btn-discord {
  background: linear-gradient(135deg, #6050da 0%, #4634a5 100%);
  border-color: #8f82d9;
  color: #f2ecff;
  box-shadow: 0 6px 14px rgba(63, 47, 146, 0.35);
}

.status {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.dot {
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.4rem;
  box-shadow: 0 0 10px rgba(47, 213, 136, 0.9);
}

.status-offline .dot {
  background: #ff4d67;
  box-shadow: 0 0 10px rgba(255, 77, 103, 0.9);
}

.section-block {
  scroll-margin-top: 90px;
  padding: 4rem 0 0;
}

.section-block h2 {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  margin-bottom: 1rem;
}

#downloads h2 {
  text-align: center;
}

#informacoes h2 {
  text-align: center;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card,
.download-box,
.rules-card {
  background: linear-gradient(180deg, rgba(24, 15, 44, 0.95), rgba(12, 9, 24, 0.95));
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.1rem;
}

.card h3,
.download-box h3 {
  margin-bottom: 0.5rem;
  color: #f0f5ff;
}

.card p,
.download-box p,
.rules-card li {
  color: var(--text-soft);
}

.download-intro {
  color: var(--text-soft);
  margin-bottom: 1rem;
  text-align: center;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.download-option {
  background: linear-gradient(180deg, rgba(24, 15, 44, 0.95), rgba(12, 9, 24, 0.95));
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.option-icon {
  font-size: 1.5rem;
  color: var(--purple-soft);
  margin-bottom: 0.6rem;
  display: inline-block;
}

.download-option h3 {
  margin-bottom: 0.4rem;
  text-align: center;
}

.download-option p {
  color: var(--text-soft);
  margin-bottom: 0.9rem;
  min-height: 48px;
  text-align: center;
}

.download-box {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.requirements-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.requirements-card {
  background: linear-gradient(180deg, rgba(22, 14, 40, 0.95), rgba(10, 8, 20, 0.95));
  border: 1px solid #4a3975;
  border-radius: 12px;
  padding: 1.1rem;
}

.requirements-card h3 {
  margin-bottom: 0.6rem;
  color: #e9ddff;
  text-align: center;
}

.requirements-card ul {
  list-style: none;
}

.requirements-card li {
  color: var(--text-soft);
  margin-bottom: 0.35rem;
}

.requirements-card strong {
  color: #f4ebff;
}

.rules-card ol {
  padding-left: 1.2rem;
}

.rules-card li + li {
  margin-top: 0.5rem;
}

.internal-page .section-block {
  padding-bottom: 1rem;
}

.site-footer {
  margin-top: 4rem;
  border-top: 1px solid #2f2450;
  background: #080612;
}

.footer-content {
  padding: 1.5rem 0 2rem;
  text-align: center;
}

.footer-logo {
  width: 70px;
  margin-bottom: 0.7rem;
}

.footer-content nav {
  margin-bottom: 0.8rem;
}

.footer-content nav a {
  display: inline-block;
  margin: 0 0.6rem 0.45rem;
  color: #cabef0;
  font-size: 0.9rem;
}

.footer-content p {
  color: #99a2c3;
  font-size: 0.82rem;
}

.social-fixed {
  position: fixed;
  left: 14px;
  top: 140px;
  z-index: 60;
  display: grid;
  gap: 0.6rem;
}

.social-fixed a {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  color: #e1e8f7;
  font-size: 1.65rem;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.social-fixed a:hover {
  transform: translateX(3px) scale(1.08);
  filter: brightness(1.12);
}

.social-fixed a[aria-label="Facebook"] {
  color: #1877f2;
}

.social-fixed a[aria-label="Instagram"] i {
  background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.social-fixed a[aria-label="Twitch"] {
  color: #9146ff;
}

.social-fixed a[aria-label="Discord"] {
  color: #5865f2;
}

.social-fixed a[aria-label="YouTube"] {
  color: #ff0000;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #7f47f0 0%, #4f2cb3 100%);
  border: 1px solid #9d83dd;
  color: #f7f1ff;
  box-shadow: 0 6px 14px rgba(66, 34, 140, 0.35);
  z-index: 70;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.back-to-top:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

@media (max-width: 960px) {
  .container {
    width: min(1100px, calc(100% - 1.2rem));
  }

  .top-nav {
    min-height: auto;
    padding: 0.7rem 0;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .menu {
    width: 100%;
    order: 3;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    margin-top: 0.55rem;
    padding: 0.55rem;
    border: 1px solid #3f2f63;
    border-radius: 10px;
    background: rgba(12, 8, 24, 0.94);
  }

  .menu.is-open {
    display: flex;
  }

  .menu a {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    padding: 0.55rem 0.3rem 0.52rem;
    text-align: center;
  }

  .btn-register {
    padding: 0.62rem 1rem;
    font-size: 0.68rem;
    margin-left: auto;
    margin-right: 0.55rem;
  }

  .cards-3 {
    grid-template-columns: 1fr;
  }

  .download-grid,
  .requirements-grid {
    grid-template-columns: 1fr;
  }

  .download-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    min-height: 88vh;
    padding-top: 120px;
  }

  .hero-content h1 {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
  }

  .hero p {
    font-size: 0.95rem;
  }

  .countdown {
    grid-template-columns: repeat(4, minmax(56px, 68px));
  }

  .countdown strong {
    font-size: 1rem;
  }

  .hero-buttons {
    gap: 0.6rem;
  }

  .hero-buttons .btn {
    min-width: 170px;
    text-align: center;
  }

  .section-block {
    padding-top: 3rem;
  }

  .footer-content {
    padding: 1.2rem 0 1.6rem;
  }

  .social-fixed {
    display: none;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 640px) {
  .site-header {
    backdrop-filter: none;
  }

  .top-nav {
    gap: 0.45rem;
  }

  .logo {
    width: 28px;
    height: 28px;
  }

  .menu {
    gap: 0.15rem;
  }

  .menu a {
    font-size: 0.7rem;
  }

  .hero {
    padding-top: 126px;
    min-height: 82vh;
  }

  .hero-logo {
    width: min(170px, 62vw);
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .countdown {
    grid-template-columns: repeat(2, minmax(70px, 86px));
    gap: 0.45rem;
  }

  .hero-buttons {
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .download-option p {
    min-height: auto;
  }

  .requirements-card {
    padding: 0.95rem;
  }

  .requirements-card li {
    font-size: 0.92rem;
  }

  .footer-content nav a {
    font-size: 0.82rem;
    margin: 0 0.45rem 0.38rem;
  }
}
