/* === ARQUIVO COMPLETO tutorials-extra.css === */
/*****************************************************
 *  TUTORIALS PAGE — XINFINITY PREMIUM (Minecraft)
 *  Compatível com o style.css principal
 *****************************************************/

/* GRID DE TUTORIAIS (LISTAGEM) */
.tutorials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  max-width: 1200px;
  margin: 25px auto;
  padding: 0 20px;
}

/* CARD */
.card {
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

/* CARD IMG */
.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: #0a0d0f;
}

/* CARD BODY */
.card-body {
  padding: 16px;
  color: var(--text);
  flex: 1;
}
.card-body h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 10px;
}
.card-body p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 12px;
}

/* BOTÃO */
.card-body .btn {
  padding: 10px 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #0d1115;
  border: none;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: 0.2s ease;
}
.card-body .btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* PAGINAÇÃO */
.pagination {
  text-align: center;
  margin: 30px 0;
}
.pagination a {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 4px;
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid var(--edge);
  transition: 0.25s ease;
}
.pagination a:hover,
.pagination a.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #0d1115;
}

/* SEARCH WRAPPER */
.search-wrap {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}
.search {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 620px;
  background: var(--bg-soft);
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 10px 14px;
  align-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
  position: relative;
}
.search .icn {
  color: var(--accent);
  font-size: 18px;
}
#search-bar {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 15px;
}
#search-bar::placeholder {
  color: var(--muted);
}

/* BOTÃO BUSCAR */
.btn-search {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #0d1115;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s;
}
.btn-search:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* SUGESTÕES */
.suggest-box {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: var(--card);
  border: 1px solid var(--accent);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  z-index: 9999;
}
.suggest-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,.05);
  text-decoration: none;
  transition: .2s ease;
}
.suggest-item img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
}
.suggest-item:hover {
  background: var(--accent);
  color: #0d1115;
}

/*****************************************************
 *  PÁGINA DO TUTORIAL — tutorial.php
 *****************************************************/

/* SUMÁRIO */
.toc-card {
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: 12px;
  padding: 15px;
  margin: 20px 0;
  box-shadow: var(--shadow);
}
.toc-card h3 {
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.toc-list li {
  margin: 6px 0;
}
.toc-list li a {
  color: var(--text);
  font-size: 15px;
}
.toc-list a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.toc-list ul {
  margin-left: 16px;
  margin-top: 4px;
}

/* TAGS */
.tags-box {
  margin: 16px 0;
}
.tag {
  background: linear-gradient(135deg, #1f2937, #2d3748);
  border: 1px solid var(--edge);
  color: var(--text);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 13px;
  margin: 4px 6px 4px 0;
  display: inline-block;
  font-weight: 600;
  transition: .25s;
}
.tag:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #0d1115;
  box-shadow: 0 0 10px rgba(0,255,150,0.4);
}

/* IMAGEM DO TUTORIAL */
.tutorial-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 14px;
  margin: 20px auto;
  box-shadow: var(--shadow);
}

/* TEXTO */
.rte-content {
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}
.rte-content h2 {
  color: var(--accent);
  margin: 20px 0 10px;
}
.rte-content h3 {
  color: var(--accent-hover);
  margin: 16px 0 8px;
}

/* DOWNLOAD CARD */
/* ==========================================================
   DOWNLOAD CARD — XINFINITY MODRINTH PREMIUM EDITION
   ========================================================== */

/*****************************************************
 * CARD PREMIUM — Modelo A (Estilo Modrinth Premium)
 *****************************************************/
.download-card-premium {
  background: #0c1116;
  border: 2px solid #00ff99;
  border-radius: 22px;
  padding: 28px;
  margin: 35px 0;
  box-shadow: 0 0 25px rgba(0,255,140,0.2);
  transition: 0.25s ease;
}

.download-card-premium:hover {
  box-shadow: 0 0 35px rgba(0,255,140,0.35);
}

/* Header */
.dlp-header {
  display: flex;
  gap: 22px;
  align-items: center;
}

.dlp-icon {
  width: 90px;
  height: 90px;
  border-radius: 18px;
  border: 2px solid #00ff99;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  color: #00ff99;
  box-shadow: inset 0 0 18px rgba(0,255,150,0.3);
}

.dlp-title {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
}

/* Infos principais */
.dlp-info {
  margin-top: 6px;
  color: #d6e6dd;
  font-size: 15px;
  line-height: 1.55;
}

.dlp-info strong {
  color: #00ff99;
}

/* Lista */
.dlp-list {
  margin-top: 18px;
  color: #b7c4be;
  font-size: 15px;
}

.dlp-list li {
  margin: 4px 0;
  display: flex;
  gap: 6px;
}

/* Botões */
.dlp-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}

/* Baixar agora */
.btn-dlp-green {
  background: #00ff99;
  color: #001b12;
  padding: 12px 26px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: .25s ease;
  box-shadow: 0 0 12px rgba(0,255,160,0.35);
}

.btn-dlp-green:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

/* Botões secundários */
.btn-dlp {
  padding: 12px 20px;
  border-radius: 10px;
  background: transparent;
  color: #d6e6dd;
  border: 1px solid #00ff99;
  cursor: pointer;
  font-weight: 600;
  transition: .25s ease;
}

.btn-dlp:hover {
  background: #00ff99;
  color: #001;
}

/* Rodapé do card */
.dlp-footer {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,255,160,0.15);
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: #9fa9a3;
}

.dlp-footer .green {
  color: #00ff99;
}

.dlp-footer .like {
  display: flex;
  align-items: center;
  gap: 6px;
}


/* Informações do arquivo */
.file-info-box {
  margin-top: 16px;
  padding: 14px;
  background: #0e1215;
  border-radius: 12px;
  border: 1px solid var(--edge);
}

.file-info-box p {
  margin: 4px 0;
  font-size: 14px;
}

/* Botões estilo Modrinth */
.download-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.dl-btn-primary {
  padding: 12px 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #001;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: .2s;
  font-size: 15px;
}

.dl-btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.dl-btn-secondary {
  padding: 12px 20px;
  background: transparent;
  color: var(--accent);
  border-radius: 10px;
  border: 1px solid var(--accent);
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}

.dl-btn-secondary:hover {
  background: var(--accent);
  color: #001;
}

.dl-btn-info {
  padding: 12px 18px;
  background: #111417;
  border-radius: 10px;
  border: 1px solid var(--edge);
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: .2s;
}

.dl-btn-info:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Stats */
.download-stats {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

/* Changelog (se existir) */
.changelog-box {
  margin-top: 20px;
  padding: 16px;
  background: #0f1317;
  border-radius: 12px;
  border: 1px solid var(--edge);
  color: var(--text);
}


/* COMPARTILHAMENTO */
.share-box {
  margin: 30px 0 20px;
}
.share-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* COMENTÁRIOS */
.comments-box h3 {
  color: var(--accent);
  margin-bottom: 12px;
}
.comment-form .btn-destaque {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #0d1115;
}

/* COMMENT ITEMS */
.comment-item {
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
  display: flex;
  gap: 10px;
}
.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #001;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}
.comment-content .meta {
  color: var(--muted);
  font-size: 13px;
}

/* LIKE COMENTÁRIO */
.btn-like-comment {
  margin-top: 6px;
  padding: 4px 10px;
  background: var(--bg-soft);
  border: 1px solid var(--edge);
  color: var(--text);
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}
.btn-like-comment:hover {
  background: var(--accent);
  color: #001;
}

/* BOTÃO VOLTAR */
.btn-destaque {
  padding: 10px 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #0d1115;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: 0.25s;
}
.btn-destaque:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}
/* -----------------------------------
   DOWNLOAD CARD — MODELO A (Premium)
----------------------------------- */
/* ============================
   CARD — MODELO A (PREMIUM)
============================ */

.download-card {
  margin-top: 25px;
  padding: 0;
  border-radius: 18px;
  background: rgba(14, 17, 22, 0.6);
  border: 1px solid rgba(0,255,150,0.12);
  box-shadow: 0 0 25px rgba(0,255,150,0.08);
  overflow: hidden;
  backdrop-filter: blur(12px);
}

/* BARRA LATERAL VERDE */
.download-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--accent-hover));
  box-shadow: 0 0 12px var(--accent);
  opacity: 0.85;
}

/* HEADER */
.dl-header {
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.dl-header-icon {
  width: 60px;
  height: 60px;
  background: rgba(0,255,150,0.12);
  border: 1px solid var(--accent);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  color: var(--accent);
  box-shadow: inset 0 0 12px rgba(0,255,150,0.2);
}

.dl-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
}

.dl-header p {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

/* LINHA DIVISÓRIA */
.dl-divider {
  width: 100%;
  height: 1px;
  background: rgba(0,255,150,0.08);
  margin: 4px 0;
}

/* DETALHES */
.dl-details {
  padding: 16px 22px;
  font-size: 14px;
  color: var(--text);
}

.dl-details p {
  margin: 3px 0;
  color: var(--muted);
}

/* BOTÕES */
.dl-buttons {
  padding: 18px 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.dl-btn {
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: .22s ease;
  font-size: 14px;
}

/* Principal */
.dl-btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #001;
  box-shadow: 0 0 12px rgba(0,255,150,0.35);
}
.dl-btn.primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* Ghost */
.dl-btn.ghost {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}
.dl-btn.ghost:hover {
  background: var(--accent);
  color: #001;
}

/* Info */
.dl-btn.info {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--edge);
  color: var(--text);
}
.dl-btn.info:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* RODAPÉ / ESTATÍSTICAS */
.dl-footer {
  padding: 16px 22px;
  background: rgba(0,0,0,0.20);
  border-top: 1px solid rgba(0,255,150,0.1);
  font-size: 14px;
  color: var(--muted);
}

.dl-footer strong {
  color: var(--accent);
}
