﻿/* Pangya Brasil — styles.css
   Estilos unificados do site */


/* ═══════════════════════════════════════════════════
   BASE / COMUM
   ═══════════════════════════════════════════════════ */

/* ─── Variáveis globais (tema Pangya — paleta oficial) ─── */
:root {
  /* Céu / marca */
  --pangya-sky:       #50C0E8;
  --pangya-sky-light: #A8E8FF;
  --pangya-sky-pale:  #C0DEFF;
  --pangya-cyan:      #00A9B5;
  --pangya-cyan-dark: #008898;
  --pangya-bluenew:   #507092;
  --pangya-bluenew2:  #224e7d;

  /* Destaques quentes */
  --pangya-pink:       #E05090;
  --pangya-pink-light: #FFB0D0;
  --pangya-peach:      #FFB880;
  --pangya-gold:       #FFD040;
  --pangya-gold-dark:  #E09800;

  /* Neutros */
  --pangya-white: #FFFFFF;
  --pangya-cream: #FFF8F0;

  /* Acentos secundários */
  --pangya-lavender: #C080E0;
  --pangya-violet:   #8060C0;

  /* Aliases semânticos */
  --accent:       var(--pangya-cyan);
  --accent-dark:  var(--pangya-cyan-dark);
  --accent-pink:  var(--pangya-pink);
  --accent-light: var(--pangya-sky-light);

  /* Compatibilidade (nomes legados) */
  --sky-top:      var(--pangya-sky);
  --sky-bot:      var(--pangya-sky-pale);
  --yellow-btn:   var(--pangya-gold);
  --yellow-hover: #FFC820;
  --orange-btn:   var(--pangya-peach);
  --white:        var(--pangya-white);
  --purple:       var(--pangya-cyan);
  --purple-dark:  var(--pangya-cyan-dark);

  /* UI */
  --text-dark:   #1A5080;
  --text-mid:    #3A7098;
  --site-max-width: 1200px;
  --site-gutter: clamp(12px, 2.5vw, 32px);
  --card-bg:     rgb(255, 255, 255);
  --card-border: rgba(80, 192, 232, 0.35);
  --nav-bg:      rgba(255, 255, 255, 0.90);
  --shadow:      0 4px 24px rgba(80, 192, 232, 0.22);
  --radius:      14px;
  --radius-sm:   8px;
}

@media (min-width: 1600px) {
  :root {
    --site-max-width: 1400px;
  }
}

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

body {
  font-family: 'Open Sans', 'Arial', 'Helvetica', sans-serif;
  font-size: 16px;
  background: none;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 200px 80px at 10% 20%, rgba(255,255,255,0.35) 0%, transparent 70%),
    radial-gradient(ellipse 150px 60px at 85% 15%, rgba(255,255,255,0.28) 0%, transparent 70%),
    radial-gradient(ellipse 120px 50px at 60% 8%, rgba(255,255,255,0.22) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ─── Background ─── */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.bg-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.92) saturate(1.08);
}

.bg-scene::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(168, 232, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.08) 40%,
    rgba(255, 248, 240, 0.35) 100%
  );
}

/* ─── Navbar ─── */
body > nav {
  background: var(--nav-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  position: relative;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(80, 192, 232, 0.28);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(80, 192, 232, 0.25);
}

.nav-inner {
  width: 100%;
  max-width: var(--site-max-width);
  padding: 0 var(--site-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: flex-end;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  display: block;
  height: 60px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
  list-style: none;
}

.nav-right {
  display: flex;
  align-items: center;
  margin-left: 12px;
  flex-shrink: 0;
}

.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.nav-links a:hover { background: rgba(80, 192, 232, 0.15); color: var(--pangya-cyan-dark); }
.nav-links a.active { color: var(--pangya-cyan-dark); background: rgba(80, 192, 232, 0.18); }

.nav-links a.btn-downloads {
  background: var(--yellow-btn);
  color: #2a4060;
  border-radius: 10px;
  padding: 6px 14px;
  font-weight: 600;
  box-shadow: none;
}
.nav-links a.btn-downloads:hover,
.nav-links a.btn-downloads.active {
  background: var(--yellow-hover);
  color: #2a4060;
}

.nav-links a.btn-login,
.nav-right .btn-login {
  color: var(--pangya-cyan-dark);
  font-size: 13px;
  font-weight: 500;
  border: 1.5px solid rgba(0, 169, 181, 0.45);
  border-radius: 5px;
  padding: 5px 14px;
  text-decoration: none;
  transition: all 0.2s;
}
.nav-links a.btn-login:hover,
.nav-right .btn-login:hover {
  background: rgba(80, 192, 232, 0.12);
  border-color: var(--pangya-cyan);
}

/* ─── Cards base ─── */
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(8px);
  width: 100%;
}

.card-title {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ─── Tags de notícias ─── */
.news-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 400;
  padding: 2px 0;
  border-radius: 4px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  width: 62px;
  text-align: center;
}
.tag-update { background: #E0F4FF; color: #0088BB; }
.tag-evento { background: #FFF0D8; color: #C07000; }
.tag-manut  { background: #FFE8E8; color: #CC3333; }
.tag-novo   { background: #E0FFF8; color: var(--pangya-cyan-dark); }
.tag-patch  { background: #FFE0F0; color: var(--pangya-pink); }

/* ─── Tabela de ranking (base) ─── */
.rank-table { width: 100%; border-collapse: collapse; }
.rank-table th {
  font-size: 12px;
  color: #888;
  font-weight: 500;
  text-align: left;
  padding: 3px 4px;
  border-bottom: 1px solid #eee;
  letter-spacing: 0.3px;
}
.rank-table td {
  font-size: 13px;
  color: var(--text-dark);
  font-weight: 400;
  padding: 5px 4px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
}
.rank-num {
  font-weight: 400;
  font-size: 13px;
  color: var(--accent);
  width: 20px;
}
.rank-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  background: linear-gradient(135deg, var(--pangya-sky-light), var(--pangya-sky));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  overflow: hidden;
}
.rank-avatar .char-badge-img {
  width: 22px;
  height: 24px;
}
.rank-stars { color: var(--pangya-gold); font-size: 15px; letter-spacing: -2px; }
.rank-label {
  font-size: 12px;
  color: #666;
  font-weight: 500;
}

/* ─── Página interna (layout comum) ─── */
.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 32px var(--site-gutter) 48px;
  flex: 1;
}

.page-header {
  text-align: center;
  margin-bottom: 32px;
}

.page-header h1 {
  font-size: 36px;
  font-weight: 500;
  color: var(--text-dark);
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

.page-header p {
  font-size: 15px;
  color: var(--text-mid);
  font-weight: 400;
}

/* ─── Footer ─── */
footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  background: linear-gradient(180deg, rgb(35 119 149 / 92%), rgba(0, 169, 181, 0.88));
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(4px);
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 400;
  text-align: center;
}

.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.2s;
}
.social-icon:hover { background: rgba(255, 255, 255, 0.4); }

/* ─── Botões utilitários ─── */
.btn-sm {
  display: inline-block;
  background: var(--yellow-btn);
  color: #2a4060;
  font-size: 12px;
  font-weight: 400;
  padding: 4px 12px;
  border-radius: 5px;
  text-decoration: none;
  letter-spacing: 0.3px;
}
.btn-sm:hover { background: var(--yellow-hover); }

.btn-detail {
  display: block;
  background: var(--pangya-cyan-dark);
  color: white;
  font-size: 11px;
  font-weight: 400;
  padding: 3px 0;
  border-radius: 3px;
  text-decoration: none;
  letter-spacing: 0.2px;
}
.btn-detail:hover { background: var(--pangya-cyan-dark); }

/* ─── Utilitários ─── */
.hidden { display: none !important; }

.card-desc {
  font-size: 13px;
  color: #666;
  font-weight: 400;
  margin-bottom: 10px;
}

.timezone-note {
  font-size: 11px;
  color: #aaa;
  font-weight: 400;
  margin-top: 8px;
}

.timezone-note.center { text-align: center; font-size: 10px; margin-top: 8px; }

/* ─── Sidebar (coluna lateral) ─── */
.sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ─── Gradientes de thumbnails ─── */
.thumb-evento { background: linear-gradient(135deg, #FFF0D8, #FFD080); }
.thumb-manut  { background: linear-gradient(135deg, #FFE8E8, #FFB0B0); }
.thumb-update { background: linear-gradient(135deg, #E0F4FF, #A0D8FF); }
.thumb-patch  { background: linear-gradient(135deg, #FFE0F0, #FF90C0); }
.thumb-novo   { background: linear-gradient(135deg, #E0FFF8, #80E8D0); }

.wp-silvia    { background: linear-gradient(135deg, var(--pangya-sky), var(--pangya-cyan)); }
.wp-masters   { background: linear-gradient(135deg, var(--pangya-gold), var(--pangya-peach)); }
.wp-bluewater { background: linear-gradient(135deg, var(--pangya-sky-light), var(--pangya-sky)); }
.wp-pinkwind  { background: linear-gradient(135deg, var(--pangya-pink-light), var(--pangya-pink)); }

/* ─── Manutenção ─── */
.maintenance-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.maintenance-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #ffe8e8;
  border-left: 3px solid #e05050;
  border-radius: 6px;
}

.maintenance-item .maintenance-icon { font-size: 20px; }

.maintenance-item-body { flex: 1; }

.maintenance-item-title {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-dark);
}

.maintenance-item-date {
  font-size: 11px;
  color: #888;
  font-weight: 400;
}

.maintenance-box {
  background: #ffe8e8;
  border-radius: 8px;
  padding: 12px;
}

.maintenance-box-title {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 3px;
}

.maintenance-box-date {
  font-size: 12px;
  color: #888;
  font-weight: 400;
}

.maintenance-badge {
  font-size: 11px;
  font-weight: 400;
  color: #bb2200;
  background: #ffd0d0;
  padding: 3px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

/* ─── Stats (ranking sidebar) ─── */
.stat-value.gold   { color: #c89000; }
.stat-value.silver { color: #909090; }
.stat-value.bronze { color: #9a5a10; }

.season-icon { font-size: 28px; }

.breadcrumb-current { color: var(--text-dark); }

/* ─── Responsivo (nav) ─── */
@media (max-width: 600px) {
  body > nav { flex-wrap: wrap; height: auto; padding-top: 8px; padding-bottom: 8px; gap: 8px; }
  .nav-links { flex-wrap: wrap; gap: 2px; }
  .nav-links a { font-size: 12px; padding: 4px 8px; }
  .page { padding: 20px var(--site-gutter) 32px; }
}


/* ═══════════════════════════════════════════════════
   PÁGINA INICIAL
   ═══════════════════════════════════════════════════ */

/* ─── Hero ─── */
.hero {
  position: relative;
  width: 100%;
  max-width: var(--site-max-width);
  padding: 32px var(--site-gutter) 0;
  margin: 0 auto 0;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(320px, 2fr) 260px;
  grid-template-rows: auto auto;
  gap: 0 16px;
  align-items: start;
  overflow: visible;
  padding-bottom: 48px;
}

.hero-content {
  position: relative;
  z-index: 4;
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  padding-bottom: 8px;
  margin-top: 2px;
}

.hero-title {
  grid-column: 1 / 3;
  grid-row: 1;
  position: relative;
  z-index: 5;
  font-size: clamp(18px, 2.6vw, 36px);
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
  /* text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55), 0 0 24px rgba(0, 0, 0, 0.35); */
  margin: 0;
  max-width: none;
  white-space: nowrap;
}

.hero-sub {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  max-width: none;
  width: max-content;
  white-space: nowrap;
  /* text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5); */
  margin: 0 0 48px;
}

.btn-play {
  display: inline-block;
  background: #ffd000;
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 10px;
  text-decoration: none;
  letter-spacing: 0.3px;
  white-space: nowrap;
  transition: background 0.2s;
  border: 1px solid rgba(255, 145, 0, 0.918);
  cursor: pointer;
}
.btn-play:hover {
  background: var(--pangya-cream);
}

/* ─── Server status ─── */
.server-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(8px);
  text-align: center;
}

.online-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--pangya-cyan), var(--pangya-cyan-dark));
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 6px;
}
.online-dot {
  width: 8px; height: 8px;
  background: #80FF90;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%,100%{ box-shadow: 0 0 0 0 rgba(128, 255, 144, 0.5); }
  50%{ box-shadow: 0 0 0 5px rgba(128, 255, 144, 0); }
}

.player-count {
  font-size: 13px;
  color: #444;
  font-weight: 400;
  margin-bottom: 10px;
}

.rates-box {
  background: rgba(80, 192, 232, 0.15);
  color: var(--text-dark);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  letter-spacing: 0.3px;
  border: 1px solid rgba(80, 192, 232, 0.3);
}

.version-box {
  background: linear-gradient(135deg, var(--pangya-sky), var(--pangya-cyan));
  color: white;
  font-size: 13px;
  font-weight: 400;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255, 255, 255, 0.35);
}
.version-box span { font-size: 12px; font-weight: 400; opacity: 0.8; display: block; }

/* ─── Login card ─── */
.login-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(8px);
  grid-column: 3;
  grid-row: 1 / 3;
  position: relative;
  z-index: 6;
  align-self: start;
}
.login-card-title {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.login-field { margin-bottom: 9px; }
.login-field label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #555;
  margin-bottom: 4px;
}
.login-field input {
  width: 100%;
  padding: 5px 10px;
  border: 1.5px solid rgba(80, 192, 232, 0.45);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-family: 'Open Sans', 'Arial', 'Helvetica', sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background: #F0FAFF;
  outline: none;
  transition: border-color 0.2s;
}
.login-field input:focus { border-color: var(--purple); background: #fff; }
.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.login-remember {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0;
  font-size: 11px;
  font-weight: 500;
  color: #555;
  cursor: pointer;
}
.login-remember input[type="checkbox"] { accent-color: var(--purple); width: 13px; height: 13px; cursor: pointer; }
.login-forgot {
  font-size: 11px;
  font-weight: 500;
  color: var(--purple);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.login-forgot:hover { color: var(--purple-dark); }
.btn-login-card {
  display: block;
  width: 100%;
  background: linear-gradient(136deg, #0f7aac, var(--purple-dark));
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  padding: 9px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  letter-spacing: 0.3px;
  margin-bottom: 10px;
}
.btn-login-card:hover { 
  background: linear-gradient(136deg, #0f7aac, #2c9aa7); }
.login-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.login-links a {
  font-size: 10px;
  font-weight: 500;
  color: var(--purple);
  text-decoration: none;
  transition: color 0.2s;
}
.login-links a:hover { color: var(--purple-dark); }
.login-divider { font-size: 10px; color: #ccc; }
.login-register {
  display: block;
  text-align: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eee;
  font-size: 11px;
  font-weight: 500;
  color: #666;
}
.login-register a { color: var(--purple); text-decoration: none; font-weight: 400; }
.login-register a:hover { color: var(--purple-dark); }

.login-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
  margin-bottom: 9px;
}

.login-fields {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.login-field.no-margin { margin-bottom: 0; }

.btn-login-card.inline {
  margin-bottom: 0;
  width: auto;
  padding: 0 14px;
  white-space: nowrap;
  flex-shrink: 0;
}

.login-form { margin: 0; }

.login-alert {
  font-size: 11px;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  line-height: 1.4;
}

.login-alert-error {
  background: #fff0f0;
  color: #b42318;
  border: 1px solid #fecdca;
}

.login-alert-success {
  background: #ecfdf3;
  color: #027a48;
  border: 1px solid #abefc6;
}

.login-welcome {
  text-align: center;
}

.login-account-stats {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.login-account-stats li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 3px 10px;
  background: #F0FAFF;
  border-radius: var(--radius-sm);
}

.login-stat-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #5a6b7d;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.login-stat-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  text-align: right;
  word-break: break-word;
}

.login-stat-cookies .login-stat-value {
  color: #b36b16;
}

.btn-account-card {
  background: linear-gradient(180deg, var(--pangya-cyan-dark), var(--purple-dark));
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  width: 100%;
  font: inherit;
  color: #fff;
}

.btn-account-card:hover {
  background: linear-gradient(180deg, var(--pangya-cyan-dark), var(--pangya-cyan));
}

.btn-buy-cookies {
  background: linear-gradient(180deg, #f0b35a, #d4892f);
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  width: 100%;
  font: inherit;
  color: #fff;
}

.btn-buy-cookies:hover {
  background: linear-gradient(180deg, #ffc56e, #e49a3a);
}

.btn-buy-cookies:disabled {
  opacity: 0.7;
  cursor: wait;
}

.btn-logout-card {
  background: transparent;
  border: 1.5px solid var(--purple);
  color: var(--purple);
  margin-bottom: 0;
  text-decoration: none;
}

.btn-logout-card:hover {
  background: var(--purple);
  color: #fff;
}

.login-stat-level {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
}

.level-badge--login .level-badge-img {
}

.nav-user-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  margin-right: 10px;
  line-height: 1.2;
}

.nav-user-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--purple-dark);
  text-decoration: none;
  transition: color 0.2s;
}

a.nav-user-name:hover,
a.nav-user-name.is-active {
  color: var(--purple);
  text-decoration: underline;
}

.nav-user-cookies {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #b36b16;
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

.nav-user-cookies:hover {
  color: #8a5210;
  opacity: 0.9;
}

.nav-right .btn-logout {
  background: transparent;
  border: 1.5px solid var(--purple);
  color: var(--purple);
}

.nav-right .btn-logout:hover {
  background: var(--purple);
  color: #fff;
}

/* ─── Personagens no grid do hero ─── */
.hero-char-slot {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  align-self: end;
  position: relative;
  z-index: 1;
  margin-bottom: -130px;
  pointer-events: none;
}

.hero-char-img {
  width: 115%;
  max-width: none;
  height: auto;
  max-height: 340px;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
  pointer-events: none;
  user-select: none;
  transform-origin: bottom center;
  animation: heroCharFloat 4.2s ease-in-out infinite;
}

@keyframes heroCharFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  40% {
    transform: translateY(-10px) rotate(-0.6deg);
  }
  70% {
    transform: translateY(-4px) rotate(0.5deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-char-img {
    animation: none;
  }
}

/* ─── Content grid ─── */
.content-section {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--site-max-width);
  margin: -24px auto 0;
  padding: 0 var(--site-gutter) 32px;
  display: grid;
  grid-template-columns: 1.4fr 0.85fr 0.85fr;
  gap: 14px;
  align-items: start;
}

.content-section .card,
.content-section .event-big {
  position: relative;
  z-index: 1;
}

.content-section > div {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.content-section > div .card:last-child,
.content-section > div > div:last-child {
  flex: 1;
}

/* ─── News items (home) ─── */
.news-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 7px 4px;
  border-bottom: 1px solid #eef2ee;
  cursor: pointer;
  transition: background 0.15s;
  border-radius: 6px;
}
.news-item:last-child { border-bottom: none; }
.news-item:hover { background: rgba(80, 192, 232, 0.08); }
.news-thumb { display: none; }
.news-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  flex: 1;
  min-width: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  overflow: hidden;
}
a.news-title {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s;
}
a.news-title:hover {
  color: var(--purple);
}
.news-date {
  font-size: 12px;
  color: #aaa;
  font-weight: 400;
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 1px;
}

/* ─── Programação de eventos ─── */
.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.event-highlight {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  background: linear-gradient(135deg, #c1a6df, #55c4bf);
  border-radius: 8px;
}

.event-highlight-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.event-highlight-body { flex: 1; }

.event-highlight-title {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.event-highlight-desc {
  font-size: 11px;
  color: rgba(255,255,255,0.75);
  font-weight: 400;
}

.event-badge-fds {
  font-size: 11px;
  font-weight: 600;
  color: #2a4060;
  background: var(--pangya-gold);
  padding: 2px 8px;
  border-radius: 6px;
}

.event-item {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px 8px;
  background: #E8F8FF;
  border-radius: 8px;
}

.event-item-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.event-item-body {
  flex: 1;
  min-width: 0;
}

.event-item-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-item-day {
  font-size: 12px;
  color: #888;
  font-weight: 400;
  white-space: nowrap;
}

.event-times {
  display: flex;
  gap: 3px;
  flex-shrink: 0;
}

.event-time-badge {
  font-size: 10px;
  font-weight: 600;
  color: var(--pangya-cyan-dark);
  background: rgba(80, 192, 232, 0.2);
  padding: 1px 6px;
  border-radius: 6px;
  white-space: nowrap;
}

/* ─── Guia rápido ─── */
.guide-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.guide-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  background: #E8F8FF;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}

.guide-link:hover { background: #D0F0FF; }

.guide-link-icon { font-size: 18px; }

.guide-link-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
}

.guide-link-desc {
  font-size: 11px;
  color: #888;
  font-weight: 400;
}

.guide-link-arrow {
  margin-left: auto;
  color: var(--pangya-sky);
  font-size: 13px;
}

/* ─── Event cards ─── */
.event-card-sm {
  background: linear-gradient(135deg, var(--pangya-cyan), var(--pangya-sky));
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.event-card-sm h4 {
  font-size: 15px;
  font-weight: 400;
  color: white;
  line-height: 1.3;
  margin-bottom: 6px;
}
.trophy-icon { font-size: 36px; flex-shrink: 0; }

.ranking-sub {
  font-size: 12px;
  color: #888;
  font-weight: 400;
  margin-top: -4px;
  margin-bottom: 8px;
}

/* ─── Right column ─── */
.right-col { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.right-col .card:last-child { flex: 1; }

.event-big {
  background: linear-gradient(135deg, #ffd212, #2c9aa7);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
}
.event-big h3 {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.event-big h4 {
  font-size: 17px;
  font-weight: 400;
  color: white;
  line-height: 1.3;
}
.event-big .trophy { font-size: 44px; flex-shrink: 0; }

/* ─── Loja de Cookies banner (home) ─── */
.loja-cookies-banner {
  display: block;
  margin-top: 8px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  line-height: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}
.loja-cookies-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(80, 192, 232, 0.25);
}
.loja-cookies-banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* ─── Shop / Enciclopédia (home) ─── */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
  margin-top: 8px;
}
.shop-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #F0FAFF;
  border-radius: var(--radius-sm);
  padding: 10px 6px 8px;
  text-align: center;
  border: 1px solid rgba(80, 192, 232, 0.35);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  text-decoration: none;
  color: inherit;
}
.shop-item:hover {
  box-shadow: 0 4px 12px rgba(80, 192, 232, 0.25);
  border-color: var(--pangya-cyan);
  transform: translateY(-2px);
}
.shop-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
  background: #fff;
  border: 1px solid rgba(80, 192, 232, 0.18);
  border-radius: var(--radius-sm);
}
.shop-icon .item-icon,
.shop-icon .site-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.shop-name {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}
.shop-price {
  font-size: 11px;
  font-weight: 600;
  color: var(--pangya-pink);
  display: block;
  margin-bottom: 6px;
}
.shop-price .item-price {
  font-size: 11px;
  color: var(--pangya-pink);
}
.shop-item .btn-detail {
  margin-top: auto;
}
a.shop-item .btn-detail {
  pointer-events: none;
}
.shop-more {
  margin-top: 10px;
  text-align: right;
}

.shop-grid--compact {
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 6px;
}

.shop-grid--compact .shop-item {
  padding: 6px 4px 5px;
  min-width: 0;
}

.shop-grid--compact .shop-item:hover {
  transform: none;
}

.shop-grid--compact .shop-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 4px;
}

.shop-grid--compact .shop-icon .item-icon,
.shop-grid--compact .shop-icon .site-icon {
  width: 28px;
  height: 28px;
}

.shop-grid--compact .shop-name {
  font-size: 10px;
  line-height: 1.2;
  margin-bottom: 2px;
  min-height: 0;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
}

.shop-grid--compact .shop-price {
  font-size: 10px;
  margin-bottom: 0;
}

.shop-grid--compact .shop-price .item-price {
  font-size: 10px;
  gap: 2px;
}

.shop-grid--compact .shop-price .site-icon {
  width: 11px;
  height: 11px;
}

.card--enciclopedia-home .shop-more {
  margin-top: 8px;
}

/* ─── Poll ─── */
.poll-option { margin-bottom: 7px; }
.poll-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 3px;
}
.poll-bar {
  height: 7px;
  background: #E8F8FF;
  border-radius: 4px;
  overflow: hidden;
}
.poll-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.6s ease;
}
.poll-vote-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1.5px solid rgba(80, 192, 232, 0.3);
  background: #F0FAFF;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  transition: all 0.15s;
}
.poll-vote-item:hover { background: #E0F4FF; border-color: var(--accent); }
.poll-vote-item input[type="radio"] { accent-color: var(--purple); width: 14px; height: 14px; cursor: pointer; flex-shrink: 0; }

.poll-question {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.poll-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.btn-poll {
  width: 100%;
  background: linear-gradient(180deg, var(--pangya-cyan), var(--pangya-cyan-dark));
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 8px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 8px;
}

.btn-poll:hover {
  background: linear-gradient(180deg, var(--pangya-sky), var(--pangya-cyan));
}

.btn-poll:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.poll-results {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.poll-msg {
  font-size: 12px;
  color: #c0392b;
  font-weight: 600;
  margin: 0 0 8px;
}

.poll-thanks {
  font-size: 12px;
  color: var(--pangya-cyan-dark);
  font-weight: 600;
  margin: 8px 0 0;
}

.poll-footer {
  font-size: 12px;
  color: #aaa;
  font-weight: 400;
  margin-top: 4px;
}

.poll-fill-0 { width: 0; background: var(--pangya-cyan); }
.poll-fill-1 { width: 0; background: var(--pangya-sky); }
.poll-fill-2 { width: 0; background: var(--pangya-pink); }
.poll-fill-3 { width: 0; background: var(--pangya-peach); }
.poll-fill-4 { width: 0; background: var(--pangya-gold); }
.poll-fill-5 { width: 0; background: var(--pangya-lavender); }
.poll-fill-6 { width: 0; background: var(--pangya-violet); }
.poll-fill-7 { width: 0; background: var(--pangya-sky-light); }

/* ─── Wallpapers (home) ─── */
.wallpaper-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.wp-item { text-align: center; }
.wp-thumb {
  height: 46px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 4px;
}
.wp-thumb-link {
  display: block;
  margin-bottom: 4px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 2px 8px rgba(26, 80, 128, 0.15);
}
.wp-thumb-img {
  width: 100%;
  height: 52px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.wp-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 4px;
  line-height: 1.2;
}
.wp-more {
  margin-top: 10px;
  text-align: right;
}

/* ─── Responsivo (home) ─── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding-bottom: 32px;
  }
  .hero-title {
    grid-column: 1;
    grid-row: auto;
    white-space: nowrap;
    font-size: clamp(14px, 4.2vw, 30px);
  }
  .hero-content {
    grid-column: 1;
    grid-row: auto;
    order: 3;
    align-self: auto;
    padding-bottom: 0;
  }
  .hero-sub {
    white-space: normal;
    width: auto;
    max-width: 36em;
  }
  .hero-char-slot {
    grid-column: 1;
    grid-row: auto;
    order: 2;
    margin: 0 0 -60px;
    justify-content: center;
  }
  .hero-char-img {
    width: 100%;
    max-height: 200px;
  }
  .login-card {
    grid-column: 1;
    grid-row: auto;
    order: 4;
  }
  .server-card { display: none; }
  .content-section {
    grid-template-columns: 1fr 1fr;
    margin-top: 0;
  }
  .right-col { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .event-big, .card { flex: 1; min-width: 200px; }
}

@media (max-width: 600px) {
  .hero { padding: 20px var(--site-gutter) 24px; }
  .hero-title { font-size: clamp(17px, 4.5vw, 24px); }
  .hero-char-img { max-height: 170px; }
  .hero-char-slot { margin-bottom: -40px; }
  .content-section { grid-template-columns: 1fr; padding: 0 var(--site-gutter) 20px; margin-top: 0; }
  .right-col { flex-direction: column; }
}


/* ═══════════════════════════════════════════════════
   CADASTRO
   ═══════════════════════════════════════════════════ */

/* ─── Página de cadastro ─── */
.cadastro-page .page {
  max-width: 720px;
  padding: 32px var(--site-gutter) 48px;
}

/* ─── Breadcrumb ─── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-mid);
  margin-bottom: 20px;
}
.breadcrumb a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--pangya-cyan); }
.breadcrumb span { color: rgba(26, 80, 128, 0.4); }

/* ─── Card de registro ─── */
.register-card {
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.register-header {
  background: linear-gradient(135deg, #c1a6df, #55c4bf);
  padding: 24px 32px;
  text-align: center;
}
.register-header .logo-icon { font-size: 36px; margin-bottom: 8px; }
.register-header h1 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.register-header p {
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  font-weight: 400;
}

.register-body { padding: 28px 32px; }

.section-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 2px solid rgba(80, 192, 232, 0.25);
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}
.form-grid.full { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group.span2 { grid-column: 1 / -1; }

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: #444;
}
.form-group label .required { color: #e05050; margin-left: 2px; }

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="date"],
.form-group select {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid rgba(80, 192, 232, 0.45);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background: #F0FAFF;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--purple);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(80, 192, 232, 0.18);
}
.form-group input.error { border-color: #e05050; background: #fff5f5; }
.form-group input.success { border-color: #3a8c3f; background: #f5fff5; }

.input-hint { font-size: 11px; color: #aaa; font-weight: 400; margin-top: 2px; }
.input-hint.hint-ok { color: #2e8b3a; font-weight: 600; }
.input-hint.hint-err { color: #e05050; font-weight: 600; }
.input-hint.hint-warn { color: #d08000; font-weight: 600; }
.input-error {
  font-size: 11px;
  color: #e05050;
  font-weight: 500;
  margin-top: 2px;
  display: none;
}
.input-error.visible { display: block; }

.register-alert {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 18px;
}
.register-alert-error {
  background: #fff0f0;
  border: 1px solid #f0b0b0;
  color: #a03030;
}
.register-alert-info {
  background: #eef8ff;
  border: 1px solid rgba(80, 192, 232, 0.45);
  color: var(--text-dark);
}
.register-alert-info strong {
  color: var(--pangya-cyan-dark);
}
.btn-register:disabled,
.btn-register.is-loading {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}
.form-group select.error { border-color: #e05050; background: #fff5f5; }
.form-group select.success { border-color: #3a8c3f; background: #f5fff5; }

.pwd-strength { margin-top: 5px; }
.pwd-strength-bar {
  height: 4px;
  background: #e8e0f0;
  border-radius: 4px;
  overflow: hidden;
}
.pwd-strength-fill {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  transition: width 0.3s, background 0.3s;
}
.pwd-strength-label {
  font-size: 10px;
  font-weight: 600;
  color: #aaa;
  margin-top: 3px;
}

.input-wrap { position: relative; }
.input-wrap input { padding-right: 38px; }
.toggle-pwd {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  color: #aaa;
  transition: color 0.2s;
}
.toggle-pwd:hover { color: var(--purple); }

.terms-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #F0FAFF;
  border-radius: 8px;
  padding: 12px;
  border: 1.5px solid rgba(80, 192, 232, 0.45);
  margin-bottom: 20px;
  font-size: 12px;
  color: #555;
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
}
.terms-row input[type="checkbox"] {
  accent-color: var(--purple);
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  cursor: pointer;
}
.terms-row a { color: var(--purple); font-weight: 600; text-decoration: none; }
.terms-row a:hover { color: var(--purple-dark); }

.btn-register {
  display: block;
  width: 100%;
  background: linear-gradient(180deg, var(--pangya-cyan-dark), var(--purple-dark));
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 13px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  letter-spacing: 0.3px;

}
.btn-register:hover {
  background: linear-gradient(180deg, var(--pangya-cyan-dark), var(--pangya-cyan));

}

.register-footer {
  padding: 16px 32px;
  border-top: 1px solid #eee;
  text-align: center;
  font-size: 13px;
  color: #666;
  font-weight: 400;
}
.register-footer a { color: var(--purple); font-weight: 600; text-decoration: none; }
.register-footer a:hover { color: var(--purple-dark); }

.register-alert-success {
  background: #f0fff2;
  border: 1px solid #a8d8b0;
  color: #2e6b38;
}

.account-page .page {
  max-width: var(--site-max-width);
  padding: 28px var(--site-gutter) 48px;
}

.account-page-header {
  margin-bottom: 22px;
}

.account-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.account-menu {
  position: sticky;
  top: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(80, 192, 232, 0.35);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.account-menu-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 2px 8px;
  border-bottom: 1px solid rgba(80, 192, 232, 0.28);
}

.account-menu-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(193, 166, 223, 0.35), rgba(85, 196, 191, 0.35));
  flex-shrink: 0;
}

.account-menu-profile-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.account-menu-profile-text strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-menu-profile-text span {
  font-size: 12px;
  font-weight: 500;
  color: #6a7a8a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.account-menu-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-dark);
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.account-menu-link:hover {
  background: rgba(240, 250, 255, 0.9);
  border-color: rgba(80, 192, 232, 0.35);
}

.account-menu-link.is-active {
  background: #F0FAFF;
  border-color: rgba(80, 192, 232, 0.55);
  box-shadow: inset 3px 0 0 var(--purple);
}

.account-menu-link-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-top: 1px;
}

.account-menu-link-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.account-menu-link-text strong {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.account-menu-link-text small {
  font-size: 11px;
  font-weight: 500;
  color: #7a8794;
  line-height: 1.3;
}

.account-menu-link.is-active .account-menu-link-text strong {
  color: var(--purple-dark);
}

.account-menu-extra {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(80, 192, 232, 0.28);
}

.account-menu-extra-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--purple);
  text-decoration: none;
}

.account-menu-extra-link:hover {
  color: var(--purple-dark);
  text-decoration: underline;
}

.account-menu-extra-link--muted {
  color: #7a8794;
}

.account-panel {
  min-width: 0;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid rgba(80, 192, 232, 0.35);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.account-panel-header {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(80, 192, 232, 0.25);
}

.account-panel-header h2 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.account-panel-header p {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  color: #6a7a8a;
  line-height: 1.45;
}

.account-purchases-wrap {
  overflow-x: auto;
  margin-bottom: 8px;
  border: 1px solid rgba(80, 192, 232, 0.35);
  border-radius: var(--radius-sm);
  background: #fff;
}

.account-purchases {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.account-purchases th,
.account-purchases td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #eef3f7;
}

.account-purchases th {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #5a6b7d;
  background: #F0FAFF;
  white-space: nowrap;
}

.account-purchases tbody tr:last-child td {
  border-bottom: none;
}

.account-purchase-product {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
}

.account-purchase-meta {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 500;
  color: #8a96a3;
}

.purchase-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.purchase-status--aprovado {
  background: #e8f8ea;
  color: #2e6b38;
}

.purchase-status--pendente {
  background: #fff7e6;
  color: #9a6b10;
}

.purchase-status--rejeitado,
.purchase-status--cancelado,
.purchase-status--expirado,
.purchase-status--estornado {
  background: #fff0f0;
  color: #a03030;
}

.account-panel .register-alert a {
  color: var(--purple);
  font-weight: 700;
  text-decoration: none;
}

.account-panel .register-alert a:hover {
  color: var(--purple-dark);
  text-decoration: underline;
}

.account-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.account-details-block {
  margin: 0;
}

.account-details-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--purple-dark);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.account-details-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(80, 192, 232, 0.35);
}

.account-details-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(80, 192, 232, 0.22);
}

.account-details-row dt {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #5a6b7d;
}

.account-details-row dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  word-break: break-word;
}

.account-info-level {
  display: inline-flex;
  align-items: center;
}

.account-status {
  display: inline-block;
  font-weight: 700;
}

.account-status--ok {
  color: #2e6b38;
}

.account-status--bad {
  color: #a03030;
}

.account-form {
  max-width: 520px;
}

.account-loja-balance {
  margin-bottom: 18px;
  padding: 14px 16px;
  background: #f7fbff;
  border: 1px solid rgba(80, 192, 232, 0.35);
  border-radius: var(--radius-sm);
}

.account-cookie-pack-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.account-cookie-pack-grid .cookie-pack {
  background: #fff;
  border: 1px solid rgba(80, 192, 232, 0.4);
  border-radius: var(--radius-sm);
  padding: 18px 12px 14px;
  box-shadow: none;
}

.account-cookie-pack-grid .cookie-pack-amount {
  font-size: 24px;
}

.account-cookie-pack-grid .cookie-pack-price {
  font-size: 16px;
}

.account-loja-hint {
  margin-bottom: 0;
}

@media (max-width: 1100px) {
  .account-cookie-pack-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.account-form .btn-register {
  margin-top: 4px;
  margin-bottom: 0;
}

.account-form .form-group input[type="text"],
.account-form .form-group input[type="email"],
.account-form .form-group input[type="password"] {
  background: rgba(240, 250, 255, 0.85);
}

.form-group input:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  background: #e8f2f8;
}

@media (max-width: 900px) {
  .account-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .account-menu {
    position: static;
  }

  .account-menu-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .account-menu-link {
    min-height: 64px;
  }

  .account-panel {
    padding: 18px 16px;
  }
}

@media (max-width: 600px) {
  .account-menu-nav {
    grid-template-columns: 1fr;
  }

  .account-details-row {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 12px 0;
  }

  .account-details-row dt {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
  }

  .account-purchases thead {
    display: none;
  }

  .account-purchases,
  .account-purchases tbody,
  .account-purchases tr,
  .account-purchases td {
    display: block;
    width: 100%;
  }

  .account-purchases tr {
    padding: 12px;
    border-bottom: 1px solid #eef3f7;
  }

  .account-purchases tbody tr:last-child {
    border-bottom: none;
  }

  .account-purchases td {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 0;
    border-bottom: none;
  }

  .account-purchases td::before {
    content: attr(data-label);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #5a6b7d;
    flex-shrink: 0;
  }

  .account-purchases td[data-label="Pacote"] {
    flex-direction: column;
    align-items: flex-start;
  }
}

.success-msg { display: none; text-align: center; padding: 40px 32px; }
.success-msg.is-visible { display: block; }
.success-msg .success-icon { font-size: 56px; margin-bottom: 16px; }
.success-msg h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.success-msg p {
  font-size: 13px;
  color: #666;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 20px;
}
.btn-login-go {
  display: inline-block;
  background: linear-gradient(180deg, var(--purple), var(--purple-dark));
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 11px 32px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-login-go:hover { background: linear-gradient(180deg, var(--pangya-sky), var(--pangya-cyan)); }

.input-error.terms-error { margin-bottom: 12px; }

@media (max-width: 600px) {
  .register-body { padding: 20px 16px; }
  .register-header { padding: 20px 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .register-footer { padding: 14px 16px; }
}


/* ═══════════════════════════════════════════════════
   RANKING
   ═══════════════════════════════════════════════════ */

/* ─── Tabs ─── */
.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.tab {
  background: rgba(255, 255, 255, 0.75);
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 400;
  padding: 8px 22px;
  border-radius: 9px;
  cursor: pointer;
  border: 2px solid rgba(80, 192, 232, 0.35);
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}
.tab:hover { background: rgba(255, 255, 255, 0.95); border-color: var(--pangya-sky); color: var(--text-dark); }
.tab.active { background: var(--pangya-cyan); color: #fff; border-color: var(--pangya-cyan); }
.tab-disabled {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

/* ─── Pódio ─── */
.podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}
.podium-slot { text-align: center; }
.podium-slot .avatar {
  width: 64px; height: 64px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  border: 3px solid;
  overflow: hidden;
}
.podium-slot .avatar .char-badge--podium .char-badge-img {
  width: 48px;
  height: 52px;
}
.podium-slot.first .avatar .char-badge--podium .char-badge-img {
  width: 58px;
  height: 62px;
}
.podium-slot.first .avatar {
  border-color: #f5c518;
  background: linear-gradient(135deg,#fff8d0,#ffe878);
  width: 80px; height: 80px;
  font-size: 36px;
}
.podium-slot.second .avatar {
  border-color: #c0c0c0;
  background: linear-gradient(135deg,#f0f0f0,#d8d8d8);
}
.podium-slot.third .avatar {
  border-color: #cd7f32;
  background: linear-gradient(135deg,#ffe8c0,#f0c080);
}
.podium-bar {
  border-radius: 10px 10px 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 10px;
}
.podium-slot.first .podium-bar {
  height: 110px;
  background: linear-gradient(180deg,#f5c518,#c89000);
  width: 110px;
}
.podium-slot.second .podium-bar {
  height: 80px;
  background: linear-gradient(180deg,#c0c0c0,#909090);
  width: 90px;
}
.podium-slot.third .podium-bar {
  height: 60px;
  background: linear-gradient(180deg,#cd7f32,#9a5a10);
  width: 90px;
}
.podium-bar span {
  font-size: 28px;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.podium-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.8);
  margin-top: 6px;
}
.podium-level {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  margin-top: 6px;
}

/* ─── Grid ─── */
.rank-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  width: 100%;
}

.rank-grid .card {
  padding: 20px;
}

.rank-grid .card-title {
  margin-bottom: 14px;
  gap: 7px;
}

/* ─── Tabela expandida ─── */
.rank-grid .rank-table th {
  padding: 6px 8px;
  border-bottom: 2px solid #eee;
}
.rank-grid .rank-table td {
  padding: 9px 8px;
}
.rank-grid .rank-table tr:hover td { background: rgba(80, 192, 232, 0.06); }

.rank-num.gold { color: #c89000; }
.rank-num.silver { color: #909090; }
.rank-num.bronze { color: #9a5a10; }
.rank-num.other { color: #aaa; }

.rank-avatar-cell { width: 36px; }
.rank-grid .rank-avatar {
  width: 32px; height: 32px;
  margin-right: 0;
  border: 2px solid #e0f0ff;
}
.rank-name { font-weight: 400; color: var(--text-dark); }
.rank-guild { font-size: 11px; color: #888; font-weight: 400; }
.rank-level { font-size: 12px; font-weight: 500; color: var(--purple); }

.level-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}
.level-badge-img {
  display: block;
  height: 16px;
  object-fit: contain;
}
.level-badge--podium .level-badge-img {

  height: 16px;
}
.rank-table .level-badge-img {
  height: 16px;
}
.rank-score { font-weight: 400; color: var(--text-dark); }
.rank-grid .rank-stars { letter-spacing: -1px; font-size: 13px; }
.rank-medal { font-size: 18px; }

.rank-table-players th,
.rank-table-players td {
  text-align: center;
}
.rank-table-players th:nth-child(2),
.rank-table-players td:nth-child(2) {
  text-align: left;
}
.rank-table-players .char-badge-img {
  width: 24px;
  height: 26px;
}

.rank-guild-logo-cell { width: 36px; }
.rank-guild-logo {
  display: block;
  width: 22px;
  height: 20px;
  margin: 0 auto;
  object-fit: contain;
}
.rank-table-guilds th,
.rank-table-guilds td {
  text-align: center;
}
.rank-table-guilds th:nth-child(3),
.rank-table-guilds td:nth-child(3),
.rank-table-guilds th:nth-child(4),
.rank-table-guilds td:nth-child(4) {
  text-align: left;
}
.podium-guilds .podium-guild-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.podium-guilds .podium-guild-logo img {
  width: 22px;
  height: 20px;
  object-fit: contain;
  image-rendering: pixelated;
}
.rank-sortable a {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.rank-sortable a:hover {
  color: var(--pangya-cyan);
}
.rank-empty {
  text-align: center;
  color: #888;
  padding: 24px 8px !important;
}
.rank-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  font-size: 13px;
}
.rank-pagination a {
  color: var(--pangya-cyan);
  text-decoration: none;
  font-weight: 500;
}
.rank-pagination a:hover {
  color: var(--pangya-cyan-dark);
}

/* ─── Map selector ─── */
.map-selector {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.map-selector-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(80, 192, 232, 0.25);
  background: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.2s;
}
.map-selector-item:hover {
  border-color: var(--pangya-sky);
  background: #fff;
}
.map-selector-item.active {
  border-color: #224e7d;
  background: rgb(25 167 180 / 52%);
  box-shadow: 0 4px 12px rgba(80, 192, 232, 0.2);
}
.map-selector-item img {
  width: 100%;
  height: 56px;
  object-fit: contain;
}
.map-selector-label {
  font-size: 11px;
  font-weight: 600;
  color: #444;
  text-align: center;
  line-height: 1.25;
  max-width: 100%;
}

/* ─── Map ranking table ─── */
.rank-table-maps th,
.rank-table-maps td {
  text-align: center;
}
.rank-table-maps th:nth-child(2),
.rank-table-maps td:nth-child(2) {
  text-align: left;
}
.char-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}
.char-badge-img {
  display: block;
  width: 24px;
  height: 26px;
  object-fit: contain;
}
.rank-table-maps .char-badge-img {
  width: 24px;
  height: 26px;
}
.rank-char {
  width: 32px;
}

/* ─── Stats ─── */
.stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #eef2ee;
}
.stat-item:last-child { border-bottom: none; }
.stat-icon { font-size: 22px; flex-shrink: 0; width: 32px; text-align: center; }
.stat-label { font-size: 13px; font-weight: 500; color: #666; flex: 1; }
.stat-value { font-size: 13px; font-weight: 400; color: var(--text-dark); }

/* ─── Sidebar ranking (Top 10) ─── */
.rank-table-sidebar th,
.rank-table-sidebar td {
  padding: 7px 4px;
  font-size: 12px;
}
.rank-table-sidebar .rank-num {
  width: 24px;
  text-align: center;
}
.rank-table-sidebar .rank-level {
  width: 48px;
  text-align: center;
}
.rank-table-sidebar .rank-score {
  width: 64px;
  text-align: right;
  white-space: nowrap;
}
.rank-table-sidebar tr.is-active td {
  background: rgba(80, 192, 232, 0.1);
}

.rank-guide-text {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.45;
  color: #666;
}
.rank-guide-list {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rank-guide-list li {
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-dark);
}
.rank-guide-list strong {
  font-weight: 600;
  color: var(--text-dark);
}
.rank-guide-note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid #eef2ee;
  font-size: 12px;
  line-height: 1.45;
  color: #666;
}
.rank-map-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.rank-map-link:hover .rank-name {
  color: var(--pangya-cyan);
}
.rank-map-thumb {
  width: 36px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}
.rank-table-sidebar .rank-name {
  font-size: 12px;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rank-guild-sidebar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.rank-guild-sidebar .rank-guild-logo {
  flex-shrink: 0;
}

/* ─── Season badge ─── */
.season-badge {
  background: linear-gradient(135deg, var(--pangya-sky), var(--pangya-cyan));
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.season-badge h3 {
  font-size: 13px;
  font-weight: 400;
  color: #fff;
}
.season-badge p {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  font-weight: 400;
}

@media (max-width: 900px) {
  .rank-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════
   NOTÍCIAS
   ═══════════════════════════════════════════════════ */

/* ─── Filtros ─── */
.filters {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.filter {
  background: rgba(255, 255, 255, 0.75);
  color: var(--text-dark);
  font-size: 12px;
  font-weight: 400;
  padding: 6px 16px;
  border-radius: 7px;
  cursor: pointer;
  border: 2px solid rgba(80, 192, 232, 0.35);
  transition: all 0.2s;
}
.filter:hover { background: rgba(255, 255, 255, 0.95); border-color: var(--pangya-sky); }
.filter.active { background: var(--pangya-cyan); color: #fff; border-color: var(--pangya-cyan); }

/* ─── Layout ─── */
.news-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  width: 100%;
}

/* ─── Destaque ─── */
.news-featured {
  background: linear-gradient(135deg, #c1a6df, #55c4bf);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
}
.news-featured .feat-tag {
  display: inline-block;
  background: var(--yellow-btn);
  color: #2a4060;
  font-size: 11px;
  font-weight: 400;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.news-featured h2 {
  font-size: 24px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.2;
}
.news-featured p {
  font-size: 13px;
  color: rgba(255,255,255,0.82);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 14px;
}
.news-featured .feat-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
}

/* ─── Lista de notícias ─── */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.news-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(8px);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.news-card:hover {
  box-shadow: 0 6px 28px rgba(0,0,0,0.2);
}
.news-card .news-thumb {
  display: flex;
  width: 72px;
  height: 68px;
  border-radius: 10px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.news-body { flex: 1; }
.news-card .news-tag {
  width: auto;
  font-size: 10px;
  padding: 2px 8px;
  margin-bottom: 5px;
}
.news-body h3 {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 5px;
  line-height: 1.3;
}
.news-body p {
  font-size: 13px;
  color: #666;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 6px;
}
.news-body .meta {
  font-size: 11px;
  color: #aaa;
  font-weight: 400;
}

/* ─── Sidebar ─── */
.noticias-page .card {
  padding: 18px;
}

.noticias-page .card-title {
  margin-bottom: 14px;
  gap: 7px;
}

.side-news-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid #eef2ee;
  cursor: pointer;
}
.side-news-item:last-child { border-bottom: none; }
.side-news-item:hover .side-news-title { color: var(--purple); }
.side-thumb {
  width: 44px; height: 44px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.side-news-title {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 3px;
  transition: color 0.2s;
}
.side-news-date {
  font-size: 10px;
  color: #aaa;
  font-weight: 400;
}

/* ─── Evento sidebar ─── */
.event-side {
  background: linear-gradient(135deg, var(--pangya-cyan), var(--pangya-sky));
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.event-side h3 {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.event-side h2 {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}
.event-side p {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  font-weight: 400;
  margin-bottom: 12px;
}
.btn-event {
  display: inline-block;
  background: var(--yellow-btn);
  color: #2a4060;
  font-size: 12px;
  font-weight: 400;
  padding: 7px 18px;
  border-radius: 7px;
  text-decoration: none;
}
.btn-event:hover { background: var(--yellow-hover); }

@media (max-width: 900px) {
  .news-layout { grid-template-columns: 1fr; }
}


/* Banner de erro (ex: banco indisponível) */
.site-error-banner {
  position: relative;
  z-index: 200;
  width: 100%;
  max-width: var(--site-max-width);
  margin: 12px auto 0;
  padding: 10px var(--site-gutter);
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffc107;
  border-radius: 8px;
  font-size: 13px;
  text-align: center;
}

.site-error-banner small {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  opacity: 0.85;
  word-break: break-word;
}


a.filter {
  text-decoration: none;
  display: inline-block;
}

.news-featured-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.news-pagination-info {
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 500;
}

a.side-news-item {
  text-decoration: none;
  color: inherit;
  display: flex;
}

.news-article {
  padding: 28px;
}

.news-article-header {
  margin-bottom: 20px;
}

.news-article-header h1 {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.25;
  margin: 10px 0 12px;
}

.news-article-meta {
  font-size: 13px;
  color: #888;
  font-weight: 400;
}

.news-article-thumb {
  width: 100%;
  max-width: 120px;
  height: 90px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  margin-bottom: 18px;
}

.news-article-summary {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eef2ee;
  font-weight: 500;
}

.news-article-content {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.75;
}

.news-article-content p {
  margin-bottom: 14px;
}

.news-article-footer {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #eef2ee;
}

.news-layout:has(.news-article) {
  grid-template-columns: 1fr 280px;
}

@media (max-width: 900px) {
  .news-layout:has(.news-article) { grid-template-columns: 1fr; }
  .news-article { padding: 20px; }
  .news-article-header h1 { font-size: 22px; }
}

/* ═══════════════════════════════════════════════════
   DOWNLOADS
   ═══════════════════════════════════════════════════ */

.downloads-page .page-header {
  margin-bottom: 36px;
}

/* Hero principal */
.dl-hero {
  background: linear-gradient(135deg, var(--pangya-cyan-dark), var(--pangya-cyan));
  border-radius: var(--radius);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  gap: 32px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dl-hero-icon {
  font-size: 72px;
  flex-shrink: 0;
}

.dl-hero-info { flex: 1; min-width: 0; }

.dl-hero-info h2 {
  font-size: 26px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 6px;
}

.dl-hero-info p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 16px;
}

.dl-hero-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.dl-meta-tag {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.dl-meta-tag span { color: var(--pangya-sky-light); }

.btn-dl-main {
  display: inline-block;
  background: #fff;
  color: var(--pangya-cyan-dark);
  font-size: 15px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 10px;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: background 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn-dl-main:hover {
  background: var(--pangya-cream);
}

/* Grid 3 colunas */
.dl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.downloads-page .card {
  padding: 20px;
}

.downloads-page .card-title {
  margin-bottom: 14px;
  gap: 7px;
}

/* Histórico de patches */
.patch-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid #eef2ee;
}

.patch-item:last-child { border-bottom: none; }

.patch-version {
  background: linear-gradient(135deg, var(--pangya-cyan), var(--pangya-cyan-dark));
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}

.patch-info h4 {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.patch-info p {
  font-size: 11px;
  color: #888;
  font-weight: 400;
}

/* Requisitos */
.req-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #eef2ee;
  font-size: 13px;
  gap: 12px;
}

.req-row:last-child { border-bottom: none; }

.req-label {
  font-weight: 500;
  color: #666;
  flex-shrink: 0;
}

.req-value {
  font-weight: 400;
  color: var(--text-dark);
  text-align: right;
}

.req-ok { color: var(--pangya-cyan-dark); }

.req-warn { color: var(--pangya-gold-dark); }

/* Downloads alternativos */
.alt-dl {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: #E8F8FF;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  text-decoration: none;
  transition: background 0.2s;
}

.alt-dl:hover { background: #D0F0FF; }

.alt-dl:last-child { margin-bottom: 0; }

.alt-dl-icon {
  font-size: 26px;
  flex-shrink: 0;
}

.alt-dl-info { flex: 1; min-width: 0; }

.alt-dl-info h4 {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
}

.alt-dl-info p {
  font-size: 11px;
  color: #888;
  font-weight: 400;
}

.alt-dl-size {
  font-size: 12px;
  font-weight: 500;
  color: var(--pangya-cyan-dark);
  flex-shrink: 0;
}

/* Aviso */
.dl-notice {
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 208, 64, 0.45);
  backdrop-filter: blur(8px);
}

.dl-notice-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.dl-notice-title {
  font-size: 13px;
  font-weight: 600;
  color: #8a6000;
  margin-bottom: 3px;
}

.dl-notice-text {
  font-size: 13px;
  font-weight: 400;
  color: #666;
  line-height: 1.45;
}

@media (max-width: 1024px) {
  .dl-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .dl-grid { grid-template-columns: 1fr; }

  .dl-hero {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
    gap: 20px;
  }

  .dl-hero-meta { justify-content: center; }

  .dl-hero-info h2 { font-size: 22px; }
}

@media (max-width: 480px) {
  .req-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .req-value { text-align: left; }

  .alt-dl {
    flex-wrap: wrap;
  }

  .alt-dl-size {
    width: 100%;
    text-align: right;
  }
}

/* ═══════════════════════════════════════════════════
   ÍCONES PRÓPRIOS DO SITE (estilo UI Pangya)
   ═══════════════════════════════════════════════════ */

.site-icon {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.2em;
  object-fit: contain;
  flex-shrink: 0;
}

.site-icon--inline {
  margin-right: 0.25em;
}

.dl-hero-icon .site-icon,
.trophy .site-icon,
.success-icon .site-icon {
  width: 72px;
  height: 72px;
}

.alt-dl-icon .site-icon,
.stat-icon .site-icon,
.event-item-icon .site-icon,
.event-highlight-icon .site-icon,
.guide-link-icon .site-icon,
.maintenance-icon .site-icon,
.dl-notice-icon .site-icon {
  width: 28px;
  height: 28px;
  vertical-align: middle;
}

.rank-avatar .site-icon,
.avatar .site-icon {
  width: 100%;
  height: 100%;
  max-width: 48px;
  max-height: 48px;
}

.news-thumb .site-icon,
.side-thumb .site-icon,
.news-article-thumb .site-icon,
.wp-thumb .site-icon {
  width: 36px;
  height: 36px;
}

.news-article-thumb .site-icon {
  width: 64px;
  height: 64px;
}

.social-icon .site-icon {
  width: 18px;
  height: 18px;
}

.card-title .site-icon,
.page-header h1 .site-icon,
.section-title .site-icon,
.tab .site-icon,
.filter .site-icon,
.btn-play .site-icon,
.btn-dl-main .site-icon {
  width: 1.1em;
  height: 1.1em;
}

.register-header .logo-icon .site-icon {
  width: 48px;
  height: 48px;
}

.toggle-pwd .site-icon {
  width: 18px;
  height: 18px;
}

.poll-vote-item .site-icon,
.poll-label .site-icon {
  width: 16px;
  height: 16px;
  margin-right: 4px;
}

/* ═══════════════════════════════════════════════════
   LOJA DE COOKIES
   ═══════════════════════════════════════════════════ */

.loja-balance {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding: 18px 22px;
}

.loja-balance-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.loja-balance-label {
  font-size: 11px;
  font-weight: 600;
  color: #5a6b7d;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.loja-balance-info strong {
  font-size: 16px;
  color: var(--text-dark);
}

.loja-balance-cookies {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #b36b16 !important;
}

.loja-balance-guest {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.loja-balance-guest p {
  margin: 0;
  font-size: 13px;
  color: #555;
}

.cookie-pack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.cookie-pack {
  position: relative;
  text-align: center;
  padding: 22px 16px 18px;
}

.cookie-pack--featured {
  border-color: rgba(212, 137, 47, 0.55);
  box-shadow: none;
}

.cookie-pack-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(180deg, #f0b35a, #d4892f);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.2px;
}

.cookie-pack-icon {
  margin-bottom: 8px;
}

.cookie-pack-icon .site-icon {
  width: 48px;
  height: 48px;
}

.cookie-pack-amount {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.1;
}

.cookie-pack-label {
  font-size: 12px;
  font-weight: 600;
  color: #5a6b7d;
  margin-bottom: 6px;
}

.cookie-pack-bonus {
  font-size: 12px;
  font-weight: 600;
  color: #027a48;
  margin-bottom: 10px;
  min-height: 18px;
}

.cookie-pack-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--pangya-pink);
  margin-bottom: 12px;
}

.cookie-pack .btn-login-card {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .cookie-pack-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .cookie-pack-grid {
    grid-template-columns: 1fr;
  }

  .loja-balance,
  .loja-balance-guest {
    flex-direction: column;
    align-items: flex-start;
  }
}

body.loja-modal-open {
  overflow: hidden;
}

.loja-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.loja-modal[hidden] {
  display: none !important;
}

.loja-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 40, 64, 0.55);
}

.loja-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 28px 24px 22px;
}

.loja-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: #5a6b7d;
  cursor: pointer;
}

.loja-checkout h2,
.loja-pix h2,
.loja-success h2 {
  font-size: 22px;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.loja-checkout-sub {
  font-size: 13px;
  color: #5a6b7d;
  margin-bottom: 18px;
}

.loja-checkout-summary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
  padding: 14px 16px;
  background: rgba(80, 192, 232, 0.08);
  border: 1px solid rgba(80, 192, 232, 0.22);
  border-radius: var(--radius-sm);
}

.loja-checkout-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: #3a4f63;
}

.loja-checkout-row--total {
  padding-top: 8px;
  border-top: 1px solid rgba(80, 192, 232, 0.25);
  font-size: 16px;
}

.loja-checkout-row--total strong {
  color: var(--pangya-pink);
}

.loja-checkout-error {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: #fff1f1;
  border: 1px solid #f0b4b4;
  color: #9b1c1c;
  font-size: 13px;
}

.loja-checkout-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.loja-pay-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.loja-pay-tab {
  appearance: none;
  border: 1.5px solid rgba(80, 112, 146, 0.28);
  background: #fff;
  color: var(--text-mid);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.loja-pay-tab:hover {
  border-color: var(--pangya-cyan);
  color: var(--pangya-cyan-dark);
}

.loja-pay-tab.is-active {
  background: linear-gradient(180deg, #f0b35a, #d4892f);
  border-color: transparent;
  color: #fff;
}

.loja-checkout-hint {
  margin: 0 0 14px;
  font-size: 13px;
  color: #5a6b7d;
  line-height: 1.45;
}

.loja-card-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.loja-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #3a4f63;
}

.loja-field input,
.loja-field select {
  width: 100%;
  border: 1.5px solid rgba(80, 112, 146, 0.28);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  background: #fff;
  outline: none;
}

.loja-field input:focus,
.loja-field select:focus {
  border-color: var(--pangya-cyan);
  box-shadow: 0 0 0 3px rgba(80, 192, 232, 0.18);
}

.loja-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.loja-card-number-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.loja-card-brand {
  min-width: 72px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--pangya-cyan-dark);
  background: rgba(80, 192, 232, 0.12);
  border-radius: 8px;
  padding: 8px 6px;
}

.loja-processing {
  text-align: center;
  padding: 18px 8px 8px;
}

.loja-processing-spinner {
  margin: 0 auto 14px;
}

.loja-progress {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(80, 192, 232, 0.18);
  overflow: hidden;
  margin-top: 8px;
}

.loja-progress-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pangya-cyan), #f0b35a);
  transition: width 0.25s ease;
}

@media (max-width: 520px) {
  .loja-field-row {
    grid-template-columns: 1fr;
  }
}

.loja-btn-secondary {
  appearance: none;
  border: 1.5px solid rgba(80, 112, 146, 0.35);
  background: #fff;
  color: var(--text-dark);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.loja-btn-secondary:hover {
  border-color: var(--pangya-cyan);
  color: var(--pangya-cyan-dark);
}

.loja-pix-qr-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  margin-bottom: 14px;
  background: #fff;
  border: 1px solid rgba(80, 192, 232, 0.25);
  border-radius: var(--radius-sm);
}

.loja-pix-qr {
  width: 180px;
  height: 180px;
  object-fit: contain;
}

.loja-pix-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #5a6b7d;
  font-size: 13px;
}

.loja-pix-loading[hidden] {
  display: none !important;
}

.loja-pix-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(80, 192, 232, 0.25);
  border-top-color: var(--pangya-cyan);
  border-radius: 50%;
  animation: loja-spin 0.8s linear infinite;
}

@keyframes loja-spin {
  to { transform: rotate(360deg); }
}

.loja-pix-code {
  font-size: 12px;
  word-break: break-all;
  background: rgba(80, 192, 232, 0.08);
  border: 1px solid rgba(80, 192, 232, 0.22);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 12px;
  color: #2a4058;
  max-height: 88px;
  overflow: auto;
}

.loja-pix-status {
  margin: 12px 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  text-align: center;
}

.loja-success {
  text-align: center;
}

.loja-success-icon {
  margin-bottom: 8px;
}

.loja-success-balance {
  margin: 8px 0 18px;
  font-size: 14px;
  color: #3a4f63;
}

.loja-success-balance strong {
  color: #b36b16;
}

/* ═══════════════════════════════════════════════════
   O QUE É PANGYA
   ═══════════════════════════════════════════════════ */

.about-page .page-header {
  margin-bottom: 28px;
}

.about-article {
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 32px 32px;
}

.about-section {
  margin-bottom: 28px;
}

.about-section:last-of-type {
  margin-bottom: 8px;
}

.about-section h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-section p {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.75;
  margin-bottom: 12px;
}

.about-section p:last-child {
  margin-bottom: 0;
}

.about-section a {
  color: var(--pangya-cyan-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.about-section a:hover {
  color: var(--pangya-cyan);
}

.about-req-table-wrap {
  overflow-x: auto;
  margin-top: 8px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
}

.about-req-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 520px;
}

.about-req-table th,
.about-req-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(80, 192, 232, 0.18);
}

.about-req-table th {
  background: rgba(80, 192, 232, 0.12);
  color: var(--text-dark);
  font-weight: 600;
}

.about-req-table td {
  color: var(--text-mid);
}

.about-req-table td:first-child {
  color: var(--text-dark);
  font-weight: 600;
  white-space: nowrap;
}

.about-req-table tbody tr:last-child td {
  border-bottom: none;
}

.about-req-table tbody tr:hover {
  background: rgba(80, 192, 232, 0.06);
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(80, 192, 232, 0.2);
}

.about-actions .btn-sm {
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 10px;
  text-decoration: none;
}

.about-actions .btn-sm-alt {
  background: var(--pangya-cyan);
  color: #fff;
}

.about-actions .btn-sm-alt:hover {
  background: var(--pangya-cyan-dark);
}

@media (max-width: 700px) {
  .about-article {
    padding: 20px 16px 24px;
  }

  .about-section h2 {
    font-size: 18px;
  }
}

/* ═══════════════════════════════════════════════════
   SUPORTE / FAQ
   ═══════════════════════════════════════════════════ */

.suporte-page .page-header {
  margin-bottom: 28px;
}

.suporte-layout {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.suporte-contact,
.suporte-faq,
.suporte-staff {
  padding: 24px 28px;
}

.suporte-contact h2,
.suporte-faq h2,
.suporte-staff h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.suporte-contact p,
.suporte-staff > p {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 12px;
}

.btn-suporte-ig {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0 16px;
  padding: 12px 22px;
  background: linear-gradient(135deg, #e1306c, #c13584 40%, #833ab4);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn-suporte-ig:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.suporte-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.suporte-links a {
  color: var(--pangya-cyan-dark);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.suporte-links a:hover {
  color: var(--pangya-cyan);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.faq-item {
  border: 1px solid rgba(80, 192, 232, 0.28);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
}

.faq-item[open] {
  background: rgba(80, 192, 232, 0.06);
  border-color: rgba(80, 192, 232, 0.45);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(80, 192, 232, 0.18);
  color: var(--pangya-cyan-dark);
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item summary:hover {
  color: var(--pangya-cyan-dark);
}

.faq-answer {
  padding: 0 16px 16px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 16px 0;
}

.staff-card {
  border: 1px solid rgba(80, 192, 232, 0.28);
  border-radius: var(--radius-sm);
  padding: 14px 12px;
  text-align: center;
  background: rgba(80, 192, 232, 0.06);
}

.staff-nick {
  font-size: 15px;
  font-weight: 700;
  color: var(--pangya-cyan-dark);
  margin-bottom: 4px;
}

.staff-name {
  font-size: 13px;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.staff-role {
  font-size: 12px;
  color: var(--text-mid);
}

.staff-warning {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.6;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(224, 80, 144, 0.08);
  border: 1px solid rgba(224, 80, 144, 0.22);
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .staff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .suporte-contact,
  .suporte-faq,
  .suporte-staff {
    padding: 18px 16px;
  }

  .suporte-contact h2,
  .suporte-faq h2,
  .suporte-staff h2 {
    font-size: 18px;
  }

  .btn-suporte-ig {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .staff-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════
   MANUAL DO JOGO
   ═══════════════════════════════════════════════════ */

.manual-page .page-header {
  margin-bottom: 28px;
}

.manual-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 22px 28px;
}

.manual-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  height: auto;
  margin: 0 0 22px;
  padding: 0 0 16px;
  background: none;
  box-shadow: none;
  border: none;
  border-bottom: 1px solid rgba(80, 192, 232, 0.28);
  backdrop-filter: none;
  position: static;
  z-index: auto;
}

.manual-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(80, 192, 232, 0.35);
  background: #fff;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.manual-tab:hover {
  background: rgba(80, 192, 232, 0.14);
  color: var(--pangya-cyan-dark);
  border-color: rgba(80, 192, 232, 0.55);
}

.manual-tab.active {
  background: var(--pangya-cyan-dark);
  border-color: var(--pangya-cyan-dark);
  color: #fff;
}

.manual-section-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 18px;
}

.manual-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.manual-figure {
  margin: 0;
  width: 100%;
  text-align: center;
}

.manual-figure img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: top;
}

@media (max-width: 800px) {
  .manual-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .manual-wrap {
    padding: 16px 12px 22px;
  }

  .manual-tab {
    font-size: 12px;
    min-height: 38px;
    padding: 8px 8px;
    white-space: normal;
  }

  .manual-section-title {
    font-size: 18px;
  }
}


/* ═══════════════════════════════════════════════════
   WALLPAPERS
   ═══════════════════════════════════════════════════ */

.wallpapers-page .page-header {
  margin-bottom: 28px;
}

.wp-section {
  margin-bottom: 28px;
}

.wp-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding: 0 2px;
}

.wp-section-head h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.wp-section-meta {
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 400;
}

.wp-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.wp-gallery--wide {
  grid-template-columns: repeat(4, 1fr);
}

.wp-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.wp-card-preview {
  display: block;
  line-height: 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--pangya-sky-pale), var(--pangya-cream));
}

.wp-card-preview img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.wp-card-preview--wide img {
  height: 100px;
}

.wp-card-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.wp-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
}

.wp-card-meta {
  font-size: 11px;
  color: var(--text-mid);
  margin-bottom: 6px;
}

.btn-wp-dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: auto;
  background: var(--pangya-cyan-dark);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: filter 0.2s ease;
}

.btn-wp-dl:hover {
  filter: brightness(1.08);
}

.btn-wp-dl .site-icon {
  width: 16px;
  height: 16px;
}

@media (min-width: 1280px) {
  .wp-gallery,
  .wp-gallery--wide {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 900px) {
  .wp-gallery,
  .wp-gallery--wide {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  .wallpaper-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wp-gallery,
  .wp-gallery--wide {
    grid-template-columns: repeat(2, 1fr);
  }

  .wp-card-preview img {
    height: 130px;
  }

  .wp-card-preview--wide img {
    height: 110px;
  }

  .wp-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* ═══════════════════════════════════════════════════
   ENCICLOPÉDIA DE ITENS
   ═══════════════════════════════════════════════════ */

.enciclopedia-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
  width: 100%;
}

.filter-count {
  display: inline-block;
  margin-left: 4px;
  font-size: 10px;
  opacity: 0.75;
}

.item-search {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  align-items: center;
}

.item-search-input {
  flex: 1;
  min-width: 200px;
  padding: 8px 14px;
  border: 2px solid rgba(80, 192, 232, 0.35);
  border-radius: var(--radius-sm);
  font-size: 13px;
  background: rgba(255, 255, 255, 0.9);
}

.item-search-input:focus {
  outline: none;
  border-color: var(--pangya-cyan);
}

.btn-sm--ghost {
  background: transparent;
  border: 2px solid rgba(80, 192, 232, 0.35);
  color: var(--text-dark);
}

.item-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow);
}

.item-card {
  background: #ffffff;
  border: 1px solid rgba(80, 192, 232, 0.2);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.item-card:hover {
  border-color: var(--pangya-cyan);
  box-shadow: 0 4px 14px rgba(80, 192, 232, 0.18);
}

.item-card-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  text-decoration: none;
  color: inherit;
  min-height: 72px;
}

.item-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: #ffffff;
  border: 1px solid rgba(80, 192, 232, 0.15);
  border-radius: var(--radius-sm);
}

.item-card-icon .item-icon {
  object-fit: contain;
  image-rendering: auto;
}

.item-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.item-card-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.item-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
  margin: 0;
}

.item-card-sub,
.item-card-desc {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.4;
  margin: 0;
}

.item-card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.item-card-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
  min-width: 100px;
}

.item-card-id {
  font-size: 11px;
  color: #aaa;
  font-weight: 400;
}

.item-card-price {
  white-space: nowrap;
}

.item-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: rgba(80, 192, 232, 0.15);
  color: var(--pangya-cyan-dark);
}

.item-tag--roupas      { background: rgba(255, 140, 180, 0.2); color: #b04070; }
.item-tag--taqueiras   { background: rgba(80, 192, 232, 0.2); color: #2080a8; }
.item-tag--bolas       { background: rgba(255, 200, 80, 0.25); color: #a07010; }
.item-tag--consumiveis { background: rgba(120, 200, 120, 0.2); color: #308030; }
.item-tag--anis        { background: rgba(180, 140, 255, 0.2); color: #6040b0; }
.item-tag--cards       { background: rgba(255, 160, 100, 0.2); color: #a05020; }

.item-price {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--pangya-cyan-dark);
}

.item-price--large {
  font-size: 16px;
}

.item-price--free {
  color: var(--text-mid);
  font-weight: 400;
}

.item-detail {
  padding: 24px;
  background: #ffffff;
}

.item-detail-header h1 {
  font-size: 26px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 8px 0 4px;
}

.item-detail-sub {
  font-size: 14px;
  color: var(--text-mid);
}

.item-detail-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  margin-top: 24px;
}

.item-detail-icon-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid rgba(80, 192, 232, 0.2);
  border-radius: var(--radius);
}

.item-detail-icon {
  object-fit: contain;
}

.item-salable {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #308030;
  background: rgba(120, 200, 120, 0.15);
  padding: 4px 10px;
  border-radius: 10px;
}

.item-detail-section {
  margin-bottom: 20px;
}

.item-detail-section h2 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.item-detail-section p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-mid);
}

.item-meta-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
}

.item-meta-list div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(240, 250, 255, 0.8);
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.item-meta-list dt {
  color: var(--text-mid);
  font-weight: 400;
}

.item-meta-list dd {
  font-weight: 600;
  color: var(--text-dark);
  text-align: right;
}

.item-detail-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--card-border);
}

.side-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(80, 192, 232, 0.12);
  text-decoration: none;
  color: var(--text-dark);
  font-size: 13px;
  transition: color 0.2s;
}

.side-item-row:last-child {
  border-bottom: none;
}

.side-item-row:hover,
.side-item-row.active {
  color: var(--pangya-cyan-dark);
}

.side-item-count {
  font-size: 11px;
  color: var(--text-mid);
  font-weight: 600;
}

.side-item-thumb {
  flex-shrink: 0;
}

.side-item-name {
  flex: 1;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .enciclopedia-layout {
    grid-template-columns: 1fr;
  }

  .item-card-link {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .item-card-side {
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    padding-left: 70px;
  }

  .item-detail-body {
    grid-template-columns: 1fr;
  }

  .item-meta-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .item-list {
    padding: 8px;
  }

  .item-card-link {
    padding: 10px;
    gap: 10px;
  }

  .item-card-side {
    padding-left: 0;
  }
}
