/* ARCHETYPES (ARQUETIPOS) STYLES */

.char-hero {
    position: relative;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.char-hero .parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #000 0%, transparent 100%);
    z-index: 2;
}

.char-hero-content {
    position: relative;
    z-index: 3;
    font-family: var(--font-title);
}

.archetype-tag {
    display: block;
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.char-title-large {
    font-size: 4rem;
    color: #fff;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

.char-subtitle {
    color: #ccc;
    font-style: italic;
    font-size: 1.1rem;
}

/* CHAR CONTAINER */
.char-container {
    max-width: 1200px;
    margin: -80px auto 0;
    padding: 0 2rem 8rem;
    position: relative;
    z-index: 10;
}

.char-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.char-visual-col .img-placeholder {
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.char-visual-col img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.8));
}

.tcg-card-frame {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: perspective(1000px) rotateY(-5deg);
}

.tcg-card-frame:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* STATS PANEL */
.stats-panel {
    font-family: var(--font-title);
    border: 1px solid var(--gold-dim);
    background: rgba(11, 11, 11, 0.95);
    padding: 3rem;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.stats-panel h3 {
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 2rem;
    font-size: 0.8rem;
    border-bottom: 1px solid #222;
    padding-bottom: 1rem;
}

.tcg-stats-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.stat-orb {
    width: 90px;
    height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid #333;
    border-radius: 50%;
    background: #050505;
    transition: 0.3s;
}

.stat-orb:hover {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(200, 170, 110, 0.2);
}

.orb-val {
    font-size: 2rem;
    color: #fff;
    display: block;
}

.orb-label {
    font-size: 0.55rem;
    color: #666;
    letter-spacing: 1px;
    line-height: 1.2;
}

.separator-gold {
    height: 1px;
    background: var(--tech-gold);
    margin: 40px 0;
    opacity: 0.2;
}

.ability-box {
    margin-top: 2rem;
    border-left: 3px solid var(--gold);
    padding: 1.5rem;
    background: rgba(5, 5, 5, 0.6);
    border-radius: 0 8px 8px 0;
}

.ability-box h4 {
    color: var(--gold);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.ability-box p {
    font-family: var(--font-body);
    color: #bbb;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* RPG BARS */
.rpg-bars {
    margin-top: 2rem;
}

.bar-group {
    margin-bottom: 1.5rem;
}

.bar-group label {
    color: #666;
    font-size: 0.75rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.progress-track {
    background: #111;
    height: 6px;
    border: 1px solid #222;
}

.progress-fill {
    height: 100%;
    transition: width 1s ease-in-out;
}

/* LORE SECTION */
.char-lore-section {
    margin-top: 6rem;
}

.lore-paper {
    background: #080808;
    border: 1px solid #222;
    padding: 4rem;
    font-family: var(--font-body);
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.lore-paper h3 {
    font-family: var(--font-title);
    color: var(--gold);
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1rem;
}

.lore-content {
    color: #aaa;
    line-height: 2;
    text-align: justify;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

.signature {
    text-align: right;
    margin-top: 4rem;
    color: #444;
    font-style: italic;
    border-top: 1px solid #1a1a1a;
    padding-top: 1.5rem;
    font-family: var(--font-title);
    font-size: 0.8rem;
}

.char-footer-action {
    text-align: center;
    margin-top: 6rem;
    margin-bottom: 4rem;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .char-hero {
        height: 50vh;
    }

    .char-title-large {
        font-size: 2.5rem;
    }

    .char-subtitle {
        font-size: 0.9rem;
    }

    .char-container {
        margin-top: -40px;
        padding: 0 1rem 6rem;
    }

    .char-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tcg-card-frame {
        transform: none;
    }

    .char-visual-col .img-placeholder {
        height: 60vh;
        max-height: 450px;
    }

    .stats-panel {
        padding: 2rem 1.5rem;
    }

    .tcg-stats-row {
        gap: 1rem;
    }

    .stat-orb {
        width: 80px;
        height: 80px;
    }

    .orb-val {
        font-size: 1.6rem;
    }

    .lore-paper {
        padding: 2.5rem 1.5rem;
    }

    .lore-content {
        font-size: 1rem;
        line-height: 1.8;
    }
}
