.binge-detail-page {
    width: 100%;
}

.binge-detail-container {
    width: calc(100% - 48px);
    max-width: 1700px;
    margin: 0 auto;
    padding: 35px 0 90px;
}

.binge-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    color: #8996a6;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.binge-back:hover {
    color: #ffffff;
}

.binge-hero {
    position: relative;
    min-height: 360px;
    padding: 45px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #101720;
    border: 1px solid #26313f;
    border-radius: 17px;
}

.binge-hero-background {
    position: absolute;
    inset: 0;
}

.binge-hero-background img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: blur(2px);
    transform: scale(1.03);
    opacity: 0.27;
}

.binge-hero::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient( 90deg, rgba(8, 13, 18, 0.98) 0%, rgba(8, 13, 18, 0.88) 42%, rgba(8, 13, 18, 0.42) 100%);
}

.binge-hero::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient( to top, rgba(8, 13, 18, 0.95), transparent 70%);
}

.binge-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

.binge-eyebrow {
    display: block;
    color: #9b6cff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.6px;
}

.binge-hero h1 {
    margin: 8px 0 0;
    color: #ffffff;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1;
    letter-spacing: -2px;
}

.binge-hero-date {
    margin: 18px 0 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    color: #b4bdc8;
    font-size: 15px;
}

.binge-hero-date>i {
    color: #9b6cff;
}

.binge-hero-date>span {
    width: 4px;
    height: 4px;
    background: #596675;
    border-radius: 50%;
}

.binge-series-list {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.binge-series-list a {
    padding: 8px 11px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 22, 30, 0.82);
    border: 1px solid #34404d;
    border-radius: 8px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    backdrop-filter: blur(5px);
}

.binge-series-list a span {
    color: #9b6cff;
    font-size: 11px;
}

.binge-main-stats {
    margin-top: 15px;
    display: grid;
    grid-template-columns: repeat( 6, minmax(0, 1fr));
    gap: 12px;
}

.binge-main-stats article {
    min-width: 0;
    min-height: 110px;
    padding: 17px;
    display: flex;
    align-items: center;
    gap: 13px;
    background: #101720;
    border: 1px solid #26313f;
    border-radius: 12px;
}

.binge-main-stats article>i {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(139, 92, 246, 0.12);
    border-radius: 9px;
    color: #9b6cff;
    font-size: 16px;
}

.binge-main-stats article div {
    min-width: 0;
}

.binge-main-stats span {
    display: block;
    color: #7f8c9c;
    font-size: 11px;
}

.binge-main-stats strong {
    margin-top: 4px;
    display: block;
    overflow: hidden;
    color: #ffffff;
    font-size: 22px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.binge-detail-section {
    margin-top: 70px;
}

.section-heading {
    margin-bottom: 24px;
}

.section-heading h2 {
    margin: 7px 0 0;
    color: #ffffff;
    font-size: 35px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.section-heading p {
    margin: 9px 0 0;
    color: #7e8b9b;
    font-size: 14px;
}

.session-badges {
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(280px, 1fr));
    gap: 12px;
}

.session-badge {
    --badge-color: #c4c7ce;
    min-height: 95px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient( 135deg, color-mix( in srgb, var(--badge-color) 9%, #101720), #101720 70%);
    border: 1px solid color-mix( in srgb, var(--badge-color) 35%, #26313f);
    border-radius: 11px;
}

.session-badge-icon {
    width: 49px;
    height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: color-mix( in srgb, var(--badge-color) 12%, transparent);
    border-radius: 9px;
    font-size: 22px;
}

.session-badge strong {
    display: block;
    color: var(--badge-color);
    font-size: 15px;
}

.session-badge span {
    margin-top: 4px;
    display: block;
    color: #7e8b9b;
    font-size: 11px;
    line-height: 1.4;
}

.badge-common {
    --badge-color: #c4c7ce;
}

.badge-rare {
    --badge-color: #46cf92;
}

.badge-epic {
    --badge-color: #59a5ff;
}

.badge-legendary {
    --badge-color: #af70ff;
}

.badge-mythic {
    --badge-color: #ff8a57;
}

.badge-unique {
    --badge-color: #f14e69;
}

.series-breakdown {
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(340px, 1fr));
    gap: 12px;
}

.breakdown-serie {
    min-width: 0;
    min-height: 120px;
    padding: 12px;
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 15px;
    background: #101720;
    border: 1px solid #26313f;
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
}

.breakdown-serie:hover {
    border-color: rgba(139, 92, 246, 0.55);
}

.breakdown-poster {
    width: 70px;
    height: 96px;
    overflow: hidden;
    background: #080d12;
    border-radius: 7px;
}

.breakdown-poster img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.breakdown-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.breakdown-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.breakdown-title strong {
    overflow: hidden;
    color: #ffffff;
    font-size: 16px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.breakdown-title span {
    flex-shrink: 0;
    color: #9b6cff;
    font-size: 11px;
    font-weight: 800;
}

.breakdown-bar {
    width: 100%;
    height: 7px;
    margin-top: 13px;
    overflow: hidden;
    background: #28313c;
    border-radius: 999px;
}

.breakdown-bar div {
    height: 100%;
    background: #8b5cf6;
    border-radius: inherit;
}

.breakdown-content small {
    margin-top: 7px;
    color: #718091;
    font-size: 11px;
}

.binge-timeline {
    max-width: 1250px;
}

.timeline-episode {
    display: grid;
    grid-template-columns: 75px 34px minmax(0, 1fr);
}

.timeline-time {
    padding-top: 18px;
    text-align: right;
}

.timeline-time strong {
    display: block;
    color: #ffffff;
    font-size: 14px;
}

.timeline-time span {
    margin-top: 4px;
    display: block;
    color: #647182;
    font-size: 10px;
}

.timeline-line {
    position: relative;
    display: flex;
    justify-content: center;
}

.timeline-dot {
    position: relative;
    z-index: 2;
    width: 13px;
    height: 13px;
    margin-top: 22px;
    background: #8b5cf6;
    border: 3px solid #171f29;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #8b5cf6;
}

.timeline-stem {
    position: absolute;
    top: 32px;
    bottom: -1px;
    width: 2px;
    background: #303a47;
}

.episode-card {
    min-width: 0;
    min-height: 150px;
    margin-bottom: 13px;
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    overflow: hidden;
    background: #101720;
    border: 1px solid #26313f;
    border-radius: 13px;
}

.episode-image {
    position: relative;
    min-height: 150px;
    overflow: hidden;
    background: #080d12;
}

.episode-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.episode-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #596675;
    font-size: 30px;
}

.episode-duration {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 5px 7px;
    background: rgba(6, 10, 14, 0.88);
    border-radius: 5px;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
}

.episode-content {
    min-width: 0;
    padding: 21px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.episode-serie {
    color: #9b6cff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.episode-content h3 {
    margin: 6px 0 0;
    color: #ffffff;
    font-size: 21px;
    line-height: 1.25;
}

.episode-content h3 span {
    margin-left: 5px;
    color: #a5afbb;
    font-weight: 500;
}

.episode-times {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #5e6b7b;
    font-size: 11px;
}

.episode-times span {
    color: #8c99a8;
    font-size: 12px;
    font-weight: 700;
}

.episode-times span i {
    margin-right: 4px;
    color: #9b6cff;
}

.timeline-pause {
    display: grid;
    grid-template-columns: 75px 34px minmax(0, 1fr);
    min-height: 60px;
}

.timeline-pause-line {
    position: relative;
    display: flex;
    justify-content: center;
}

.timeline-pause-line div {
    position: absolute;
    top: -14px;
    bottom: 0;
    width: 2px;
    background: #303a47;
}

.pause-card {
    align-self: start;
    width: fit-content;
    margin: 3px 0 13px;
    padding: 9px 12px;
    display: flex;
    align-items: center;
    gap: 7px;
    background: #0d141c;
    border: 1px dashed #374351;
    border-radius: 8px;
}

.pause-card i {
    color: #9b6cff;
    font-size: 12px;
}

.pause-card span {
    color: #758293;
    font-size: 11px;
}

.pause-card strong {
    color: #c1c8d1;
    font-size: 11px;
}

.binge-detail-bottom {
    margin-top: 65px;
    padding-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid #27313d;
}

.binge-detail-bottom a {
    min-height: 44px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #101720;
    border: 1px solid #293542;
    border-radius: 8px;
    color: #b7c0ca;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.binge-detail-bottom a:hover {
    border-color: #8b5cf6;
    color: #ffffff;
}

@media (max-width: 1250px) {
    .binge-main-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 850px) {
    .binge-detail-container {
        width: calc(100% - 30px);
    }
    .binge-hero {
        min-height: 320px;
        padding: 30px;
    }
    .binge-main-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .episode-card {
        grid-template-columns: 170px minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    .binge-detail-container {
        width: calc(100% - 22px);
        padding-bottom: 60px;
    }
    .binge-hero {
        min-height: 340px;
        padding: 23px;
    }
    .binge-hero::before {
        background: rgba(8, 13, 18, 0.78);
    }
    .binge-hero h1 {
        font-size: 39px;
    }
    .binge-main-stats {
        grid-template-columns: 1fr 1fr;
    }
    .binge-main-stats article {
        min-height: 100px;
        padding: 13px;
    }
    .binge-main-stats article>i {
        display: none;
    }
    .series-breakdown {
        grid-template-columns: 1fr;
    }
    .timeline-episode {
        grid-template-columns: 55px 24px minmax(0, 1fr);
    }
    .timeline-pause {
        grid-template-columns: 55px 24px minmax(0, 1fr);
    }
    .episode-card {
        grid-template-columns: 1fr;
    }
    .episode-image {
        height: 145px;
    }
    .episode-content {
        padding: 16px;
    }
    .episode-content h3 {
        font-size: 18px;
    }
    .timeline-time strong {
        font-size: 12px;
    }
    .binge-detail-bottom {
        align-items: stretch;
        flex-direction: column;
    }
    .binge-detail-bottom a {
        width: 100%;
    }
}