:root {
  --fv-thumb-aspect-ratio: 16/9;
  --theme-border-width: 1px;
}

/* ===== RESET & BASE ===== */
*,
::after,
::before {
    box-sizing: border-box;
    border: 0 solid var(--cye-border, #1F2937);
    border-radius: 0 !important;
}

:host,
html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    font-feature-settings: normal;
    font-variation-settings: normal;
    -webkit-tap-highlight-color: transparent;
    background-color: var(--cye-bg-primary, #0A0E17);
}

body {
    margin: 0;
    line-height: inherit;
    background-color: var(--cye-bg-primary, #0A0E17);
    color: var(--cye-text-primary, #E0F7FA);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif !important;
    font-size: 1rem;
    overflow-x: hidden;
}

hr {
    height: 0;
    color: inherit;
    border-top: 1px solid var(--cye-border, #1F2937);
}

h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
    color: var(--cye-text-primary, #E0F7FA);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}

a:hover {
    color: var(--cye-accent, #00F0FF);
}

b, strong {
    font-weight: 700;
}

img, svg, video, iframe {
    display: block;
    max-width: 100%;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
    color: inherit;
    margin: 0;
    padding: 0;
    outline: none;
}

button {
    cursor: pointer;
    background-color: transparent;
}

.sr-only, .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 1400px;
}

@media (min-width: 640px) {
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* ===== HEADER (Command Bar & Responsive Navigation) ===== */
.header-section {
    background-color: var(--cye-bg-secondary, #111827);
    border-bottom: 1px solid var(--cye-border, #1F2937);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 1px 0 var(--cye-accent-alpha-25, rgba(0, 240, 255, 0.25));
    position: relative;
    z-index: 50;
}

.header__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

/* Logo */
.header__logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.header__logo__text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    text-transform: uppercase;
}

.header__logo__text span:first-child {
    color: var(--cye-accent, #00F0FF);
    text-shadow: 0 0 12px var(--cye-glow, rgba(0, 240, 255, 0.35));
}

/* Mobile Toggle */
.header__mobile-menu-toggle {
    display: block;
}

.header__mobile-menu-toggle button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 40px;
    background: var(--cye-bg-primary, #0A0E17);
    border: 1px solid var(--cye-border, #1F2937);
    position: relative;
    cursor: pointer;
    transition: all .2s ease;
}

.header__mobile-menu-toggle button:hover {
    border-color: var(--cye-accent, #00F0FF);
    box-shadow: 0 0 8px var(--cye-glow, rgba(0, 240, 255, 0.35));
}

.header__mobile-menu-toggle button::before,
.header__mobile-menu-toggle button::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--cye-accent, #00F0FF);
    transition: all .3s ease;
}

.header__mobile-menu-toggle button::before {
    top: 14px;
    box-shadow: 0 6px 0 var(--cye-accent, #00F0FF);
}

.header__mobile-menu-toggle button::after {
    bottom: 12px;
}

.header__mobile-menu-toggle--opened button::before {
    top: 19px;
    transform: rotate(45deg);
    box-shadow: none;
}

.header__mobile-menu-toggle--opened button::after {
    top: 19px;
    bottom: auto;
    transform: rotate(-45deg);
}

/* Navigation Menu */
.header__nav {
    display: none;
}

.navbar__menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar__menu__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.35rem 0.65rem;
    font-size: 0.675rem;
    font-weight: 600;
    color: var(--cye-text-primary, #E0F7FA);
    background: transparent;
    border: 1px solid transparent;
    letter-spacing: 0.02em;
    white-space: nowrap;
    text-transform: uppercase;
    transition: all .2s ease;
    cursor: pointer;
    line-height: 1.2;
}

.navbar__menu__item:hover,
.navbar__menu__item--active {
    color: var(--cye-text-on-theme, #0A0E17);
    background-color: var(--cye-accent, #00F0FF);
    border-color: var(--cye-accent, #00F0FF);
    box-shadow: 0 0 10px var(--cye-glow, rgba(0, 240, 255, 0.35));
}

.navbar__menu__toggle {
    border: 1px solid var(--cye-accent-alpha-25, rgba(0, 240, 255, 0.25));
    background: rgba(0, 240, 255, 0.08);
    color: var(--cye-accent, #00F0FF);
}

.navbar__menu__toggle:hover {
    background: var(--cye-accent, #00F0FF);
    color: var(--cye-text-on-theme, #0A0E17);
    border-color: var(--cye-accent, #00F0FF);
}

.navbar__toggle-icon {
    transition: transform 0.2s ease;
}

.navbar__menu__toggle--expanded .navbar__toggle-icon {
    transform: rotate(180deg);
}

.navbar__menu__item.is-collapsed-hidden {
    display: none !important;
}

/* Arrow Navigation for Horizontal Scroll */
.navbar__arrow {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 32px;
    z-index: 10;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    outline: none;
    color: var(--cye-text-primary, #E0F7FA);
    transition: opacity 0.2s ease, color 0.2s ease;
}

.navbar__arrow:hover {
    color: var(--cye-accent, #00F0FF);
}

.navbar__arrow--prev {
    left: 0;
    background: linear-gradient(to right, var(--cye-bg-primary, #0A0E17) 65%, transparent);
    justify-content: flex-start;
    padding-left: 4px;
}

.navbar__arrow--next {
    right: 0;
    background: linear-gradient(to left, var(--cye-bg-primary, #0A0E17) 65%, transparent);
    justify-content: flex-end;
    padding-right: 4px;
}

.navbar__arrow.is-disabled {
    opacity: 0;
    pointer-events: none;
}

/* Search Form */
.header__form {
    display: flex;
    width: 100%;
}

.header__form form {
    display: flex;
    width: 100%;
    position: relative;
    background: var(--cye-bg-primary, #0A0E17);
    border: 1px solid var(--cye-border, #1F2937);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.header__form form:focus-within {
    border-color: var(--cye-accent, #00F0FF);
    box-shadow: 0 0 8px var(--cye-glow, rgba(0, 240, 255, 0.35));
}

.header__form input {
    width: 100%;
    height: 38px;
    padding: 0 0.75rem;
    background: transparent;
    border: none;
    color: var(--cye-text-primary, #E0F7FA);
    font-size: 0.875rem;
}

.header__form input::placeholder {
    color: var(--cye-text-muted, #94A3B8);
}

.header__form button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 38px;
    background: var(--cye-bg-secondary, #111827);
    border-left: 1px solid var(--cye-border, #1F2937);
    color: var(--cye-accent, #00F0FF);
    flex-shrink: 0;
    transition: all .2s ease;
}

.header__form button:hover {
    background: var(--cye-accent, #00F0FF);
    color: var(--cye-text-on-theme, #0A0E17);
}

.header__form button svg {
    stroke: currentColor !important;
}

.header__form button svg path {
    stroke: currentColor !important;
}

/* ===== RESPONSIVE HEADER BREAKPOINTS ===== */
/* Desktop (>= 1024px): 1-row command bar with wrap-center auto-expansion */
@media (min-width: 1024px) {
    .header__mobile-menu-toggle {
        display: none !important;
    }

    .header__wrapper {
        display: grid;
        grid-template-columns: auto 1fr 240px;
        align-items: center;
        gap: 0.75rem 1.25rem;
        padding: 0.75rem 0;
    }

    .header__logo {
        grid-column: 1;
        grid-row: 1;
        display: flex;
        align-items: center;
        white-space: nowrap;
    }

    .header__nav {
        grid-column: 2;
        grid-row: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        min-width: 0;
        width: 100%;
        position: relative;
    }

    .navbar__arrow {
        display: none !important;
    }

    .navbar__menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0.25rem 0.4rem;
        width: 100%;
    }

    .header__form {
        grid-column: 3;
        grid-row: 1;
        width: 240px;
        margin-top: 0;
    }
}

/* Tablet (768px - 1023px): Row 1 Logo + Search, Row 2 Wrap-center auto-expansion (up to 2 rows + See more) */
@media (min-width: 768px) and (max-width: 1023.98px) {
    .header__mobile-menu-toggle {
        display: none !important;
    }

    .header__wrapper {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 280px;
        align-items: center;
        gap: 0.75rem 0;
        padding: 0.75rem 0;
        width: 100%;
    }

    .header__logo {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
    }

    .header__form {
        grid-column: 2;
        grid-row: 1;
        width: 280px;
        justify-self: end;
        margin-top: 0;
    }

    .header__nav {
        grid-column: 1 / -1;
        grid-row: 2;
        display: block;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        position: relative;
        padding-top: 0.5rem;
        border-top: 1px solid var(--cye-border, #1F2937);
    }

    .navbar__arrow {
        display: none !important;
    }

    .navbar__menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        gap: 0.25rem 0.4rem;
        width: 100%;
    }
}

/* Mobile (< 768px): Row 1 Logo + Toggle, Row 2 Full-width Search */
@media (max-width: 767.98px) {
    .header__wrapper {
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
    }

    .header__logo {
        width: 100%;
        justify-content: space-between;
    }

    .header__nav {
        display: none !important;
    }

    .header__form {
        width: 100%;
    }
}

/* ===== MOBILE ASIDE MENU (Slide from RIGHT) ===== */
#mobile-aside-menu {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    z-index: 999;
    height: 100vh;
    width: 18rem;
    max-width: 82vw;
    background: #0A0E17;
    border-left: 2px solid var(--cye-accent, #00F0FF);
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.8), 0 0 15px var(--cye-glow, rgba(0, 240, 255, 0.35));
    transform: translateX(100%);
    transition: transform .25s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-aside-menu.mobile-aside-menu--active {
    transform: translateX(0) !important;
}

.mobile-aside-menu__container {
    height: 100%;
    overflow-y: auto;
    padding: 1.5rem 1rem;
}

.mobile-aside-menu__container ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.mobile-aside-menu__container ul li a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--cye-text-primary, #E0F7FA);
    background: var(--cye-bg-secondary, #111827);
    border: 1px solid var(--cye-border, #1F2937);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: all .2s ease;
}

.mobile-aside-menu__container ul li a:hover,
.mobile-aside-menu__container ul li a.active {
    color: var(--cye-text-on-theme, #0A0E17) !important;
    background-color: var(--cye-accent, #00F0FF) !important;
    border-color: var(--cye-accent, #00F0FF) !important;
    box-shadow: 0 0 10px var(--cye-glow, rgba(0, 240, 255, 0.35));
}

.mobile-aside-menu-outside {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 990;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(2px);
    display: none;
}

/* ===== MAIN LAYOUT (Sidebar LEFT on Desktop/Tablet, Bottom on Mobile) ===== */
.layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.layout__left {
    width: 100%;
}

.layout__right {
    width: 100%;
}

/* Mobile (< 768px): Main videos first (order: 1), Sidebar hot videos bottom (order: 2) */
@media (max-width: 767.98px) {
    .layout .layout__left {
        order: 1;
    }
    .layout .layout__right {
        order: 2;
    }
}

/* Tablet (768px - 1023px): Sidebar LEFT (order: 1, 3/10 width), Main Video RIGHT (order: 2, 7/10 width) */
@media (min-width: 768px) and (max-width: 1023.98px) {
    .layout {
        flex-direction: row;
        align-items: flex-start;
    }

    .layout .layout__right {
        order: 1;
        flex: 0 0 30%;
        width: 30%;
        position: -webkit-sticky;
        position: sticky;
        top: 1rem;
        align-self: flex-start;
    }

    .layout .layout__left {
        order: 2;
        flex: 0 0 calc(70% - 1.5rem);
        width: calc(70% - 1.5rem);
    }
}

/* Desktop (>= 1024px): Sidebar LEFT (order: 1, ~2.5/9 width ~280px-320px), Main Video RIGHT (order: 2, ~6.5/9 width) */
@media (min-width: 1024px) {
    .layout {
        flex-direction: row;
        align-items: flex-start;
    }

    .layout .layout__right {
        order: 1;
        flex: 0 0 300px;
        width: 300px;
        position: -webkit-sticky;
        position: sticky;
        top: 1rem;
        align-self: flex-start;
    }

    .layout .layout__left {
        order: 2;
        flex: 1 1 0%;
        min-width: 0;
    }
}

/* ===== SINGLE VIDEO LAYOUT (Title above player, Full-width player, 2-column below) ===== */
.single-player-container {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.single-heading {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.single-content-layout {
    margin-top: 1rem;
}

/* Below player 2 columns on Desktop: Left column main content (order: 1), Right column Phim Hot (order: 2) */
@media (min-width: 1024px) {
    .single-content-layout .layout__left {
        order: 1;
        flex: 1 1 0%;
        min-width: 0;
    }

    .single-content-layout .layout__right {
        order: 2;
        flex: 0 0 300px;
        width: 300px;
        position: -webkit-sticky;
        position: sticky;
        top: 1rem;
        align-self: flex-start;
    }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
    .single-content-layout .layout__left {
        order: 1;
        flex: 0 0 calc(70% - 1.5rem);
        width: calc(70% - 1.5rem);
    }

    .single-content-layout .layout__right {
        order: 2;
        flex: 0 0 30%;
        width: 30%;
        position: -webkit-sticky;
        position: sticky;
        top: 1rem;
        align-self: flex-start;
    }
}

@media (max-width: 767.98px) {
    .single-content-layout .layout__left {
        order: 1;
    }

    .single-content-layout .layout__right {
        order: 2;
    }
}

/* ===== HEADINGS (Cyberpunk HUD style) ===== */
.heading {
    margin-top: 1rem;
    margin-bottom: 1rem;
    background: var(--cye-bg-secondary, #111827);
    color: var(--cye-text-primary, #E0F7FA);
    padding: 0.6rem 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-left: 4px solid var(--cye-accent, #00F0FF);
    border-top: 1px solid var(--cye-border, #1F2937);
    border-right: 1px solid var(--cye-border, #1F2937);
    border-bottom: 1px solid var(--cye-border, #1F2937);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), inset 1px 0 0 var(--cye-glow, rgba(0, 240, 255, 0.35));
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
}

.heading__title {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    color: var(--cye-text-primary, #E0F7FA);
}

/* ===== VIDEO CARD COMPONENT (Sharp 0px, Cyberpunk HUD style) ===== */
.items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (min-width: 1024px) {
    .items {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
    }
}

.item {
    background: var(--cye-bg-secondary, #111827);
    border: 1px solid var(--cye-border, #1F2937);
    padding: 0.35rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all .25s ease;
}

.item:hover {
    border-color: var(--cye-accent, #00F0FF);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 10px var(--cye-glow, rgba(0, 240, 255, 0.35));
    transform: translateY(-2px);
}

.item .item__thumbnail {
    position: relative;
    display: block;
    aspect-ratio: var(--fv-thumb-aspect-ratio, 16/9);
    overflow: hidden;
    background: #000;
}

.item .item__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.item:hover .item__thumbnail img {
    transform: scale(1.05);
}

.item .item__labels {
    position: absolute;
    top: 0.35rem;
    left: 0.35rem;
    z-index: 2;
}

.item .item__labels span {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--cye-text-on-theme, #0A0E17);
    background-color: var(--cye-accent, #00F0FF);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.item .item__title {
    margin-top: 0.5rem;
    padding: 0.25rem 0.25rem 0.4rem;
    text-align: left;
}

.item .item__title h4 {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--cye-text-primary, #E0F7FA);
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    min-height: 2lh;
    transition: color .2s ease;
}

.item:hover .item__title h4 {
    color: var(--cye-accent, #00F0FF);
}

/* ===== SIDEBAR PHIM HOT (Top Items) ===== */
.top-items .top-items__wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .top-items .top-items__wrapper {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 0.65rem;
    }

    .top-items .item {
        display: grid;
        grid-template-columns: 90px 1fr;
        gap: 0.6rem;
        padding: 0.3rem;
        align-items: center;
    }

    .top-items .item .item__thumbnail {
        aspect-ratio: var(--fv-thumb-aspect-ratio, 16/9);
    }

    .top-items .item .item__title {
        margin-top: 0;
        padding: 0;
    }

    .top-items .item .item__title h4 {
        font-size: 0.825rem;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
    }
}

/* ===== VIDEO PLAYER ===== */
.player {
    aspect-ratio: 16/9;
    position: relative;
    background: #000000;
    width: 100%;
    border: 1px solid var(--cye-border, #1F2937);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.7), 0 0 15px rgba(0, 240, 255, 0.15);
}

.player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Server Switch Matrix */
.player__videos {
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

.player__videos .player__videos__video {
    padding: 0.75rem;
    background: var(--cye-bg-secondary, #111827);
    border: 1px solid var(--cye-border, #1F2937);
}

.player__videos .cdn-selector-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.player__videos .player__cdn {
    padding: 0.4rem 1rem;
    background: var(--cye-bg-primary, #0A0E17);
    border: 1px solid var(--cye-border, #1F2937);
    color: var(--cye-text-primary, #E0F7FA);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all .2s ease;
}

.player__videos .player__cdn:hover {
    border-color: var(--cye-accent, #00F0FF);
    color: var(--cye-accent, #00F0FF);
}

.player__videos .player__cdn--active {
    background-color: var(--cye-accent, #00F0FF) !important;
    border-color: var(--cye-accent, #00F0FF) !important;
    color: var(--cye-text-on-theme, #0A0E17) !important;
    box-shadow: 0 0 10px var(--cye-glow, rgba(0, 240, 255, 0.35));
}

/* Video Stats (Views & Likes) */
.video-stats {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.video-stats .views,
.video-stats .likes {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    background: var(--cye-bg-secondary, #111827);
    border: 1px solid var(--cye-border, #1F2937);
    color: var(--cye-text-muted, #94A3B8);
    font-size: 0.875rem;
    font-weight: 600;
}

.video-stats .likes {
    cursor: pointer;
    transition: all .2s ease;
}

.video-stats .likes:hover,
.video-stats .likes.liked {
    color: var(--cye-text-on-theme, #0A0E17);
    background: var(--cye-accent, #00F0FF);
    border-color: var(--cye-accent, #00F0FF);
    box-shadow: 0 0 8px var(--cye-glow, rgba(0, 240, 255, 0.35));
}

/* Video Description */
.video-description {
    margin-top: 1rem;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: var(--cye-bg-secondary, #111827);
    border: 1px solid var(--cye-border, #1F2937);
    color: var(--cye-text-primary, #E0F7FA);
    line-height: 1.7;
    font-size: 0.925rem;
}

/* Tags & Categories */
.video__tags {
    margin-top: 1rem;
    margin-bottom: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.775rem;
    font-weight: 600;
    color: var(--cye-text-primary, #E0F7FA);
    background: var(--cye-bg-secondary, #111827);
    border: 1px solid var(--cye-border, #1F2937);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: all .2s ease;
}

.label:hover {
    color: var(--cye-text-on-theme, #0A0E17);
    background: var(--cye-accent, #00F0FF);
    border-color: var(--cye-accent, #00F0FF);
    box-shadow: 0 0 8px var(--cye-glow, rgba(0, 240, 255, 0.35));
}

.label svg {
    fill: currentColor !important;
}

/* ===== PAGINATION ===== */
.paginator {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.paginator .paginator__item {
    display: block;
}

.paginator .paginator__item a,
.paginator .paginator__item span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    background: var(--cye-bg-secondary, #111827);
    border: 1px solid var(--cye-border, #1F2937);
    color: var(--cye-text-primary, #E0F7FA);
    font-size: 0.9rem;
    font-weight: 700;
    transition: all .2s ease;
}

.paginator .paginator__item a:hover,
.paginator .paginator__item--active a {
    color: var(--cye-text-on-theme, #0A0E17);
    background: var(--cye-accent, #00F0FF);
    border-color: var(--cye-accent, #00F0FF);
    box-shadow: 0 0 10px var(--cye-glow, rgba(0, 240, 255, 0.35));
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs-area {
    background: var(--cye-bg-secondary, #111827);
    border-bottom: 1px solid var(--cye-border, #1F2937);
    padding: 0.5rem 0;
    font-size: 0.8rem;
    color: var(--cye-accent, #00F0FF);
    margin-bottom: 1rem;
}

.breadcrumbs-area .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.breadcrumbs-area a {
    color: var(--cye-accent, #00F0FF);
}

.breadcrumbs-area a:hover {
    text-decoration: underline;
}

.breadcrumbs-area .current {
    color: var(--cye-text-muted, #94A3B8);
}

/* ===== TIME FILTER BUTTONS ===== */
.time-filters {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.time-filter-btn {
    padding: 0.45rem 1rem;
    background: var(--cye-bg-secondary, #111827);
    border: 1px solid var(--cye-border, #1F2937);
    color: var(--cye-text-primary, #E0F7FA);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    transition: all .2s ease;
}

.time-filter-btn:hover,
.time-filter-btn.active {
    color: var(--cye-text-on-theme, #0A0E17);
    background: var(--cye-accent, #00F0FF);
    border-color: var(--cye-accent, #00F0FF);
    box-shadow: 0 0 8px var(--cye-glow, rgba(0, 240, 255, 0.35));
}

/* ===== BUTTONS ===== */
.button {
    display: inline-block;
    padding: 0.65rem 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--cye-text-on-theme, #0A0E17);
    background-color: var(--cye-accent, #00F0FF);
    border: 1px solid var(--cye-accent, #00F0FF);
    cursor: pointer;
    box-shadow: 0 0 12px var(--cye-glow, rgba(0, 240, 255, 0.35));
    transition: all .2s ease;
    margin-top: 1rem;
}

.button:hover {
    background-color: var(--cye-accent-hover, #38F4FF);
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.6);
}

/* ===== FOOTER ===== */
#footer {
    background: #070B12;
    border-top: 1px solid var(--cye-border, #1F2937);
    padding: 2.5rem 0 1.5rem;
    margin-top: 3.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    color: var(--cye-text-muted, #94A3B8);
    font-size: 0.9rem;
}

#footer .footer__menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--cye-border, #1F2937);
}

#footer .footer__menu a {
    color: var(--cye-accent, #00F0FF);
    font-weight: 600;
    font-size: 0.9rem;
}

#footer .footer__menu a:hover {
    text-decoration: underline;
    text-shadow: 0 0 8px var(--cye-glow, rgba(0, 240, 255, 0.35));
}

/* Footer Backlinks */
.footer__backlinks {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--cye-border, #1F2937);
    text-align: center;
}

.footer__backlinks-title {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cye-accent, #00F0FF);
    margin-bottom: 0.75rem;
}

.footer__backlinks-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 0.65rem;
}

.footer__backlink-item {
    display: inline-flex;
    padding: 0.25rem 0.6rem;
    background: var(--cye-bg-secondary, #111827);
    border: 1px solid var(--cye-border, #1F2937);
    color: var(--cye-text-muted, #94A3B8);
    font-size: 0.75rem;
    text-transform: uppercase;
    transition: all .2s ease;
}

.footer__backlink-item:hover {
    color: var(--cye-accent, #00F0FF);
    border-color: var(--cye-accent, #00F0FF);
    box-shadow: 0 0 6px var(--cye-glow, rgba(0, 240, 255, 0.35));
}

#footer .footer__text {
    text-align: center;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

#footer .footer__text p {
    margin-top: 0.5rem;
    color: var(--cye-text-muted, #94A3B8);
}

#footer .footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--cye-border, #1F2937);
}

@media (min-width: 768px) {
    #footer .footer__bottom {
        justify-content: space-between;
    }
}

#footer .footer__copyright {
    color: var(--cye-text-muted, #94A3B8);
    font-size: 0.85rem;
    margin: 0;
}

#footer .dmca-badge img {
    height: 20px;
    width: auto;
}

/* Policy Nav in Footer */
.cye-policy-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
    margin-top: 1rem;
    font-size: 0.825rem;
}

.cye-policy-nav a {
    color: var(--cye-text-muted, #94A3B8);
}

.cye-policy-nav a:hover {
    color: var(--cye-accent, #00F0FF);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--cye-accent, #00F0FF);
    border: 1px solid var(--cye-accent, #00F0FF);
    color: var(--cye-text-on-theme, #0A0E17);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), 0 0 12px var(--cye-glow, rgba(0, 240, 255, 0.35));
    cursor: pointer;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--cye-accent-hover, #38F4FF);
    transform: translateY(-3px);
}

/* ===== AUTOCOMPLETE DROPDOWN ===== */
.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
    background: var(--cye-bg-secondary, #111827);
    border: 1px solid var(--cye-border, #1F2937);
    border-top: none;
    max-height: 280px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
}

.autocomplete-dropdown a {
    display: block;
    padding: 9px 12px;
    color: var(--cye-text-primary, #E0F7FA);
    font-size: 0.85rem;
    border-bottom: 1px solid var(--cye-border, #1F2937);
}

.autocomplete-dropdown a:hover {
    background: var(--cye-accent, #00F0FF);
    color: var(--cye-text-on-theme, #0A0E17);
}

/* ===== BANNER ADS ===== */
.fv-header-banner,
.fv-footer-banner,
.fv-square-banner {
    text-align: center;
    margin: 15px auto;
    overflow: hidden;
}

/* ===== POLICY PAGES (page-legal.php / page-static.php) ===== */
.cye-policy {
    padding: 30px 0;
}

.cye-policy-card {
    background: var(--cye-bg-secondary, #111827);
    border: 1px solid var(--cye-border, #1F2937);
    padding: 32px;
    line-height: 1.75;
    color: var(--cye-text-primary, #E0F7FA);
    max-width: 860px;
    margin: 0 auto;
}

.cye-policy-card h1 {
    margin-bottom: 20px;
    color: var(--cye-accent, #00F0FF);
    font-size: 26px;
    font-weight: 800;
    text-transform: uppercase;
}

.cye-policy-card h2 {
    margin: 24px 0 12px;
    color: var(--cye-text-primary, #E0F7FA);
    font-size: 18px;
    font-weight: 700;
    border-left: 3px solid var(--cye-accent, #00F0FF);
    padding-left: 10px;
    text-transform: uppercase;
}

.cye-policy-card p {
    margin-bottom: 16px;
}

.cye-policy-card a {
    color: var(--cye-accent, #00F0FF);
    text-decoration: underline;
}

.cye-policy-form {
    display: grid;
    gap: 15px;
    max-width: 600px;
    margin: 20px auto 0;
    text-align: left;
}

.cye-policy-form label {
    font-weight: 600;
    color: var(--cye-text-primary, #E0F7FA);
    font-size: 14px;
    display: block;
    margin-bottom: 2px;
}

.cye-policy-form input:not([type=checkbox]),
.cye-policy-form select,
.cye-policy-form textarea {
    width: 100%;
    padding: 10px 12px;
    background: var(--cye-bg-primary, #0A0E17);
    color: var(--cye-text-primary, #E0F7FA);
    border: 1px solid var(--cye-border, #1F2937);
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

.cye-policy-form input:not([type=checkbox]):focus,
.cye-policy-form select:focus,
.cye-policy-form textarea:focus {
    border-color: var(--cye-accent, #00F0FF);
}

.cye-policy-form textarea {
    min-height: 140px;
    resize: vertical;
}

.cye-policy-form button {
    padding: 10px 24px;
    background: var(--cye-accent, #00F0FF);
    color: var(--cye-text-on-theme, #0A0E17);
    border: 0;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
}

.cye-policy-form button:hover {
    background-color: var(--cye-accent-hover, #38F4FF);
}

.cye-policy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.cye-policy-table th,
.cye-policy-table td {
    padding: 12px;
    border: 1px solid var(--cye-border, #1F2937);
    text-align: left;
}

.cye-policy-table th {
    font-weight: 700;
    color: var(--cye-accent, #00F0FF);
    background: rgba(0, 240, 255, 0.05);
}

.cye-policy-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.cye-policy-stats span {
    padding: 16px;
    background: var(--cye-bg-primary, #0A0E17);
    border: 1px solid var(--cye-border, #1F2937);
    text-align: center;
    font-size: 13px;
    color: var(--cye-text-muted, #94A3B8);
}

.cye-policy-stats b {
    display: block;
    font-size: 20px;
    color: var(--cye-accent, #00F0FF);
    margin-top: 4px;
}

@media (max-width: 600px) {
    .cye-policy-card {
        padding: 20px 14px;
    }
    .cye-policy-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== 404 PAGE ===== */
.error-404 {
    text-align: center;
    padding: 4rem 2rem;
    background-color: var(--cye-bg-secondary, #111827);
    border: 1px solid var(--cye-border, #1F2937);
    margin-top: 1.5rem;
}

.error-404 h1 {
    font-size: 5rem;
    font-weight: 900;
    color: var(--cye-accent, #00F0FF);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px var(--cye-glow, rgba(0, 240, 255, 0.35));
}

.error-404 p {
    color: var(--cye-text-muted, #94A3B8);
    margin-bottom: 1.5rem;
}

/* Utilities */
.text-center { text-align: center; }
.mt-5 { margin-top: 1.25rem; }
.mb-4 { margin-bottom: 1rem; }
.ms-3 { margin-inline-start: 0.75rem; }
