@charset "UTF-8";

/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700&family=Cinzel:wght@400;700&family=MedievalSharp&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Philosopher:wght@400;700&amp;family=Roboto:wght@300;400;700&amp;display=swap");

/* --- VARIÁVEIS DO TEMA WIZARD ADVENTURES (Roxo/Dourado) --- */
:root {
    /* Paleta Original */
    --wiz-gold: #d4af37;
    --wiz-gold-light: #ffd700;
    --wiz-gold-dim: #8a7338;
    --wiz-dark: #0a080c;
    --wiz-panel: #120f18;
    --wiz-purple: #723e89;
    --wiz-purple-dark: #3a1a4a;
    --wiz-text: #e0d0b0;
    
    /* Fontes */
    --font-main: 'MedievalSharp', cursive;
    --font-title: 'Cinzel Decorative', serif;
    --font-ui: 'Cinzel', serif;

    /* Compatibilidade */
    --primary: var(--wiz-dark);
    --secondary: var(--wiz-panel);
    --third: #222;
    --font-color: var(--wiz-text);
    --border: rgba(212, 175, 55, 0.2);
    --anchor: var(--wiz-gold);
    --anchor-hover: var(--wiz-gold-light);

    /* Alertas */
    --bg-danger: #3c0e0e; --color-danger: #ffadad; --border-danger: #801f1f;
    --bg-success: #0b2914; --color-success: #9dffb3; --border-success: #1b5e2f;
}

/* GLOBAL */
body {
    background-color: var(--wiz-dark);
    font-family: var(--font-main);
    color: var(--font-color);
    margin: 0; padding: 0;
    background-image: url('https://www.transparenttextures.com/patterns/dark-matter.png');
}

a { text-decoration: none; color: var(--anchor); transition: 0.3s; }
a:hover { color: var(--anchor-hover); text-shadow: 0 0 8px var(--wiz-gold); }
* { box-sizing: border-box; }
ul { margin: 0; padding: 0; list-style: none; }

/* Flex Utils */
.flex-sbc { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.flex-cc { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; }
.flex-sc { display: flex; justify-content: flex-start; align-items: center; flex-wrap: wrap; }
.flex-sbs { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }

/* WRAPPER */
.wrapper { width: 100%; min-height: 100vh; position: relative; overflow-x: hidden; }
.content-area { width: 1200px; margin: 0 auto; padding: 0 15px; position: relative; }
@media (max-width: 1250px) { .content-area { width: 100%; } }

/* --- NAVIGATION (Estilo Roxo/Dourado) --- */
.navigation {
    background: linear-gradient(180deg, #1e1823 0%, #050406 100%);
    border-bottom: 3px solid var(--wiz-gold);
    border-top: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0,0,0,0.9);
    min-height: 70px;
    position: relative;
    z-index: 1000;
}

.navigation__link {
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--wiz-gold) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: flex; align-items: center;
    height: 70px; padding: 0 18px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
}

.navigation__link:hover {
    color: var(--wiz-gold-light) !important;
    background: rgba(255, 215, 0, 0.05);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
    border-bottom: 3px solid var(--wiz-purple);
}

.navigation__link span i { color: var(--wiz-purple); margin-right: 6px; transition: 0.3s; }
.navigation__link:hover span i { color: var(--wiz-gold-light); transform: scale(1.2); }

/* Dropdowns */
.navigation__drop-box { position: absolute; top: 100%; left: 0; min-width: 220px; display: none; z-index: 2000; }
.navigation__drop-box-items {
    background: rgba(15, 12, 20, 0.98);
    border: 1px solid var(--wiz-gold); border-top: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.9);
    border-radius: 0 0 5px 5px;
    overflow: hidden; display: flex; flex-direction: column;
}
.navigation__drop-box-items a {
    color: #bbb !important; font-family: var(--font-ui); font-size: 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.05); padding: 12px 15px;
    display: block; text-align: left;
}
.navigation__drop-box-items a:last-child { border-bottom: none; }
.navigation__drop-box-items a:hover {
    background: linear-gradient(90deg, var(--wiz-purple-dark), transparent);
    color: var(--wiz-gold-light) !important; padding-left: 20px; border-left: 3px solid var(--wiz-gold);
}

/* Botão Login Nav */
.hp-btn {
    border: 1px solid #9c5ab8;
    background: linear-gradient(180deg, #723e89 0%, #4a245e 100%);
    color: #fff !important;
    font-family: var(--font-ui);
    text-transform: uppercase; font-weight: bold;
    padding: 8px 20px; border-radius: 4px;
    box-shadow: 0 4px 0 #2a1535;
}
.hp-btn:hover {
    background: linear-gradient(180deg, #8a4ba5 0%, #5e2e77 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #2a1535, 0 0 15px rgba(114, 62, 137, 0.6);
}

/* Mobile Nav */
.navigation__nav-button { color: var(--wiz-gold); font-size: 1.5rem; cursor: pointer; display: none; border: 1px solid var(--wiz-gold); padding: 5px 10px; border-radius: 4px; }
.m-nav { display: none; background: var(--wiz-dark); border-right: 2px solid var(--wiz-gold); height: 100vh; position: fixed; top: 0; left: 0; width: 280px; z-index: 3000; padding: 20px; }
.m-nav__link { display: block; padding: 15px; border-bottom: 1px solid #333; color: var(--wiz-gold); font-family: var(--font-ui); text-transform: uppercase; }

/* --- HEADER HERO (Layout Wizard Original) --- */
.header {
    background: radial-gradient(circle at 50% 30%, #2e1a38 0%, #000000 80%);
    border-bottom: 4px double var(--wiz-gold);
    padding: 50px 0;
    position: relative;
    overflow: visible;
    margin-bottom: 30px;
}

.header::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/dark-matter.png');
    opacity: 0.3; pointer-events: none;
}

.header__content {
    display: flex; justify-content: space-between; align-items: center;
}

/* Lado Esquerdo: Info */
.header__info { width: 45%; text-align: left; z-index: 2; }

.header__info-flag { 
    background: var(--wiz-purple); color: white; display: inline-block; 
    padding: 4px 10px; font-size: 0.75rem; border-radius: 2px; margin-bottom: 15px; 
    font-family: var(--font-ui); letter-spacing: 1px; border: 1px solid #9c5ab8;
}

.header__subtitle { 
    font-family: var(--font-ui); color: var(--wiz-purple); font-weight: bold; 
    letter-spacing: 3px; font-size: 1rem; text-transform: uppercase; margin-bottom:5px;
}

.header__title { 
    font-family: var(--font-title); font-size: 3.8rem; line-height: 1; 
    color: #fff; text-shadow: 0 5px 15px rgba(0,0,0,1); margin-bottom: 15px; 
}
.header__title span { 
    color: var(--wiz-gold); 
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.header__desc { 
    font-size: 1.1rem; line-height: 1.6; margin-bottom: 30px; 
    color: #bbb; text-shadow: 1px 1px 2px #000; max-width: 90%;
}

/* Botões Hero */
.header__buttons { display: flex; gap: 15px; flex-direction: row; }

.btn-hero {
    padding: 15px 30px; border-radius: 4px;
    font-family: var(--font-ui); font-weight: 800; text-transform: uppercase;
    cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
    transition: all 0.3s ease; font-size: 1rem; letter-spacing: 1px;
    border: 2px solid transparent;
}
.btn-hero i { margin-right: 10px; font-size: 1.2rem; }

/* Botão Primário (Dourado Original) */
.btn-hero.gold {
    background: linear-gradient(to right, #d4af37, #ffd700); 
    color: #120f18 !important; 
    border: 2px solid #fff; 
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5); 
}
.btn-hero.gold:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.8); 
    background: linear-gradient(to right, #ffd700, #fffacd);
    color: #000 !important;
}

/* Botão Secundário (Transparente Roxo) */
.btn-hero.transparent {
    background: rgba(0,0,0,0.4);
    color: #fff !important;
    border: 2px solid var(--wiz-purple);
    box-shadow: 0 0 15px rgba(114, 62, 137, 0.2);
    backdrop-filter: blur(5px);
}
.btn-hero.transparent:hover {
    transform: scale(1.05);
    background: var(--wiz-purple);
    border-color: #fff;
    box-shadow: 0 0 25px rgba(114, 62, 137, 0.6);
}

/* --- SERVERS CONTAINER (Layout 1 + 3 com cores originais) --- */
.servers-container {
    width: 52%; /* Ocupa o resto da largura */
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

/* Cartões Laterais (Online, Info) */
.server-card.small-card {
    width: 20%;
    background: rgba(20, 16, 25, 0.8);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 15px 5px;
    text-align: center;
    display: flex; flex-direction: column; justify-content: center;
    height: 140px; /* Altura fixa */
    margin-top: 30px; /* Alinhar com o meio do card grande */
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.server-card .card-icon { font-size: 2rem; color: var(--wiz-gold-dim); margin-bottom: 5px; }
.server-card .card-value { font-family: var(--font-title); font-size: 1.8rem; color: #fff; line-height: 1; }
.server-card .card-label { font-family: var(--font-ui); font-size: 0.7rem; color: #888; text-transform: uppercase; margin-top: 5px; }

/* CARD PRINCIPAL: TOP PLAYERS */
.server-card.big-card.top-players-box {
    width: 55%;
    background: rgba(18, 15, 24, 0.9); /* Fundo roxo bem escuro */
    border: 2px solid var(--wiz-gold);
    border-radius: 8px;
    padding: 20px 15px;
    text-align: center;
    position: relative;
    box-shadow: 0 0 30px rgba(114, 62, 137, 0.2);
}

.card-label-top {
    font-family: var(--font-title);
    color: var(--wiz-gold);
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 0 #000;
    border-bottom: 1px solid rgba(212,175,55,0.2);
    padding-bottom: 5px;
}

/* Estilo Top 1 */
.top-1-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.crown-icon {
    position: absolute;
    top: -25px;
    color: #ffd700;
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 2px black);
    animation: float 3s ease-in-out infinite;
}

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

.top-1-outfit {
    width: 80px; height: 80px;
    border-radius: 50%;
    /* Gradiente Roxo em vez de vermelho */
    background: radial-gradient(circle, #4a245e, #000);
    border: 3px solid #ffd700;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 20px rgba(114, 62, 137, 0.5);
    margin-bottom: 5px;
}
.top-1-outfit img { margin-top: -15px; margin-left: -15px; transform: scale(1.2); }

.top-1-name { font-family: var(--font-ui); font-weight: bold; font-size: 1.1rem; color: #fff; }
.top-1-level { font-family: var(--font-main); font-size: 0.9rem; color: var(--wiz-gold); }

/* Estilo Top 2-4 (Linha de baixo) */
.top-others-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 15px;
}

.top-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
}

.top-mini-rank { font-size: 0.7rem; color: #666; margin-bottom: 2px; font-family: var(--font-ui); }

.top-mini-outfit {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    border: 1px solid #555;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 3px;
}
.top-mini-outfit img { margin-top: -10px; margin-left: -10px; }

.top-mini-info .name { display: block; font-size: 0.7rem; color: #ccc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60px; }
.top-mini-info .level { display: block; font-size: 0.65rem; color: var(--wiz-gold-dim); }

/* --- MEDIA QUERIES --- */
@media (max-width: 900px) {
    .navigation__links, .navigation__login { display: none; } 
    .navigation__nav-button { display: flex; margin-left: auto; }
    .header__content { flex-direction: column; text-align: center; }
    .header__info { width: 100%; margin-bottom: 40px; text-align: center; }
    .header__buttons { justify-content: center; }
    
    .servers-container { width: 100%; flex-wrap: wrap; justify-content: center; }
    .server-card.small-card { width: 45%; margin-top: 0; order: 2; }
    .server-card.big-card { width: 100%; order: 1; margin-bottom: 20px; }
}

/* --- LAYOUT GERAL (Znote) --- */
.main { width: 100%; max-width: 1220px; margin: 2rem auto; z-index: 1; }
.leftPane, .rightPane, .topPane { background: var(--wiz-panel); border: 1px solid var(--border); border-radius: 6px; padding: 15px; margin-bottom: 20px; }
.leftPane { width: 69%; float: left; } .rightPane { width: 30%; float: right; }
table { width: 100%; border-collapse: collapse; margin-bottom: 15px; }
td, th { padding: 10px; border-bottom: 1px solid var(--border); }
th { color: var(--wiz-gold); font-family: var(--font-ui); text-align: left; }
input, select, textarea { width: 100%; background: rgba(0,0,0,0.5); border: 1px solid #444; color: #fff; padding: 10px; border-radius: 4px; }
.btn { background-image: none; border-radius: 4px; text-transform: uppercase; font-weight: bold; }
.btn.yellow { background: linear-gradient(180deg, #723e89 0%, #4a245e 100%); border: 1px solid #9c5ab8; color: #fff; }
.btn.yellow:hover { background: linear-gradient(180deg, #8a4ba5 0%, #5e2e77 100%); }

/* --- BOTÕES --- */
.btn, button, input[type="submit"] {
    padding: 10px 20px; border-radius: 4px; font-family: var(--font-ui); font-weight: bold;
    text-transform: uppercase; cursor: pointer; border: 1px solid #9c5ab8;
    background: linear-gradient(180deg, #723e89 0%, #4a245e 100%);
    color: #fff !important; text-shadow: 1px 1px 2px black; box-shadow: 0 4px 0 #2a1535;
    transition: all 0.2s ease; display: inline-flex; align-items: center; justify-content: center; letter-spacing: 1px;
}
.btn:hover, button:hover, input[type="submit"]:hover {
    background: linear-gradient(180deg, #8a4ba5 0%, #5e2e77 100%);
    transform: translateY(-2px); box-shadow: 0 6px 0 #2a1535, 0 0 15px rgba(114, 62, 137, 0.6); border-color: #fff;
}
.btn:active, button:active, input[type="submit"]:active { transform: translateY(2px); box-shadow: 0 2px 0 #2a1535; }
.btn.yellow.navigation__login { margin-left: auto; }

.aside-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
    padding: 0 10px;
}


.aside-title {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--wiz-gold);
    text-align: center;
    border-bottom: 1px solid var(--wiz-gold-dim);
    padding-bottom: 10px;
    margin-bottom: 5px;
}
.aside-title span { color: var(--wiz-purple); }

/* Mega Card: Banners da Sidebar */
.mega-bonus-card {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(30, 24, 35, 0.95), rgba(10, 8, 12, 0.95));
    border: 1px solid var(--wiz-gold-dim);
    border-left: 4px solid var(--wiz-gold);
    padding: 20px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    text-decoration: none !important;
}

.mega-bonus-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.05), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.mega-bonus-card:hover {
    transform: scale(1.03) translateX(5px);
    border-color: var(--wiz-gold-light);
    box-shadow: 0 10px 25px rgba(114, 62, 137, 0.3);
}

.mega-bonus-card:hover::before { transform: translateX(100%); }

.mega-icon-box {
    width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    color: var(--wiz-gold);
    background: radial-gradient(circle, rgba(114, 62, 137, 0.3), transparent);
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
    transition: 0.4s;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.mega-bonus-card:hover .mega-icon-box {
    background: var(--wiz-gold);
    color: #000;
    transform: rotate(360deg);
    box-shadow: 0 0 15px var(--wiz-gold);
}

.mega-text-box { flex: 1; }

.mega-title {
    font-family: var(--font-ui);
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 1px;
}
.mega-title span { color: var(--wiz-gold-light); }

.mega-desc {
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    color: #aaa;
    line-height: 1.3;
}

/* Discord Widget Visual */
.discord-widget {
    background: #5865F2; /* Cor oficial do Discord */
    border-radius: 6px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    font-family: 'Roboto', sans-serif;
    transition: 0.3s;
    margin-top: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.3);
}
.discord-widget:hover {
    background: #4752c4;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.5);
}
.discord-info { display: flex; align-items: center; gap: 10px; }
.discord-logo { font-size: 2rem; }
.discord-text span { display: block; font-size: 0.75rem; opacity: 0.8; }
.discord-text strong { display: block; font-size: 1rem; font-weight: bold; }
.discord-btn {
    background: white; color: #5865F2;
    padding: 5px 12px; border-radius: 20px;
    font-size: 0.8rem; font-weight: bold;
    text-transform: uppercase;
}

/* --- FOOTER --- */
.footer {
    width: 100%; margin-top: 50px; border-top: 1px solid var(--wiz-gold-dim);
    background: linear-gradient(0deg, #050406 0%, #15101a 100%);
    position: relative; padding: 60px 0 30px 0;
    box-shadow: 0 -10px 50px rgba(0,0,0,0.8);
}
.footer::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 60%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--wiz-gold), transparent);
    box-shadow: 0 0 15px var(--wiz-gold);
}

.footer__container {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px;
}
.footer__title {
    font-family: var(--font-title); font-size: 2.5rem; color: var(--wiz-gold);
    text-shadow: 0 2px 0 #000; margin-bottom: 0px;
}
.footer__subtitle {
    font-family: var(--font-ui); color: var(--wiz-purple); letter-spacing: 5px; text-transform: uppercase; font-size: 0.8rem;
}
.footer__links {
    display: flex; gap: 30px; margin: 30px 0; flex-wrap: wrap; justify-content: center;
}
.footer__links a {
    color: #888; font-family: var(--font-ui); font-size: 0.9rem; text-transform: uppercase;
    position: relative; font-weight: bold; transition: 0.3s;
}
.footer__links a:hover { color: var(--wiz-gold-light); transform: translateY(-2px); text-shadow: 0 0 10px rgba(255,215,0,0.5); }

.footer__cpr { color: #555; font-size: 0.8rem; line-height: 1.6; font-family: 'Roboto', sans-serif; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; width: 100%; text-align: center; }
.footer__cpr span { color: var(--wiz-gold-dim); }


/* ==========================================================================
   --- ESTILOS DO CRIADOR DE PERSONAGEM (CHARACTER CREATOR) ---
   ========================================================================== */

:root {
    /* Mapeamento de variáveis do Criador para o Tema Principal */
    --wizard-gold: var(--wiz-gold);
    --wizard-gold-bright: var(--wiz-gold-light);
    --wizard-dark: var(--wiz-dark);
    --wizard-parchment: #251f28; 
    --wizard-accent: var(--wiz-purple); 
    --wizard-accent-light: #9d5bb5;
    --wizard-text: var(--wiz-text);
}

.char-creator-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    background: radial-gradient(circle at center, #1e1823, #0a080c);
    padding: 30px;
    border-radius: 12px;
    color: var(--wizard-text);
    font-family: var(--font-main);
    border: 4px double var(--wizard-gold);
    box-shadow: 0 0 20px rgba(0,0,0,0.8), inset 0 0 50px rgba(0,0,0,0.5);
    position: relative;
    margin-top: 20px;
}

/* HEADER DO CRIADOR */
.wizard-header-wrapper {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding: 15px 0;
    background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(37, 31, 40, 0.6) 50%, rgba(0,0,0,0) 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.wizard-title {
    font-family: var(--font-title);
    color: var(--wizard-gold);
    font-size: 3rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 0 #000, 0 0 15px rgba(212, 175, 55, 0.3);
}

.wizard-title::before, .wizard-title::after {
    content: '✦';
    color: var(--wizard-accent-light);
    font-size: 1.5rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}
.wizard-title::before { left: -30px; }
.wizard-title::after { right: -30px; }

.wizard-subtitle {
    font-family: var(--font-ui);
    color: var(--wizard-accent-light);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-top: 5px;
    opacity: 0.9;
    text-shadow: 1px 1px 2px black;
}

/* PREVIEW BOX (ESPELHO) */
.char-preview-box {
    flex: 1;
    min-width: 300px;
    background: url('layout/images/mirror_bg_dark.png') no-repeat center center, #000;
    background-size: cover;
    border: 4px solid #3e3e3e;
    border-image: linear-gradient(180deg, var(--wizard-gold), #3e2e12) 1;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 450px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 50px #000, 0 5px 15px rgba(0,0,0,0.5);
}

.char-preview-box::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 50%, transparent 100%);
    pointer-events: none;
}

.preview-stage {
    position: relative;
    width: 128px; height: 128px;
    margin-top: 20px;
    transform: scale(2.5); 
    image-rendering: pixelated;
    z-index: 5;
}

.preview-layer {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.char-name-display {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: bold;
    color: var(--wizard-gold-bright);
    text-shadow: 2px 2px 0px #000, 0 0 10px rgba(255, 215, 0, 0.4);
    margin-top: 40px;
    z-index: 10;
    text-align: center;
    padding: 0 10px;
}

/* CONTROLS BOX */
.char-controls-box {
    flex: 2;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.control-group {
    background: rgba(18, 15, 24, 0.6);
    padding: 15px;
    border-radius: 4px;
    border: 1px solid rgba(114, 62, 137, 0.3);
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.control-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-ui);
    font-size: 1.1rem;
    color: var(--wizard-gold);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding-bottom: 5px;
}

/* Inputs Gerais (Override do CSS Global para este form) */
.char-creator-container input[type="text"], 
.char-creator-container .input-text {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid #444;
    color: var(--wizard-gold);
    font-family: var(--font-main);
    border-radius: 4px;
    font-size: 1.2rem;
    transition: border 0.3s;
}
.char-creator-container input[type="text"]:focus,
.char-creator-container .input-text:focus {
    outline: none;
    border-color: var(--wizard-accent);
    box-shadow: 0 0 8px rgba(114, 62, 137, 0.3);
}

/* VISUAL GRID (Botões de seleção) */
.visual-grid { display: flex; gap: 12px; flex-wrap: wrap; }

.visual-option {
    width: 70px; height: 70px;
    background: #1a1a1a;
    border: 2px solid #444;
    border-radius: 6px;
    cursor: pointer;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    transition: all 0.2s;
    position: relative;
}
.visual-option:hover { 
    border-color: var(--wizard-accent-light); 
    transform: translateY(-3px); 
    background: #251f28;
}
.visual-option.selected {
    border-color: var(--wizard-gold);
    background: radial-gradient(circle, #3a2a0d, #120f18);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}
.visual-option.selected::after {
    content: '✦'; position: absolute; top: 2px; right: 4px;
    color: var(--wizard-gold); font-size: 10px;
}
.visual-option img { max-width: 48px; max-height: 48px; filter: drop-shadow(0 2px 2px rgba(0,0,0,0.8)); }
.visual-option span { font-size: 0.7rem; margin-top: 4px; text-align: center; color: #aaa; }

/* SKIN CIRCLES */
.skin-option { width: 50px; height: 50px; border-radius: 50%; border: 2px solid #555; transition: transform 0.2s; }
.skin-option:hover { transform: scale(1.05); border-color: #888; }
.skin-option.selected { border: 3px solid var(--wizard-gold); transform: scale(1.1); box-shadow: 0 0 10px rgba(0,0,0,0.5); }

/* Botão de Submit (Overrides específico) */
.char-creator-container .submit-btn {
    width: 100%; padding: 18px;
    background: linear-gradient(180deg, #723e89 0%, #4a245e 100%);
    color: #fff; 
    border: 1px solid #9c5ab8; 
    border-radius: 4px;
    font-family: var(--font-title); 
    font-size: 1.6rem;
    cursor: pointer; 
    text-transform: uppercase; 
    letter-spacing: 2px;
    margin-top: 20px; 
    transition: all 0.3s;
    box-shadow: 0 4px 0 #2a1535, 0 5px 10px rgba(0,0,0,0.3);
    text-shadow: 1px 1px 2px black;
    position: relative;
    overflow: hidden;
}
.char-creator-container .submit-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}
.char-creator-container .submit-btn:hover::before { left: 100%; }
.char-creator-container .submit-btn:hover {
    background: linear-gradient(180deg, #8a4ba5 0%, #5e2e77 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #2a1535, 0 0 20px rgba(114, 62, 137, 0.4);
}
.char-creator-container .submit-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #2a1535;
}



.mega-bonus-card {
    width: calc(33.333% - 20px);
    min-width: 240px;
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 0 10px #00000033;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.2s;
}

.mega-bonus-card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 15px #d4af37;
}

.mega-icon-box i {
    font-size: 28px;
    color: gold;
}

.mega-text-box {
    flex: 1;
}

.mega-title {
    font-weight: bold;
    font-size: 14px;
    color: #ffd700;
    text-transform: uppercase;
}

.mega-title span {
    color: #c77dff;
}

.mega-desc {
    font-size: 12px;
    color: #ccc;
}


/* Mensagens do Servidor */
.server-message { padding: 15px; margin-bottom: 20px; border-radius: 5px; text-align: center; font-family: var(--font-ui); font-weight: bold; }
.msg-error { background: rgba(60, 14, 14, 0.9); color: #ffadad; border: 1px solid #801f1f; }
.msg-success { background: rgba(11, 41, 20, 0.9); color: #9dffb3; border: 1px solid #1b5e2f; }
.hidden-inputs { display: none; }