/**
 * Series Show Page - Tokyo Futuristic Style with 3D Anaglyph
 * Series uses: Cyan (#00ffff) + Pink/Magenta (#fe2c55) - NO pure red!
 */

/* Hero Section */
.series-hero {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.95));
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    display: flex;
    align-items: flex-end;
    padding: 3rem 0;
    margin-bottom: 3rem;
    position: relative;
}

.series-hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--3d-red, #fe2c55), var(--3d-cyan, #00ffff));
}

.series-hero h1 {
    font-family: 'Exo 2', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-shadow:
        -2px 0 0 var(--3d-cyan, #00ffff),
        2px 0 0 var(--3d-red, #fe2c55),
        0 2px 15px rgba(0, 0, 0, 0.8);
}

/* Poster */
.series-poster {
    border-radius: 12px;
    box-shadow:
        -4px 0 20px rgba(0, 255, 255, 0.2),
        4px 0 20px rgba(254, 44, 85, 0.2),
        0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(254, 44, 85, 0.3);
    width: 100%;
    max-width: 300px;
}

/* Info Cards */
.info-card {
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    border: 1px solid rgba(254, 44, 85, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--3d-red, #fe2c55), transparent, var(--3d-cyan, #00ffff));
    opacity: 0.5;
}

.info-card h3 {
    font-family: 'Exo 2', sans-serif;
    color: var(--3d-red, #fe2c55);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow:
        -1px 0 0 var(--3d-cyan, #00ffff),
        1px 0 0 var(--3d-red, #fe2c55);
}

/* Category Badge */
.category-badge {
    background: rgba(254, 44, 85, 0.15);
    border: 1px solid rgba(254, 44, 85, 0.35);
    color: var(--3d-red, #fe2c55);
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-family: 'Saira', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
}

.category-badge:hover {
    background: rgba(254, 44, 85, 0.25);
    border-color: var(--3d-red, #fe2c55);
    transform: translateY(-2px);
    box-shadow:
        -2px 0 8px rgba(0, 255, 255, 0.3),
        2px 0 8px rgba(254, 44, 85, 0.3);
    color: var(--3d-red, #fe2c55);
}

/* Actor Cards */
.actor-card {
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.actor-card:hover {
    border-color: var(--3d-cyan, #00ffff);
    transform: translateY(-5px);
    box-shadow:
        -3px 0 15px rgba(0, 255, 255, 0.2),
        3px 0 15px rgba(254, 44, 85, 0.2);
}

.actor-card h6 {
    font-family: 'Saira', sans-serif;
    font-weight: 700;
}

.actor-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--3d-cyan, #00ffff), var(--3d-red, #fe2c55));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Exo 2', sans-serif;
    font-size: 1.8rem;
    margin: 0 auto 1rem;
    border: 2px solid rgba(0, 255, 255, 0.3);
    color: #000;
    font-weight: 800;
}

.actor-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 2px solid rgba(0, 255, 255, 0.3);
    display: block;
}

/* Episode Cards */
.episode-card {
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.episode-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--3d-cyan, #00ffff), var(--3d-red, #fe2c55));
}

.episode-card:hover {
    border-color: var(--3d-cyan, #00ffff);
    box-shadow:
        -2px 0 10px rgba(0, 255, 255, 0.15),
        2px 0 10px rgba(254, 44, 85, 0.15);
}

.episode-header {
    padding: 1rem;
    cursor: pointer;
    user-select: none;
}

.episode-header:hover {
    background: rgba(0, 255, 255, 0.05);
}

.episode-header h5 {
    font-family: 'Saira', sans-serif;
    font-weight: 600;
}

.episode-links {
    padding: 0 1rem 1rem 1rem;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
}

.episode-link-item {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.75rem;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.episode-link-item:hover {
    background: rgba(0, 255, 255, 0.1);
    border-color: var(--3d-cyan, #00ffff);
}

/* Badges */
.quality-badge {
    background: linear-gradient(135deg, var(--3d-cyan, #00ffff), #0088ff);
    color: black;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    font-family: 'Exo 2', sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.audio-badge {
    background: rgba(254, 44, 85, 0.2);
    border: 1px solid rgba(254, 44, 85, 0.3);
    color: var(--3d-red, #fe2c55);
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    font-family: 'Saira', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
}

.episode-number {
    background: linear-gradient(135deg, var(--3d-cyan, #00ffff), #0088ff);
    color: black;
    font-family: 'Exo 2', sans-serif;
    font-weight: 900;
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    display: inline-block;
    min-width: 70px;
    text-align: center;
}

/* Buttons */
.link-button {
    background: var(--3d-red, #fe2c55);
    color: white;
    font-family: 'Saira', sans-serif;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.link-button:hover {
    transform: translateY(-3px);
    box-shadow:
        -3px -3px 0 rgba(0, 255, 255, 0.4),
        5px 5px 0 rgba(254, 44, 85, 0.4),
        0 10px 40px rgba(254, 44, 85, 0.3);
    color: white;
}

.link-button.secondary {
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    border: 1px solid rgba(254, 44, 85, 0.3);
    color: var(--3d-red, #fe2c55);
}

.link-button.secondary:hover {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-color: var(--3d-red, #fe2c55);
    color: var(--3d-red, #fe2c55);
}

.link-button.episode {
    background: var(--3d-red, #fe2c55);
    color: white;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
}

.link-button.episode:hover {
    color: white;
    box-shadow:
        -3px -3px 0 rgba(0, 255, 255, 0.4),
        5px 5px 0 rgba(254, 44, 85, 0.4),
        0 10px 40px rgba(254, 44, 85, 0.3);
}

.back-button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-family: 'Saira', sans-serif;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--3d-red, #fe2c55);
    color: var(--3d-red, #fe2c55);
}

@media (max-width: 576px) {
    .back-button {
        width: 100%;
    }
}

/* Season Divider */
.season-divider {
    font-family: 'Exo 2', sans-serif;
    color: var(--3d-cyan, #00ffff);
    font-weight: 800;
    padding: 1rem 0;
    margin: 1.5rem 0 1rem;
    border-bottom: 2px solid rgba(0, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow:
        -1px 0 0 var(--3d-cyan, #00ffff),
        1px 0 0 var(--3d-red, #fe2c55);
}

/* External Links */
.external-links-hero a {
    text-decoration: none;
}

.external-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    font-family: 'Saira', sans-serif;
    font-weight: 800;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    transition: all .2s ease;
}

.external-pill:hover {
    transform: translateY(-2px);
    border-color: var(--3d-cyan, #00ffff);
    color: var(--3d-cyan, #00ffff);
}

/* Trailer */
.trailer-embed {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(254, 44, 85, 0.25);
    box-shadow:
        -4px 0 20px rgba(0, 255, 255, 0.15),
        4px 0 20px rgba(254, 44, 85, 0.15);
    background: #000;
}

/* Recommend Cards */
.recommend-card {
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    border: 1px solid rgba(254, 44, 85, 0.2);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: all .25s ease;
    text-decoration: none;
    display: block;
}

.recommend-card:hover {
    transform: translateY(-4px);
    border-color: var(--3d-cyan, #00ffff);
    box-shadow:
        -3px 0 15px rgba(0, 255, 255, 0.15),
        3px 0 15px rgba(254, 44, 85, 0.15);
}

.recommend-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    background: #0b0b0b;
}

.recommend-img-wrapper {
    position: relative;
    overflow: hidden;
}

.recommend-card:hover .play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.recommend-body {
    padding: 1rem;
}

.recommend-title {
    font-family: 'Saira', sans-serif;
    color: #fff;
    font-weight: 900;
    margin-bottom: 0.35rem;
    font-size: 1rem;
    line-height: 1.25;
}

.recommend-meta {
    font-family: 'Saira', sans-serif;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.recommend-mini-badge {
    background: rgba(0, 255, 255, 0.12);
    border: 1px solid rgba(0, 255, 255, 0.2);
    color: var(--3d-cyan, #00ffff);
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-family: 'Exo 2', sans-serif;
    font-weight: 800;
    font-size: 0.7rem;
}

/* Hero Meta */
.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: 'Saira', sans-serif;
    font-weight: 700;
    line-height: 1;
    backdrop-filter: blur(8px);
}

.meta-pill:hover {
    border-color: var(--3d-red, #fe2c55);
    color: var(--3d-red, #fe2c55);
    transform: translateY(-2px);
    box-shadow:
        -2px 0 8px rgba(0, 255, 255, 0.2),
        2px 0 8px rgba(254, 44, 85, 0.2);
}

/* Hero Navigation Buttons */
.back-corner-hero {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 10;
}

.back-btn-hero {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 0.6rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-family: 'Saira', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.back-btn-hero:hover {
    background: rgba(254, 44, 85, 0.3);
    border-color: var(--3d-red, #fe2c55);
    color: var(--3d-red, #fe2c55);
    transform: translateX(-3px);
    box-shadow:
        -2px 0 10px rgba(0, 255, 255, 0.3),
        2px 0 10px rgba(254, 44, 85, 0.3);
}

/* Favorite Button */
.favorite-corner-hero {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 10;
}

.favorite-btn-hero {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.3rem;
}

.favorite-btn-hero:hover {
    background: rgba(254, 44, 85, 0.3);
    border-color: var(--3d-red, #fe2c55);
    color: var(--3d-red, #fe2c55);
    transform: scale(1.1);
    box-shadow:
        -3px -3px 0 rgba(0, 255, 255, 0.4),
        5px 5px 0 rgba(254, 44, 85, 0.4),
        0 10px 40px rgba(254, 44, 85, 0.3);
}

.favorite-btn-hero.favorited {
    background: var(--3d-red, #fe2c55);
    border-color: var(--3d-red, #fe2c55);
    color: white;
}

.favorite-btn-hero.favorited:hover {
    box-shadow:
        -3px -3px 0 rgba(0, 255, 255, 0.5),
        5px 5px 0 rgba(254, 44, 85, 0.5),
        0 10px 40px rgba(254, 44, 85, 0.4);
    transform: scale(1.1);
}

.favorite-btn-hero:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
