/* Spell detail page - dark theme */
.spell-page-header {
    background: var(--bg-surface-elevated);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    margin-bottom: 30px;
    color: var(--text-primary);
}

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

.spell-image {
    width: 96px;
    height: 96px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.spell-title {
    flex: 1;
}

.spell-title h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-heading);
    border: none;
    text-align: left;
}

.spell-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-top: 5px;
}

/* Heroes with this ability section */
.spell-heroes-section {
    background: var(--bg-surface-elevated);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--card-shadow);
    margin-bottom: 25px;
}

.spell-heroes-section h3 {
    margin: 0 0 18px 0;
    font-size: 20px;
    color: var(--text-heading);
    border: none;
}

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

.spell-hero-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-surface);
    border: 1px solid var(--border-primary);
    border-radius: 10px;
    padding: 10px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.spell-hero-card:hover {
    border-color: var(--accent);
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.spell-hero-card img {
    width: 48px;
    height: 27px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.spell-hero-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

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

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