/* Spell detail page — dota1x6 chrome */
.spell-page-header {
    background: var(--color-bg-base, #0a1823);
    padding: 24px 28px;
    border-radius: 2px;
    box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.85),
                inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    margin-bottom: 24px;
    color: var(--color-text-default);
}

.spell-main-info {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 20px;
}

.spell-image {
    width: 96px;
    height: 96px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.55);
}

.spell-title {
    flex: 1;
}

.spell-title h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-text-strong);
    border: none;
    text-align: left;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}

.spell-subtitle {
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--color-text-muted);
    margin-top: 6px;
}

/* Heroes with this ability section */
.spell-heroes-section {
    background: var(--color-bg-base);
    border-radius: 2px;
    padding: 22px 24px;
    box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.85),
                inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    margin-bottom: 24px;
}

.spell-heroes-section h3 {
    margin: 0 0 16px 0;
    padding-bottom: 10px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-strong);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}
.spell-heroes-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 36px;
    height: 2px;
    background: var(--color-primary-500);
}

.spell-heroes-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.spell-hero-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(8, 16, 21, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    padding: 8px 12px;
    transition: border-color 200ms, box-shadow 200ms, transform 200ms;
    text-decoration: none !important;
    color: inherit;
}

.spell-hero-card:hover {
    border-color: rgba(251, 140, 7, 0.55);
    box-shadow: 0 0 14px -2px rgba(251, 140, 7, 0.35);
    transform: translateY(-1px);
}

.spell-hero-card img {
    width: 56px;
    height: 32px;
    border-radius: 2px;
    object-fit: cover;
    flex-shrink: 0;
}

.spell-hero-name {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-strong);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .spell-main-info {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .spell-heroes-list {
        justify-content: center;
    }
}
