  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --bg:        #0e0d0b;
    --bg2:       #141310;
    --bg3:       #1c1a17;
    --border:    #2a2622;
    --text:      #e8e0d4;
    --muted:     #cccccc;
    --accent:    #697a07;
    --accent2:   #06aa00;
    --red:       #b84a4a;
    --cream:     #f0e8d8;
    --radius:    10px;

    /* ── TAMANHO DA LOGO NO HEADER ─*/
    --logo-height: 75px;

    /* ── ALTURA DO HEADER ─── */
    --header-height: 88px;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
  }

  /* ─── NOISE OVERLAY ─── */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.025;
    pointer-events: none;
    z-index: 9999;
  }

  /* ─── HEADER ─── */
  header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(14, 13, 11, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    height: var(--header-height);     /* controlado pela variável --header-height no :root */
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .header-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
  }

  /* ── Contêiner da logo ── */
  .logo-img-wrap {
    height: var(--logo-height);
    width: auto;
    max-width: 200px;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  /* Placeholder emoji — aparece se logo.png não for encontrada */
  .logo-img-wrap .logo-placeholder {
    width: var(--logo-height);
    height: var(--logo-height);
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent);
  }

  /* Imagem da logo real — proporção original, limitada pela altura acima. */
  .logo-img-wrap img {
    height: var(--logo-height);
    width: auto;
    object-fit: contain;
    display: block;
  }

  /* ── Brand text + nav vertical alignment ── */
  .header-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
  }

  .header-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--cream);
    letter-spacing: 0.01em;
    line-height: 1.2;
  }

  nav {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
  }

  nav a:hover {
    color: var(--text);
    background: rgba(255,255,255,0.07);
  }

  /* ─── HERO ─── */
  #home {
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    position: relative;
    overflow: hidden;

    /* ── IMAGEM DE FUNDO DO HERO ── */
    background-image:
      /* Vinheta preta nas bordas — funde a imagem com o site */
      radial-gradient(ellipse at center,
        transparent 30%,
        rgba(14,13,11,0.55) 65%,
        rgba(14,13,11,0.92) 85%,
        var(--bg) 100%
      ),
      /* Overlay vertical — escurece topo e base para o texto ficar legível */
      linear-gradient(to bottom,
        rgba(14,13,11,0.35) 0%,
        rgba(14,13,11,0.10) 40%,
        rgba(14,13,11,0.10) 60%,
        rgba(14,13,11,0.50) 100%
      ),
      url("hero-bg.webp");  
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,169,110,0.07) 0%, transparent 70%);
    pointer-events: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
  }

  .hero-eyebrow {
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.4rem;
    opacity: 0;
    animation: fadeUp 0.8s 0.2s forwards;
  }

  .hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.2rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 0.95;
    color: var(--cream);
    letter-spacing: -0.02em;
    margin-bottom: 1.8rem;
    opacity: 0;
    animation: fadeUp 0.9s 0.4s forwards;
  }

  .hero-title em {
    font-style: italic;
    color: var(--accent);
  }

  .hero-sub {
    font-size: 1rem;
    color: var(--muted);
    max-width: 480px;
    line-height: 1.65;
    font-weight: 300;
    opacity: 0;
    animation: fadeUp 0.9s 0.6s forwards;
    margin-bottom: 2.8rem;
  }

  .hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    animation: fadeUp 0.9s 0.8s forwards;
  }

  .btn-ghost {
    padding: 10px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s;
    background: transparent;
    cursor: pointer;
  }

  .btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
  }

  .btn-primary {
    padding: 10px 26px;
    background: var(--accent);
    color: #0e0d0b;
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
  }

  .btn-primary:hover {
    background: var(--cream);
    border-color: var(--cream);
  }

  .hero-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0;
    animation: fadeUp 1s 1.2s forwards;
  }

  .scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s infinite;
  }

  .scroll-label {
    font-family: 'DM Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--muted);
    text-transform: uppercase;
  }

  /* ─── SECTION COMMON ─── */
  section {
    padding: 6rem 2rem;
  }

  .section-label {
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
    display: block;
  }

  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--cream);
    line-height: 1.1;
    margin-bottom: 1rem;
  }

  .section-rule {
    width: 40px;
    height: 2px;
    background: var(--accent);
    margin-bottom: 3rem;
    border: none;
  }

  .container {
    max-width: 1100px;
    margin: 0 auto;
  }

  /* ─── SUPPORT SECTION ─── */
  #support {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .support-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
  }

  .support-inner .section-rule {
    margin: 0 auto 3rem;
  }

  .support-desc {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
  }

  .support-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .support-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: all 0.22s;
    min-width: 200px;
    border: 1px solid transparent;
  }

  .support-btn-patreon {
    background: #ff424d;
    color: #fff;
    border-color: #ff424d;
  }

  .support-btn-patreon:hover {
    background: #e03540;
    border-color: #e03540;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,66,77,0.25);
  }

  .support-btn-subscribestar {
    background: #009688;
    color: #fff;
    border-color: #009688;
  }

  .support-btn-subscribestar:hover {
    background: #007065;
    border-color: #007065;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(27, 117, 0, 0.25);
  }

  /* ── Ícones dos botões de suporte (Patreon / SubscribeStar) ── */
  .support-btn img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 0;
    display: block;
  }

  /* ─── GAMES SECTION ─── */
  #games {
    background: var(--bg);
  }

  .games-header {
    max-width: 1100px;
    margin: 0 auto 3rem;
  }

  .games-scroll-wrap {
    overflow-x: auto;
    padding-bottom: 1.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
  }

  .games-scroll-wrap::-webkit-scrollbar {
    height: 4px;
  }

  .games-scroll-wrap::-webkit-scrollbar-track {
    background: transparent;
  }

  .games-scroll-wrap::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 2px;
  }

  .games-track {
    display: flex;
    gap: 24px;
    padding: 0 calc((100vw - 1100px)/2);
    width: max-content;
  }

  @media (max-width: 1140px) {
    .games-track {
      padding: 0 2rem;
    }
  }

  .game-card {
    width: 260px;
    flex-shrink: 0;
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.25s, border-color 0.25s;
    display: flex;
    flex-direction: column;
    margin-top: 15px;
  }

  .game-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
  }

  /* ── Imagem de capa do jogo ── */
  .game-cover {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: var(--bg2);
    display: block;
    flex-shrink: 0;
  }

  /* ── Placeholder de capa — aparece quando não há imagem ainda ── */
  .game-cover-placeholder {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: var(--bg2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    color: var(--muted);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
  }

  .cover-censor {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #0e0d0b 0%, #1c1a17 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-shrink: 0;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
  }

  .cover-censor::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      45deg,
      transparent,
      transparent 6px,
      rgba(255,255,255,0.015) 6px,
      rgba(255,255,255,0.015) 12px
    );
  }

  .cover-censor-icon {
    font-size: 2.5rem;
    opacity: 0.5;
  }

  .cover-censor-text {
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .cover-censor-badge {
    background: var(--accent);
    color: #0e0d0b;
    font-family: 'DM Mono', monospace;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
  }

  .game-info {
    padding: 18px 16px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .game-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--cream);
    line-height: 1.2;
  }

  .game-desc {
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.65;
    font-weight: 300;
    flex: 1;
  }

  .game-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 6px;
  }

  .game-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: all 0.2s;
    border: 1px solid var(--border);
    background: var(--bg2);
    color: var(--text);
  }

  .game-link-btn:hover {
    background: var(--bg);
    border-color: var(--accent);
    color: var(--accent);
  }

  /* ── Ícones dos botões de link do jogo (Steam, itch.io, etc.) ── */
  .game-link-btn img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    object-fit: contain;
    border-radius: 0;
    display: block;
  }

  .game-link-btn .link-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .game-link-btn .link-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
  }

  .game-genre {
    font-family: 'DM Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent2);
    margin-bottom: 2px;
  }

  /* ─── TEAM SECTION ─── */
  #team {
    background: var(--bg2);
    border-top: 1px solid var(--border);
  }

  .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
  }

  .team-card {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 22px 24px;
    transition: border-color 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .team-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
  }

  .team-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--bg2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
  }

  .team-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cream);
  }

  .team-roles {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .team-role {
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .team-role:first-child {
    color: var(--accent);
    font-weight: 500;
  }

  /* ─── COMMUNITY SECTION ─── */
  #community {
    background: var(--bg);
    border-top: 1px solid var(--border);
    text-align: center;
  }

  .community-inner {
    max-width: 620px;
    margin: 0 auto;
  }

  .community-inner .section-rule {
    margin: 0 auto 3rem;
  }

  .community-desc {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 2.5rem;
  }

  .social-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .social-btn {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 22px;
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border: 1px solid var(--border);
    background: var(--bg3);
    color: var(--text);
    transition: all 0.2s;
    min-width: 140px;
    justify-content: center;
  }

  .social-btn:hover {
    transform: translateY(-2px);
  }

  .social-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .social-btn-twitter:hover {
    border-color: #1d9bf0;
    color: #1d9bf0;
    box-shadow: 0 6px 20px rgba(29,155,240,0.15);
  }

  .social-btn-bsky:hover {
    border-color: #0085ff;
    color: #0085ff;
    box-shadow: 0 6px 20px rgba(0,133,255,0.15);
  }

  .social-btn-discord:hover {
    border-color: #5865f2;
    color: #5865f2;
    box-shadow: 0 6px 20px rgba(88,101,242,0.15);
  }

  /* ─── FOOTER ─── */
  footer {
    border-top: 1px solid var(--border);
    padding: 2.5rem 2rem;
    text-align: center;
  }

  .footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--cream);
    letter-spacing: 0.02em;
  }

  .footer-note {
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 0.05em;
  }

  /* ─── DIVIDER ─── */
  .section-divider {
    height: 1px;
    background: var(--border);
    max-width: 1100px;
    margin: 0 auto;
  }

  /* ─── ANIMATIONS ─── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  @keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50%       { opacity: 1; }
  }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 640px) {
    header { padding: 0 1.2rem; }
    nav a { padding: 6px 10px; font-size: 0.72rem; }
    .support-buttons { flex-direction: column; align-items: center; }
    .support-btn { width: 100%; max-width: 300px; }
    .social-buttons { flex-direction: column; align-items: center; }
    .social-btn { width: 100%; max-width: 240px; }
  }

  /* ─── UTILITY ─── */
  .text-center { text-align: center; }
  .mt-1 { margin-top: 0.5rem; }