/* ── HERO ── */
.guia-hero {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 2.5rem;
    min-height: 300px;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(135deg, rgba(60, 0, 80, 0.97) 0%, rgba(10, 0, 30, 0.99) 60%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 60px rgba(157, 0, 255, 0.25), inset 0 0 80px rgba(0, 0, 0, 0.5);
}

.guia-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/img/cartelTACONES2.jpg');
    background-size: cover;
    background-position: center top;
    opacity: 0.12;
    z-index: 0;
}

.guia-hero-content {
    padding: 2rem 2.5rem;
    z-index: 2;
    flex: 1;
    padding-bottom: 2.5rem;
}

.guia-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 900;
    background: linear-gradient(to right, #ffd700, #ff9ed2, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.05;
    margin-bottom: 0.85rem;
    text-shadow: none;
}

.guia-hero-sub {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 460px;
    line-height: 1.65;
}

.guia-hero-draq {
    position: relative;
    z-index: 2;
    height: 310px;
    margin-right: 2rem;
    filter: drop-shadow(0 0 30px rgba(255, 0, 127, 0.55)) drop-shadow(0 0 60px rgba(157, 0, 255, 0.3));
    flex-shrink: 0;
    align-self: flex-end;
}

@media (max-width: 720px) {
    .guia-hero { min-height: 200px; }
    .guia-hero-draq { height: 180px; margin-right: 0.75rem; }
    .guia-hero-content { padding: 1.25rem; padding-bottom: 1.5rem; }
}

@media (max-width: 480px) {
    .guia-hero-draq { display: none; }
}

/* ── SECCIONES ── */
.guia-section {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.guia-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-fucsia), transparent);
}

.guia-section.gold::before {
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.guia-section.purple::before {
    background: linear-gradient(90deg, transparent, #9d00ff, transparent);
}

.guia-section-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.guia-section p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

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

/* ── PASOS ── */
.step-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.step-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-num {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--accent-fucsia);
    line-height: 1;
    min-width: 28px;
    text-shadow: 0 0 10px rgba(255, 0, 127, 0.5);
}

.step-text {
    color: var(--text-muted);
    line-height: 1.6;
}

.step-text strong { color: var(--text-primary); }

/* ── DADOS ── */
.dice-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.dice-result-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0.9rem 1rem;
    text-align: center;
}

.dice-result-card .result-label {
    font-family: var(--font-display);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.3rem;
}

.dice-result-card .result-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.r-fallo { border-color: rgba(255, 60, 60, 0.3); }
.r-fallo .result-label { color: #ff6060; }

.r-coste { border-color: rgba(255, 165, 0, 0.3); }
.r-coste .result-label { color: #ffaa33; }

.r-limpio { border-color: rgba(0, 200, 100, 0.3); }
.r-limpio .result-label { color: #33dd88; }

.r-estelar { border-color: rgba(255, 215, 0, 0.4); }
.r-estelar .result-label { color: var(--accent-gold); }

.dice-img-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
}

.dice-img-wrap img {
    height: 180px;
    filter: drop-shadow(0 0 30px rgba(157, 0, 255, 0.7)) drop-shadow(0 0 10px rgba(255, 0, 127, 0.5));
    animation: dice-float 3s ease-in-out infinite;
}

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

/* ── PERFILES ── */
.perfiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.85rem;
    margin-top: 0.5rem;
}

.perfil-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1rem;
}

.perfil-card-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-fucsia);
    margin-bottom: 0.4rem;
}

.perfil-card-desc {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ── CLASES ── */
.clases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.1rem;
    margin-top: 1rem;
}

.clase-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.clase-card:hover {
    border-color: var(--accent-fucsia);
    box-shadow: 0 0 24px rgba(255, 0, 127, 0.25);
    transform: translateY(-3px);
}

.clase-card img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    margin-bottom: 0.9rem;
    filter: drop-shadow(0 0 12px rgba(255, 0, 127, 0.35));
    transition: filter 0.25s;
}

.clase-card:hover img {
    filter: drop-shadow(0 0 20px rgba(255, 0, 127, 0.55));
}

.clase-card-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.clase-card-arquetipo {
    font-size: 0.75rem;
    color: var(--accent-fucsia);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.clase-card-lema {
    font-style: italic;
    font-size: 0.82rem;
    color: var(--accent-gold);
    margin-bottom: 0.6rem;
}

.clase-card-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ── STAT PILLS ── */
.stat-pills {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.stat-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
}

.stat-pill-icon { font-size: 1.1rem; }

.stat-pill-label {
    color: var(--text-primary);
    font-weight: 600;
}

.stat-pill-desc {
    color: var(--text-muted);
    font-size: 0.78rem;
}

/* ── MAPA ── */
.mapa-wrap {
    margin-top: 1rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 0 20px rgba(157, 0, 255, 0.15);
}

.mapa-wrap img {
    width: 100%;
    display: block;
}

/* ── TIP BOX ── */
.tip-box {
    background: linear-gradient(135deg, rgba(255, 0, 127, 0.07), rgba(157, 0, 255, 0.07));
    border: 1px solid rgba(255, 0, 127, 0.25);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    margin-top: 1rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.tip-box strong { color: var(--accent-fucsia); }
