/* =========================================
   PRISON BREAK — SEASON 01
   Main Stylesheet
   ========================================= */


/* ---------- RESET ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: #08090a;
    color: #f1f1f1;
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}


/* ---------- BACKGROUND ---------- */

.background {
    position: fixed;
    inset: 0;
    z-index: -10;

    background:
        linear-gradient(
            90deg,
            rgba(8, 9, 10, 0.98) 0%,
            rgba(8, 9, 10, 0.88) 45%,
            rgba(8, 9, 10, 0.94) 100%
        ),
        radial-gradient(
            circle at 75% 20%,
            rgba(150, 20, 20, 0.16),
            transparent 35%
        ),
        #08090a;
}

.background::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );

    background-size: 50px 50px;

    mask-image: linear-gradient(
        to bottom,
        black,
        transparent 80%
    );
}


/* ---------- NAVBAR ---------- */

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;

    height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 7%;

    border-bottom: 1px solid rgba(255, 255, 255, 0.07);

    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 13px;
}

.logo > span {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border: 2px solid #e9e9e9;

    font-family: "Oswald", sans-serif;
    font-size: 16px;
    font-weight: 700;

    transform: rotate(-5deg);
}

.logo strong {
    display: block;

    font-family: "Oswald", sans-serif;
    font-size: 17px;
    letter-spacing: 2px;
}

.logo small {
    display: block;

    margin-top: 2px;

    color: #888;
    font-size: 8px;
    letter-spacing: 3px;
}

.navbar nav {
    display: flex;
    gap: 35px;
}

.navbar nav a {
    position: relative;

    color: #aaa;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;

    transition: color 0.25s ease;
}

.navbar nav a::after {
    content: "";

    position: absolute;

    bottom: -9px;
    left: 0;

    width: 0;
    height: 2px;

    background: #d52828;

    transition: width 0.25s ease;
}

.navbar nav a:hover {
    color: #fff;
}

.navbar nav a:hover::after {
    width: 100%;
}


/* ---------- HERO ---------- */

.hero {
    position: relative;

    min-height: 720px;

    display: flex;
    align-items: center;

    padding: 150px 7% 100px;

    overflow: hidden;
}

.hero::after {
    content: "";

    position: absolute;

    right: -150px;
    top: 100px;

    width: 550px;
    height: 550px;

    border: 1px solid rgba(255, 255, 255, 0.06);

    border-radius: 50%;

    box-shadow:
        0 0 0 70px rgba(255, 255, 255, 0.015),
        0 0 0 140px rgba(255, 255, 255, 0.01);

    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 720px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 22px;

    color: #a7a7a7;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
}

.badge span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #d52828;

    box-shadow: 0 0 12px rgba(213, 40, 40, 0.8);
}

.hero h1 {
    font-family: "Oswald", sans-serif;

    font-size: clamp(75px, 12vw, 150px);

    line-height: 0.78;

    font-weight: 700;
    letter-spacing: -4px;

    color: #f3f3f3;

    text-shadow: 8px 8px 0 rgba(255, 255, 255, 0.025);
}

.hero h1 em {
    color: transparent;

    -webkit-text-stroke: 2px #cfcfcf;

    font-style: normal;
}

.hero-info {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-top: 35px;

    color: #aaa;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-info span:nth-child(even) {
    color: #555;
}

.hero-content > p {
    max-width: 560px;

    margin-top: 22px;

    color: #898989;

    font-size: 14px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 12px;

    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 25px;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background: #d52828;
    color: #fff;

    box-shadow: 0 10px 30px rgba(213, 40, 40, 0.18);
}

.btn-primary:hover {
    background: #ec3232;
}

.btn-secondary {
    border: 1px solid #383838;
    color: #aaa;
}

.btn-secondary:hover {
    border-color: #777;
    color: #fff;
}


/* ---------- HERO DECORATION ---------- */

.hero-decoration {
    position: absolute;

    right: 7%;
    bottom: 100px;

    display: flex;
    align-items: center;
    gap: 15px;

    opacity: 0.35;
}

.hero-decoration .number {
    font-family: "Oswald", sans-serif;

    font-size: 180px;
    line-height: 1;

    color: transparent;

    -webkit-text-stroke: 1px #777;
}

.vertical-text {
    writing-mode: vertical-rl;

    color: #777;

    font-size: 8px;
    font-weight: 700;
    letter-spacing: 4px;
}


/* ---------- EPISODES ---------- */

.episodes-section {
    position: relative;

    padding: 100px 7%;

    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 45px;
}

.section-label {
    display: block;

    margin-bottom: 10px;

    color: #d52828;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 3px;
}

.section-heading h2 {
    font-family: "Oswald", sans-serif;

    font-size: 48px;
    line-height: 1;

    letter-spacing: 1px;
}

.section-heading > p {
    color: #666;

    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* ---------- EPISODE GRID ---------- */

.episode-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 14px;
}


/* ---------- EPISODE CARD ---------- */

.episode-card {
    position: relative;

    display: flex;

    min-height: 230px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.018)
        );

    border: 1px solid rgba(255, 255, 255, 0.07);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}

.episode-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 3px;
    height: 0;

    background: #d52828;

    transition: height 0.3s ease;
}

.episode-card:hover {
    transform: translateY(-4px);

    border-color: rgba(255, 255, 255, 0.17);

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.025)
        );
}

.episode-card:hover::before {
    height: 100%;
}

.episode-number {
    min-width: 105px;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    padding-top: 28px;

    color: #333;

    font-family: "Oswald", sans-serif;
    font-size: 65px;
    font-weight: 700;

    border-right: 1px solid rgba(255, 255, 255, 0.05);

    transition: color 0.3s ease;
}

.episode-card:hover .episode-number {
    color: #666;
}

.episode-content {
    display: flex;
    flex-direction: column;

    padding: 27px 28px;

    flex: 1;
}

.episode-label {
    color: #666;

    font-size: 8px;
    font-weight: 800;
    letter-spacing: 2px;
}

.episode-content h3 {
    margin-top: 7px;

    font-family: "Oswald", sans-serif;

    font-size: 26px;
    font-weight: 500;

    letter-spacing: 0.2px;
}

.episode-content p {
    max-width: 420px;

    margin-top: 9px;

    color: #777;

    font-size: 11px;
    line-height: 1.65;
}

.episode-meta {
    display: flex;
    gap: 8px;

    margin-top: 13px;

    color: #555;

    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.watch-button {
    align-self: flex-start;

    margin-top: auto;
    padding-top: 17px;

    color: #ccc;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;

    transition: color 0.2s ease;
}

.watch-button:hover {
    color: #d52828;
}


/* ---------- ABOUT ---------- */

.about-section {
    position: relative;

    padding: 130px 7%;

    border-top: 1px solid rgba(255, 255, 255, 0.06);

    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.015),
            transparent
        );
}

.about-content {
    max-width: 700px;
}

.about-content h2 {
    font-family: "Oswald", sans-serif;

    font-size: clamp(55px, 8vw, 100px);

    line-height: 0.85;

    letter-spacing: -2px;
}

.about-content > p {
    max-width: 600px;

    margin-top: 30px;

    color: #777;

    font-size: 13px;
    line-height: 1.9;
}

.about-stats {
    display: flex;

    margin-top: 45px;

    border-top: 1px solid #242424;
}

.about-stats div {
    min-width: 130px;

    padding: 25px 35px 0 0;
}

.about-stats strong {
    display: block;

    font-family: "Oswald", sans-serif;

    font-size: 34px;
}

.about-stats span {
    display: block;

    margin-top: 4px;

    color: #555;

    font-size: 8px;
    font-weight: 800;
    letter-spacing: 2px;
}


/* ---------- FOOTER ---------- */

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 130px;

    padding: 30px 7%;

    border-top: 1px solid rgba(255, 255, 255, 0.06);

    color: #444;
}

.footer-logo {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border: 1px solid #444;

    font-family: "Oswald", sans-serif;

    font-size: 14px;
}

footer p {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

footer span {
    max-width: 350px;

    font-size: 8px;
    line-height: 1.6;

    text-align: right;
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 900px) {

    .navbar {
        padding: 0 5%;
    }

    .navbar nav {
        gap: 18px;
    }

    .hero {
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero-decoration {
        right: 3%;
        opacity: 0.18;
    }

    .episodes-section,
    .about-section {
        padding-left: 5%;
        padding-right: 5%;
    }

    .episode-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 600px) {

    .navbar {
        height: 75px;
    }

    .logo strong {
        font-size: 13px;
    }

    .logo small {
        font-size: 7px;
    }

    .logo > span {
        width: 36px;
        height: 36px;
    }

    .navbar nav {
        display: none;
    }

    .hero {
        min-height: 650px;

        padding-top: 125px;
        padding-bottom: 70px;
    }

    .hero h1 {
        font-size: 76px;
        letter-spacing: -2px;
    }

    .hero h1 em {
        -webkit-text-stroke: 1px #aaa;
    }

    .hero-info {
        flex-wrap: wrap;
        gap: 7px;
    }

    .hero-content > p {
        font-size: 12px;
    }

    .hero-buttons {
        flex-direction: column;

        max-width: 220px;
    }

    .hero-decoration {
        display: none;
    }

    .section-heading {
        display: block;
    }

    .section-heading h2 {
        font-size: 40px;
    }

    .section-heading > p {
        margin-top: 12px;
    }

    .episode-card {
        min-height: 250px;
    }

    .episode-number {
        min-width: 70px;

        padding-top: 25px;

        font-size: 48px;
    }

    .episode-content {
        padding: 24px 18px;
    }

    .episode-content h3 {
        font-size: 21px;
    }

    .episode-content p {
        font-size: 10px;
    }

    .about-section {
        padding-top: 90px;
        padding-bottom: 90px;
    }

    .about-content h2 {
        font-size: 60px;
    }

    .about-stats {
        flex-wrap: wrap;
    }

    .about-stats div {
        min-width: 33%;

        padding-right: 15px;
    }

    footer {
        flex-wrap: wrap;
        gap: 20px;
    }

    footer span {
        width: 100%;

        text-align: left;
    }
}


@media (max-width: 400px) {

    .hero h1 {
        font-size: 64px;
    }

    .episode-number {
        min-width: 58px;

        font-size: 40px;
    }

    .episode-content {
        padding: 20px 14px;
    }

    .episode-content h3 {
        font-size: 18px;
    }

    .about-content h2 {
        font-size: 52px;
    }
}