/* ============================================================
   DBZ UNION REVIVED — site styling
   Tema: Goku orange + Shenron gold + Kid blue + Saiyajin red
   Estilo: site de OT clássico mas modernizado
   ============================================================ */

:root {
  --bg:        #06080f;
  --bg-2:      #0d1224;
  --bg-3:      #131a32;
  --card:      #161e3c;
  --card-hi:   #1d2750;
  --border:    #2a3258;
  --border-hi: #3d4a85;
  --text:      #ecf0fa;
  --muted:     #8b95b8;
  --accent:    #ff6b1a;
  --accent-h:  #ff8a3d;
  --gold:      #ffd700;
  --gold-d:    #b8860b;
  --blue:      #4a9eff;
  --red:       #e94545;
  --green:     #2ecc71;
  --shadow:    0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-h:  0 12px 40px rgba(255, 107, 26, 0.25);
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px; line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; transition: color .15s; }
a:hover { color: var(--gold); }
code {
  background: var(--bg-2); padding: 0.1em 0.5em;
  border-radius: 4px; font-size: 0.92em; color: var(--gold);
  border: 1px solid var(--border); font-family: 'JetBrains Mono', 'Consolas', monospace;
}

/* ============ ANIMATED STARFIELD BACKGROUND ============ */
.starfield {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse at top, rgba(255, 107, 26, 0.08) 0%, transparent 40%),
    radial-gradient(ellipse at bottom right, rgba(74, 158, 255, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.04) 0%, transparent 30%),
    var(--bg);
}
.starfield::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 80% 10%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 30% 90%, rgba(255,255,255,0.4), transparent),
    radial-gradient(2px 2px at 90% 50%, rgba(255,215,0,0.6), transparent),
    radial-gradient(1px 1px at 50% 50%, rgba(255,255,255,0.3), transparent);
  background-size: 200px 200px;
  opacity: 0.6;
  animation: stars 60s linear infinite;
}
@keyframes stars {
  from { background-position: 0 0; }
  to   { background-position: 200px 200px; }
}

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: linear-gradient(180deg, rgba(6, 8, 15, 0.95), rgba(6, 8, 15, 0.85));
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo {
  height: 44px; width: auto; display: block;
  filter: drop-shadow(0 0 12px rgba(255, 107, 26, 0.5));
  transition: filter .2s, transform .2s;
}
.brand a:hover .brand-logo {
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.7));
  transform: scale(1.05);
}
.tag {
  font-size: 10px; padding: 4px 10px;
  background: linear-gradient(135deg, var(--accent), #c54000);
  color: white; border-radius: 999px; letter-spacing: 1.5px; text-transform: uppercase;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(255, 107, 26, 0.4);
}
.main-nav { display: flex; gap: 4px; align-items: center; }
.nav-link {
  color: var(--muted); padding: 9px 16px; border-radius: 7px;
  font-weight: 600; font-size: 14px; transition: all .15s;
}
.nav-link:hover { color: var(--text); background: var(--bg-2); }
.nav-account { color: var(--gold) !important; padding: 9px 16px; border-radius: 7px; font-weight: 700; }
.nav-account:hover { background: var(--bg-2); }
.nav-cta {
  background: linear-gradient(135deg, var(--accent), #c54000);
  color: white !important; padding: 10px 20px; border-radius: 8px;
  font-weight: 700; font-size: 14px;
  box-shadow: 0 4px 12px rgba(255, 107, 26, 0.4);
  transition: all .2s;
}
.nav-cta:hover { filter: brightness(1.15); transform: translateY(-1px); }

/* ============ MAIN ============ */
.site-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px 60px 28px;
}

/* ============ EPIC HERO BANNER ============ */
.hero-banner {
  position: relative;
  margin: 32px 0 40px 0;
  padding: 64px 32px;
  border-radius: 20px;
  overflow: hidden;
  background:
    linear-gradient(135deg,
      rgba(255, 107, 26, 0.15) 0%,
      rgba(20, 30, 60, 0.4) 40%,
      rgba(20, 30, 60, 0.8) 100%
    ),
    radial-gradient(ellipse at 30% 50%, rgba(255, 215, 0, 0.12), transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(233, 69, 69, 0.08), transparent 60%),
    var(--card);
  border: 1px solid var(--border-hi);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  text-align: center;
}

/* Ki energy aura — animated radial pulses */
.ki-aura {
  position: absolute; pointer-events: none;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.6;
}
.ki-aura-1 {
  width: 400px; height: 400px;
  top: -100px; left: -100px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  animation: kiPulse 4s ease-in-out infinite;
}
.ki-aura-2 {
  width: 350px; height: 350px;
  bottom: -100px; right: -50px;
  background: radial-gradient(circle, var(--gold), transparent 70%);
  animation: kiPulse 5s ease-in-out infinite reverse;
}
@keyframes kiPulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50%      { transform: scale(1.15); opacity: 0.7; }
}

/* 7 Dragon Spheres orbiting the hero — real images, animated.
   clip-path: circle() crops the PNG into a perfect circle, hiding the
   checker-pattern corners (the source PNGs had non-transparent backgrounds). */
.dragon-sphere {
  position: absolute; pointer-events: none;
  width: 56px; height: 56px;
  clip-path: circle(46% at 50% 50%);
  filter: drop-shadow(0 4px 16px rgba(255, 165, 0, 0.5));
  animation: sphereFloat 6s ease-in-out infinite;
  z-index: 1;
}
.ds-1 { top: 8%;  left: 6%;   animation-delay: 0s;     width: 48px; height: 48px; }
.ds-2 { top: 14%; right: 8%;  animation-delay: -0.8s;  width: 60px; height: 60px; }
.ds-3 { bottom: 12%; left: 12%; animation-delay: -1.6s; width: 44px; height: 44px; }
.ds-4 { top: 38%; left: 4%;   animation-delay: -2.4s;  width: 52px; height: 52px; }
.ds-5 { top: 30%; right: 5%;  animation-delay: -3.2s;  width: 50px; height: 50px; }
.ds-6 { bottom: 18%; right: 14%; animation-delay: -4.0s; width: 56px; height: 56px; }
.ds-7 { bottom: 8%; right: 4%; animation-delay: -4.8s; width: 64px; height: 64px; }
@keyframes sphereFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25%      { transform: translateY(-14px) rotate(8deg); }
  50%      { transform: translateY(-22px) rotate(0deg); }
  75%      { transform: translateY(-14px) rotate(-8deg); }
}
@media (max-width: 720px) {
  .dragon-sphere { width: 36px; height: 36px; }
  .ds-1, .ds-2, .ds-3, .ds-4, .ds-5, .ds-6, .ds-7 { width: 36px; height: 36px; }
}

/* Section header orb (small icon next to section title) */
.section-orb {
  width: 28px; height: 28px;
  clip-path: circle(46% at 50% 50%);
  filter: drop-shadow(0 0 10px rgba(255, 165, 0, 0.6));
  animation: orbSpin 4s ease-in-out infinite;
}
@keyframes orbSpin {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50%      { transform: rotate(180deg) scale(1.1); }
}

/* Feature card orb (replaces emoji icon) */
.feature-orb {
  width: 56px; height: 56px;
  margin-bottom: 14px;
  clip-path: circle(46% at 50% 50%);
  filter: drop-shadow(0 4px 16px rgba(255, 165, 0, 0.4));
  transition: transform .3s, filter .3s;
}
.feature-card:hover .feature-orb {
  transform: rotate(360deg) scale(1.1);
  filter: drop-shadow(0 4px 24px rgba(255, 215, 0, 0.7));
}

/* Footer version line */
.footer-version {
  margin-top: 12px !important;
  font-size: 12px !important;
  color: var(--gold) !important;
  letter-spacing: 0.5px;
}

.hero-content { position: relative; z-index: 2; }
.hero-logo {
  width: 100%; max-width: 480px; height: auto;
  filter: drop-shadow(0 0 30px rgba(255, 107, 26, 0.6))
          drop-shadow(0 0 60px rgba(255, 215, 0, 0.3));
  margin-bottom: 16px;
  animation: logoGlow 3s ease-in-out infinite;
}
@keyframes logoGlow {
  0%, 100% { filter: drop-shadow(0 0 30px rgba(255, 107, 26, 0.6)) drop-shadow(0 0 60px rgba(255, 215, 0, 0.3)); }
  50%      { filter: drop-shadow(0 0 50px rgba(255, 107, 26, 0.8)) drop-shadow(0 0 80px rgba(255, 215, 0, 0.5)); }
}
.hero-tag {
  font-size: 18px;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 28px 0;
  text-shadow: 0 2px 12px rgba(255, 215, 0, 0.4);
}
.hero-cta {
  display: flex; gap: 14px; justify-content: center; margin-bottom: 24px; flex-wrap: wrap;
}
.btn-epic {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700; font-size: 15px;
  letter-spacing: 0.5px; text-transform: uppercase;
  background: var(--bg-2);
  color: var(--text);
  border: 2px solid var(--border-hi);
  transition: all .2s;
  cursor: pointer;
}
.btn-epic:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.2);
}
.btn-epic-primary {
  background: linear-gradient(135deg, var(--accent), #c54000);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 20px rgba(255, 107, 26, 0.4);
}
.btn-epic-primary:hover {
  filter: brightness(1.15);
  color: white;
  border-color: transparent;
  box-shadow: 0 8px 28px rgba(255, 107, 26, 0.6);
}
.hero-status-mini {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap; justify-content: center;
}
.hero-status-mini strong { color: var(--text); }
.hsm-dot {
  width: 8px; height: 8px; border-radius: 50%; display: inline-block;
}
.hsm-dot.up   { background: var(--green); box-shadow: 0 0 12px var(--green); animation: blink 2s ease-in-out infinite; }
.hsm-dot.down { background: var(--red); }
.hsm-sep { color: var(--border-hi); }
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.5; }
}

/* ============ SECTION HEADERS ============ */
.section-head {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px;
}
.section-head h2 {
  margin: 0;
  font-family: 'Russo One', 'Inter', sans-serif;
  font-size: 22px; letter-spacing: 0.5px;
  color: var(--text);
}
.section-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* ============ MAIN GRID (NEWS + SIDEBAR) ============ */
.main-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  margin-bottom: 50px;
}
@media (max-width: 900px) {
  .main-grid { grid-template-columns: 1fr; }
}

/* ============ NEWS POSTS ============ */
.news-col { display: flex; flex-direction: column; gap: 18px; }
.news-post {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 24px;
  transition: all .2s;
  position: relative;
  overflow: hidden;
}
.news-post::before {
  content: ""; position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--gold));
  opacity: 0; transition: opacity .2s;
}
.news-post:hover {
  border-color: var(--border-hi);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.news-post:hover::before { opacity: 1; }

.news-date-tag {
  background: linear-gradient(135deg, var(--accent), #c54000);
  border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 12px 8px;
  height: 80px;
  box-shadow: 0 4px 16px rgba(255, 107, 26, 0.3);
  color: white;
}
.news-day { font-size: 30px; font-weight: 800; line-height: 1; font-family: 'Russo One', sans-serif; }
.news-month { font-size: 11px; letter-spacing: 1.5px; margin-top: 4px; opacity: 0.9; }

.news-title {
  margin: 0 0 8px 0;
  font-family: 'Russo One', 'Inter', sans-serif;
  font-size: 19px;
  color: var(--gold);
  line-height: 1.3;
}
.news-meta {
  display: flex; gap: 8px; flex-wrap: wrap;
  font-size: 12px; color: var(--muted);
  margin-bottom: 12px;
}
.news-text { margin: 0; color: var(--text); }

/* ============ SIDEBAR & WIDGETS ============ */
.sidebar { display: flex; flex-direction: column; gap: 18px; }
.widget {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  position: relative;
}
.widget h3 {
  margin: 0 0 14px 0;
  font-size: 14px;
  font-family: 'Russo One', 'Inter', sans-serif;
  letter-spacing: 0.5px;
  color: var(--gold);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

/* widget login */
.quick-login { display: flex; flex-direction: column; gap: 10px; }
.quick-login input {
  background: var(--bg-2); border: 1px solid var(--border);
  color: var(--text); padding: 10px 12px; border-radius: 6px; font-size: 14px;
  font-family: inherit;
}
.quick-login input:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }

.widget-btn {
  display: block; text-align: center;
  background: linear-gradient(135deg, var(--accent), #c54000);
  color: white !important;
  padding: 10px 16px; border-radius: 6px;
  font-weight: 700; font-size: 13px; letter-spacing: 0.5px;
  border: none; cursor: pointer; font-family: inherit;
  transition: all .2s;
}
.widget-btn:hover { filter: brightness(1.15); }
.widget-link-muted {
  display: block; text-align: center;
  color: var(--muted) !important; font-size: 12px;
  margin-top: 8px;
}
.widget-link-muted strong { color: var(--accent); }
.widget-acc-name { margin: 0 0 12px 0; font-size: 18px; font-weight: 700; color: var(--gold); }

/* widget status */
.status-line { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.status-line strong { color: var(--text); }
.status-line .status-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px;
}
.status-line .status-dot.up   { background: var(--green); box-shadow: 0 0 8px var(--green); }
.status-line .status-dot.down { background: var(--red); }
.widget-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px;
}
.widget-grid > div {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 6px; padding: 10px;
  display: flex; flex-direction: column; align-items: center;
}
.widget-num { font-size: 22px; font-weight: 800; color: var(--gold); font-family: 'Russo One', sans-serif; }
.widget-lbl { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }
.widget-meta { font-size: 11px; color: var(--muted); text-align: center; padding-top: 8px; border-top: 1px solid var(--border); }

/* widget lists */
.widget-list { list-style: none; padding: 0; margin: 0; }
.widget-list li {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.widget-list li:last-child { border-bottom: none; }
.widget-pos {
  display: inline-block; width: 22px; height: 22px;
  background: linear-gradient(135deg, var(--accent), #c54000);
  color: white; border-radius: 50%;
  text-align: center; line-height: 22px;
  font-size: 11px; font-weight: 800;
}
.widget-name { flex: 1; color: var(--text); font-weight: 600; }
.widget-suffix { font-size: 11px; color: var(--muted); }
.widget-time { font-size: 11px; color: var(--muted); margin-left: auto; }
.widget-empty { color: var(--muted); padding: 8px 0; }

.widget-deaths li { flex-wrap: wrap; }
.widget-deaths .widget-meta-line { width: 100%; font-size: 12px; color: var(--muted); padding-left: 0; margin-top: 2px; }
.widget-deaths .widget-meta-line strong { color: var(--red); }
.widget-deaths .widget-time { margin-left: auto; }

.widget-community .widget-desc { font-size: 13px; color: var(--muted); margin: 0 0 12px 0; }

/* ============ FEATURES SECTION ============ */
.features-section { margin-bottom: 50px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: all .2s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, transparent 60%, rgba(255, 215, 0, 0.04));
  opacity: 0; transition: opacity .2s;
}
.feature-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(255, 107, 26, 0.15);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  font-size: 36px; margin-bottom: 12px;
  filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.4));
}
.feature-card h3 {
  margin: 0 0 8px 0;
  font-family: 'Russo One', 'Inter', sans-serif;
  font-size: 17px;
  color: var(--gold);
  letter-spacing: 0.3px;
}
.feature-card p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ============ TABLES (used in inner pages) ============ */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px;
  box-shadow: var(--shadow);
}
.card h1, .card h2 { margin-top: 0; font-family: 'Russo One', 'Inter', sans-serif; }
.card h2 { font-size: 18px; color: var(--gold); margin-bottom: 16px; }

.char-table, .kv {
  width: 100%; border-collapse: collapse;
}
.char-table th, .char-table td, .kv th, .kv td {
  text-align: left; padding: 11px 14px;
  border-bottom: 1px solid var(--border);
}
.char-table th {
  color: var(--muted); font-weight: 600; font-size: 11px;
  text-transform: uppercase; letter-spacing: 1px;
}
.char-table tbody tr:hover td { background: rgba(255, 215, 0, 0.04); }
.kv th { width: 40%; color: var(--muted); font-weight: 500; }
.rank-pos { font-weight: 700; color: var(--gold); width: 50px; }

/* tabs */
.tabs { display: flex; gap: 4px; margin-bottom: 16px; border-bottom: 1px solid var(--border); }
.tabs a {
  padding: 10px 18px; color: var(--muted); border-bottom: 2px solid transparent;
  margin-bottom: -1px; font-weight: 600;
}
.tabs a.active { color: var(--accent); border-color: var(--accent); }

/* ============ AUTH ============ */
.auth-card {
  max-width: 440px; margin: 60px auto;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 36px;
  box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.auth-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at top, rgba(255, 107, 26, 0.1), transparent 60%);
}
.auth-card > * { position: relative; z-index: 1; }
.auth-card h1 { margin-top: 0; font-family: 'Russo One', sans-serif; }
.auth-card form { display: flex; flex-direction: column; gap: 16px; }
.auth-card label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase;
}
.auth-card input {
  background: var(--bg-2); border: 1px solid var(--border);
  color: var(--text); padding: 12px 14px; border-radius: 8px; font-size: 15px;
  font-family: inherit;
}
.auth-card input:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.auth-card button { margin-top: 8px; }

/* ============ GENERIC BUTTONS (used in forms, inner pages) ============ */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 8px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.3px;
  cursor: pointer; border: 1px solid var(--border-hi);
  background: var(--bg-2); color: var(--text);
  font-family: inherit;
  transition: all .2s;
  text-decoration: none;
}
.btn:hover {
  background: var(--card); border-color: var(--gold); color: var(--gold);
  transform: translateY(-1px);
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #c54000);
  border-color: transparent; color: white;
  box-shadow: 0 4px 16px rgba(255, 107, 26, 0.35);
}
.btn-primary:hover {
  filter: brightness(1.12);
  border-color: transparent; color: white;
  box-shadow: 0 6px 22px rgba(255, 107, 26, 0.5);
}
.btn-ghost {
  background: transparent; color: var(--muted);
  border-color: var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--border-hi); }

/* Auth-form submit specifically — full width, slightly bigger */
.auth-card button[type="submit"],
.auth-card .btn-primary {
  width: 100%;
  padding: 14px 22px;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ============ FLASH ============ */
.flash {
  padding: 14px 20px; border-radius: 10px; margin-bottom: 20px;
  border: 1px solid var(--border); font-size: 14px; font-weight: 500;
}
.flash-ok  { background: rgba(46, 204, 113, 0.10); border-color: rgba(46, 204, 113, 0.4); color: #88e1a8; }
.flash-err { background: rgba(233, 69, 69, 0.10);  border-color: rgba(233, 69, 69, 0.4);  color: #ff8c8e; }

/* ============ ACCOUNT / CHARACTER PAGES ============ */
.account-head, .char-head {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border); padding-bottom: 18px; margin-bottom: 24px;
}
.account-head h1, .char-head h1 { margin: 0; font-family: 'Russo One', sans-serif; }
.account-meta, .char-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.badge {
  background: var(--bg-2); border: 1px solid var(--border);
  padding: 4px 12px; border-radius: 999px; font-size: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--muted); font-weight: 600;
}
.badge-prem { background: linear-gradient(135deg, var(--gold-d), var(--gold)); color: #1a1410; border-color: transparent; }
.badge-staff { background: rgba(74, 158, 255, 0.15); color: var(--blue); border-color: rgba(74, 158, 255, 0.4); }
.badge-online { background: rgba(46, 204, 113, 0.10); color: #88e1a8; border-color: rgba(46, 204, 113, 0.4); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-up { background: var(--green); box-shadow: 0 0 8px var(--green); }
.dot-down { background: #555; }

.muted { color: var(--muted); font-size: 13px; }
.steps { padding-left: 22px; }
.steps li { margin: 6px 0; }
.link-more { color: var(--gold); font-weight: 600; font-size: 13px; }

.grid { display: grid; gap: 20px; }
.grid.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 800px) { .grid.two { grid-template-columns: 1fr; } }

/* ============ FOOTER ============ */
.site-footer {
  margin-top: 60px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4));
  border-top: 1px solid var(--border);
  padding: 50px 28px 24px 28px;
}
.footer-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-col h4 {
  font-family: 'Russo One', sans-serif;
  font-size: 13px; letter-spacing: 1px; color: var(--gold); text-transform: uppercase;
  margin: 0 0 12px 0;
}
.footer-col a {
  display: block;
  color: var(--muted); font-size: 14px;
  padding: 4px 0;
  transition: color .15s;
}
.footer-col a:hover { color: var(--accent); }
.footer-info { color: var(--muted); font-size: 13px; margin: 4px 0; }
.footer-brand .footer-logo {
  height: 38px; width: auto; margin-bottom: 14px;
  filter: drop-shadow(0 0 12px rgba(255, 107, 26, 0.4));
}
.footer-brand p { font-size: 14px; color: var(--muted); margin: 0; }
.footer-bar {
  max-width: 1280px; margin: 0 auto;
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: var(--muted);
}

/* ============================================================
   HAMBURGER MENU (CSS-only, checkbox hack — no JS)
   Hidden on desktop, visible <= 820px
   ============================================================ */
.nav-toggle-input { display: none; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  cursor: pointer; user-select: none;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  border-radius: 8px;
  transition: background .15s;
}
.nav-toggle:hover { background: var(--bg-2); }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* ============================================================
   TABLE SCROLL WRAPPER — used on inner pages with wide tables
   ============================================================ */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -4px;  /* slight bleed so table edges aren't clipped */
}
.table-scroll table { min-width: 480px; }

/* ============================================================
   MOBILE — < 820px
   ============================================================ */
@media (max-width: 820px) {
  .header-inner { padding: 12px 18px; }
  .brand-logo   { height: 38px; }
  .tag          { padding: 3px 8px; font-size: 9px; }

  /* Show hamburger, hide nav until toggled */
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: rgba(6, 8, 15, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 14px 18px 18px 18px;
    gap: 4px;
    transform: translateY(-12px);
    opacity: 0; visibility: hidden;
    transition: opacity .22s, transform .22s, visibility .22s;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
  }
  .main-nav .nav-link, .main-nav .nav-account, .main-nav .nav-cta {
    width: 100%; box-sizing: border-box;
    padding: 14px 16px; text-align: center;
    border-radius: 8px;
  }
  .nav-toggle-input:checked ~ .main-nav {
    opacity: 1; visibility: visible; transform: translateY(0);
  }
  /* hamburger morphs to X when checked */
  .nav-toggle-input:checked ~ .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle-input:checked ~ .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-toggle-input:checked ~ .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Body padding */
  .site-main { padding: 0 18px 50px 18px; }

  /* Hero compactado */
  .hero-banner {
    margin: 20px 0 28px 0;
    padding: 36px 22px 30px 22px;
    border-radius: 16px;
  }
  .hero-logo  { max-width: 320px; }
  .hero-tag   { font-size: 15px; margin-bottom: 22px; }
  .hero-cta   { gap: 10px; }
  .btn-epic   { padding: 12px 22px; font-size: 13px; flex: 1; min-width: 0; }
  .hero-status-mini {
    font-size: 12px; padding: 9px 14px;
    text-align: center;
  }

  /* Spheres: so 2 nos cantos superiores, simetricas e suaves */
  .dragon-sphere {
    width: 38px !important; height: 38px !important;
    filter: drop-shadow(0 2px 8px rgba(255, 165, 0, 0.5));
    animation-duration: 6s;
  }
  .ds-1 { top: 5%; left: 5%; }
  .ds-2 { top: 5%; right: 5%; }
  .ds-3, .ds-4, .ds-5, .ds-6, .ds-7 { display: none; }

  .ki-aura-1 { width: 240px; height: 240px; filter: blur(40px); }
  .ki-aura-2 { width: 200px; height: 200px; filter: blur(40px); }

  /* Section heads smaller */
  .section-head h2 { font-size: 18px; }
  .section-orb { width: 22px; height: 22px; }

  /* News post → stacked vertical */
  .news-post {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 18px;
  }
  .news-date-tag {
    flex-direction: row; gap: 10px;
    height: auto; padding: 10px 16px;
    width: max-content;
  }
  .news-day { font-size: 22px; }
  .news-month { font-size: 11px; margin-top: 0; }
  .news-title { font-size: 16px; }
  .news-meta { font-size: 11px; gap: 6px; }
  .news-meta span:nth-child(5),
  .news-meta span:nth-child(6) { display: none; } /* hide last "·" + comments */

  /* Main grid stacks */
  .main-grid { gap: 22px; margin-bottom: 36px; }

  /* Sidebar widgets stay full-width */
  .sidebar { gap: 14px; }
  .widget { padding: 16px 18px; }
  .widget h3 { font-size: 13px; margin-bottom: 12px; padding-bottom: 8px; }
  .widget-num { font-size: 18px; }

  /* Features grid → single column */
  .features-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature-card { padding: 20px; }
  .feature-orb  { width: 48px; height: 48px; }

  /* Account/character pages */
  .account-head, .char-head { gap: 10px; padding-bottom: 14px; margin-bottom: 18px; }
  .account-head h1, .char-head h1 { font-size: 22px; }
  .badge { padding: 3px 10px; font-size: 11px; }

  /* Card grid 2 → 1 */
  .grid.two { grid-template-columns: 1fr; }

  /* Cards padding tighter */
  .card { padding: 18px; }

  /* Tables: smaller cells */
  .char-table th, .char-table td, .kv th, .kv td {
    padding: 9px 10px; font-size: 13px;
  }
  .kv th { width: 45%; }

  /* Auth forms: full-width */
  .auth-card {
    margin: 28px auto; padding: 26px 22px;
    border-radius: 12px;
  }
  .auth-card h1 { font-size: 22px; }
  .auth-card input { padding: 13px 14px; font-size: 16px; /* prevent iOS zoom */ }
  .auth-card button { padding: 14px 18px; font-size: 14px; }

  /* Footer mobile */
  .site-footer { padding: 36px 18px 18px 18px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px; padding-bottom: 22px;
    text-align: left;
  }
  .footer-brand .footer-logo { height: 32px; }
  .footer-bar {
    padding-top: 16px;
    flex-direction: column; gap: 6px; text-align: center;
    font-size: 11px;
  }
}

/* ============================================================
   SMALL PHONE — < 480px
   ============================================================ */
@media (max-width: 480px) {
  .header-inner { padding: 10px 14px; }
  .brand-logo   { height: 32px; }
  .tag          { display: none; }       /* hide v1.0.0 chip on tiny screens */

  .site-main { padding: 0 12px 40px 12px; }

  .hero-banner { padding: 28px 16px 24px 16px; }
  .hero-logo   { max-width: 260px; }
  .hero-tag    { font-size: 13px; margin-bottom: 18px; }
  .hero-cta    { flex-direction: column; }
  .btn-epic    { width: 100%; }
  .hero-status-mini {
    flex-direction: column; gap: 4px;
    border-radius: 10px;
  }
  .hsm-sep { display: none; }

  .dragon-sphere {
    width: 28px !important; height: 28px !important;
  }
  .ds-1 { top: 3%; left: 3%; }
  .ds-2 { top: 5%; right: 3%; }
  .ds-3 { display: none; }
  .ds-6 { bottom: 6%; right: 4%; }

  .news-day { font-size: 18px; }
  .news-month { font-size: 10px; }
  .news-meta span:nth-child(3),
  .news-meta span:nth-child(4) { display: none; } /* further trim meta */

  .footer-info { font-size: 12px; }
}

/* Hide drag/copy on logos */
.brand-logo, .hero-logo, .footer-logo, .feature-orb, .section-orb, .dragon-sphere {
  -webkit-user-drag: none; user-select: none;
}

/* ============================================================
   LEGAL PAGES — Termos / Privacidade
   ============================================================ */
.legal-page {
  max-width: 880px;
  margin: 0 auto;
  line-height: 1.65;
}
.legal-page h1 {
  margin-bottom: 4px;
  color: var(--orange, #ff7e1b);
}
.legal-page h2 {
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--gold, #ffcd3c);
  font-size: 18px;
  border-bottom: 1px solid rgba(255, 165, 0, 0.18);
  padding-bottom: 6px;
}
.legal-page p { margin: 8px 0; color: rgba(255, 255, 255, 0.85); }
.legal-page ul { padding-left: 22px; }
.legal-page li { margin: 4px 0; color: rgba(255, 255, 255, 0.82); }
.legal-page code {
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 13px;
}
.legal-page a {
  color: var(--orange, #ff7e1b);
  text-decoration: underline;
}

/* ============================================================
   MAINTENANCE PAGE
   ============================================================ */
.maint-card {
  max-width: 720px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  padding: 32px;
  background: linear-gradient(135deg, rgba(40, 25, 60, 0.6), rgba(15, 22, 45, 0.7));
  border: 1px solid rgba(255, 165, 0, 0.25);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.maint-char {
  height: 280px;
  width: auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.6));
  user-select: none;
  -webkit-user-drag: none;
  animation: maint-float 4s ease-in-out infinite;
}
@keyframes maint-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.maint-content h1 {
  margin: 0 0 12px;
  color: var(--orange, #ff7e1b);
  font-size: 28px;
}
.maint-lead {
  font-size: 16px;
  color: #fff;
  font-weight: 600;
}
.maint-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 50, 50, 0.12);
  border: 1px solid rgba(255, 80, 80, 0.4);
  border-radius: 8px;
  margin-top: 14px;
  color: #ff8888;
}

@media (max-width: 720px) {
  .maint-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px;
  }
  .maint-char {
    height: 180px;
    margin: 0 auto;
  }
}

/* ============================================================
   CAPTCHA NO SIGNUP
   ============================================================ */
.captcha-label {
  margin-top: 8px;
}
.captcha-label strong {
  font-size: 18px;
  color: var(--gold, #ffcd3c);
  letter-spacing: 1px;
}

/* Footer legal links */
.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  margin: 0 4px;
}
.footer-legal a:hover {
  color: var(--orange, #ff7e1b);
  text-decoration: underline;
}

/* ============================================================
   DOWNLOAD PAGE
   ============================================================ */
.dl-hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
  margin: 20px 0 40px;
  padding: 40px 20px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 126, 27, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(35, 50, 90, 0.55), rgba(15, 22, 45, 0.75));
  border: 1px solid rgba(255, 165, 0, 0.25);
  border-radius: 18px;
  overflow: hidden;
  text-align: center;
}

.dl-hero-char {
  position: absolute;
  bottom: 0;
  height: 380px;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  z-index: 0;
  image-rendering: pixelated;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.55));
  opacity: 0.85;
}
.dl-hero-char-l { left: 2%; }
.dl-hero-char-r { right: 2%; }

.dl-hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.dl-overline {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange, #ff7e1b);
  background: rgba(255, 126, 27, 0.12);
  border: 1px solid rgba(255, 126, 27, 0.4);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.dl-hero h1 {
  margin: 8px 0 12px;
  font-size: 36px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(255, 126, 27, 0.45);
}
.dl-lead {
  margin: 0 0 24px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
}

.btn-mega {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 32px;
  background: linear-gradient(135deg, #ff8a30, #ff6e1b);
  border: none;
  border-radius: 14px;
  text-decoration: none;
  color: white;
  box-shadow:
    0 8px 24px rgba(255, 126, 27, 0.4),
    0 0 0 1px rgba(255, 205, 60, 0.3) inset;
  transition: transform .2s ease, box-shadow .2s ease;
  font-weight: 700;
  margin-bottom: 24px;
}
.btn-mega:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 12px 32px rgba(255, 126, 27, 0.55),
    0 0 0 1px rgba(255, 205, 60, 0.5) inset;
  color: white;
}
.btn-mega-icon { font-size: 32px; }
.btn-mega-main {
  display: block;
  font-size: 22px;
  letter-spacing: 1px;
}
.btn-mega-sub {
  display: block;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.85;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.dl-checklist {
  display: inline-block;
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0;
}
.dl-checklist li {
  margin: 6px 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

/* Steps grid */
.dl-steps { margin: 40px 0; }
.dl-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.dl-step {
  position: relative;
  padding: 24px 18px 18px;
  background: linear-gradient(180deg, rgba(35, 50, 90, 0.4), rgba(15, 22, 45, 0.65));
  border: 1px solid rgba(255, 165, 0, 0.18);
  border-radius: 12px;
}
.dl-step-num {
  position: absolute;
  top: -14px;
  left: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--orange, #ff7e1b);
  color: white;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 126, 27, 0.5);
}
.dl-step h3 {
  margin: 4px 0 8px;
  color: var(--gold, #ffcd3c);
  font-size: 16px;
}
.dl-step p { margin: 0; color: rgba(255, 255, 255, 0.8); font-size: 14px; line-height: 1.5; }
.dl-step code {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 13px;
}

/* FAQ */
.dl-faq { margin-top: 32px; }
.dl-faq details {
  margin: 8px 0;
  padding: 12px 14px;
  background: rgba(15, 22, 45, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}
.dl-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--gold, #ffcd3c);
  list-style-position: inside;
}
.dl-faq summary:hover { color: var(--orange, #ff7e1b); }
.dl-faq details[open] summary { margin-bottom: 8px; }
.dl-faq p { margin: 0; color: rgba(255, 255, 255, 0.82); font-size: 14px; line-height: 1.55; }
.dl-faq a { color: var(--orange, #ff7e1b); }

@media (max-width: 820px) {
  .dl-hero-char { display: none; }
  .dl-hero h1 { font-size: 26px; }
  .dl-hero { min-height: auto; }
  .btn-mega-main { font-size: 18px; }
}

/* ============================================================
   ADMIN PANEL — Layout sidebar + main + listing
   ============================================================ */
.admin-wrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  margin: 18px 0;
}
.admin-sidebar {
  position: sticky;
  top: 12px;
  align-self: start;
  background: linear-gradient(180deg, rgba(35, 50, 90, 0.45), rgba(15, 22, 45, 0.7));
  border: 1px solid rgba(255, 165, 0, 0.18);
  border-radius: 14px;
  padding: 18px;
}
.admin-userbox { padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); margin-bottom: 14px; }
.admin-greeting {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  color: var(--orange, #ff7e1b); text-transform: uppercase; margin-bottom: 6px;
}
.admin-name { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 6px; }

.admin-nav { display: flex; flex-direction: column; gap: 4px; }
.admin-nav a {
  padding: 10px 12px; border-radius: 8px; text-decoration: none;
  color: rgba(255, 255, 255, 0.75); font-weight: 600; font-size: 14px;
  transition: background .15s ease, color .15s ease;
}
.admin-nav a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.admin-nav a.active {
  background: linear-gradient(90deg, rgba(255, 126, 27, 0.2), rgba(255, 126, 27, 0.05));
  color: var(--gold, #ffcd3c);
  border-left: 3px solid var(--orange, #ff7e1b);
  padding-left: 9px;
}

.admin-head-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px; flex-wrap: wrap; gap: 12px;
}

.news-admin-list { display: flex; flex-direction: column; gap: 12px; }
.news-admin-item {
  background: linear-gradient(180deg, rgba(35, 50, 90, 0.4), rgba(15, 22, 45, 0.65));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px 18px;
}
.news-admin-meta {
  display: flex; gap: 12px; align-items: center;
  font-size: 12px; color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
}
.news-admin-date { color: var(--gold, #ffcd3c); font-weight: 600; }
.news-admin-id { background: rgba(255, 255, 255, 0.06); padding: 1px 6px; border-radius: 4px; font-family: monospace; }
.news-admin-item h3 { margin: 4px 0 8px; color: #fff; font-size: 17px; }
.news-admin-preview { margin: 0 0 10px; color: rgba(255, 255, 255, 0.75); font-size: 14px; line-height: 1.5; }
.news-admin-actions { display: flex; gap: 8px; }

.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-danger {
  background: linear-gradient(135deg, #d8344f, #b21e36);
  color: white; border: none; cursor: pointer;
}
.btn-danger:hover { background: linear-gradient(135deg, #e54360, #c22842); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.news-form textarea {
  width: 100%; padding: 12px; border-radius: 8px;
  background: rgba(10, 18, 38, 0.6); border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff; font-family: inherit; font-size: 14px; line-height: 1.5;
  resize: vertical;
}
.news-form .form-actions { display: flex; gap: 10px; margin-top: 14px; }

@media (max-width: 820px) {
  .admin-wrap { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; }
}

/* ============================================================
   CHARACTER PROFILE PAGE
   ============================================================ */
.char-profile-hero {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(40, 60, 100, 0.6), rgba(15, 22, 45, 0.75));
  border: 1px solid rgba(255, 165, 0, 0.22);
  border-radius: 16px;
  overflow: hidden;
}
.char-profile-hero::after {
  content: '';
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 20% 50%, rgba(255, 126, 27, 0.18), transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.char-profile-portrait {
  position: relative;
  z-index: 1;
  width: 200px; height: 200px;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 60%, rgba(255, 165, 0, 0.18), transparent 70%);
  border-radius: 14px;
  border: 2px solid rgba(255, 205, 60, 0.25);
}
.char-profile-portrait img {
  max-width: 90%; max-height: 90%;
  image-rendering: pixelated;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
  user-select: none; -webkit-user-drag: none;
}
.char-profile-info { position: relative; z-index: 1; }
.char-profile-info h1 { margin: 0 0 4px; font-size: 28px; }
.char-profile-info .char-voc { color: var(--gold, #ffcd3c); font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.char-status-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.char-status-row .badge { padding: 4px 10px; }

.char-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.char-stat {
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(35, 50, 90, 0.4), rgba(15, 22, 45, 0.6));
  border: 1px solid rgba(255, 165, 0, 0.12);
  border-radius: 10px;
}
.char-stat-label {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.55); text-transform: uppercase;
  margin-bottom: 4px;
}
.char-stat-value { font-size: 22px; font-weight: 800; color: var(--gold, #ffcd3c); }

@media (max-width: 600px) {
  .char-profile-hero { grid-template-columns: 1fr; text-align: center; }
  .char-profile-portrait { margin: 0 auto; width: 160px; height: 160px; }
}

/* ============================================================
   VOTE PAGE
   ============================================================ */
.vote-intro { margin-bottom: 18px; }
.vote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.vote-card {
  display: flex;
  flex-direction: column;
  padding: 18px;
  background: linear-gradient(180deg, rgba(35, 50, 90, 0.45), rgba(15, 22, 45, 0.7));
  border: 1px solid rgba(255, 165, 0, 0.18);
  border-radius: 12px;
  transition: transform .2s ease, border-color .2s ease;
}
.vote-card:hover {
  transform: translateY(-2px);
  border-color: var(--orange, #ff7e1b);
}
.vote-card-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.vote-card h3 { margin: 0; font-size: 17px; color: var(--gold, #ffcd3c); }
.vote-points {
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  background: linear-gradient(135deg, #ff8a30, #ff6e1b); color: white;
  padding: 3px 8px; border-radius: 4px;
}
.vote-card-desc { color: rgba(255, 255, 255, 0.78); font-size: 13px; line-height: 1.5; flex: 1; margin-bottom: 14px; }
.vote-action {
  display: block; text-align: center; padding: 10px 14px;
  background: linear-gradient(135deg, #ff8a30, #ff6e1b);
  color: white; text-decoration: none;
  border-radius: 8px; font-weight: 700; letter-spacing: .5px;
  transition: transform .15s ease;
}
.vote-action:hover { transform: scale(1.02); color: white; }
.vote-action.voted {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
  cursor: not-allowed;
  pointer-events: none;
}
.vote-cooldown { font-size: 11px; opacity: 0.7; }

/* ============================================================
   DOWNLOAD CLIENTS — 2 cards lado a lado
   ============================================================ */
.dl-clients { margin: 24px 0; }
.dl-clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 16px;
}

/* Single client card centered */
.dl-single-wrap {
  display: flex;
  justify-content: center;
  margin: 24px auto;
  max-width: 600px;
}
.dl-single-wrap .dl-client-card {
  width: 100%;
  max-width: 560px;
}
.dl-single-wrap .btn-mega {
  width: 100%;
  justify-content: center;
}
.dl-client-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: linear-gradient(180deg, rgba(35, 50, 90, 0.45), rgba(15, 22, 45, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  transition: transform .2s ease, border-color .2s ease;
}
.dl-client-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 165, 0, 0.4);
}
.dl-client-recommended {
  border-color: rgba(255, 205, 60, 0.5);
  box-shadow: 0 0 24px rgba(255, 205, 60, 0.15);
}
.dl-client-recommended::before {
  content: '⭐ MAIS BAIXADO';
  position: absolute; top: -10px; right: 18px;
  background: linear-gradient(135deg, #ffcd3c, #ff8a30);
  color: #1a1a2e; font-size: 10px; font-weight: 800;
  letter-spacing: 1px; padding: 4px 10px; border-radius: 6px;
}

.dl-client-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px;
}
.dl-client-head h2 { margin: 0; font-size: 22px; color: #fff; }
.dl-client-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 3px 8px; border-radius: 4px;
}
.dl-tag-gold { background: rgba(255, 205, 60, 0.2); color: #ffcd3c; border: 1px solid rgba(255, 205, 60, 0.5); }
.dl-tag-orange { background: rgba(255, 126, 27, 0.2); color: #ff7e1b; border: 1px solid rgba(255, 126, 27, 0.5); }

.dl-client-desc {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px; line-height: 1.5;
}
.dl-client-desc strong { color: var(--gold, #ffcd3c); }

.dl-client-features {
  list-style: none; padding: 0; margin: 0 0 18px; flex: 1;
}
.dl-client-features li {
  font-size: 13px; color: rgba(255, 255, 255, 0.78);
  margin: 4px 0; padding-left: 0;
}

.dl-client-footer {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px;
}
.dl-client-footer .btn-mega { width: 100%; justify-content: center; }
.dl-client-min {
  font-size: 11px; color: rgba(255, 255, 255, 0.45);
  text-align: center; letter-spacing: .5px;
}

/* ============================================================
   CHARACTER CREATION — Card Grid Picker
   ============================================================ */
.create-char-card { max-width: 980px; }

.char-picker {
  border: 1px solid rgba(255, 165, 0, 0.18);
  border-radius: 14px;
  padding: 18px 20px 22px;
  margin: 18px 0 8px;
  background: linear-gradient(180deg, rgba(20, 30, 60, 0.45), rgba(10, 18, 38, 0.65));
}
.char-picker > legend {
  padding: 4px 12px;
  color: var(--gold, #ffcd3c);
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  font-size: 13px;
}
.tier-title {
  margin: 14px 4px 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange, #ff7e1b);
  border-bottom: 1px solid rgba(255, 126, 27, 0.2);
  padding-bottom: 4px;
}
.tier-title:first-child { margin-top: 0; }

.char-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
}

.char-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 10px 6px 8px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(35, 50, 90, 0.4), rgba(15, 22, 45, 0.7));
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
  overflow: hidden;
}
.char-card::before {
  /* aura sutil radial atrás do sprite */
  content: '';
  position: absolute;
  inset: -10% -10% 35% -10%;
  background: radial-gradient(circle at 50% 60%, rgba(255, 165, 0, 0.12), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s;
}
.char-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 205, 60, 0.45);
  box-shadow: 0 6px 18px rgba(255, 165, 0, 0.18);
  background: linear-gradient(180deg, rgba(45, 60, 105, 0.55), rgba(20, 28, 55, 0.75));
}
.char-card:hover::before { opacity: 1; }

.char-card input[type=radio] {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
  pointer-events: none;
}

.char-card.is-checked,
.char-card:has(input[type=radio]:checked) {
  border-color: var(--orange, #ff7e1b);
  background: linear-gradient(180deg, rgba(255, 126, 27, 0.18), rgba(20, 28, 55, 0.85));
  box-shadow:
    0 0 0 1px rgba(255, 205, 60, 0.4) inset,
    0 8px 24px rgba(255, 126, 27, 0.35);
}
.char-card.is-checked::before,
.char-card:has(input[type=radio]:checked)::before { opacity: 1; }

.char-card.is-checked::after,
.char-card:has(input[type=radio]:checked)::after {
  content: '✓';
  position: absolute;
  top: 6px;
  right: 8px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--orange, #ff7e1b);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px rgba(255, 126, 27, 0.7);
}

.char-thumb {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.char-thumb img {
  max-width: 100%;
  max-height: 100%;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
  user-select: none;
  -webkit-user-drag: none;
}

.char-card:hover .char-thumb img {
  filter: drop-shadow(0 2px 6px rgba(255, 165, 0, 0.5));
}

.char-name {
  font-weight: 700;
  font-size: 13px;
  color: #f5f5f5;
  text-align: center;
  letter-spacing: .3px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 1;
}

@media (max-width: 480px) {
  .char-grid {
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 8px;
  }
  .char-thumb { width: 76px; height: 76px; }
  .char-name { font-size: 12px; }
}

/* ============================================================
   SEX TOGGLE — Segmented control para masculino/feminino
   ============================================================ */
.sex-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
  padding: 4px;
  background: rgba(10, 18, 38, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

/* Cada opção é um label horizontal — sobrescreve o display:block dos labels do auth-card */
.sex-toggle .sex-opt {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 !important;
  padding: 10px 14px;
  border-radius: 9px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .5px;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  border: 1px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  user-select: none;
}

.sex-toggle .sex-opt:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.sex-toggle .sex-opt input[type=radio] {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
  pointer-events: none;
}

/* Estado checked — usa :has() (suportado em todos os browsers modernos) */
.sex-toggle .sex-opt:has(input[type=radio]:checked) {
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 126, 27, 0.25), rgba(255, 126, 27, 0.08));
  border-color: var(--orange, #ff7e1b);
  box-shadow:
    0 0 0 1px rgba(255, 205, 60, 0.35) inset,
    0 4px 14px rgba(255, 126, 27, 0.25);
}

/* Variante feminina: tinta rosa quando checked */
.sex-toggle .sex-opt:nth-child(2):has(input[type=radio]:checked) {
  background: linear-gradient(180deg, rgba(255, 105, 180, 0.25), rgba(255, 105, 180, 0.08));
  border-color: #ff69b4;
  box-shadow:
    0 0 0 1px rgba(255, 182, 193, 0.4) inset,
    0 4px 14px rgba(255, 105, 180, 0.25);
}

.sex-toggle .sex-opt span { line-height: 1; }

/* ============================================================
   HERO CHARACTERS — Goku + Vegeta semi-transparentes pairando
   ============================================================ */
.hero-banner { position: relative; overflow: hidden; }

.hero-char {
  position: absolute;
  bottom: 8%;
  height: 58%;
  max-height: 360px;
  width: auto;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  z-index: 1;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  filter:
    drop-shadow(0 6px 14px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 22px rgba(255, 126, 27, 0.18));
}

.hero-char-right {
  right: 6%;
  opacity: 0.95;
  animation: hero-float-r 7s ease-in-out infinite;
}

.hero-char-left {
  left: 6%;
  opacity: 0.95;
  animation: hero-float-l 8.5s ease-in-out infinite;
  filter:
    drop-shadow(0 6px 14px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 22px rgba(60, 130, 255, 0.22));
}

@keyframes hero-float-r {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-22px) rotate(-1deg); }
}
@keyframes hero-float-l {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-16px) rotate(1deg); }
}

/* O conteúdo do hero precisa ficar sobre os personagens */
.hero-content { position: relative; z-index: 2; }

/* ============================================================
   VILLAINS BANNER — barra cinematica com Broly + Cell entre seções
   ============================================================ */
.villains-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 40px 0;
  padding: 18px 32px;
  background:
    linear-gradient(135deg, rgba(80, 20, 30, 0.55), rgba(20, 28, 55, 0.65) 50%, rgba(30, 70, 30, 0.55));
  border: 1px solid rgba(255, 80, 80, 0.25);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.villains-banner::before {
  /* aura energetica vermelha radial */
  content: '';
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(circle at 15% 50%, rgba(255, 50, 50, 0.18), transparent 40%),
    radial-gradient(circle at 85% 50%, rgba(60, 220, 100, 0.18), transparent 40%);
  pointer-events: none;
  z-index: 0;
}

.villain-fig {
  position: relative;
  z-index: 1;
  height: 200px;
  width: auto;
  flex-shrink: 0;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.7));
  transition: transform .5s ease, filter .5s ease;
}
.villain-l {
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 18px rgba(60, 255, 80, 0.3));
  animation: villain-bob-l 7s ease-in-out infinite;
}
.villain-r {
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 18px rgba(60, 220, 100, 0.3));
  animation: villain-bob-r 8s ease-in-out infinite;
}
.villains-banner:hover .villain-fig { transform: scale(1.05); }

@keyframes villain-bob-l {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px) rotate(-1deg); }
}
@keyframes villain-bob-r {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px) rotate(1deg); }
}

.villain-text {
  position: relative;
  z-index: 1;
  flex: 1;
  text-align: center;
  padding: 0 12px;
}
.villain-overline {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ff6b6b;
  background: rgba(255, 50, 50, 0.12);
  border: 1px solid rgba(255, 80, 80, 0.4);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.villain-title {
  margin: 6px 0 8px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  text-shadow:
    0 2px 8px rgba(255, 50, 50, 0.45),
    0 0 20px rgba(255, 80, 80, 0.25);
}
.villain-sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.5;
  max-width: 540px;
  margin-inline: auto;
}

/* Responsive */
@media (max-width: 900px) {
  .villains-banner {
    flex-direction: column;
    padding: 18px;
    gap: 12px;
  }
  .villain-fig { height: 160px; }
  .villain-title { font-size: 22px; }
}
@media (max-width: 480px) {
  .villain-fig { height: 130px; }
  .villain-title { font-size: 18px; }
  .villain-sub { font-size: 13px; }
}

/* ============================================================
   MOBILE CHAR STRIP — banner de personagens scrollando (so mobile)
   ============================================================ */
.mobile-char-strip {
  display: none; /* hidden em desktop */
}

@media (max-width: 820px) {
  .mobile-char-strip {
    display: block;
    margin: 28px -16px;
    padding: 14px 0;
    overflow: hidden;
    background:
      linear-gradient(90deg,
        rgba(15, 22, 45, 1) 0%,
        rgba(255, 126, 27, 0.08) 50%,
        rgba(15, 22, 45, 1) 100%);
    border-top: 1px solid rgba(255, 165, 0, 0.18);
    border-bottom: 1px solid rgba(255, 165, 0, 0.18);
    position: relative;
  }

  /* Mascara de fade nas laterais para entrada/saida suave */
  .mobile-char-strip::before,
  .mobile-char-strip::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
  }
  .mobile-char-strip::before {
    left: 0;
    background: linear-gradient(90deg, rgba(15, 22, 45, 1), transparent);
  }
  .mobile-char-strip::after {
    right: 0;
    background: linear-gradient(270deg, rgba(15, 22, 45, 1), transparent);
  }

  .mcs-track {
    display: flex;
    gap: 28px;
    align-items: center;
    width: max-content;
    animation: mcs-scroll 40s linear infinite;
  }
  .mcs-track img {
    height: 140px;
    width: auto;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    flex-shrink: 0;
    filter:
      drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5))
      drop-shadow(0 0 12px rgba(255, 126, 27, 0.18));
    user-select: none;
    -webkit-user-drag: none;
    transition: transform .3s ease;
  }
  .mcs-track img:hover { transform: scale(1.1); }

  @keyframes mcs-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Move metade do strip pra loopar */
  }
}

@media (max-width: 480px) {
  .mobile-char-strip { margin: 22px -16px; padding: 10px 0; }
  .mcs-track { gap: 18px; animation-duration: 32s; }
  .mcs-track img { height: 100px; }
}

/* ============================================================
   RESPONSIVIDADE — esconde personagens em mobile (poluição visual)
   ============================================================ */
@media (max-width: 1100px) {
  .hero-char-left { opacity: 0.4; height: 75%; left: -8%; }
  .hero-char-right { opacity: 0.6; height: 80%; right: -5%; }
}

/* Mobile: Goku e Vegeta DUO ladeando o status, ambos com mesma altura visual */
@media (max-width: 820px) {
  .hero-char {
    height: 170px !important;
    max-height: 170px;
    width: auto;
    max-width: 45%;
    bottom: 60px;
    opacity: 0.95;
    z-index: 0;
  }
  .hero-char-left  { left: 4%; }
  .hero-char-right { right: 4%; }
  .hero-banner { padding-bottom: 80px !important; }
  .hero-content { z-index: 2; position: relative; }
}

@media (max-width: 480px) {
  .hero-char {
    height: 140px !important;
    max-height: 140px;
    bottom: 50px;
  }
  .hero-banner { padding-bottom: 70px !important; }
}

/* ============================================================
   AUTH WRAP — personagens guardando o form de login/signup
   ============================================================ */
.auth-wrap {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}
.auth-wrap .auth-card {
  position: relative;
  z-index: 2;
}

.auth-side-char {
  position: absolute;
  bottom: 6%;
  height: 280px;
  width: auto;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  z-index: 0;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  filter:
    drop-shadow(0 5px 14px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 18px rgba(255, 126, 27, 0.18));
  opacity: 0.95;
}
.auth-side-char-l {
  left: 2%;
  animation: auth-float-l 7s ease-in-out infinite;
}
.auth-side-char-r {
  right: 2%;
  animation: auth-float-r 8s ease-in-out infinite;
  filter:
    drop-shadow(0 6px 18px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 26px rgba(60, 130, 255, 0.22));
}

@keyframes auth-float-l {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes auth-float-r {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

@media (max-width: 1100px) {
  .auth-side-char { height: 220px; opacity: 0.7; }
  .auth-side-char-l { left: -3%; }
  .auth-side-char-r { right: -3%; }
}
@media (max-width: 820px) {
  /* Mobile: esconde os chars laterais — formulario fica limpo e sem distracao */
  .auth-side-char { display: none; }
  .auth-wrap { min-height: auto; padding: 0; }
}

/* ============================================================
   ACCOUNT HEAD — Gohan acompanhando o user na sua conta
   ============================================================ */
.account-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 24px 18px 18px;
  background: linear-gradient(135deg, rgba(35, 50, 90, 0.45), rgba(15, 22, 45, 0.65));
  border: 1px solid rgba(255, 165, 0, 0.18);
  border-radius: 14px;
  margin-bottom: 18px;
  overflow: hidden;
}
.account-head::after {
  /* aura sutil radial */
  content: '';
  position: absolute;
  inset: -50% -30% -50% -10%;
  background: radial-gradient(circle at 15% 50%, rgba(255, 126, 27, 0.15), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.account-head-info { position: relative; z-index: 1; flex: 1; }

.account-hero-char {
  position: relative;
  z-index: 1;
  height: 130px;
  width: auto;
  flex-shrink: 0;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 18px rgba(255, 126, 27, 0.25));
  user-select: none;
  -webkit-user-drag: none;
  animation: account-hero-float 5s ease-in-out infinite;
}

@keyframes account-hero-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

@media (max-width: 600px) {
  .account-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .account-hero-char { height: 100px; align-self: center; }
}

/* Char create wrapper — usa mesma logica do auth-wrap */
.char-create-wrap {
  position: relative;
  min-height: 800px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 30px 0;
}
.char-create-wrap .auth-card {
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 980px;
}
.char-create-wrap .auth-side-char {
  height: 340px;
  top: 80px;
  bottom: auto;
}
@media (max-width: 1280px) {
  .char-create-wrap .auth-side-char { height: 240px; opacity: 0.55; }
}
