/*
Theme Name: 122. Electric Edge
Theme URI: https://streamui.design
Author: StreamUI Team
Author URI: https://streamui.design
Description: Vibrant electric indigo energy illuminating dark cinematic platforms.
Version: 1.2.0
Requires at least: 6.1
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: electric_edge
Tags: video, electric, indigo, modern, sharp, dark
Tested up to: 6.6
*/

/* ===== CORE THEME VARIABLES ===== */
:root {
  --theme-color: #1B07C5;
  --theme-gradient: linear-gradient(90deg, #1B07C5 0%, rgba(255,255,255,0.4) 50%, #1B07C5 100%);
  --theme-glow: rgba(27, 7, 197, 0.45);
  --theme-bg-body: #181818;
  --theme-bg-surface: #282828;
  --theme-bg-navbar: #121212;
  --theme-border: #222222;
  --theme-border-width: 2px;

  /* Legacy & compatibility variables */
  --gd122-color-hex-ff3565: #1B07C5;
  --gd122-color-hex-e5e7eb: #e5e7eb;
  --gd122-color-hex-181818: #181818;
  --gd122-color-hex-cccccc: #cccccc;
  --gd122-color-hex-9ca3af: #9ca3af;
  --gd122-color-hex-e5e5e5: #ffffff;
  --gd122-color-hex-999999: #999999;
  --gd122-color-hex-dddddd: #dddddd;
  --gd122-color-hex-ffffff: #ffffff;
  --gd122-color-hex-282828: #282828;
  --gd122-color-hex-ffffff4d: rgba(255, 255, 255, 0.3);
  --gd122-color-hex-000000: #000000;
  --gd122-color-hex-444444: #222222;
  --gd122-color-hex-0000004d: rgba(0, 0, 0, 0.3);
  --gd122-color-hex-00000000: transparent;
  --gd122-color-hex-0000001f: rgba(0, 0, 0, 0.12);
  --gd122-color-hex-000000e6: rgba(0, 0, 0, 0.9);
  --gd122-color-hex-000000b3: rgba(0, 0, 0, 0.7);
  --gd122-color-hex-222222: #222222;
  --gd122-color-hex-333333: #333333;
  --gd122-color-hex-151515: #151515;
  --gd122-color-hex-121212: #121212;
  --gd122-color-hex-00000033: rgba(0, 0, 0, 0.2);
  --gd122-color-hex-00000030: rgba(0, 0, 0, 0.15);
  --gd122-color-hex-777777: #777777;
  --gd122-color-hex-00000066: rgba(0, 0, 0, 0.4);
  --gd122-color-rgba-0-0-0-0-4: rgba(0, 0, 0, 0.4);
  --gd122-color-rgba-0-0-0-0-5: rgba(0, 0, 0, 0.5);
  --gd122-color-rgba-10-10-10-0-95: rgba(18, 18, 18, 0.95);
  --gd122-color-hex-0d0d0d: #121212;
  --gd122-color-rgba-255-53-101-0-15: rgba(27, 7, 197, 0.15);
  --gd122-color-rgba-255-53-101-0-4: rgba(27, 7, 197, 0.4);
  --gd122-color-rgba-255-53-101-0-2: rgba(27, 7, 197, 0.2);
  --gd122-color-hex-888888: #888888;
  --gd122-color-rgba-255-53-101-0-3: rgba(27, 7, 197, 0.3);
  --gd122-color-hex-e61c4d: #15059e;
  --gd122-color-rgba-255-53-101-0-5: rgba(27, 7, 197, 0.5);
  --gd122-color-hex-1e1e1e: #1e1e1e;
  --gd122-color-rgba-255-53-101-0-35: rgba(27, 7, 197, 0.35);
  --gd122-color-hex-ff668a: #432de8;
  --gd122-color-hex-ff5780: #5944f5;
  --gd122-color-hex-2ed573: #1B07C5;
  --gd122-color-hex-ff4757: #ff4757;
  --gd122-color-rgba-255-53-101-0-05: rgba(27, 7, 197, 0.05);
  --gd122-color-rgba-255-53-101-0-25: rgba(27, 7, 197, 0.25);
  --gd122-color-rgba-255-255-255-0-1: rgba(255, 255, 255, 0.1);
  --gd122-text-on-theme: #ffffff;
  --fv-thumb-aspect-ratio: 16/9;
}

/* ===== RESET & BASE STYLES ===== */
*,
:after,
:before {
    box-sizing: border-box;
    border: 0 solid var(--theme-border, #222222);
}

:after,
:before {
    --tw-content: "";
}

: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(--theme-bg-body, #181818);
}

body {
    margin: 0;
    line-height: inherit;
    background-color: var(--theme-bg-body, #181818);
    color: var(--gd122-color-hex-cccccc, #cccccc);
    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: 2px solid var(--theme-border, #222222);
}

abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
    color: var(--gd122-color-hex-ffffff, #ffffff);
}

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

a:hover {
    color: var(--theme-color, #1B07C5);
}

b,
strong {
    font-weight: 700;
}

code,
kbd,
pre,
samp {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
    font-size: 1em;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: initial;
}

sub {
    bottom: -.25em;
}

sup {
    top: -.5em;
}

table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
}

button,
select {
    text-transform: none;
}

button,
input:where([type=button]),
input:where([type=reset]),
input:where([type=submit]) {
    -webkit-appearance: button;
    background-color: initial;
    background-image: none;
}

:-moz-focusring {
    outline: auto;
}

:-moz-ui-invalid {
    box-shadow: none;
}

progress {
    vertical-align: initial;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
    height: auto;
}

[type=search] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

summary {
    display: list-item;
}

blockquote,
dd,
dl,
figure,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
pre {
    margin: 0;
}

fieldset {
    margin: 0;
}

fieldset,
legend {
    padding: 0;
}

menu,
ol,
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

dialog {
    padding: 0;
}

textarea {
    resize: vertical;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
    opacity: 1;
    color: var(--gd122-color-hex-9ca3af);
}

input::placeholder,
textarea::placeholder {
    opacity: 1;
    color: var(--gd122-color-hex-9ca3af);
}

[role=button],
button {
    cursor: pointer;
}

:disabled {
    cursor: default;
}

audio,
canvas,
embed,
iframe,
img,
object,
svg,
video {
    display: block;
    vertical-align: middle;
}

img,
video {
    max-width: 100%;
    height: auto;
}

[hidden] {
    display: none;
}

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

@media (min-width:640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width:768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width:1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width:1280px) {
    .container {
        max-width: 1280px;
    }
}

@media (min-width:1536px) {
    .container {
        padding: 0 1.5em;
        max-width: 1600px !important;
    }
}

/* ===== LAYOUT ===== */
.layout {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (min-width:768px) {
    .layout {
        grid-template-columns: repeat(10, minmax(0, 1fr));
    }
}

@media (min-width:1024px) {
    .layout {
        grid-template-columns: repeat(9, minmax(0, 1fr));
    }
}

.layout .layout__left {
    grid-column: 1/-1;
}

@media (min-width:768px) {
    .layout .layout__left {
        grid-column: span 7/span 7;
    }
}

@media (min-width:1024px) {
    .layout .layout__left {
        grid-column: span 7/span 7;
    }
}

.layout .layout__right {
    grid-column: 1/-1;
}

@media (min-width:768px) {
    .layout .layout__right {
        grid-column: span 3/span 3;
    }
}

@media (min-width:1024px) {
    .layout .layout__right {
        grid-column: span 2/span 2;
    }
}

/* ===== HEADER ===== */
#header {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

@media (min-width:1024px) {
    #header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
}

#header .header__logo {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: space-between;
}

#header .header__logo .header__logo__text {
    font-weight: 700;
    color: var(--gd122-color-hex-ffffff, #ffffff);
    font-size: 24px;
    letter-spacing: -0.02em;
}

#header .header__logo .header__logo__text span:first-child {
    color: var(--theme-color, #1B07C5);
}

#header .header__logo .header__logo__description {
    margin-top: .5rem;
    font-size: 1em;
    color: var(--gd122-color-hex-999999);
}

@media (min-width:1024px) {
    #header .header__logo .header__logo__description {
        margin-top: .25rem;
    }
}

/* Mobile Menu Toggle */
#header .header__mobile-menu-toggle {
    position: relative;
    display: block;
}

@media (min-width:1024px) {
    #header .header__mobile-menu-toggle {
        display: none !important;
    }
}

#header .header__mobile-menu-toggle button {
    display: block;
    background-color: inherit;
    border: none;
    right: 0;
    top: -10px;
    cursor: pointer;
    height: 50px;
    line-height: 50px;
    width: 48px;
}

#header .header__mobile-menu-toggle button:before {
    transition: all .3s ease;
    position: absolute;
    top: 16px;
    right: 14px;
    display: block;
    height: 2px;
    width: 20px;
    background: var(--gd122-color-hex-dddddd);
    content: "";
}

#header .header__mobile-menu-toggle button:after {
    position: absolute;
    top: 23px;
    right: 14px;
    display: block;
    height: 9px;
    width: 20px;
    border-top: 2px solid var(--gd122-color-hex-dddddd);
    border-bottom: 2px solid var(--gd122-color-hex-dddddd);
    content: "";
}

#header .header__mobile-menu-toggle--opened button:before {
    top: 23px;
    background: var(--gd122-color-hex-ffffff);
    width: 19px;
    transform: rotate(-45deg);
}

#header .header__mobile-menu-toggle--opened button:after {
    transition: all .3s ease;
    top: 23px;
    border: 0;
    height: 2px;
    width: 19px;
    background: var(--gd122-color-hex-ffffff);
    transform: rotate(45deg);
    position: absolute;
}

/* Search Form (6px Radius, 2px Border) */
#header .header__form {
    margin-top: 1.25rem;
    display: flex;
    width: 100%;
}

@media (min-width:1024px) {
    #header .header__form {
        margin-top: 0;
        width: 50%;
        justify-content: flex-end;
    }
}

#header .header__form form {
    display: flex;
    width: 100%;
    align-items: center;
    position: relative;
}

#header .header__form input {
    width: 100%;
    background-color: var(--theme-bg-surface, #282828);
    border: 2px solid var(--theme-border, #222222);
    border-radius: 6px;
    color: var(--gd122-color-hex-cccccc);
    padding: 0 3.2em 0 1em;
    height: 42px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
    transition: all .2s ease;
}

#header .header__form input:focus {
    outline: none;
    border-color: var(--theme-color, #1B07C5);
    box-shadow: 0 0 10px var(--theme-glow), inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

@media (min-width:1024px) {
    #header .header__form input {
        width: 80%;
    }
}

#header .header__form button {
    box-sizing: border-box;
    height: 34px;
    width: 34px;
    border-radius: 6px;
    border: none;
    background: var(--theme-gradient, #1B07C5);
    box-shadow: 0 0 10px var(--theme-glow);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 5px;
    transition: all .2s ease;
}

@media (min-width:1024px) {
    #header .header__form button {
        right: calc(20% + 5px);
    }
}

#header .header__form button:hover {
    filter: brightness(1.15);
    transform: scale(1.05);
}

#header .header__form button svg path {
    stroke: #ffffff;
}

/* Mobile Aside Menu */
#mobile-aside-menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 40;
    height: 100vh;
    width: 16rem;
    transform: translateX(-100%);
    transition: transform .15s cubic-bezier(.4, 0, .2, 1);
}

#mobile-aside-menu .mobile-aside-menu__container {
    height: 100%;
    overflow-y: auto;
    padding: 1rem .75rem;
    background: var(--theme-bg-navbar, #121212);
    border-right: 2px solid var(--theme-border, #222222);
}

#mobile-aside-menu .mobile-aside-menu__container ul {
    font-weight: 600;
}

#mobile-aside-menu .mobile-aside-menu__container ul li {
    margin-top: .5rem;
}

#mobile-aside-menu .mobile-aside-menu__container ul li a {
    display: flex;
    align-items: center;
    border-radius: 6px;
    padding: .6rem .8rem;
    font-weight: 600;
    color: var(--gd122-color-hex-cccccc);
    border: 2px solid var(--theme-border, #222222);
    transition: all .2s ease;
}

#mobile-aside-menu .mobile-aside-menu__container ul li a.active,
#mobile-aside-menu .mobile-aside-menu__container ul li a:hover {
    color: #ffffff !important;
    background: var(--theme-gradient, #1B07C5) !important;
    border-color: transparent !important;
    box-shadow: 0 0 10px var(--theme-glow);
}

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

.mobile-aside-menu-outside {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 30;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
}

/* ===== NAVBAR (Center, 600 Weight, 0px Gap, 0px Radius, 2px Solid #222222 Border) ===== */
#navbar {
    display: none;
    background: var(--theme-bg-navbar, #121212);
    border-top: 2px solid var(--theme-border, #222222);
    border-bottom: 2px solid var(--theme-border, #222222);
}

@media (min-width:1024px) {
    #navbar {
        display: block;
    }
}

#navbar .navbar__menu {
    display: flex;
    justify-content: center;
    gap: 0px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-wrap: wrap;
    padding: 6px 0;
}

#navbar .navbar__menu::-webkit-scrollbar {
    display: none;
}

#navbar .navbar__menu .navbar__menu__item {
    display: block;
    cursor: pointer;
    align-content: center;
    height: 42px;
    padding: 0 1.25em;
    font-size: .875em;
    font-weight: 600;
    color: var(--gd122-color-hex-ffffff, #ffffff);
    border: 2px solid #222222;
    border-radius: 0px;
    background: transparent;
    margin: 0 -1px;
    line-height: 38px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all .2s ease;
}

#navbar .navbar__menu .navbar__menu__item--active,
#navbar .navbar__menu .navbar__menu__item:hover {
    background: var(--theme-gradient, #1B07C5) !important;
    border-color: var(--theme-color, #1B07C5) !important;
    color: #ffffff !important;
    box-shadow: 0 0 10px var(--theme-glow);
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs-area {
    height: 34px;
    line-height: 32px;
    background-color: var(--theme-bg-surface, #282828) !important;
    border-top: 1px solid var(--theme-border, #222222);
    border-bottom: 1px solid var(--theme-border, #222222);
    border-right: none;
    border-left: none;
    margin-bottom: 1.25rem;
    font-size: .85em !important;
    color: var(--theme-color, #1B07C5);
}

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

.breadcrumbs-area a {
    color: var(--theme-color, #1B07C5);
}

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

.breadcrumbs-area .current {
    color: var(--gd122-color-hex-cccccc);
}

.breadcrumbs-area svg {
    flex-shrink: 0;
}

/* ===== HEADING (Center, 600 Weight, Bg #121212, 0px Radius, 5px Left Border #1B07C5, None Bottom Border) ===== */
.heading {
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #121212;
    color: var(--gd122-color-hex-ffffff, #ffffff);
    padding: .5em 1em;
    font-size: 1.15em;
    font-weight: 600;
    border-radius: 0px;
    border-left: 5px solid var(--theme-color, #1B07C5);
    border-bottom: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.heading__title {
    margin: 0;
    font-size: inherit;
    font-weight: 600;
    letter-spacing: normal;
    text-align: center;
}

/* ===== VIDEO ITEMS GRID (Transparent Card, 0px Radius, 2px Border, Center Align, 400 Title Weight, 1.06 Scale, -4px translateY) ===== */
.items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
}

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

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

.item {
    margin-bottom: .85rem;
    background: transparent;
    padding: 0px;
    border: none;
    border-radius: 0px;
    text-align: center;
    color: var(--gd122-color-hex-dddddd);
    font-size: .875em;
    transition: all .25s ease;
}

.item .item__thumbnail {
    position: relative;
    display: block;
    aspect-ratio: var(--fv-thumb-aspect-ratio, 16/9);
    overflow: hidden;
    border-radius: 0px;
    border: 2px solid var(--theme-border, #222222);
    background: #000000;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.65);
    transition: all .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.item .item__thumbnail img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 0px;
    transition: transform .3s cubic-bezier(0.4, 0, 0.2, 1);
}

.item:hover .item__thumbnail {
    border-color: var(--theme-color, #1B07C5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.85);
}

.item:hover .item__thumbnail img {
    transform: scale(1.06) translateY(-4px);
}

/* Ribbon (Top-right: 0.35rem, 0px Radius, 10deg Skew) */
.item .item__labels {
    position: absolute;
    top: 0.35rem;
    bottom: auto;
    left: auto;
    right: 0.35rem;
    z-index: 2;
}

.item .item__labels span {
    display: inline-block;
    padding: .2rem .55rem;
    font-size: .75rem;
    line-height: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #ffffff;
    background: var(--theme-gradient, #1B07C5) !important;
    border: none;
    border-radius: 0px;
    transform: skew(10deg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.item .item__title {
    margin-top: .35rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    min-height: 2lh;
    text-align: center;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    transition: color .2s ease;
}

.item .item__title h4 {
    margin: 0;
    font-size: inherit;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    color: var(--gd122-color-hex-dddddd);
}

.item:hover .item__title,
.item:hover .item__title h4 {
    color: var(--theme-color, #1B07C5);
}

/* ===== LABELS/TAGS (6px Radius, 1px Border) ===== */
.label {
    margin-right: .5rem;
    margin-bottom: .5rem;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .45rem .9rem;
    font-size: .75rem;
    line-height: 1rem;
    font-weight: 600;
    color: var(--gd122-color-hex-ffffff, #ffffff);
    background: var(--theme-bg-surface, #282828) !important;
    border: 1px solid var(--theme-border, #222222);
    border-radius: 6px;
    transition: all .2s ease;
}

.label:hover {
    background: var(--theme-gradient, #1B07C5) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 0 10px var(--theme-glow);
}

.video__tags {
    margin-top: 1.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

/* ===== PAGINATION (Flex-end, 6px Radius, 1px Border) ===== */
.paginator {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .4rem;
    margin: 1.5rem 0;
}

.paginator .paginator__item {
    display: inline-block;
    margin-bottom: 0;
}

.paginator .paginator__item a,
.paginator .paginator__item span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 .65rem;
    border-radius: 6px;
    background: var(--theme-bg-surface, #282828) !important;
    border: 1px solid var(--theme-border, #222222);
    color: var(--gd122-color-hex-cccccc);
    font-size: .875em;
    font-weight: 600;
    transition: all .2s ease;
}

.paginator .paginator__item a:hover,
.paginator .paginator__item--active a,
.paginator .paginator__item--active span {
    background: var(--theme-gradient, #1B07C5) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 0 10px var(--theme-glow);
}

/* ===== VIDEO PLAYER & CDN SELECTOR ===== */
.player {
    aspect-ratio: 16/9;
    position: relative;
    background: #000000;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid var(--theme-border, #222222);
}

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

.player__poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.player__videos {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.player__videos .player__videos__vid.error-404 {
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--theme-bg-surface, #282828);
    border-radius: 6px;
    border: 2px solid var(--theme-border, #222222);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.player__videos .player__videos__video {
    margin: 10px auto;
    padding: 1.25rem;
    border-radius: 6px;
    background-color: var(--theme-bg-surface, #282828) !important;
    border: 2px solid var(--theme-border, #222222);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

.player__videos .player__videos__video .cdn-selector-wrapper .player__cdn {
    border-radius: 6px;
    background-color: var(--theme-bg-body, #181818);
    border: 1px solid var(--theme-border, #222222);
    padding: .35rem .95rem;
    color: var(--gd122-color-hex-ffffff);
    cursor: pointer;
    font-weight: 600;
    font-size: .875em;
    transition: all .2s ease;
}

.player__videos .player__videos__video .cdn-selector-wrapper .player__cdn--active,
.player__videos .player__videos__video .cdn-selector-wrapper .player__cdn:hover {
    background: var(--theme-gradient, #1B07C5) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 0 10px var(--theme-glow);
}

.player__video-heading-wrapper {
    margin-bottom: .75rem;
}

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

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

.top-items .item {
    gap: .5rem;
    text-align: center;
}

@media (min-width:1024px) {
    .top-items .item {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: start;
        text-align: left;
    }

    .top-items .item .item__thumbnail {
        grid-column: span 2/span 2;
    }

    .top-items .item .item__title {
        grid-column: span 3/span 3;
        text-align: left;
    }
}

.sidebar-backlinks {
    margin-top: 1.5rem;
}

.sidebar-backlinks ul {
    list-style-type: disc;
    padding-left: 2.5rem;
}

.sidebar-backlinks li {
    margin-bottom: .5rem;
}

.sidebar-backlinks a {
    color: var(--theme-color, #1B07C5);
}

.sidebar-backlinks a.label {
    color: var(--gd122-text-on-theme, #ffffff) !important;
    text-decoration: none !important;
}

.sidebar-backlinks a:hover {
    text-decoration: underline;
}

/* ===== FOOTER ===== */
#footer {
    background: var(--theme-bg-navbar, #121212);
    border-top: 2px solid var(--theme-border, #222222);
    padding: 2.5em 0;
    margin-top: 3.5em;
    clear: both;
    width: 100%;
    font-size: .9em;
    line-height: 1.6;
}

#footer .footer__menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem 1.5rem;
    margin-bottom: 1.25rem;
}

#footer .footer__menu a {
    color: var(--gd122-color-hex-cccccc);
    font-size: .95em;
    font-weight: 500;
    transition: color .2s ease;
}

#footer .footer__menu a:hover {
    color: var(--theme-color, #1B07C5);
    text-decoration: none;
}

#footer .footer__text {
    text-align: center;
    color: var(--gd122-color-hex-999999);
    max-width: 900px;
    margin: 0 auto 1.5rem;
    font-size: .85em;
}

#footer .footer__bottom {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--theme-border, #222222);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .75rem;
}

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

#footer .footer__copyright {
    color: var(--gd122-color-hex-777777);
    font-size: .85em;
    margin: 0;
}

#footer .dmca-badge {
    display: inline-block;
    opacity: .7;
    transition: opacity .3s ease;
}

#footer .dmca-badge:hover {
    opacity: 1;
}

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

/* ===== BUTTONS ===== */
.button {
    margin-top: .75rem;
    border-radius: 6px;
    background: var(--theme-gradient, #1B07C5) !important;
    border: none;
    padding: .5rem 1.5rem;
    color: #ffffff;
    cursor: pointer;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 0 10px var(--theme-glow);
    transition: all .2s ease;
}

.button:hover {
    filter: brightness(1.15);
    transform: scale(1.02);
}

/* ===== UTILITY CLASSES ===== */
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mb-2 {
    margin-bottom: .5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.ms-3 {
    margin-inline-start: .75rem;
}

.mt-5 {
    margin-top: 1.25rem;
}

.block {
    display: block;
}

.h-5 {
    height: 1.25rem;
}

.w-5 {
    width: 1.25rem;
}

.text-center {
    text-align: center;
}

.text-sm {
    font-size: .875rem;
    line-height: 1.25rem;
}

.text-white {
    color: var(--gd122-color-hex-ffffff);
}

.list-disc {
    list-style-type: disc;
}

.pl-10 {
    padding-left: 2.5rem;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Loading spinner */
@keyframes spin {
    to {
        transform: rotate(1turn);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

.opacity-25 {
    opacity: .25;
}

.opacity-75 {
    opacity: .75;
}

/* ===== AUTOCOMPLETE DROPDOWN ===== */
.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
    background: var(--theme-bg-surface, #282828);
    border: 1px solid var(--theme-border, #222222);
    border-top: none;
    border-radius: 0 0 6px 6px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    box-sizing: border-box;
}

.autocomplete-dropdown a {
    display: block;
    padding: 8px 12px;
    color: var(--gd122-color-hex-cccccc);
    text-decoration: none;
    border-bottom: 1px solid var(--theme-border, #222222);
}

.autocomplete-dropdown a:hover {
    background: var(--theme-gradient, #1B07C5);
    color: #ffffff;
}

.autocomplete-dropdown::-webkit-scrollbar {
    width: 6px;
}

.autocomplete-dropdown::-webkit-scrollbar-track {
    background: var(--theme-bg-surface, #282828);
}

.autocomplete-dropdown::-webkit-scrollbar-thumb {
    background: var(--theme-color, #1B07C5);
    border-radius: 3px;
}

/* ===== VIDEO PAGE SPECIFIC ===== */
.video-description {
    margin-top: 1rem;
    line-height: 1.6;
}

.video-categories {
    margin: 1rem 0;
}

.video-categories-heading {
    margin-bottom: .5rem;
    color: var(--gd122-color-hex-999999);
    font-size: .9em;
}

.video-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    color: var(--gd122-color-hex-999999);
}

.video-stats .views,
.video-stats .likes {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem 1rem;
    background-color: var(--theme-bg-surface, #282828) !important;
    border: 1px solid var(--theme-border, #222222);
    box-shadow: 0 1px 6px 0 var(--gd122-color-hex-0000001f);
    border-radius: 6px;
    color: var(--gd122-color-hex-cccccc);
}

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

.video-stats .likes:hover,
.video-stats .likes.liked {
    background: var(--theme-gradient, #1B07C5) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 0 10px var(--theme-glow);
}

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

.time-filter-btn {
    padding: .5rem 1rem;
    background: var(--theme-bg-surface, #282828);
    color: var(--gd122-color-hex-cccccc);
    border: 1px solid var(--theme-border, #222222);
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all .2s ease;
}

.time-filter-btn:hover,
.time-filter-btn.active {
    background: var(--theme-gradient, #1B07C5) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 0 10px var(--theme-glow);
}

/* ===== 404 PAGE ===== */
.error-404 {
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--theme-bg-surface, #282828);
    border: 2px solid var(--theme-border, #222222);
    border-radius: 6px;
    margin-top: 1.25rem;
    box-shadow: 0 8px 17px 0 var(--gd122-color-hex-00000033), 0 6px 6px 0 var(--gd122-color-hex-00000030);
}

.error-404 h1 {
    font-size: 6rem;
    font-weight: 700;
    color: var(--theme-color, #1B07C5);
    margin: 0 0 .5rem 0;
    line-height: 1;
    text-shadow: 2px 2px 4px var(--gd122-color-hex-00000066);
}

.error-404 p {
    font-size: 1rem;
    margin: 0 0 .5rem 0;
    color: var(--gd122-color-hex-999999);
    line-height: 1.6;
}

.error-404 p:last-of-type {
    margin-bottom: 1.5rem;
}

.error-404 .button {
    margin-top: 0;
    padding: .75rem 2rem;
    font-size: 1rem;
}

/* ===== TOUCH DEVICES ===== */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Hide search input x button */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    display: none;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--theme-gradient, #1B07C5);
    border: none;
    border-radius: 6px;
    box-shadow: 0 0 10px var(--theme-glow);
    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 {
    transform: translateY(-3px);
    box-shadow: 0 0 16px var(--theme-glow);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    color: #ffffff;
}

/* Banner Ads */
.fv-header-banner,
.fv-footer-banner,
.fv-square-banner {
    text-align: center;
    margin: 20px auto;
    overflow: hidden;
}

/* ===== AGE GATE MODAL CUSTOMIZATIONS ===== */
.electric-edge-age-gate,
.magenta-edge-age-gate {
    background: var(--gd122-color-rgba-10-10-10-0-95) !important;
}

.electric-edge-age-gate__content,
.magenta-edge-age-gate__content {
    background: var(--theme-bg-surface, #282828) !important;
    border: 2px solid var(--theme-color, #1B07C5) !important;
    border-radius: 6px !important;
    padding: 40px 30px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 20px var(--theme-glow) !important;
}

.electric-edge-age-gate__badge,
.magenta-edge-age-gate__badge {
    border: 2px solid var(--theme-color, #1B07C5) !important;
    border-radius: 6px !important;
    color: var(--theme-color, #1B07C5) !important;
    font-weight: 900 !important;
    font-family: monospace, sans-serif !important;
    text-shadow: 0 0 8px var(--theme-glow) !important;
    box-shadow: 0 0 12px var(--theme-glow) !important;
}

.electric-edge-age-gate__title,
.magenta-edge-age-gate__title {
    color: var(--gd122-color-hex-ffffff) !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

.electric-edge-age-gate__desc,
.magenta-edge-age-gate__desc {
    color: var(--gd122-color-hex-888888) !important;
    font-size: 13px !important;
}

.electric-edge-age-gate__btn,
.magenta-edge-age-gate__btn {
    background: var(--theme-gradient, #1B07C5) !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 0 10px var(--theme-glow) !important;
    transition: all 0.2s ease !important;
}

.electric-edge-age-gate__btn:hover,
.magenta-edge-age-gate__btn:hover {
    filter: brightness(1.15) !important;
    transform: scale(1.02) !important;
    box-shadow: 0 0 20px var(--theme-glow) !important;
}

.electric-edge-age-gate__btn:active,
.magenta-edge-age-gate__btn:active {
    transform: scale(1) !important;
}

/* ===== LEGAL / POLICY PAGES ===== */
.me-policy {
    padding-top: 40px;
    padding-bottom: 40px;
}

.me-policy-card {
    background: var(--theme-bg-surface, #282828);
    border: 2px solid var(--theme-border, #222222);
    border-radius: 6px;
    padding: 32px;
    line-height: 1.75;
    color: var(--gd122-color-hex-cccccc);
    max-width: 800px;
    margin: 0 auto;
}

.me-policy-card h1 {
    margin-bottom: 24px;
    color: var(--gd122-color-hex-ffffff, #ffffff);
    font-size: 28px;
    font-weight: 800;
}

.me-policy-card h2 {
    margin: 28px 0 12px;
    color: var(--gd122-color-hex-ffffff, #ffffff);
    font-size: 20px;
    font-weight: 700;
    border-left: 4px solid var(--theme-color, #1B07C5);
    padding-left: 10px;
}

.me-policy-card p {
    margin: 0 0 16px;
}

.me-policy-card a {
    color: var(--theme-color, #1B07C5);
    text-decoration: underline;
}

.me-policy-card a:hover {
    color: #432de8;
}

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

.me-policy-form label {
    font-weight: 600;
    color: var(--gd122-color-hex-cccccc);
    font-size: 14px;
    display: block;
    margin-bottom: 2px;
}

.me-policy-form input:not([type=checkbox]),
.me-policy-form select {
    width: 100%;
    padding: 10px 16px;
    background: var(--theme-bg-body, #181818);
    color: var(--gd122-color-hex-cccccc);
    border: 2px solid var(--theme-border, #222222);
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.me-policy-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--theme-bg-body, #181818);
    color: var(--gd122-color-hex-cccccc);
    border: 2px solid var(--theme-border, #222222);
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    min-height: 140px;
    resize: vertical;
}

.me-policy-form input:not([type=checkbox]):focus,
.me-policy-form select:focus,
.me-policy-form textarea:focus {
    border-color: var(--theme-color, #1B07C5);
    box-shadow: 0 0 10px var(--theme-glow);
}

/* Custom select styling for chevron arrow */
.me-policy-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: var(--gd122-select-arrow);
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 42px;
}

/* For option tag in dark mode select */
.me-policy-form select option {
    background: var(--theme-bg-body, #181818);
    color: var(--gd122-color-hex-cccccc);
}

.me-policy-form .me-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
    font-size: 13px;
}

.me-policy-form .me-checkbox-label input[type=checkbox] {
    margin-top: 4px;
}

.me-policy-form button {
    width: fit-content;
    padding: 10px 28px;
    background: var(--theme-gradient, #1B07C5);
    color: #ffffff;
    border-radius: 6px;
    border: 0;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 0 10px var(--theme-glow);
    transition: all 0.2s;
}

.me-policy-form button:hover {
    filter: brightness(1.15);
}

.me-form-status {
    min-height: 1.5em;
    font-weight: 600;
    font-size: 14px;
    margin-top: 10px;
}

.me-form-status.me-is-success {
    color: #1B07C5;
}

.me-form-status.me-is-error {
    color: #ff4757;
}

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

.me-policy-table caption {
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: var(--gd122-color-hex-888888);
    margin-bottom: 8px;
}

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

.me-policy-table th {
    font-weight: 700;
    color: var(--gd122-color-hex-ffffff);
    background: var(--theme-bg-body, #181818);
}

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

.me-policy-stats span {
    padding: 16px;
    background: var(--theme-bg-body, #181818);
    border: 1px solid var(--theme-border, #222222);
    border-radius: 6px;
    text-align: center;
    font-size: 13px;
    color: var(--gd122-color-hex-888888);
}

.me-policy-stats b {
    display: block;
    font-size: 20px;
    color: var(--theme-color, #1B07C5);
    margin-top: 4px;
}

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

.me-policy-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    margin: 18px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid var(--theme-border, #222222);
    font-size: 13px;
}

.me-policy-nav a {
    color: inherit;
    text-decoration: none;
}

.me-policy-nav a:hover {
    color: var(--theme-color, #1B07C5);
}

.me-policy-kicker {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 16px;
    font-weight: 700;
    color: var(--theme-color, #1B07C5);
    margin-bottom: 24px;
    text-align: center;
}

.me-policy-note {
    margin-top: 24px;
    color: var(--gd122-color-hex-888888);
    font-size: 13px;
}

.me-form-intro {
    margin-bottom: 20px;
    color: var(--gd122-color-hex-888888);
    font-size: 13px;
}
