/* AppsGames777 — site institucional */

:root {
  --bg: #061018;
  --bg-elevated: #0b1c28;
  --surface: #102433;
  --primary: #3ecfbf;
  --primary-soft: #9af0e4;
  --accent: #f0b429;
  --text: #e8f2f6;
  --text-muted: #8aa3b0;
  --border: rgba(62, 207, 191, 0.18);
  --radius: 18px;
  --font: "Sora", system-ui, sans-serif;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --container: min(1100px, calc(100% - 2rem));
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-soft);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  margin: 0 0 0.85rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  backdrop-filter: blur(14px);
  background: rgba(6, 16, 24, 0.82);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 700;
}

.site-brand__mark {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 10px;
  background: linear-gradient(145deg, #1a4a52, #0d2a34);
  color: var(--accent);
  font-size: 0.75rem;
  font-family: var(--font-display);
}

.site-brand__name span {
  color: var(--primary);
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__list a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav__list a:hover,
.site-nav__cta {
  color: var(--text) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 3.5rem 0 4rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(62, 207, 191, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 207, 191, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
}

.hero__orb--a {
  width: 420px;
  height: 420px;
  top: -80px;
  right: -60px;
  background: #145a63;
}

.hero__orb--b {
  width: 320px;
  height: 320px;
  bottom: 10%;
  left: -80px;
  background: #6b4a12;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__brand {
  font-size: clamp(2.8rem, 8vw, 4.6rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}

.hero__brand span {
  color: var(--primary);
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  font-weight: 600;
  margin: 0 0 0.85rem;
  color: var(--text);
}

.hero__subtitle {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent);
  color: #1a1204;
}

.btn--primary:hover {
  color: #1a1204;
  background: #ffc94a;
}

.btn--ghost {
  border-color: var(--border);
  color: var(--text);
  background: rgba(16, 36, 51, 0.5);
}

.btn--store {
  background: var(--bg);
  border-color: var(--border);
  color: var(--text);
  border-radius: 10px;
  min-height: 2.4rem;
  font-size: 0.85rem;
}

.btn--store-alt {
  background: transparent;
}

.section {
  padding: 4.5rem 0;
}

.section--alt {
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg));
  border-block: 1px solid var(--border);
}

.section__head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section__lead {
  margin: 0;
  color: var(--text-muted);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.game-card {
  padding: 1.4rem 1.35rem 1.25rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
}

.game-card--sky {
  border-top-color: #4db8e8;
}

.game-card--mint {
  border-top-color: #3ecfbf;
}

.game-card--amber {
  border-top-color: #f0b429;
}

.game-card--violet {
  border-top-color: #8b7cff;
}

.game-card h3 {
  font-size: 1.25rem;
}

.game-card p {
  margin: 0 0 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.game-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.game-card__soon {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
}

.stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.stats li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.stats strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.stats span {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.site-footer {
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--border);
  background: #040c12;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.site-footer__brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.site-footer__muted,
.site-footer__copy {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer__label {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.site-footer__menu {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.site-footer__copy {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.section--page {
  padding-top: 3rem;
}

.prose {
  max-width: 42rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 860px) {
  .games-grid,
  .split,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem 1.25rem;
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
  }
}
