﻿:root {
  --bg-1: #f6efde;
  --bg-2: #ead8b3;
  --bg-3: #d8c093;

  --surface: rgba(255, 251, 243, 0.72);
  --surface-strong: rgba(255, 252, 247, 0.88);
  --surface-dark: rgba(38, 24, 11, 0.9);

  --stroke-soft: rgba(100, 71, 34, 0.14);
  --stroke-strong: rgba(96, 64, 24, 0.24);

  --text-main: #24170d;
  --text-soft: rgba(36, 23, 13, 0.72);
  --text-inverse: #fff8ec;

  --gold: #d7a445;
  --gold-strong: #b87d1d;
  --green: #189164;
  --green-deep: #0d5b41;

  --shadow-xl: 0 35px 80px rgba(75, 46, 14, 0.18);
  --shadow-lg: 0 20px 50px rgba(75, 46, 14, 0.14);
  --shadow-md: 0 14px 28px rgba(75, 46, 14, 0.12);
  --shadow-sm: 0 8px 18px rgba(75, 46, 14, 0.1);

  --radius-2xl: 34px;
  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-pill: 999px;

  --content-width: 1380px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--text-main);
  font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.65), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 231, 190, 0.45), transparent 24%),
    linear-gradient(180deg, var(--bg-1) 0%, #efe3c7 46%, var(--bg-2) 100%);
  overflow-x: hidden;
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: radial-gradient(rgba(60, 40, 20, 0.25) 0.6px, transparent 0.6px);
  background-size: 10px 10px;
}

.bg-blur {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.38;
}

.blur-1 {
  top: -120px;
  left: -120px;
  background: rgba(215, 164, 69, 0.46);
}

.blur-2 {
  right: -120px;
  top: 120px;
  background: rgba(24, 145, 100, 0.22);
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
  padding: 28px 0 48px;
}

/* HEADER */
.header-wrap {
  position: relative;
  padding-top: 54px;
  margin-bottom: 28px;
}

.floating-logo {
  position: absolute;
  top: 0;
  left: 34px;
  z-index: 3;
  width: clamp(180px, 18vw, 250px);
  filter: drop-shadow(0 16px 28px rgba(109, 73, 19, 0.22));
}

.topbar {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px 0 250px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 249, 238, 0.62);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.topbar-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.topbar-nav a {
  min-height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  color: var(--text-soft);
  font-weight: 700;
  transition: 0.22s ease;
}

.topbar-nav a:hover {
  background: rgba(36, 23, 13, 0.07);
  color: var(--text-main);
}

/* LAYOUT */
.portal-layout {
  display: grid;
  gap: 24px;
}

/* HERO STRIP */
.hero-strip,
.game-stage,
.info-card,
.section-block,
.content-card {
  border: 1px solid var(--stroke-soft);
  box-shadow: var(--shadow-lg);
}

.hero-strip {
  display: grid;
  grid-template-columns: minmax(320px, 1.4fr) minmax(280px, 0.9fr);
  gap: 20px;
  align-items: center;
  padding: 28px 30px;
  border-radius: var(--radius-2xl);
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.86) 0%, rgba(244, 232, 209, 0.72) 100%);
  backdrop-filter: blur(18px);
}

.eyebrow,
.card-tag,
.section-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  width: fit-content;
  padding: 0 13px;
  border-radius: var(--radius-pill);
  background: rgba(36, 23, 13, 0.08);
  color: rgba(36, 23, 13, 0.72);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-strip-copy h1 {
  margin-top: 14px;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero-strip-copy p {
  margin-top: 14px;
  max-width: 760px;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.stat-card{
    padding:16px 18px;
    border-radius:20px;

    background:rgba(255,255,255,0.4);
    border:1px solid rgba(255,255,255,0.45);

    box-shadow:
        0 10px 20px rgba(0,0,0,0.08),
        0 4px 8px rgba(0,0,0,0.06);
}


.stat-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.stat-card span {
  color: var(--text-soft);
  font-size: 0.92rem;
}

/* GAME */
.game-section {
  display: grid;
}

.game-wrapper{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
}

/* moldura */
.game-frame{

    padding:18px;

    border-radius:28px;

    background:linear-gradient(135deg,#4a2e12,#1f3318);

    box-shadow:
        0 30px 60px rgba(0,0,0,0.35),
        inset 0 0 0 3px rgba(255,255,255,0.08);

    display:inline-block;
}

/* jogo */
.game-frame iframe{

    display:block;

    width:920px;
    height:580px;
    max-width: 100%;

    border:none;

    border-radius:20px;
}


/* FEATURE STRIP */
.feature-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.info-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 252, 245, 0.9) 0%, rgba(241, 229, 206, 0.78) 100%);
  backdrop-filter: blur(12px);
}

.info-card h2 {
  margin-top: 14px;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.05;
}

.info-card p {
  margin-top: 10px;
  color: var(--text-soft);
  line-height: 1.65;
  font-size: 1rem;
}

/* SOCIAL */
.social-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.social-icon-btn {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, filter 0.2s ease;
  font-weight: 900;
  font-size: 1rem;
}

.social-icon-btn:hover,
.pix-card:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.icone-svg-social {
    color: #fff;
    max-width: 30px;
}

.whatsapp { background: linear-gradient(135deg, #179c5a 0%, #0f6f42 100%); }
.facebook { background: linear-gradient(135deg, #4579e8 0%, #244fa8 100%); }
.twitter { background: linear-gradient(135deg, #151515 0%, #343434 100%); }
.instagram { background: linear-gradient(135deg, #ff8f3f 0%, #c63c8a 55%, #5d51d6 100%); }

/* PIX */
.pix-card {
  margin-top: 22px;
  padding: 14px 18px;
  min-height: 78px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-inverse);
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.pix-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  color: white;
  flex-shrink: 0;
}

.pix-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.pix-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pix-copy strong {
  font-size: 1rem;
}

.pix-copy small {
  color: rgba(255, 248, 236, 0.78);
  line-height: 1.35;
}

/* GUIDE */
.section-block {
  padding: 34px;
  border-radius: var(--radius-2xl);
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.92) 0%, rgba(243, 231, 208, 0.76) 100%);
  text-align: center;
}

.section-header {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.section-block h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.section-block p {
  margin: 18px auto 0;
  max-width: 930px;
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.8;
}

/* CONTENT GRID */
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.content-card {
  min-height: 280px;
  padding: 26px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 249, 239, 0.92) 0%, rgba(233, 215, 182, 0.78) 100%);
  display: flex;
  flex-direction: column;
}

.content-card h3 {
  margin-top: 14px;
  font-size: 1.55rem;
  line-height: 1.08;
}

.content-card p {
  margin-top: 12px;
  color: var(--text-soft);
  line-height: 1.65;
  flex-grow: 1;
}

.content-card a {
  margin-top: 18px;
  width: fit-content;
  font-weight: 800;
  color: #7b5015;
}

.content-card a:hover {
  text-decoration: underline;
}

.content-card.spotlight {
  background:
    linear-gradient(180deg, rgba(55, 36, 17, 0.95) 0%, rgba(31, 20, 9, 0.94) 100%);
  color: var(--text-inverse);
}

.content-card.spotlight .card-tag {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 248, 236, 0.78);
}

.content-card.spotlight p,
.content-card.spotlight a {
  color: rgba(255, 248, 236, 0.82);
}

/* RESPONSIVO */
@media (max-width: 1180px) {
  .hero-strip,
  .feature-strip,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .topbar {
    padding-left: 220px;
  }
}

@media (max-width: 860px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--content-width));
    padding: 18px 0 32px;
  }

.header-wrap {
  position: relative;
  padding-top: 54px;
  margin-bottom: 28px;
}

.floating-logo {
  position: absolute;
  top: 0;
  left: 34px;
  z-index: 3;
  width: clamp(180px, 18vw, 250px);
  filter: drop-shadow(0 16px 28px rgba(109, 73, 19, 0.22));
}

.topbar {
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 0 32px 0 280px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 249, 238, 0.62);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.topbar-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  margin-left: auto;
}

.topbar-nav a {
  min-height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  color: var(--text-soft);
  font-weight: 700;
  transition: 0.22s ease;
}

.topbar-nav a:hover {
  background: rgba(36, 23, 13, 0.07);
  color: var(--text-main);
}



  .hero-strip,
  .info-card,
  .section-block,
  .content-card {
    padding: 22px;
  }

  .hero-strip h1 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .game-preview-frame iframe {
    min-width: 920px;
    height: 620px;
  }
}

@media (max-width: 560px) {
  .topbar-nav a {
    flex: 1 1 calc(50% - 10px);
  }

  .social-grid {
    gap: 10px;
  }

  .social-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
}

/* Responsividade Smartphone & Tablets */

/* TABLET */
@media (max-width: 1180px) {
  .hero-strip,
  .feature-strip,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .topbar {
    padding-left: 220px;
  }

  .game-frame iframe {
    width: min(100%, 920px);
    max-width: 100%;
    height: clamp(440px, 62vw, 580px);
  }
}

/* MOBILE */

@media (max-width: 860px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--content-width));
    padding: 18px 0 32px;
  }

  .header-wrap {
    padding-top: 0;
    margin-bottom: 18px;
    display: grid;
    justify-items: center;
    gap: 18px;
  }

  .floating-logo {
    position: static;
    width: min(62vw, 240px);
  }

  .topbar {
    display: none;
  }

  .hero-strip {
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    text-align: center;
    gap: 18px;
  }

  .hero-strip-copy {
    display: grid;
    justify-items: center;
    gap: 10px;
  }

  .hero-strip-copy h1 {
    margin-top: 0;
    padding-bottom: 10px;
    font-size: clamp(2.5rem, 8vw, 3.4rem);
  }

  .hero-strip-copy p {
    margin-top: 0;
    max-width: 70%;
    font-size: 1.02rem;
    line-height: 1.45;
  }

  .hero-stats {
    display: none;
  }

  .game-frame {
    width: 100%;
    padding: 10px;
    border-radius: 20px;
  }

  .game-frame iframe {
    width: 100%;
    height: min(56vw, 320px);
    min-height: 220px;
    border-radius: 14px;
  }

  .feature-strip {
    gap: 16px;
  }

  .social-card,
  .supporter-card,
  .section-block,
  .content-card {
    padding: 18px;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }
}

/* MOBILE PEQUENO */

@media (max-width: 560px) {
  .site-shell {
    width: min(calc(100% - 14px), var(--content-width));
  }

  .social-grid {
    gap: 10px;
  }

  .social-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .game-frame iframe {
    height: min(56vw, 280px);
    min-height: 190px;
  }
}


@media (max-width: 860px) {
  .game-frame {
    position: relative;
    overflow: hidden;
  }

  .game-frame iframe.mobile-preview-mode {
    pointer-events: none;
    filter: blur(1.5px) brightness(0.4);
    transform: scale(1.02);
    transform-origin: center center;
  }

  .mobile-game-launch {
    position: absolute;
    inset: 8px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-decoration: none;
    color: #ffffff;
    border-radius: 14px;
    background: linear-gradient(rgba(5, 7, 10, 0.2), rgba(5, 7, 10, 0.42));
    backdrop-filter: blur(6px);
  }

  .mobile-game-launch-icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.92);
    font-size: 2rem;
    line-height: 1;
    padding-left: 4px;
  }

  .mobile-game-launch-text {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    font-weight: 800;
    text-align: center;
    text-shadow: 0 10px 24px rgb(255, 255, 255);
  }
}
