/* ===== Globais ===== */
html { scroll-behavior: smooth; } /* scroll suave */
.fade-in { opacity: 0; transform: translateY(18px); transition: all .7s ease; }
.fade-in.show { opacity: 1; transform: none; }

body {
  background: #111;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  padding-top: 56px; /* espaço da navbar fixa */
}

/* ===== Navbar / Logo ===== */
nav { background: rgba(0,0,0,0.9); }
.navbar-brand { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.brand-logo {
  width: 36px; height: 36px; object-fit: contain; border-radius: 8px; background: #00000033; padding: 2px;
}
.lang-toggle { border: 1px solid #444; border-radius: 10px; padding: .25rem .6rem; }

/* ===== Hero com imagem de fundo (Home) ===== */
header#home {
  min-height: calc(100vh - 56px);
  display: flex; align-items: center; justify-content: center; text-align: center;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.55) 100%),
    url('../img/elementos.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 72px;
  background-attachment: fixed;
}
header#home .container { max-width: 900px; }

/* Âncoras não ficarem escondidas sob a navbar */
section, header { scroll-margin-top: 80px; }

/* ===== Cards ===== */
.card {
  background: #1e1e1e;
  border: none;
  transition: transform .3s ease, box-shadow .3s ease;
  overflow: hidden;
  border-radius: 18px;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.card-img-top { object-fit: contain; height: 230px; background: #151515; }
.game-card .card-body {
  color: #e5ff00;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
  background: rgba(0,0,0,0.4);
  border-radius: 0 0 18px 18px;
}

/* Aviso do Beta */
#beta p.text-muted,
#beta p.small,
#beta #beta-note {
  color: #bcee08 !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.7);
  background: rgba(0,0,0,0.5);
  padding: 6px 12px;
  border-radius: 8px;
  display: inline-block;
}

/* Texto da seção Screenshots */
#screens-note {
  color: #ffeb3b !important;
  font-weight: 600;
  text-shadow: 0 2px 6px rgba(0,0,0,0.8);
}

/* Screenshots */
.shot-thumb {
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.shot-thumb:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
}
.shot-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

#trailer .ratio {
  border-radius: 18px;
  overflow: hidden;

  border: 2px solid rgba(0, 153, 255, 0.45);

  box-shadow:
    0 0 20px rgba(0, 153, 255, 0.25),
    0 16px 40px rgba(0, 0, 0, 0.6);
}



.carousel-caption {
  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.35));
  border-radius: 10px;
  padding: .75rem 1rem;
}

/* Footer */
footer {
  background: #000;
  padding: 24px;
  text-align: center;
  margin-top: 40px;
  color: #bbb;
  border-top: 1px solid #222;
}
.footer-actions { gap: 12px; }
.btn-top {
  border-radius: 999px;
  padding: .5rem .9rem;
  border: 1px solid #444;
  color: #fff;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
  display:inline-block;
  margin-top:8px;
}
.btn-top:hover { background: #1f2937; transform: translateY(-2px); }

/* Mensagens do formulário (index/beta) */
#msg.ok { color: #16a34a; }
#msg.err { color: #dc2626; }

/* ===== Hero da página de Jogos ===== */
header#games-hero {
  min-height: calc(80vh - 56px);
  display: flex; align-items: center; justify-content: center; text-align: center;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.55) 100%),
    url('../img/games/bg-games.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* ===== Jogos ===== */
.game-card .card-img-top {
  height: 220px;
  object-fit: cover;
  background: #0f0f0f;
}
.game-cover-link { display: block; }
.badge.bg-secondary { background: #2c2c2c !important; }
.btn-success { background: #1db954; border-color: #1db954; }
.btn-success:hover { filter: brightness(1.05); }

/* =================================================================== */
/* ========================= SUPORTE (NOVA) ========================== */
/* =================================================================== */

/* Hero do Suporte */
header#support-hero {
  min-height: 280px;
  display: flex; align-items: flex-end;
  padding: 96px 0 24px;
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(34,211,238,.18), transparent 55%),
    radial-gradient(1200px 600px at 0% 0%, rgba(167,139,250,.18), transparent 60%),
    linear-gradient(160deg, #0f172a, #111827);
  border-bottom: 1px solid #1f2937;
}
#support-hero .badge-soft{
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.38rem .75rem; border-radius:999px; font-weight:700;
  background: linear-gradient(90deg, rgba(167,139,250,.18), rgba(34,211,238,.18));
  border:1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
}

/* Card vidro */
.card.glass{
  background: rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.28);
  border-radius:20px; backdrop-filter: blur(10px);
  box-shadow: 0 15px 40px rgba(0,0,0,.35);
}
.card.glass .card-header{
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  border-bottom:1px solid rgba(255,255,255,.28);
  border-top-left-radius:20px; border-top-right-radius:20px;
}
.card.glass .card-body{
  color:#e5e7eb !important;
  text-shadow:none !important;
  background:transparent;
}

/* Inputs e selects */
.form-label { font-weight:600; }
.required::after { content:" *"; color:#ef4444; }

.form-control, .form-select{
  color:#f3f4f6;
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.30);
  border-radius:12px;
}
.form-control::placeholder{ color:#9ca3af; }
.form-control:focus, .form-select:focus{
  border-color:#22d3ee; box-shadow:0 0 0 .25rem rgba(34,211,238,.40);
}
.form-select { color-scheme: dark; }
.form-select option{
  background:#0f172a; color:#e5e7eb;
}
.form-select option:disabled{ color:#94a3b8; }

.char-count, #supportForm .form-text, #supportForm .text-muted {
  color:#9ca3af !important;
}

/* Checkboxes */
#supportForm .form-check-label {
  color:#e5e7eb !important;
  font-weight:500;
}
#supportForm .form-check-label a {
  color:#38bdf8 !important;
  text-decoration: underline;
}
#supportForm .form-check-label.required::after {
  color:#ef4444 !important;
}

/* Botões */
.btn-primary{
  background: linear-gradient(90deg, #a78bfa, #22d3ee);
  border:none; border-radius:999px; font-weight:800; letter-spacing:.2px;
  padding:.7rem 1.2rem; box-shadow:0 8px 24px rgba(34,211,238,.25);
}
.btn-primary:hover{ filter: brightness(1.05); }
.btn-outline{
  border:1px solid rgba(255,255,255,.25);
  border-radius:999px;
  color:#fff;
}

/* Alerts */
.alert{ border-radius:14px; border:1px solid rgba(255,255,255,.15); }
.alert-danger{ color:#ffe2e2; background: rgba(239,68,68,.12); }
.alert-success{ color:#e7f8ec; background: rgba(34,197,94,.12); }

/* ===== Legibilidade na seção Elementos (index) ===== */
#elementos .card {
  background: #151515;                  /* fundo um pouco mais claro que o body */
  border: 1px solid #1f2937;            /* leve contorno para destacar */
}

#elementos .card .card-body {
  background: rgba(255,255,255,.04);     /* “vidro” leve */
  color: #e5e7eb !important;             /* texto principal cinza-claro */
  text-shadow: none !important;          /* remove sombra amassada */
}

#elementos .card .card-title {
  color: #ffffff !important;             /* título branco pra contraste */
  font-weight: 700;
}

#elementos .card .card-text {
  color: #cbd5e1 !important;             /* descrição clara */
  line-height: 1.45;
}

#elementos .card .card-text strong {
  color: #f1f5f9 !important;             /* “HABILIDADES” destacado */
  letter-spacing: .2px;
}

/* ---- Seção Steam ---- */
.steam-section {
  background: linear-gradient(135deg, #0b0f17, #101a24, #0d1117);
  padding-top: 80px;
  padding-bottom: 80px;
}

.steam-title {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 0 12px rgba(0, 153, 255, 0.4);
}

.steam-sub {
  color: #c9d6df;
}

.steam-box {
  max-width: 420px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  backdrop-filter: blur(6px);
  transition: 0.3s;
}

.steam-box:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 153, 255, 0.4);
  box-shadow: 0 0 20px rgba(0, 153, 255, 0.2);
}

.steam-btn {
  background: #1b2838;
  color: #fff;
  border: 1px solid #66c0f4;
  padding: 12px 22px;
  border-radius: 10px;
  transition: 0.3s;
}

.steam-btn:hover {
  background: #2a475e;
  border-color: #a4d7ff;
}

.steam-icon {
  width: 80px;
  opacity: 0.85;
}



/* Neve caindo */
.snowflake {
    position: fixed;
    top: -10px;
    color: white;
    font-size: 1em;
    pointer-events: none;
    user-select: none;
    z-index: 9999;
    animation-name: snowfall;
    animation-timing-function: linear;
}

@keyframes snowfall {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

/* ======== ÁREA DE APOIO ======== */

#apoio {
    padding: 60px 20px;
    text-align: center;
    color: #fff;
    background: #0a0a0a;
}

#apoio h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

#apoio p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #cccccc;
}

/* Inputs */
#apoio input {
    padding: 12px 15px;
    margin: 8px;
    width: 260px;
    max-width: 90%;
    border: 1px solid #ffffff33;
    border-radius: 10px;
    background: #111;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: 0.2s;
}

#apoio input:focus {
    border-color: #00aaff;
    box-shadow: 0 0 8px #00aaff66;
}

/* Botão */
#apoio button {
    padding: 12px 20px;
    margin: 8px;
    border: none;
    border-radius: 10px;
    background: #00aaff;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
}

#apoio button:hover {
    background: #0084cc;
    transform: scale(1.03);
}

/* QR Code card */
#qrcode {
    margin: 25px auto 0;
    padding: 20px;
    width: fit-content;
    background: #111;
    border-radius: 15px;
    box-shadow: 0 0 15px #000;
}

/* ======== APOIADORES ======== */

#listaApoiadores {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

#listaApoiadores li {
    font-size: 1.1rem;
    padding: 5px 0;
    color: #ddd;
}

#listaApoiadores li::before {
    content: "⭐ ";
    color: gold;
}

/* ===== APOIO ===== */
.apoio-section {
  padding: 80px 20px;
  color: #fff;
  text-align: center;
}

.apoio-box {
  max-width: 420px;
  margin: 0 auto;
  background: rgba(0,0,0,0.6);
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.15);
}

.apoio-box input {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 10px;
  border: none;
  outline: none;
}

.btn-apoio {
  width: 100%;
  padding: 12px;
  background: #ffc107;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 12px;
  cursor: pointer;
}

.btn-apoio:hover {
  background: #ffca2c;
}

.qr-box {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}



.qr-box img {
  max-width: 220px;
  width: 100%;
  height: auto;
  margin: 15px auto;
  display: block;
}

.pix-container textarea {
  width: 100%;
  height: 80px;
  resize: none;
  padding: 10px;
  border-radius: 8px;
}

.btn-copy {
  margin-top: 10px;
}


.btn-copy:hover {
  background: #157347;
}

#copyMsg {
  display: block;
  margin-top: 8px;
  color: #0f0;
  font-size: 0.9rem;
}

.posicao-text {
  margin-top: 20px;
  font-size: 1.1rem;
}


/* =========================
   SEÇÃO APOIO AO PROJETO
========================= */

.apoio-section {
  background: radial-gradient(circle at top, #111, #000);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.apoio-section h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.apoio-section p {
  color: #bbb;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* Caixa principal */
.apoio-box {
  background: #0d0d0d;
  border-radius: 16px;
  padding: 25px;
  max-width: 420px;
  margin: 0 auto;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.08);
}

/* Inputs */
.apoio-box input {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 10px;
  border: none;
  outline: none;
  background: #1a1a1a;
  color: #fff;
}

/* Botão PIX */
.btn-apoio {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: none;
  font-weight: bold;
  background: linear-gradient(135deg, #ffd700, #ff9800);
  color: #000;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-apoio:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* QR Code */
.qr-box {
  margin-top: 20px;
}

.qr-box img {
  width: 220px;
  border-radius: 12px;
  background: #fff;
  padding: 10px;
}

/* PIX Copia e Cola */
.pix-container {
  margin-top: 15px;
}

.pix-container textarea {
  width: 100%;
  height: 80px;
  background: #111;
  color: #0f0;
  border-radius: 10px;
  padding: 10px;
  resize: none;
  border: none;
}

.btn-copy {
  margin-top: 10px;
  padding: 8px 14px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  background: #222;
  color: #fff;
}

/* =========================
   TOP 10 APOIADORES
========================= */

#rankingTop10 {
  list-style: none;
  padding: 0;
  margin: 40px auto 10px;
  max-width: 420px;
}

#rankingTop10 li {
  background: linear-gradient(135deg, #151515, #0b0b0b);
  margin-bottom: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.05);
}

/* Destaque TOP 3 */
#rankingTop10 li:nth-child(1) {
  background: linear-gradient(135deg, #ffd700, #ff9800);
  color: #000;
  font-weight: bold;
}

#rankingTop10 li:nth-child(2),
#rankingTop10 li:nth-child(3) {
  background: linear-gradient(135deg, #2a2a2a, #111);
  border-left: 4px solid #ffd700;
}

/* ===== RANKING ===== */
.ranking-list {
  max-width: 420px;
  margin: 0 auto;
  padding: 0;
}

.ranking-list li {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  backdrop-filter: blur(6px);
  animation: fadeInUp 0.4s ease;
}

.ranking-pos {
  font-weight: bold;
  margin-right: 8px;
}

.ranking-valor {
  color: #ffffff;
  font-weight: 800;
}

/* medalhas */
.rank-1 { border-color: gold; }
.rank-2 { border-color: silver; }
.rank-3 { border-color: #cd7f32; }

/* animação */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== CAMPEÃO ===== */
.rank-1 {
  background: linear-gradient(135deg, #facc15, #f59e0b);
  color: #1f2933;
  border: none;
  box-shadow: 0 0 25px rgba(250,204,21,0.6);
  transform: scale(1.05);
  position: relative;
}



/* coroa */
.rank-1::before {
  content: "👑";
  position: absolute;
  top: -14px;
  left: 14px;
  font-size: 1.6rem;
}

/* valor do campeão */
.rank-1 .ranking-valor {
  color: #14532d;
  font-size: 1.1rem;
  font-weight: 800;
}

/* efeito brilho */
@keyframes shine {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.rank-1 {
  background-size: 200% 200%;
  animation: shine 4s linear infinite;
}


/* mobile */
@media (max-width: 576px) {
  .ranking-list li {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}


/* Posição do usuário */
.posicao-text {
  margin-top: 15px;
  color: #ffd700;
  font-weight: bold;
}

/* CHECK ANIMADO */
.checkmark {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 4px solid #28a745;
  position: relative;
  animation: scaleIn 0.4s ease-in-out;
  margin: auto;
}

.checkmark::after {
  content: '';
  position: absolute;
  left: 16px;
  top: 8px;
  width: 14px;
  height: 28px;
  border: solid #28a745;
  border-width: 0 4px 4px 0;
  transform: rotate(45deg);
}

@keyframes scaleIn {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}

/* FORÇA BOTÃO PIX AMARELO */
#btnPix {
  background-color: #ffc107 !important;
  border-color: #ffc107 !important;
  color: #000 !important;
}

#btnPix:hover {
  background-color: #ffca2c !important;
  border-color: #ffca2c !important;
}

#btnPix:disabled {
  background-color: #ffc107 !important;
  border-color: #ffc107 !important;
  opacity: 0.8;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  background: #000;
}

.apoio-section {
  min-height: 100vh;
  background: radial-gradient(circle at top, #111, #000 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 15px;
}

.apoio-card {
  background: rgba(30, 30, 30, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  max-width: 420px;
  width: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.apoio-card input {
  width: 100%;
  max-width: 320px;
  margin: 0 auto 15px auto;
}

.navbar {
  background-color: rgba(0,0,0,0.9) !important;
}


