/* === Base reset & tokens === */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    margin: 0;
    font: 400 16px/1.6 'Open Sans', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    background: url('/assets/img/gradient-light-left.svg') no-repeat left 250%,
    url('/assets/img/gradient-light-right.svg') no-repeat right 350%,
    var(--bg);

    background-size: auto 75%, auto 75%, auto;
    color: var(--text);

    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Main content wrapper - takes remaining space for sticky footer */
.collapsable,
#fragment-pane,
.content {
    flex: 1 0 auto;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

button, input, select, textarea {
    font: inherit;
}

/* Hint for browser */
:root {
    color-scheme: light dark;
}

/* ---- LIGHT theme ---- */
:root {
    --bg: #F9F9F9;
    --bg-2: #f6f7fb;
    --surface: #ffffff;
    --text: #131313;
    --muted: #13131399;
    --primary: #2244EF;
    --primary-2: #002aff;
    --border: #e6e8f0;
    --border-block: #808794;
    --search-border: #13131380;
    --button-black-back: #131313;
    --ring: #9ec2ff;

    --video-card-hover-border: #0C93F9;
    --accent: #0C93F9;
    --icon-muted: #808794;
    --notification-dot: #C1272D;
    --header-popup-text: #808794;

    --radius: 14px;
    --shadow-1: 0 8px 24px rgba(15, 23, 42, .08);

    --container: clamp(320px, 92vw, 1200px);
    --gap: 20px;

    --hero-radial-color: #FFF;

    --card-meta-text: #131313;
    --news-excerpt: #131313;

    --carousel-button-bg: rgba(255, 255, 255, 0.50);

    --dot-inactive: #131313;
    --dot-active: #0C93F9;

    --notification-header-bg: #D4E2FF;

    --scrollbar-track: #F3F4F6;
    --scrollbar-thumb: #D1D5DB;
    --scrollbar-thumb-hover: #9CA3AF;
    --reply-text: #757575;
}

/* ---- DARK theme ---- */
.theme-dark {
    color-scheme: dark;
    --bg: #010F29;
    --bg-2: #0e1832;
    --surface: #0f1b36;
    --text: #ffffff;
    --muted: #FFFFFF99;
    --primary: #2244EF;
    --primary-2: #002aff;
    --border: #FFFFFF30;
    --border-block: #808794;
    --search-border: #FFFFFF80;
    --button-black-back: #FFFFFF1A;
    --ring: #8ab1ff;
    --shadow-1: 0 12px 38px rgba(0, 0, 0, .35);

    --video-card-hover-border: #FFFFFF;
    --accent: #0C93F9;
    --icon-muted: #808794;
    --notification-dot: #C1272D;
    --header-popup-text: #808794;

    --hero-radial-color: #010F29;

    --card-meta-text: #FFF;
    --news-excerpt: #D6D9DD;

    --carousel-button-bg: rgba(0, 0, 0, 0.50);

    --dot-inactive: #FFFFFF;
    --dot-active: #0C93F9;

    --notification-header-bg: linear-gradient(90deg, #010F29 0%, #04183D 49.04%, #011336 100%);

    --scrollbar-track: #1F2937;
    --scrollbar-thumb: #4B5563;
    --scrollbar-thumb-hover: #6B7280;
    --reply-text: #757575;
}

/* Container */
.container {
    width: min(var(--container), 100%);
    margin-inline: auto;
    padding-inline: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 .9rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    transition: .2s ease;
    text-transform: none;
}

.btn:hover {
    box-shadow: var(--shadow-1);
    transform: translateY(-1px);
}

.btn-signup {
    background: var(--primary);
    color: #FFFFFF;
}

/* Header auth buttons */
.btn-signin,
.btn-signup {
    width: 100px;
    height: 40px;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    color: #FFFFFF;
    border: none;
    border-radius: 20px;
    padding: 0;
    white-space: nowrap;
}

.btn-signin {
    background: transparent;
}

.btn.blue-back {
    border-radius: 50px;
    background: var(--primary);
    color: #FFFFFF;
    height: 50px;
    min-width: 150px;
    backdrop-filter: blur(5px);
    padding: 6px 18px;
    border: none;
    max-width: 400px;
}

.btn.black-back {
    border-radius: 50px;
    background: var(--button-black-back);
    color: #FFFFFF;
    height: 50px;
    min-width: 150px;
    backdrop-filter: blur(5px);
    padding: 6px 18px;
    border: none;
}

.btn.ghost {
    color: var(--text);
    background: transparent;
    border: 1px solid var(--search-border);
    padding: 6px 18px;
}

/* Override ghost style for signin button */
.btn.ghost.btn-signin {
    border-radius: 20px;
    border: 1px solid rgba(19, 19, 19, 0.50);
    backdrop-filter: blur(5px);
}

.theme-dark .btn.ghost.btn-signin {
    border: 1px solid rgba(255, 255, 255, 0.50);
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-icon-plus,
.btn-icon-watch {
    width: 20px;
    height: 20px;
    display: inline-block;

    margin-right: 15px;
}

/* Search */
.pp-search {
    display: flex;
    align-items: center;
    border: 1px solid var(--search-border);
    border-radius: 50px;
    padding: .45rem .75rem;
    width: 460px;
    backdrop-filter: blur(5px);
}

/* Hidden on desktop, visible on mobile when search active */
.pp-search-close {
    display: none;
}

.pp-search svg {
    width: 18px;
    height: 18px;
    color: var(--muted);
}

.pp-search-input {
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    min-width: 0;
}

.pp-search-btn {
    background: transparent;
    border: 0;
    padding: 0;
    margin-left: .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pp-search-btn img.icon-search {
    width: 18px;
    height: 18px;
    display: block;
}

/* Theme toggle button */
.theme-toggle {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.theme-toggle svg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease, color 0.2s ease;
}

/* Light theme (default) - show moon (dark color), hide sun */
.theme-toggle .icon-moon {
    opacity: 1;
    color: #131313;
}

.theme-toggle .icon-sun {
    opacity: 0;
    pointer-events: none;
    color: #ffffff;
}

/* Dark theme - show sun (white color), hide moon */
html.theme-dark .theme-toggle .icon-sun {
    opacity: 1;
    pointer-events: auto;
}

html.theme-dark .theme-toggle .icon-moon {
    opacity: 0;
    pointer-events: none;
}

/* Hover state */
.theme-toggle:hover svg {
    color: var(--accent);
}

.pp-actions .theme-toggle {
    margin-right: 35px;
}

.pp-actions .btn {
    margin-right: 15px;
}

.pp-actions .btn:last-child {
    margin-right: 0;
}

/* Icons for logged-in users */
.btn-icon-notification {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    position: relative;
    cursor: pointer;
}

.btn-icon-profile {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0;
    position: relative;
    cursor: pointer;
}

.btn-icon-notification:last-child,
.btn-icon-profile:last-child {
    margin-right: 0;
}

/* Guest profile icon - hidden on desktop, shown on mobile */
.btn-icon-profile-guest {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-icon-profile-guest .profile-icon {
    width: 24px;
    height: 24px;
    color: var(--text);
    transition: color 0.2s ease;
}

.btn-icon-profile-guest:hover .profile-icon {
    color: var(--primary);
}

/* Notification icon */
.notification-icon {
    width: 24px;
    height: 24px;
    color: #131313;
    transition: color 0.2s ease;
}

html.theme-dark .notification-icon {
    color: #ffffff;
}

.btn-icon-notification:hover .notification-icon,
.btn-icon-notification.active .notification-icon {
    color: var(--accent);
}

/* Profile icon */
.profile-icon {
    width: 25px;
    height: 25px;
    color: #131313;
    transition: color 0.2s ease;
}

html.theme-dark .profile-icon {
    color: #ffffff;
}

.btn-icon-profile:hover .profile-icon {
    color: var(--accent);
}

/* Search icon theme toggle */
.pp-search .icon-search-dark {
    display: block;
}

.pp-search .icon-search-light {
    display: none;
}

html.theme-dark .pp-search .icon-search-dark {
    display: none;
}

html.theme-dark .pp-search .icon-search-light {
    display: block;
}

/* Notifications dropdown */
#notificationIcon {
    cursor: pointer;
}

.notifications {
    display: none;
    width: 340px;
    position: absolute;
    z-index: 999;
    right: 5vw;
    top: 57px;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.30);
    background: linear-gradient(90deg, #E3ECFF 12.28%, #E3ECFF 202.46%);
    color: var(--text);
    font: 400 16px/1.6 'Open Sans', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    border-radius: 8px;
}

/* Dark theme notifications */
.theme-dark .notifications {
    border: 1px solid #0C2655;
    background: linear-gradient(90deg, #010F29 12.28%, #001337 202.46%);
}

/* Responsive notifications positioning */
@media (max-width: 1400px) {
    .notifications {
        right: 5.71vw;
    }
}

@media (max-width: 1200px) {
    .notifications {
        right: 3.33vw;
    }

    .notifications:before {
        right: 30px;
    }
}

@media (max-width: 768px) {
    .notifications {
        position: fixed;
        right: 4vw;
        width: auto;
        max-width: 340px;
        top: 60px;
        margin: 0 auto;
    }

    .notifications:before {
        display: none;
    }
}

.notifications .notifWrapper {
    max-height: 600px;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

/* Webkit browsers (Chrome, Safari, Edge) */
.notifications .notifWrapper::-webkit-scrollbar {
    width: 8px;
}

.notifications .notifWrapper::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
}

.notifications .notifWrapper::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 4px;
}

.notifications .notifWrapper::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
}

.notifications .noNotifications {
    height: 189px;
    overflow: hidden;
}

.notifications .notifHeader {
    font-size: 14px;
    font-weight: 700;
    padding: 15px;
    box-sizing: border-box;
}

.notifications .noNotifications #noNotificationIcon {
    display: block;
    margin: 23px auto 17px auto;
}

.notifications .noNotifications .text1 {
    text-align: center;
    font-weight: bold;
    color: var(--muted);
    margin-bottom: 10px;
    font-size: 12px;
}

.notifications .noNotifications .text2 {
    text-align: center;
    color: var(--muted);
    font-size: 12px;
}

.notifications .noNotifications .division {
    height: 2px;
    margin-top: 20px;
    background-color: var(--bg-2);
}

.notifications .settings {
    display: block;
    width: 100%;
    padding: 16px 20px;
    color: var(--accent);
    text-align: center;
    font-family: "Open Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    cursor: pointer;
}

.notifications .settings:hover {
    opacity: 0.8;
}

.notifications .notification {
    position: relative;
}

.notifications .notification-header {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 8px;
    background: var(--notification-header-bg);
    padding: 16px 20px;
}

.notifications .notificationIcon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    cursor: pointer;
}

.notifications .notification-header-text {
    flex: 1;
}

/* Unread - date */
.notifications .notification[data-status='0'] .date {
    color: var(--accent);
    font-family: "Open Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 19px;
    margin-bottom: 2px;
}

/* Read - date */
.notifications .notification[data-status='1'] .date {
    color: var(--icon-muted);
    font-family: "Open Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 19px;
    margin-bottom: 2px;
}

/* Unread - title */
.notifications .notification[data-status='0'] .title {
    color: var(--accent);
    font-family: "Open Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 19px;
}

/* Read - title */
.notifications .notification[data-status='1'] .title {
    color: var(--icon-muted);
    font-family: "Open Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 19px;
}

/* Body */
.notifications .body {
    color: var(--icon-muted);
    font-family: "Open Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    margin-bottom: 8px;
    padding: 0 20px 0 20px;
}

/* Unread - Read More link */
.notifications .notification[data-status='0'] .body .notificationLink {
    color: var(--accent);
    font-family: "Open Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    cursor: pointer;
}

/* Read - Read More link */
.notifications .notification[data-status='1'] .body .notificationLink {
    color: var(--icon-muted);
    font-family: "Open Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    cursor: pointer;
}

.notifications .body .notificationLink:hover {
    opacity: 0.8;
}

/* Unread Read More */
.notifications .notification[data-status='0'] .readMore {
    color: var(--accent);
    font-family: "Open Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    cursor: pointer;
    padding: 0 20px 0 20px;
}

/* Read Read More */
.notifications .notification[data-status='1'] .readMore {
    color: var(--icon-muted);
    font-family: "Open Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    cursor: pointer;
    padding: 0 20px 0 20px;
}

.notifications .separator {
    height: 2px;
    background-color: var(--bg-2);
}

.notifications .allRead {
    float: right;
    color: var(--header-popup-text);
    font-size: 12px;
    margin-right: 10px;
    margin-top: 3px;
    cursor: pointer;
    font-weight: normal;
    text-decoration: underline;
}

.notifications .allRead:hover {
    color: var(--primary-2);
}

/* Profile dropdown menu */
.profile-menu {
    display: none;
    width: 260px;
    position: absolute;
    z-index: 999;
    right: 4vw;
    top: 57px;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.30);
    background: linear-gradient(90deg, #E3ECFF 12.28%, #E3ECFF 202.46%);
    color: var(--text);
    font: 400 16px/1.6 'Open Sans', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    border-radius: 8px;
    overflow: hidden;
}

/* Dark theme profile menu */
.theme-dark .profile-menu {
    border: 1px solid #0C2655;
    background: linear-gradient(90deg, #010F29 12.28%, #001337 202.46%);
}

.profile-menu:before {
    bottom: 100%;
    right: 20px;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: transparent;
    border-bottom-color: var(--bg-2);
    border-width: 12px;
}

.profile-menu-header {
    background: #D4E2FF;
    font-size: 14px;
    font-weight: 700;
    color: #0C93F9;
    padding: 10px 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Dark theme profile menu header */
.theme-dark .profile-menu-header {
    background: linear-gradient(90deg, #010F29 0%, #04183D 49.04%, #011336 100%);
}

.profile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.profile-menu-list li a {
    display: block;
    padding: 10px 20px;
    color: var(--text);
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.profile-menu-list li a:hover {
    background-color: #1C3ECD;
    color: #FFFFFF;
}

.profile-menu-list li.pending-status {
    padding: 10px 20px;
    color: var(--icon-muted);
    font-size: 14px;
    font-style: italic;
}

.profile-menu-logout {
    display: block;
    padding: 12px 20px;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    background: #D4E2FF;
}

/* Dark theme profile menu logout */
.theme-dark .profile-menu-logout {
    background: linear-gradient(90deg, #010F29 0%, #04183D 49.04%, #011336 100%);
}

.profile-menu-logout:hover {
    background-color: #1C3ECD;
    color: #FFFFFF;
}

/* Active state for profile icon */
.btn-icon-profile.active .profile-icon {
    color: var(--accent);
}

/* Header */
.pp-header {
    z-index: 100;
    background: transparent;
}

/* Header absolute only on homepage with hero */
.pp-hero .pp-header,
.has-hero .pp-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.pp-header-row {
    max-width: 100%;
    margin: 0 auto;
    height: 70px;
    display: grid;
    align-items: center;
    gap: .75rem;
    grid-template-columns: auto 1fr auto auto;
    padding: 0 8.33vw;
    transition: background-color 0.3s ease;
}

.pp-header-row.scrolled {
    /*background: var(--surface);*/
}

.pp-logo {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
}

.pp-logo img {
    display: block;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 700;
    margin-right: 55px;
    max-height: 45px;
    min-width: 120px;
    width: auto;
}

/* Default - show dark logo */
.pp-logo .logo-dark {
    display: block;
}

.pp-logo .logo-light {
    display: none;
}

/* In dark theme */
html.theme-dark .pp-logo .logo-dark {
    display: none;
}

html.theme-dark .pp-logo .logo-light {
    display: block;
}

.pp-nav {
    display: flex;
    gap: 45px;
    margin: 0 .75rem;
}

.pp-nav-link {
    color: var(--text);
    padding: .45rem .7rem;
    border-radius: .6rem;
}

.pp-nav-link:hover {
    color: var(--accent);
}

/* LIGHT: not active */
.pp-nav .pp-nav-link {
    text-align: center;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-style: normal;
    line-height: 20px;
    text-decoration: none;
    transition: color .2s;
}

/* LIGHT: active */
.pp-nav .pp-nav-link.is-active {
    color: var(--accent);
    font-weight: 600;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

/* DARK: not active */
.theme-dark .pp-nav .pp-nav-link {
    color: #FFF;
    font-weight: 400;
}

.theme-dark .pp-nav .pp-nav-link:hover {
    color: var(--accent);
}

/* DARK: active */
.theme-dark .pp-nav .pp-nav-link.is-active {
    color: var(--accent);
    font-weight: 600;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.pp-actions {
    display: flex;
    align-items: center;
}

/* Mobile burger button */
.pp-burger {
    display: none;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.pp-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile search button */
.pp-search-mobile {
    display: none;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.pp-search-mobile svg {
    width: 22px;
    height: 22px;
    color: var(--text);
    transition: color 0.2s ease;
}

.pp-search-mobile:hover svg {
    color: var(--accent);
}

/* Responsive */

/* Medium-large screens - prevent header overflow */
@media (max-width: 1650px) {
    .pp-search {
        width: 380px;
    }

    .pp-nav {
        gap: 30px;
    }

    .pp-logo img {
        margin-right: 40px;
    }
}

@media (max-width: 1500px) {
    .pp-search {
        width: 320px;
    }

    .pp-nav {
        gap: 20px;
    }

    .pp-logo img {
        margin-right: 25px;
    }

    .pp-actions .theme-toggle {
        margin-right: 20px;
    }

    .pp-actions .btn {
        margin-right: 10px;
    }
}

@media (max-width: 1400px) {
    .pp-header-row {
        padding: 0 5.71vw;
    }

    .pp-search {
        width: 280px;
    }

    .pp-logo img {
        margin-right: 20px;
    }

    .pp-nav {
        gap: 15px;
    }

    .pp-actions .theme-toggle {
        margin-right: 15px;
    }
}

@media (max-width: 1300px) {
    .pp-search {
        width: 240px;
    }

    .pp-nav {
        gap: 12px;
    }

    .pp-nav .pp-nav-link {
        font-size: 15px;
    }

    .btn-signin,
    .btn-signup {
        width: 85px;
    }
}

@media (max-width: 1200px) {
    .pp-nav {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        margin-left: 0;
        width: 330px;
        height: 100%;
        background: var(--bg);
        flex-direction: column;
        padding: 30px 24px;
        gap: 8px;
        box-shadow: var(--shadow-1);
        z-index: 99;
        overflow-y: auto;
    }

    .pp-nav.mobile-open {
        display: flex;
    }

    .pp-nav .pp-nav-link {
        font-size: 14px;
        font-weight: 400;
        padding: 10px 0;
        text-align: left;
    }

    .pp-header-row {
        grid-template-columns: auto 1fr auto;
        padding: 0 3.33vw;
    }

    /* Show burger - first */
    .pp-burger {
        display: flex;
        order: 1;
    }

    /* Logo - after burger */
    .pp-logo {
        order: 2;
        justify-self: start;
        margin: 0;
        margin-left: 12px;
    }

    /* Hide desktop search */
    .pp-search {
        display: none;
    }

    /* Show mobile search button */
    .pp-search-mobile {
        display: flex;
        margin-right: 15px;
    }

    /* Actions/Icons - last */
    .pp-actions {
        order: 3;
    }

    /* Mobile search active state */
    .pp-header.search-active .pp-burger {
        display: none;
    }

    .pp-header.search-active .pp-logo {
        display: none;
    }

    .pp-header.search-active .pp-search {
        display: flex;
        flex: 1;
        width: auto;
        order: 1;
    }

    .pp-header.search-active .pp-search-mobile {
        display: none;
    }

    .pp-header.search-active .pp-search-close {
        display: flex;
    }

    /* Search close button */
    .pp-search-close {
        display: none;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        align-items: center;
        justify-content: center;
        order: 0;
        margin-right: 10px;
    }

    .pp-search-close svg {
        width: 24px;
        height: 24px;
        color: var(--text);
    }

    /* Mobile menu overlay */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 70px !important;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 98;
        animation: fadeIn 0.2s ease;
    }

    body.menu-open {
        overflow: hidden;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
}

/* Burger animation */
.pp-burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.pp-burger.active span:nth-child(2) {
    opacity: 0;
}

.pp-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile header styles */
@media (max-width: 768px) {
    .pp-nav {
        top: 60px;
        width: 280px;
        height: 100%;
        padding: 24px 20px;
    }

    .pp-header-row {
        grid-template-columns: auto 1fr auto;
        padding: 0 10px;
        height: 60px;
        gap: 0;
    }

    /* Show burger */
    .pp-burger {
        order: 1;
    }

    /* Logo - align left */
    .pp-logo {
        order: 2;
        justify-self: start;
        margin: 0;
        margin-left: 12px;
    }

    .pp-logo img {
        margin-right: 0;
        max-height: 35px;
        min-width: 100px;
    }

    /* Hide desktop search */
    .pp-search {
        display: none;
    }

    /* Mobile search active state */
    .pp-header.search-active .pp-burger {
        display: none;
    }

    .pp-header.search-active .pp-logo {
        display: none;
    }

    .pp-header.search-active .pp-search {
        display: flex;
        flex: 1;
        width: auto;
        order: 1;
    }

    .pp-header.search-active .pp-search-mobile {
        display: none;
    }

    .pp-header.search-active .pp-search-close {
        display: flex;
    }

    /* Search close button */
    .pp-search-close {
        display: none;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        align-items: center;
        justify-content: center;
        order: 0;
        margin-right: 10px;
    }

    .pp-search-close svg {
        width: 24px;
        height: 24px;
        color: var(--text);
    }

    /* Actions on right */
    .pp-actions {
        order: 3;
        gap: 2px;
    }

    /* Show mobile search button */
    .pp-search-mobile {
        display: flex;
    }

    /* Adjust theme toggle */
    .pp-actions .theme-toggle {
        margin-right: 15px;
        width: 32px;
        height: 32px;
    }

    .pp-actions .theme-toggle svg {
        width: 20px;
        height: 20px;
    }

    /* Adjust profile/notification icons for mobile */
    .btn-icon-notification {
        width: 32px;
        height: 32px;
        margin-right: 15px;
    }

    .btn-icon-profile {
        width: 32px;
        height: 32px;
        margin-right: 0;
    }

    /* Show guest profile icon on mobile */
    .btn-icon-profile-guest {
        display: flex;
        width: 32px;
        height: 32px;
    }

    .btn-icon-profile-guest .profile-icon {
        width: 20px;
        height: 20px;
    }

    .notification-icon,
    .profile-icon {
        width: 20px;
        height: 20px;
    }

    /* Mobile search icon size */
    .pp-search-mobile {
        width: 32px;
        height: 32px;
        margin-right: 15px;
    }

    .pp-search-mobile svg {
        width: 20px;
        height: 20px;
    }

    /* Hide login/signup buttons on mobile */
    .pp-actions .btn {
        display: none;
    }
}

/* Very small screens - hide extra icons when search is active */
@media (max-width: 400px) {
    .btn-icon-notification {
        margin-right: 5px;
    }

    .btn-icon-profile {
        margin-right: 0;
    }

    .pp-header.search-active .theme-toggle,
    .pp-header.search-active .btn-icon-notification {
        display: none;
    }

    .pp-search-mobile {
        margin-right: 5px;
    }

    .pp-actions .theme-toggle {
        margin-right: 5px;
    }
}

/* Selection color */
::selection {
    background: #D6D9DD;
    color: #000000;
}

::-moz-selection {
    background: #D6D9DD;
    color: #000000;
}

:root {
    /* Advertiser section */
    --adv-title: #131313;
    --adv-text: #4a4a4a;
    --advertise-title: #131313;
    --advertise-text: #131313;
    --cta-title: #131313;
    --section-subtitle: #131313;

    --standalone-link: #0C93F9;


    --container-desktop: 160px;
    --container-tablet: 25px;
    --container-mobile: 25px;

    --page-bg: #F9F9F9;
    --page-bg-rgb: 249, 249, 249;

    --feature-bg: linear-gradient(
            90deg,
            #F4F6FB 0%,
            #E9ECF6 100%
    );
    --feature-text: #131313;
    --feature-muted: #808794;
    --btn-primary-bg: #2244EF;
    --btn-primary-text: #ffffff;
}

.theme-dark {
    --adv-title: #ffffff;
    --adv-text: #D6D9DD;
    --advertise-title: #ffffff;
    --advertise-text: rgba(255, 255, 255, 0.75);
    --cta-title: #ffffff;
    --section-subtitle: #ffffff;

    --standalone-link: #0C93F9;


    --feature-bg: linear-gradient(
            90deg,
            #010F29 12.28%,
            #001337 202.46%
    );
    --feature-text: #ffffff;
    --feature-muted: #808794;
    --page-bg: #010F29;
    --page-bg-rgb: 1, 15, 41;
}

/* === BREADCRUMB === */
.pp-breadcrumb {
    background: var(--bg);
    padding: 12px 0;
}

.pp-breadcrumb-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
    padding: 0 8.33vw;
}

.pp-breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.pp-breadcrumb-link:hover {
    color: var(--accent);
}

.pp-breadcrumb-link svg {
    width: 16px;
    height: 16px;
    opacity: 0.5;
}

.pp-breadcrumb-link .icon-home-light {
    display: block;
}

.pp-breadcrumb-link .icon-home-dark {
    display: none;
}

.theme-dark .pp-breadcrumb-link .icon-home-light {
    display: none;
}

.theme-dark .pp-breadcrumb-link .icon-home-dark {
    display: block;
}

.pp-breadcrumb-separator {
    color: var(--muted);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.pp-breadcrumb-current {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: var(--text);
    font-weight: 400;
    opacity: 0.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 400px;
}

@media (max-width: 1400px) {
    .pp-breadcrumb-container {
        padding: 0 5.71vw;
    }
}

@media (max-width: 1200px) {
    .pp-breadcrumb-container {
        padding: 0 3.33vw;
    }
}

@media (max-width: 768px) {
    .pp-breadcrumb-container {
        padding: 0 18px; /* 10px + 8px burger padding */
    }

    .pp-breadcrumb-current {
        max-width: 150px;
    }
}

@media (max-width: 375px) {
    .pp-breadcrumb-current {
        max-width: 100px;
    }

    .pp-breadcrumb-link {
        font-size: 12px;
    }
}