/* básico, cores escuras e layout simples */
:root{
  --bg:#0f1720;
  --card:#1f2933;
  --muted:#9aa4ad;
  --accent:#f59e0b;
  --accent-dark:#b77905;
  --green-tag: #10B981;
  --container:1000px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

html {
  overflow-y: scroll;
}

*{box-sizing:border-box}
body{
  margin:0;
  background:var(--bg);
  color:#e6eef6;
  line-height:1.4;
}

.container{max-width:var(--container);margin:0 auto;padding:0 24px;}

.site-header{ 
  background:#0b1220; 
  padding-top:12px; 
  border-bottom:1px solid rgba(255,255,255,0.03); 
  position: sticky; 
  top: 0; 
  left: 0; 
  width: 100%; 
  z-index: 100; 
}

.site-header .container{ 
  display:flex; 
  align-items: center;
}

.brand a{color:#fff;text-decoration:none;font-weight:700;font-size:20px}

.brand img {
  display: block;
  height: 70px;
}

nav{
  margin-left: auto;
  display:flex;
  gap:16px; 
  align-items: center;
}
nav a{color:var(--muted);text-decoration:none}
nav a:hover{ color: var(--accent); }

.cart-link{
  color:var(--muted); 
  text-decoration:none;
  display: flex;
  align-items: center;
  margin-left: 24px;
}
.cart-link svg { vertical-align: middle; margin-right: 8px; stroke: var(--muted); }
.cart-link:hover, .cart-link:hover svg { color: var(--accent); stroke: var(--accent); }

.announcement-bar { background-color: var(--card); text-align: center; padding: 8px 16px; border-top: 1px solid rgba(255,255,255,0.03); }
.affiliate-ad { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--muted); font-size: 0.9rem; padding: 4px 8px; border-radius: 6px; transition: background-color 0.2s; }
.affiliate-ad:hover { background-color: rgba(255,255,255,0.05); color: #fff; }
.ad-tag { background-color: var(--accent); color: #111; padding: 2px 5px; border-radius: 4px; font-size: 0.7rem; font-weight: bold; }
.ad-logo {
  height: 18px;
  position: relative;
  top: 2px;
}
.ad-text { font-weight: 500; }
.ad-discount { background-color: var(--green-tag); color: #fff; padding: 2px 6px; border-radius: 4px; font-size: 0.7rem; font-weight: bold; }

.hero{padding:32px;background:linear-gradient(180deg, rgba(255,255,255,0.02), transparent);border-radius:8px;margin-top:24px;}
.hero-title {
  font-size: 1.5rem;
  margin: 0 0 8px 0;
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
}
.hero-subtitle {
  font-size: 1.0rem;
  color: var(--muted);
  margin-top: 0;
  margin-bottom: 24px;
  font-weight: 500;
}
.text-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: bold;
}
.text-link:hover {
  text-decoration: underline;
  color: var(--accent-dark);
}
.btn{ display: inline-block; min-width: 120px; flex-shrink: 0; padding: 10px 16px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.03); color: #fff; text-decoration: none; text-align: center; white-space: nowrap; background: var(--card); }
.btn.primary{background:var(--accent);color:#111;border:0}
.btn.ghost, .btn.secondary {background:transparent;border:1px solid rgba(255,255,255,0.06);color:var(--muted)}
.features{display:flex;gap:12px;margin-top:20px}
.card{background:var(--card);padding:16px;border-radius:8px;flex:1}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;margin-top:16px}
.grid .product {
  background: var(--card);
  padding: 10px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.grid .product p {
  flex-grow: 1; 
}

.product img{width:100%;height:160px;object-fit:cover;border-radius:6px}
.product h4{margin:8px 0 4px}
.product .price{ color:var(--accent); font-weight:700; }
.cart-panel{background:var(--card);padding:16px;border-radius:8px;margin-top:24px}
.cart-footer{display:flex;justify-content:space-between;align-items:center;margin-top:12px}
.cart-actions{display:flex;gap:8px}
.site-footer{padding:18px 0;margin-top:36px;border-top:1px solid rgba(255,255,255,0.03)}
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.social-links a { color: var(--muted); text-decoration: none; }
.social-links a:hover { color: #fff; }
.social-links svg { width: 24px; height: 24px; fill: var(--muted); }
.social-links a:hover svg { fill: #fff; }
.download-list li{margin:8px 0}
label{display:block;margin:10px 0 5px}
input[type="text"], input[type="email"], textarea{width:100%;padding:8px;border-radius:6px;border:1px solid rgba(255,255,255,0.06);background:transparent;color:#e6eef6; font-size: 1rem;}
.btn, nav a, .cart-link, button, .remove-btn { cursor: pointer; }
.qty-btn { background: var(--bg); border: 1px solid rgba(255,255,255,0.1); color: white; width: 24px; height: 24px; border-radius: 50%; font-weight: bold; }
.remove-btn { background: none; border: none; color: var(--muted); text-decoration: underline; }
.remove-btn:hover { color: var(--accent); }
.details-text summary { cursor: pointer; margin-bottom: 10px; outline: none; }
.details-text p { margin-bottom: 8px; }
.btn.secondary { background-color: #3d4f61; border-color: rgba(255, 255, 255, 0.06); }
.btn.secondary:hover { background-color: #53687e; }
.btn.success { background-color: #059669; color: #fff; border: 0; }
.btn.success:hover { background-color: #047857; }
.form-layout { display: flex; gap: 40px; align-items: flex-start; }
.form-layout .form-main { flex: 1.5; }
.form-layout .form-info { flex: 1; padding-top: 24px; }
.form-info h3 { margin-top: 0; color: var(--accent); }
.form-info p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.form-info a { color: var(--accent-dark); }
.form-info a:hover { color: var(--accent); }
::placeholder { color: var(--muted); opacity: 0.6; font-size: 0.9rem; }
@media(max-width: 820px) {
  .form-layout { flex-direction: column; }
  .form-layout .form-info { padding-top: 30px; margin-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
}
@media(max-width:720px){
  .site-header .container{flex-direction:column;align-items:flex-start;gap:8px}
  nav{order:3; width:100%;display:flex;justify-content:space-between}
}
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); display: flex; justify-content: center; align-items: center; z-index: 200; }
.modal-content { background-color: var(--card); padding: 30px 40px; border-radius: 8px; text-align: center; max-width: 450px; }
.modal-content h3 { color: var(--accent); margin-top: 0; }
.hidden { display: none; }
#toast-notification { position: fixed; bottom: 20px; right: 20px; z-index: 200; padding: 12px 20px; background-color: var(--accent); color: #111; font-weight: bold; border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,0.2); transform: translateY(100px); opacity: 0; visibility: hidden; transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s; }
#toast-notification.show { transform: translateY(0); opacity: 1; visibility: visible; }
.cta-hosting { background-color: var(--card); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 8px; padding: 24px; margin: 40px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.cta-hosting h2 { margin-top: 0; color: #fff; }
.cta-hosting p { color: var(--muted); max-width: 600px; }
.cta-hosting .btn { width: 200px; padding-top: 12px; padding-bottom: 12px; }
@media (max-width: 768px) { .cta-hosting { flex-direction: column; text-align: center; } .cta-hosting p { margin-left: auto; margin-right: auto; } }
#rotating-slogan { display: inline-block; width: 320px; text-align: left; vertical-align: middle; transition: opacity 0.5s ease-in-out; }
#rotating-slogan.fade-out { opacity: 0; }
.radio-group { border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 6px; padding: 10px 15px; margin: 10px 0; }
.radio-group legend { padding: 0 10px; margin-left: 5px; color: var(--muted); }
.radio-label { display: inline-flex; align-items: center;  margin-right: 20px; margin-top: -2px; cursor: pointer; }
.radio-label input { margin-right: 8px; vertical-align: middle; }

/* ================================== */
/* REGRA ADICIONADA DE VOLTA          */
/* ================================== */
.details-text img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.1);
}

/* ================================== */
/* ESTILOS PARA VÍDEOS RESPONSIVOS    */
/* ================================== */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* Proporção 16:9 */
  height: 0;
  overflow: hidden;
  margin: 20px 0;
  border-radius: 6px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ================================== */
/* CORREÇÃO PARA O CTA DE HOSTING     */
/* ================================== */
.cta-action {
  display: flex;
  flex-direction: column; /* Empilha os itens verticalmente */
  align-items: center;   /* Centra os itens horizontalmente */
  gap: 16px;             /* Adiciona espaço entre a logo e o botão */
}

.cta-logo {
  max-width: 140px; /* Define um tamanho máximo para a logo */
  height: auto;
}

/* ================================== */
/* LAYOUT PARA CABEÇALHO DA PÁGINA DE DETALHES */
/* ================================== */
.details-header {
  display: flex;
  justify-content: space-between; /* Empurra as colunas para os lados */
  align-items: flex-start;      /* Alinha os itens no topo */
  padding-bottom: 14px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Linha separadora */
}

.details-header-right {
  /* Garante que o conteúdo da direita (preço e botões) fique alinhado */
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* Remove a margem de topo do primeiro item na descrição do mod */
.details-text > *:first-child {
  margin-top: 0;
}

details {
  margin-bottom: 0px; /* controla o espaço entre as perguntas */
}

summary {
  cursor: pointer;
  font-weight: bold; /* mantém os títulos em negrito */
}

.details-text a {
  color: var(--accent);
  text-decoration: none;
  font-weight: normal;
}

.details-text a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.details-text details p {
  margin-top: 0px;   /* espaço pequeno logo após o summary */
  margin-bottom: 20px; /* espaço antes do próximo bloco */
  color: var(--muted);    /* cinza claro, se quiser */
}

.modal-content {
  /* Define a largura da janela para 80% da tela */
  width: 80%; 
  max-width: 800px;
  height: auto;
}

.donate-buttons {
  display: flex;           /* coloca os botões lado a lado */
  justify-content: center; /* centraliza */
  gap: 16px;               /* espaço entre eles */
  margin: 20px 0;
}

.donate-buttons img {
  width: 180px;    /* ajuste o tamanho que quiser */
  height: auto;
  border: none;    /* remove a borda */
  box-shadow: none;
}

.download-counter {
  font-size: 12px;  /* <-- É ESTA LINHA QUE VOCÊ PODE ALTERAR */
  color: var(--muted);
  margin: 4px 0 8px; 
  font-weight: 500;
}
.details-header-left h2 {
  margin-bottom: 8px; /* Reduz o espaço abaixo do título do mod */
}

/* ================================== */
/* ESTILO PARA A VERSÃO DO MOD        */
/* ================================== */
.version-info {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
  margin-left: 6px;
  display: inline-block;
  position: relative;
  top: -1px; 
}

/* ================================== */
/* ESTILO PARA O AVISO DE ATUALIZAÇÃO */
/* ================================== */
.update-badge {
  display: inline-block;
  background-color: var(--green-tag);
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  padding: 3px 6px;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 8px;
  text-transform: uppercase;
}
