/* ===== TEMA MONARCA DAS SOMBRAS ===== */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Inter:wght@400;600&display=swap');

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

body {
    background: #0a0a0f;
    background-image: radial-gradient(circle at 10% 20%, #1a1f2a 0%, #0a0a0f 100%);
    color: #d0d7e0;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    padding: 20px;
}

/* ===== TIPOGRAFIA DE RPG ===== */
h1, h2, h3, .hunter-title {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #00f0ff;
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.4rem; }

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== CARD (painel de caçador) ===== */
.card {
    background: rgba(18, 20, 30, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid #2a2050;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(106, 0, 255, 0.1);
    padding: 24px;
    margin-bottom: 24px;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.card:hover {
    border-color: #6a00ff;
    box-shadow: 0 12px 40px rgba(106, 0, 255, 0.2);
    transform: translateY(-2px); /* Efeito de painel holográfico */
}

/* ===== BOTÕES ===== */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.2s;
    font-size: 14px;
}
.btn-primary {
    background: linear-gradient(135deg, #6a00ff, #00f0ff);
    color: #0a0a0f;
}
.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 0 25px rgba(106, 0, 255, 0.5);
}
.btn-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
}
.btn-danger:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.4);
}
.btn-secondary {
    background: #1a1f2a;
    color: #d0d7e0;
    border: 1px solid #2a2050;
}
.btn-secondary:hover {
    background: #2a2050;
}

/* ===== ANIMAÇÕES DE AURA ===== */
@keyframes auraPulseSSS {
    0% { box-shadow: 0 0 5px rgba(0, 240, 255, 0.4); }
    50% { box-shadow: 0 0 20px rgba(0, 240, 255, 0.9); }
    100% { box-shadow: 0 0 5px rgba(0, 240, 255, 0.4); }
}

/* ===== BADGES – RANKS ===== */
.rank-SSS { 
    background: #00f0ff; 
    color: #0a0a0f; 
    font-weight: 700;
    animation: auraPulseSSS 2s infinite; 
}
.rank-SS  { background: #6a00ff; color: #d0d7e0; }
.rank-S   { background: #9d00ff; color: #d0d7e0; }
.rank-A   { background: #2a2050; color: #d0d7e0; border: 1px solid #6a00ff; }
.rank-B   { background: #1a1f2a; color: #d0d7e0; border: 1px solid #2a2050; }
.rank-C   { background: #0a0a0f; color: #d0d7e0; border: 1px solid #2a2050; }
.rank-D   { background: #2a1050; color: #d0d7e0; border: 1px solid #6a00ff; }
.rank-E   { background: #0a0a0f; color: #d0d7e0; border: 1px solid #1a1f2a; }

/* ===== INPUTS ===== */
input, select, textarea {
    background: #0a0a0f;
    border: 1px solid #2a2050;
    border-radius: 8px;
    padding: 10px 14px;
    color: #d0d7e0;
    font-size: 14px;
    width: 100%;
    transition: 0.3s;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #6a00ff;
    box-shadow: 0 0 15px rgba(106, 0, 255, 0.2);
}

/* ===== ACORDEÃO E ITENS ===== */
.accordion {
    border: 1px solid #2a2050;
    border-radius: 12px;
    margin-bottom: 10px;
}
.accordion-header {
    background: rgba(18, 20, 30, 0.5);
    padding: 14px 18px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.accordion-header:hover {
    background: rgba(106, 0, 255, 0.1);
    border-color: #6a00ff;
}
.accordion-body {
    padding: 14px 18px;
    border-top: 1px solid #2a2050;
    display: none;
}
.accordion-body.aberto { display: block; }

/* ===== TABELAS ===== */
table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    padding: 12px 8px;
    text-align: left;
    border-bottom: 1px solid #2a2050;
}
th {
    color: #00f0ff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== SCROLL ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0a0f;
}
::-webkit-scrollbar-thumb {
    background: #6a00ff;
    border-radius: 4px;
}

/* ===== TEXTAREA HOLOGRÁFICA (PADRÃO SISTEMA) ===== */
.textarea-holografica {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-family: inherit;
    font-size: 14px;
    resize: none !important;           /* Trava o redimensionamento */
    overflow-y: auto !important;       /* Habilita rolagem vertical */
    min-height: 80px;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.textarea-holografica:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue-glow);
}

/* Scrollbar personalizada (WebKit) */
.textarea-holografica::-webkit-scrollbar {
    width: 8px;
}
.textarea-holografica::-webkit-scrollbar-track {
    background: var(--bg-main);
    border-radius: 0 6px 6px 0;
    border-left: 1px solid var(--border-color);
}
.textarea-holografica::-webkit-scrollbar-thumb {
    background: var(--neon-blue);
    border-radius: 4px;
}
.textarea-holografica::-webkit-scrollbar-thumb:hover {
    box-shadow: 0 0 10px var(--neon-blue-glow);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 600px) {
    h1 { font-size: 1.8rem; }
    .card { padding: 16px; }
    .btn { font-size: 12px; padding: 8px 14px; }
}