/* @author PeepConnect [Abel Odorico] - 2026-04-03 */
/* ============================================================
   PeepStreaming — Responsive Modifications
   ============================================================ */

/* ── 1200px (Laptops) ── */
@media (max-width: 1200px) {
    .ps-header__nav a {
        padding: 5px 12px;
    }
}

/* ── 992px (Tablets landscape) ── */
@media (max-width: 992px) {
    :root {
        --ps-text-display-xl: 6rem;
        --ps-text-display-lg: 4.5rem;
    }

    .ps-hero__content {
        padding-top: 150px;
    }

    .ps-stats-bar__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .ps-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── 768px (Tablets portrait & Mobile landscape) ── */
@media (max-width: 768px) {
    /* Header Navbar */
    .ps-header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--ps-bg-card);
        flex-direction: column;
        padding: 80px 30px;
        transition: right var(--ps-transition-base);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .ps-header__nav.is-open {
        right: 0;
    }

    .ps-header__nav a {
        font-size: var(--ps-text-h3);
        padding: 15px 0;
        border-bottom: 1px solid var(--ps-border-subtle);
    }

    .ps-header__nav a::after {
        display: none;
    }

    .ps-header__toggle {
        display: flex; /* Show hamburger */
    }

    .ps-header__actions {
        display: none; /* Hide login button from header, move to menu */
    }

    /* Modal Trailer */
    .ps-modal__content {
        width: 95%;
        padding-top: 56.25%; /* 16:9 */
    }
}

/* ── 576px (Mobile Phones) ── */
@media (max-width: 576px) {
    :root {
        --ps-text-display-xl: 4.5rem;
        --ps-text-display-lg: 3.5rem;
    }

    .ps-hero__content {
        padding-top: 120px;
        padding-bottom: 80px;
    }

    .ps-hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .ps-btn {
        width: 100%;
    }

    .ps-stats-bar__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ps-footer__grid {
        grid-template-columns: 1fr;
    }

    .ps-footer__bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    /* Plans */
    .ps-plan-card {
        padding: 30px 20px;
    }
    
    .ps-plan-card__price {
        font-size: 3.5rem;
    }
}

/* ── 375px (Small Mobile Phones) ── */
@media (max-width: 375px) {
    .ps-header__logo img {
        height: 24px;
    }
}
