/* ======== BASE ======== */
:root {
  --accent: #16e65b;
  --accent-hover: #14c650;
  --bg-0: #0a0a0a;
  --bg-1: #111;
  --text-0: #fff;
  --text-1: #ddd;
  --text-2: #777;
  --border: rgba(22, 230, 91, 0.3);
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-0);
  margin: 0;
  background-color: var(--bg-0);
}

/* ======== HEADER / LOGO / NAV ======== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-1);
  border-bottom: 1px solid var(--accent);
  padding: 8px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.logo a {
  display: inline-block;
}

.logo img {
  height: 70px;           /* ajuste fino da logo */
  width: auto;
  display: block;
  transition: transform .2s ease;
}

.logo img:hover {
  transform: scale(1.02);
}

.navigation .nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: var(--text-0);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 500;
  transition: color .2s ease, opacity .2s ease;
  opacity: .9;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--accent);
  opacity: 1;
}

/* ======== MENU HAMBURGUER (Mobile) ======== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--text-0);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

@media (max-width: 768px) {
  .navigation .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 72%;
    max-width: 320px;
    background: #0e0e0e;
    border-left: 1px solid var(--accent);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 18px;
    padding: 40px 28px;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform .35s ease, opacity .25s ease;
    z-index: 1200;
  }
  .navigation .nav-links.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li a {
    font-size: 1.5rem;
    width: 100%;
  }

  .hamburger { display: flex; z-index: 1300; }
  .hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
}

/* ======== LOADER ======== */
#logo-carregando {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,.4);
  z-index: 2000;
}

#logo-carregando img {
  width: 150px;
  animation: girarEmPe 1.5s linear infinite;
  transform-style: preserve-3d;
}

@keyframes girarEmPe {
  from {
    transform: rotateY(0deg);
  }
  to   {
    transform: rotateY(360deg);
  }
}

/* ======== MAIN / GAME DETAIL ======== */
main.container {
  padding: 40px 20px;
}

.game-detail {
  max-width: 900px;
  margin: 0 auto;
}

.game-cover {
  width: 100%;
  max-width: 620px;
  border-radius: 12px;
  display: block;
  margin: 20px auto;
  border: 1px solid var(--border);
}

.game-detail p {
  max-width: 820px;
  margin: 16px auto 0;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-1);
}

/* ======== TÍTULOS | SEÇÕES ======== */
.section {
  margin: 60px 0;
}

.section h2 {
  font-size: 1.9rem;
  color: var(--accent);
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--accent);
}

.section ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-1);
  font-size: 1.05rem;
}

.section li {
  margin: 6px 0;
}

/* ======== BOTÕES ======== */
button, .btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  font-size: 1.1rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  transition: background .25s ease, transform .06s ease;
}

button:hover, .btn:hover {
  background: var(--accent-hover);
}

button:active, .btn:active {
  transform: translateY(1px);
}

#btnBaixar {
  display: block;
  margin: 32px auto 0;
  max-width: 220px;
  text-align: center;
}

/* ======== CARDS ======== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(22, 230, 91, .15);
}

.card h3 {
  margin: 0 0 8px;
  color: var(--accent);
}

.card p {
  margin: 0;
  color: var(--text-1);
}

.card img {
  max-width: 100%;
  border-radius: 8px;
  display: block;
  margin-bottom: 12px;
}

/* ======== FOOTER ======== */
.site-footer {
  background: var(--bg-1);
  color: var(--text-1);
  border-top: 1px solid var(--accent);
  margin-top: 40px;
}

.site-footer .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.footer-logo img {
  width: 120px;
  display: block;
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--text-0);
  text-decoration: none;
  display: block;
  margin: 6px 0;
  opacity: .9;
  transition: color .2s ease, opacity .2s ease;
}

.footer-links a:hover {
  color: var(--accent);
  opacity: 1;
}

.footer-contact h4,
.footer-newsletter h4 {
  color: var(--accent);
  margin: 0 0 10px;
}

.footer-newsletter form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-newsletter input[type="email"] {
  flex: 1 1 220px;
  padding: 10px 12px;
  border: 1px solid #222;
  background: #0d0d0d;
  color: #e4e4e4;
  border-radius: 8px;
}

.footer-newsletter button {
  padding: 10px 16px;
}

.footer-bottom {
  text-align: center;
  padding: 14px 20px;
  border-top: 1px solid #222;
  color: #999;
  font-size: .95rem;
}

/* ======== ICONES SOCIAIS ======== */
.social-icons a {
  font-size: 26px;
  margin-right: 12px;
  text-decoration: none;
  transition: transform .2s ease, opacity .2s ease;
  opacity: .95;
}

.social-icons a:hover { transform: scale(1.1); opacity: 1; }
.social-icons a.instagram { color: #ff024e; }
.social-icons a.linkedin { color: #0A66C2; }
.social-icons a.youtube  { color: #FF0000; }
