/* =============================================================
   Gang War Mafia - site
   Visual tirado da interface do jogo (MenuUI): barra de abas no
   topo com a aba ativa em laranja, paineis cinza-escuros com o
   triangulo colorido no canto, linhas "rotulo / valor" e titulos
   condensados em maiusculas.
   ============================================================= */

@font-face {
  font-family: "GWM Title";
  src: url("../fonts/RobotoCondensed-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "GWM Text";
  src: url("../fonts/SourceSans3.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --bg: #141518;
  --bg-2: #1b1d21;
  --panel: #23272b;
  --panel-2: #2b3035;
  --panel-row: #1e2125;
  --line: #3a4046;
  --text: #ffffff;
  --muted: #9b9b9b;
  --orange: #ff9000;
  --orange-1: #f58a1f;
  --orange-2: #e2600b;
  --red: #ed1a4c;
  --green: #41ec1a;
  --blue: #228ea9;
  --gold: #faff48;
  --nav-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg) url("../img/bg_hangar.jpg") center top / cover fixed;
  color: var(--text);
  font-family: "GWM Text", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
}

/* escurece o fundo do hangar (o mesmo do menu do jogo) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(14, 15, 18, 0.86);
  z-index: -1;
}

a {
  color: var(--orange);
  text-decoration: none;
}

a:hover {
  color: #ffb24d;
}

h1, h2, h3, h4,
.title-font {
  font-family: "GWM Title", "Arial Narrow", Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
}

img {
  max-width: 100%;
}

.container {
  max-width: 1180px;
}

/* =============================================================
   Barra de abas (TopBar do jogo)
   ============================================================= */

.gwm-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: linear-gradient(#25282c, #1a1c1f);
  border-bottom: 2px solid #0d0e10;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.gwm-navbar .container {
  display: flex;
  align-items: stretch;
  height: 100%;
  padding: 0;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 22px 0 14px;
  color: var(--text);
  border-right: 1px solid #0d0e10;
  box-shadow: 1px 0 0 #31353a;
}

.navbar-logo img {
  width: 44px;
  height: 44px;
}

.navbar-logo span {
  font-family: "GWM Title", sans-serif;
  font-size: 21px;
  line-height: 1;
  text-transform: uppercase;
}

.navbar-logo span small {
  display: block;
  font-size: 13px;
  color: var(--orange);
  letter-spacing: 0.12em;
}

.navbar-logo:hover {
  color: var(--text);
}

.navbar-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.navbar-menu li {
  display: flex;
}

.navbar-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
  justify-content: center;
  padding: 0 26px;
  color: #e9e9e9;
  font-family: "GWM Title", sans-serif;
  font-size: 25px;
  text-transform: uppercase;
  border-right: 1px solid #0d0e10;
  box-shadow: 1px 0 0 #31353a;
  transition: background 0.15s;
}

.navbar-menu a i {
  font-size: 22px;
}

.navbar-menu a:hover {
  background: #2d3136;
  color: #fff;
}

/* aba ativa: o laranja da aba CASA */
.navbar-menu a.active {
  background: linear-gradient(var(--orange-1), var(--orange-2));
  color: #fff;
  box-shadow: none;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
}

.lang-switch button {
  border: 2px solid transparent;
  background: none;
  padding: 0;
  line-height: 0;
  opacity: 0.55;
  cursor: pointer;
}

.lang-switch button img {
  width: 34px;
  height: 23px;
  object-fit: cover;
}

.lang-switch button.active,
.lang-switch button:hover {
  opacity: 1;
  border-color: var(--orange);
}

.navbar-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: none;
  color: #fff;
  font-size: 34px;
  padding: 0 18px;
}

/* =============================================================
   Paineis e botoes (F_BUTTON / F_MSG_DIALOG)
   ============================================================= */

.panel {
  position: relative;
  background: var(--panel);
  border: 1px solid #0f1012;
  box-shadow: inset 0 1px 0 #363b41, 0 6px 18px rgba(0, 0, 0, 0.45);
}

.panel-title {
  background: #0c0d0f;
  padding: 10px 18px;
  font-family: "GWM Title", sans-serif;
  font-size: 22px;
  text-transform: uppercase;
}

.panel-body {
  padding: 22px;
}

/* triangulo no canto de cima, como os botoes do jogo */
.corner::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-style: solid;
  border-width: 0 16px 16px 0;
  border-color: transparent var(--red) transparent transparent;
}

.corner-orange::after {
  border-right-color: var(--orange);
}

.corner-green::after {
  border-right-color: var(--green);
}

.btn-game {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 250px;
  padding: 16px 34px;
  background: var(--panel);
  border: 1px solid #0f1012;
  box-shadow: inset 0 1px 0 #3b4046, 0 4px 12px rgba(0, 0, 0, 0.5);
  color: #fff;
  font-family: "GWM Title", sans-serif;
  font-size: 26px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.btn-game:hover {
  background: var(--panel-2);
  color: #fff;
}

.btn-game:active {
  transform: translateY(1px);
}

.btn-game.primary {
  background: linear-gradient(var(--orange-1), var(--orange-2));
  border-color: #8a3a06;
  box-shadow: inset 0 1px 0 #ffb15c, 0 4px 14px rgba(226, 96, 11, 0.35);
}

.btn-game.primary:hover {
  background: linear-gradient(#ff9a33, #ea6a12);
}

.btn-game.disabled,
.btn-game:disabled {
  background: #2a2d31;
  color: #7b7f84;
  box-shadow: inset 0 1px 0 #34383d;
  cursor: not-allowed;
}

/* =============================================================
   Secoes
   ============================================================= */

section {
  padding: 70px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  border-bottom: 2px solid #2c3035;
  padding-bottom: 10px;
}

.section-head h2 {
  font-size: 40px;
  line-height: 1;
}

.section-head h2 span {
  color: var(--orange);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

/* =============================================================
   Inicio: arte principal
   ============================================================= */

.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 0;
  background: #000 url("../img/hero.jpg") right center / cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 12, 0.95) 0%, rgba(10, 10, 12, 0.75) 34%, rgba(10, 10, 12, 0) 66%),
    linear-gradient(0deg, var(--bg) 0%, rgba(20, 21, 24, 0) 26%);
}

.hero .container {
  position: relative;
  width: 100%;
}

.hero-kicker {
  display: inline-block;
  background: var(--red);
  padding: 4px 12px;
  font-family: "GWM Title", sans-serif;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin: 18px 0 8px;
  font-size: 104px;
  line-height: 0.9;
  text-shadow: 0 4px 0 #000, 0 0 30px rgba(0, 0, 0, 0.8);
}

.hero h1 span {
  display: block;
  color: var(--orange);
}

.hero-text {
  max-width: 520px;
  margin: 18px 0 32px;
  font-size: 21px;
  color: #dcdcdc;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* barra de numeros (BottomBar do jogo) */
.facts-bar {
  background: linear-gradient(#202326, #17191c);
  border-top: 1px solid #33373c;
  border-bottom: 1px solid #0b0c0e;
  padding: 0;
}

.facts-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-right: 1px solid #0d0e10;
  box-shadow: 1px 0 0 #2e3237;
}

.fact:last-child {
  border-right: 0;
  box-shadow: none;
}

.fact img {
  height: 38px;
  width: 64px;
  object-fit: contain;
}

.fact i {
  width: 64px;
  text-align: center;
  font-size: 34px;
  color: var(--orange);
}

.fact strong {
  display: block;
  font-family: "GWM Title", sans-serif;
  font-size: 30px;
  line-height: 1;
}

.fact span {
  font-size: 15px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* =============================================================
   Inicio: o jogo (painel de estatisticas da tela CASA)
   ============================================================= */

.game-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  align-items: end;
}

.game-char {
  position: relative;
  text-align: center;
}

.game-char img {
  max-height: 560px;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.7));
}

.game-char::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 0;
  height: 40px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.7), transparent 70%);
}

.lead-text {
  font-size: 20px;
  color: #e0e0e0;
}

.stat-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 3px;
  margin-top: 18px;
}

.stat-table td {
  background: var(--panel-row);
  padding: 11px 16px;
  font-size: 19px;
}

.stat-table td:first-child {
  color: #f1f1f1;
}

.stat-table td:last-child {
  text-align: right;
  font-family: "GWM Title", sans-serif;
  font-size: 20px;
}

.c-green {
  color: var(--green);
}

.c-red {
  color: var(--red);
}

.c-orange {
  color: var(--orange);
}

.c-blue {
  color: #39b8d8;
}

/* =============================================================
   Inicio: modos
   ============================================================= */

.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mode-card .panel-body {
  min-height: 190px;
}

.mode-card h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.mode-card .tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 2px 10px;
  background: #0c0d0f;
  color: var(--muted);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mode-card p {
  margin: 0;
  color: #cfcfcf;
}

/* =============================================================
   Inicio: mapas (cartao da ULTIMA PARTIDA)
   ============================================================= */

.maps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.map-card {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid #0b0c0e;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
  background: #000;
}

.map-card img {
  display: block;
  width: 100%;
  aspect-ratio: 572 / 310;
  object-fit: cover;
  transition: transform 0.4s, filter 0.4s;
  filter: saturate(0.9);
}

.map-card:hover img {
  transform: scale(1.05);
  filter: saturate(1.1);
}

.map-card .map-num {
  position: absolute;
  top: 8px;
  left: 10px;
  font-family: "GWM Title", sans-serif;
  font-size: 15px;
  color: #fff;
  text-shadow: 0 1px 3px #000;
  opacity: 0.85;
}

.map-card .map-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 8px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85), transparent);
  font-family: "GWM Title", sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  text-align: right;
  line-height: 1.1;
}

.map-card .map-name small {
  display: block;
  font-family: "GWM Text", sans-serif;
  font-size: 13px;
  color: var(--orange);
  letter-spacing: 0.04em;
}

/* os dois ultimos fecham a grade (o primeiro ocupa 2 x 2) */
.map-card.wide {
  grid-column: span 2;
}

.map-card.wide img {
  aspect-ratio: 1150 / 310;
}

/* o primeiro mapa ocupa duas colunas */
.map-card.big {
  grid-column: span 2;
  grid-row: span 2;
}

.map-card.big .map-name {
  font-size: 30px;
}

/* =============================================================
   Inicio: feito por fas (texto + etapas PC -> celular)
   ============================================================= */

.fans-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: start;
}

.steps.roadmap li strong {
  display: flex;
  align-items: center;
  gap: 10px;
}

.roadmap .status-pill {
  margin: 0 0 0 auto;
  font-size: 14px;
  color: var(--muted);
}

.roadmap .status-pill.now {
  color: var(--green);
}

.c-muted {
  color: var(--muted);
  font-family: "GWM Text", sans-serif;
  font-size: 16px;
}

/* =============================================================
   Chamada para baixar
   ============================================================= */

.cta {
  position: relative;
  padding: 0;
}

.cta .panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 34px 40px;
  background:
    linear-gradient(90deg, rgba(35, 39, 43, 0.97) 40%, rgba(35, 39, 43, 0.6)),
    url("../img/maps/map08.jpg") right center / cover;
}

.cta h2 {
  font-size: 42px;
  line-height: 1;
}

.cta p {
  margin: 8px 0 0;
  color: #d0d0d0;
}

/* =============================================================
   Cabecalho das paginas internas
   ============================================================= */

.page-head {
  position: relative;
  padding: 80px 0 46px;
  background: #000 center / cover no-repeat;
  border-bottom: 2px solid #0d0e10;
}

.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 12, 0.94) 25%, rgba(10, 10, 12, 0.5));
}

.page-head .container {
  position: relative;
}

.page-head h1 {
  font-size: 64px;
  line-height: 1;
}

.page-head p {
  margin: 10px 0 0;
  max-width: 640px;
  color: #d6d6d6;
  font-size: 20px;
}

.crumb {
  font-family: "GWM Title", sans-serif;
  text-transform: uppercase;
  color: var(--orange);
  font-size: 16px;
  letter-spacing: 0.08em;
}

/* =============================================================
   Sobre
   ============================================================= */

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 26px;
  align-items: start;
}

.about-text p {
  color: #dedede;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--panel-row);
  padding: 12px 14px;
  font-size: 17px;
}

.feature-list li i {
  color: var(--green);
  font-size: 20px;
  line-height: 1.2;
}

.feature-list li strong {
  display: block;
  font-family: "GWM Title", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 18px;
}

.feature-list li span {
  color: var(--muted);
  font-size: 15px;
}

.chars-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.chars-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid #0b0c0e;
  filter: grayscale(0.35);
  transition: filter 0.2s, transform 0.2s;
}

.chars-grid img:hover {
  filter: none;
  transform: translateY(-3px);
}

.notice {
  border-left: 4px solid var(--orange);
}

.notice h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.notice p {
  margin: 0 0 8px;
  color: #cfcfcf;
  font-size: 16px;
}

/* =============================================================
   Download
   ============================================================= */

.download-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 26px;
  align-items: start;
}

.download-box {
  text-align: center;
}

.download-box .panel-body {
  padding: 34px 26px;
}

.download-box img.icon {
  width: 120px;
  height: 120px;
  margin-bottom: 14px;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.6));
}

.download-box h2 {
  font-size: 34px;
}

.download-box .version {
  margin: 4px 0 24px;
  color: var(--muted);
}

.status-pill {
  display: inline-block;
  margin-top: 16px;
  padding: 3px 12px;
  background: #0c0d0f;
  color: var(--orange);
  font-family: "GWM Title", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  display: grid;
  grid-template-columns: 54px 1fr;
  margin-bottom: 3px;
  background: var(--panel-row);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  font-family: "GWM Title", sans-serif;
  font-size: 28px;
}

.steps li div {
  padding: 12px 16px;
}

.steps li strong {
  display: block;
  font-family: "GWM Title", sans-serif;
  text-transform: uppercase;
  font-size: 19px;
}

.steps li span {
  color: #c9c9c9;
  font-size: 16px;
}

/* =============================================================
   Rodape (BottomBar)
   ============================================================= */

.gwm-footer {
  margin-top: 70px;
  background: linear-gradient(#1d2023, #121315);
  border-top: 2px solid #0b0c0e;
  box-shadow: inset 0 1px 0 #2e3237;
  padding: 26px 0;
  font-size: 15px;
  color: var(--muted);
}

.gwm-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 34px;
}

.footer-links {
  display: flex;
  gap: 22px;
  font-family: "GWM Title", sans-serif;
  text-transform: uppercase;
  font-size: 17px;
}

.footer-links a {
  color: #d8d8d8;
}

.footer-links a:hover {
  color: var(--orange);
}

/* =============================================================
   Discord (botao fixo no canto, botao da secao "feito por fas")
   ============================================================= */

.floating-buttons {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
}

.float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: #5865f2;
  border: 1px solid #2f379c;
  box-shadow: inset 0 1px 0 #8891ff, 0 6px 16px rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 26px;
  transition: transform 0.15s, background 0.15s;
}

.float-btn:hover {
  background: #6b77ff;
  color: #fff;
  transform: translateY(-3px);
}

.btn-game.discord {
  margin-top: 8px;
  background: #5865f2;
  border-color: #2f379c;
  box-shadow: inset 0 1px 0 #8891ff, 0 4px 14px rgba(88, 101, 242, 0.3);
}

.btn-game.discord:hover {
  background: #6b77ff;
}

.footer-links a.discord-link:hover {
  color: #8891ff;
}

.discord-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.discord-note a {
  color: #8891ff;
}

/* =============================================================
   Celular / telas menores
   ============================================================= */

@media (max-width: 1100px) {
  .navbar-menu a {
    min-width: 0;
    font-size: 22px;
    padding: 0 20px;
  }

  .hero h1 {
    font-size: 84px;
  }

  .maps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .chars-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 860px) {
  :root {
    --nav-h: 64px;
  }

  .navbar-toggle {
    display: block;
  }

  .navbar-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: #1b1d20;
    border-bottom: 2px solid #0d0e10;
    display: none;
  }

  .navbar-menu.open {
    display: flex;
  }

  .navbar-menu a {
    height: 58px;
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid #0d0e10;
    box-shadow: none;
  }

  .navbar-logo span {
    font-size: 18px;
  }

  .lang-switch {
    padding: 0 6px;
  }

  .hero {
    min-height: 560px;
    background-position: 70% center;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(10, 10, 12, 0.92), rgba(10, 10, 12, 0.6)),
      linear-gradient(0deg, var(--bg) 0%, rgba(20, 21, 24, 0) 30%);
  }

  .hero h1 {
    font-size: 64px;
  }

  .facts-bar .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .fact:nth-child(2) {
    border-right: 0;
    box-shadow: none;
  }

  .game-grid,
  .fans-grid,
  .about-grid,
  .download-grid,
  .modes-grid {
    grid-template-columns: 1fr;
  }

  .game-char img {
    max-height: 380px;
  }

  .maps-grid,
  .feature-list {
    grid-template-columns: 1fr 1fr;
  }

  .cta .panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-head h2 {
    font-size: 32px;
  }

  .page-head h1 {
    font-size: 46px;
  }
}

@media (max-width: 540px) {
  body {
    font-size: 17px;
  }

  .navbar-logo span {
    display: none;
  }

  .hero h1 {
    font-size: 52px;
  }

  .btn-game {
    width: 100%;
    min-width: 0;
  }

  .maps-grid,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .map-card.big {
    grid-column: auto;
    grid-row: auto;
  }

  .facts-bar .container {
    grid-template-columns: 1fr;
  }

  .fact {
    border-right: 0;
    box-shadow: none;
    border-bottom: 1px solid #0d0e10;
  }
}
