.home-page {
    width: 100%;
}

.home-container {
    width: calc(100% - 48px);
    max-width: 1900px;
    margin: 0 auto;
    padding: 36px 0 90px;
}

.home-eyebrow {
    display: block;
    color: #9b6cff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.home-arrowverse {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    background: #101720;
    border: 1px solid #26313f;
    border-radius: 18px;
}

.home-arrowverse-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-arrowverse-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(7, 11, 16, .98) 0%, rgba(7, 11, 16, .91) 32%, rgba(7, 11, 16, .48) 65%, rgba(7, 11, 16, .15) 100%), linear-gradient( 0deg, rgba(7, 11, 16, .65) 0%, transparent 55%);
}

.home-arrowverse-content {
    position: relative;
    z-index: 2;
    width: min(610px, 55%);
    min-height: 430px;
    padding: 52px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}

.home-arrowverse h1 {
    margin: 8px 0 0;
    color: #ffffff;
    font-size: clamp(42px, 4vw, 65px);
    line-height: .98;
    letter-spacing: -2px;
}

.home-arrowverse-episode {
    margin-top: 17px;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}

.home-arrowverse-episode strong {
    color: #ffffff;
    font-size: 17px;
}

.home-arrowverse-episode span {
    color: #a7b0bc;
    font-size: 15px;
}

.home-arrowverse-meta {
    margin-top: 15px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.home-arrowverse-meta span {
    min-height: 30px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(9, 14, 20, .72);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 7px;
    color: #929eac;
    font-size: 10px;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.home-arrowverse-meta i {
    color: #9b6cff;
}

.home-arrowverse-progress {
    width: 100%;
    max-width: 450px;
    margin-top: 25px;
}

.home-arrowverse-progress-head {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.home-arrowverse-progress-head span {
    color: #8793a2;
    font-size: 10px;
    font-weight: 700;
}

.home-arrowverse-progress-head strong {
    color: #ffffff;
    font-size: 10px;
}

.home-progress {
    width: 100%;
    height: 6px;
    overflow: hidden;
    background: rgba(255, 255, 255, .11);
    border-radius: 999px;
}

.home-progress div {
    height: 100%;
    background: #8b5cf6;
    border-radius: inherit;
}

.home-primary-link {
    min-height: 42px;
    margin-top: 23px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: #8b5cf6;
    border-radius: 8px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .15s ease, background .15s ease;
}

.home-primary-link:hover {
    background: #9b6cff;
    transform: translateY(-1px);
}

.home-section {
    margin-top: 42px;
}

.home-section-head {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.home-section-head h2 {
    margin: 5px 0 0;
    color: #ffffff;
    font-size: 25px;
    line-height: 1;
    letter-spacing: -.5px;
}

.home-section-head>a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #7e8b9b;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
    transition: color .15s ease;
}

.home-section-head>a:hover {
    color: #b49aff;
}

.home-releases {
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(250px, 1fr));
    gap: 10px;
}

.home-release {
    position: relative;
    min-width: 0;
    min-height: 92px;
    padding: 9px;
    display: grid;
    grid-template-columns: auto 51px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    background: #101720;
    border: 1px solid #26313f;
    border-radius: 10px;
    color: inherit;
    text-decoration: none;
    transition: border-color .15s ease, transform .15s ease, background .15s ease;
}

.home-release:hover {
    background: #121a24;
    border-color: #495668;
    transform: translateY(-2px);
}

.home-release.today {
    background: rgba(139, 92, 246, .07);
    border-color: rgba(139, 92, 246, .45);
}

.home-release-date {
    width: 61px;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    border-right: 1px solid #27313d;
    text-align: center;
}

.home-release-date span {
    color: #8491a1;
    font-size: 8px;
    font-weight: 800;
}

.home-release-date strong {
    color: #a98bff;
    font-size: 7px;
    text-transform: uppercase;
}

.home-release-poster {
    width: 51px;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #080d12;
    border-radius: 5px;
}

.home-release-poster img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.home-release-info {
    min-width: 0;
}

.home-release-info strong {
    display: block;
    overflow: hidden;
    color: #ffffff;
    font-size: 11px;
    line-height: 1.35;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.home-release-info span {
    margin-top: 5px;
    display: -webkit-box;
    overflow: hidden;
    color: #778494;
    font-size: 9px;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.home-release-batch {
    position: absolute;
    top: 7px;
    right: 7px;
    min-width: 24px;
    height: 21px;
    padding: 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: #8b5cf6;
    border-radius: 5px;
    color: #ffffff;
    font-size: 7px;
    font-weight: 900;
}

.home-empty {
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: #101720;
    border: 1px solid #26313f;
    border-radius: 11px;
    color: #758293;
    font-size: 11px;
}

.home-empty i {
    color: #9b6cff;
    font-size: 16px;
}

.home-recent {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 11px;
}

.home-recent-card {
    min-width: 0;
    overflow: hidden;
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    background: #101720;
    border: 1px solid #26313f;
    border-radius: 10px;
    color: inherit;
    text-decoration: none;
    transition: border-color .15s ease, transform .15s ease;
}

.home-recent-card:hover {
    border-color: #495668;
    transform: translateY(-2px);
}

.home-recent-image {
    width: 120px;
    min-height: 76px;
    background: #080d12;
}

.home-recent-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.home-recent-info {
    min-width: 0;
    padding: 12px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.home-recent-info strong {
    display: block;
    overflow: hidden;
    color: #ffffff;
    font-size: 11px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.home-recent-info span {
    margin-top: 4px;
    color: #a18aff;
    font-size: 9px;
    font-weight: 800;
}

.home-recent-info small {
    margin-top: 8px;
    color: #6f7d8d;
    font-size: 8px;
}

.home-dashboard {
    margin-top: 42px;
    display: block;
}

.home-dashboard-main {
    min-width: 0;
}

.home-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
}

.home-stats article {
    min-width: 0;
    min-height: 135px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    background: #101720;
    border: 1px solid #26313f;
    border-radius: 10px;
}

.home-stats article>i {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, .1);
    border-radius: 8px;
    color: #9b6cff;
    font-size: 12px;
}

.home-stats article span {
    margin-top: auto;
    color: #758293;
    font-size: 8px;
    font-weight: 700;
}

.home-stats article strong {
    margin-top: 5px;
    overflow: hidden;
    color: #ffffff;
    font-size: clamp(15px, 1.25vw, 22px);
    line-height: 1.1;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.home-binge {
    position: relative;
    min-width: 0;
    min-height: 135px;
    overflow: hidden;
    display: block;
    background: #101720;
    border: 1px solid #26313f;
    border-radius: 10px;
    color: inherit;
    text-decoration: none;
    transition: border-color .15s ease, transform .15s ease;
}

.home-binge:hover {
    border-color: #495668;
    transform: translateY(-2px);
}

.home-binge>img {
    position: absolute;
    top: 0;
    right: 0;
    width: 58%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.home-binge-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #101720 0%, #101720 35%, rgba(16, 23, 32, .92) 48%, rgba(16, 23, 32, .3) 100%);
}

.home-binge-content {
    position: relative;
    z-index: 2;
    min-height: 135px;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.home-binge h3 {
    margin: 5px 0 0;
    overflow: hidden;
    color: #fff;
    font-size: 18px;
    line-height: 1.15;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.home-binge-stats {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    gap: 18px;
}

.home-binge-stats span {
    color: #7f8c9b;
    font-size: 8px;
}

.home-binge-stats strong {
    display: block;
    margin-bottom: 2px;
    color: #fff;
    font-size: 15px;
}

.home-binge-content small {
    margin-top: 7px;
    color: #7b8898;
    font-size: 8px;
}

.home-heatmap-section {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.home-heatmap-section .home-section-head {
    margin-bottom: 16px;
}

.home-heatmap {
    display: grid;
    grid-template-rows: repeat(7, 14px);
    grid-auto-flow: column;
    grid-auto-columns: 14px;
    gap: 4px;
    width: max-content;
}

.home-heatmap-day {
    width: 14px;
    height: 14px;
    background: #202a35;
    border-radius: 3px;
}

.home-heatmap-day.level-1 {
    background: rgba(139, 92, 246, .3);
}

.home-heatmap-day.level-2 {
    background: rgba(139, 92, 246, .5);
}

.home-heatmap-day.level-3 {
    background: rgba(139, 92, 246, .72);
}

.home-heatmap-day.level-4 {
    background: #9b6cff;
}

.home-shortcuts {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 9px;
}

.home-shortcuts a {
    min-width: 0;
    min-height: 88px;
    padding: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 9px;
    background: #101720;
    border: 1px solid #26313f;
    border-radius: 10px;
    color: #8a97a7;
    text-align: center;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}

.home-shortcuts a:hover {
    background: rgba(139, 92, 246, .07);
    border-color: rgba(139, 92, 246, .45);
    color: #ffffff;
    transform: translateY(-2px);
}

.home-shortcuts i {
    color: #9b6cff;
    font-size: 17px;
}

.home-shortcuts span {
    overflow: hidden;
    font-size: 9px;
    font-weight: 800;
    white-space: nowrap;
    text-overflow: ellipsis;
}

@media (min-width: 2000px) {
    .home-container {
        max-width: none;
    }
    .home-recent {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    .home-recent-card:nth-child(n+6) {
        display: none;
    }
}

@media (max-width: 1350px) {
    .home-recent {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .home-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .home-shortcuts {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1050px) {
    .home-arrowverse-content {
        width: 70%;
    }
    .home-dashboard {
        grid-template-columns: 1fr;
    }
    .home-binge {
        min-height: 210px;
    }
    .home-binge-content {
        min-height: 210px;
    }
}

@media (max-width: 750px) {
    .home-container {
        width: calc(100% - 24px);
        padding: 22px 0 60px;
    }
    .home-arrowverse {
        min-height: 460px;
    }
    .home-arrowverse-bg {
        height: 52%;
    }
    .home-arrowverse-overlay {
        background: linear-gradient( 0deg, #080d12 0%, #080d12 48%, rgba(8, 13, 18, .35) 75%, rgba(8, 13, 18, .1) 100%);
    }
    .home-arrowverse-content {
        width: 100%;
        min-height: 460px;
        padding: 215px 22px 24px;
        justify-content: flex-end;
    }
    .home-arrowverse h1 {
        font-size: 39px;
    }
    .home-arrowverse-progress {
        max-width: none;
    }
    .home-section {
        margin-top: 32px;
    }
    .home-section-head {
        align-items: flex-start;
    }
    .home-section-head h2 {
        font-size: 22px;
    }
    .home-releases {
        grid-template-columns: 1fr;
    }
    .home-recent {
        grid-template-columns: 1fr;
    }
    .home-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .home-shortcuts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .home-heatmap-section {
        padding: 16px;
    }
}

@media (max-width: 450px) {
    .home-arrowverse-content {
        padding-left: 17px;
        padding-right: 17px;
    }
    .home-arrowverse-meta span {
        font-size: 9px;
    }
    .home-recent-card {
        grid-template-columns: 105px minmax(0, 1fr);
    }
    .home-recent-image {
        width: 105px;
    }
    .home-stats {
        grid-template-columns: 1fr 1fr;
    }
    .home-stats article {
        min-height: 120px;
    }
    .home-stats article strong {
        font-size: 16px;
    }
    .home-section-head>a {
        font-size: 0;
    }
    .home-section-head>a i {
        font-size: 11px;
    }
}