/* Artist Page Layout Redesign */

.artist-hero {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-color: var(--color-bg-secondary);
    /* Fallback */
    display: flex;
    align-items: flex-end;
    padding-bottom: var(--space-3xl);
    margin-bottom: var(--space-2xl);
}

.artist-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--color-bg-primary) 0%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    text-align: center;
}

.artist-name {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: var(--space-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.artist-meta {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
}

.meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.meta-label {
    font-size: 0.8em;
    opacity: 0.7;
}

.meta-value {
    font-weight: bold;
    color: var(--color-text-primary);
}

/* Sections */
.content-section {
    margin-bottom: var(--space-4xl);
    text-align: center;
}

.section-heading {
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: var(--space-xl);
    position: relative;
    display: inline-block;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
    text-align: right;
}

.text-content {
    text-align: right;
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--color-text-secondary);
}

.lead-bio {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--color-text-primary);
    border-right: 4px solid var(--color-accent);
    padding-right: var(--space-lg);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

.bio-text {
    white-space: pre-line;
}

/* Videos */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-xl);
    max-width: 1100px;
    margin: 0 auto;
}

.video-card {
    background: var(--color-bg-elevated);
    border-radius: 12px;
    padding: var(--space-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Year Filters */
.year-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.btn-year {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-secondary);
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
    font-size: 0.95rem;
}

.btn-year:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-primary);
}

.btn-year.active {
    background: var(--color-accent, #6366f1);
    color: #fff;
    border-color: var(--color-accent, #6366f1);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Video Badges */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.video-badges {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 5;
    pointer-events: none;
}

.badge-year, .badge-type {
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    width: fit-content;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-type.sketch { border-right: 3px solid #00f2fe; }
.badge-type.show { border-right: 3px solid #ff0080; }
.badge-type.interview { border-right: 3px solid #f9d423; }

.video-title {
    margin-top: var(--space-md);
    font-size: 1.05rem;
    color: var(--color-text-primary);
    text-align: right;
    padding-right: var(--space-xs);
    font-weight: 600;
}

/* Audio Year */
.audio-year {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

.animate-fade-in {
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}