:root {
    --bg-outside: #0f0f11;
    --bg-card: #151518;
    --bg-header: #121215;
    --text-main: #ffffff;
    --text-muted: #8b8b99;
    --accent-red: #f82020;
    --accent-red-hover: #ff3333;
    --border-color: rgba(255, 42, 42, 0.2);
    --border-light: rgba(255, 255, 255, 0.05);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rubik', sans-serif;
}

body {
    background-color: var(--bg-outside);
    color: var(--text-main);
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.site-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

/* HEADER */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    margin-bottom: 25px;
    background: var(--bg-header);
    border-bottom: 1px solid var(--border-color);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 26px;
    letter-spacing: 1px;
}
.logo-icon {
    color: var(--accent-red);
    font-size: 32px;
}
.logo-text { color: #fff; }
.logo-sub {
    font-size: 9px;
    color: var(--text-muted);
    display: block;
    font-weight: 600;
    letter-spacing: 2px;
    margin-top: -5px;
}

.nav-links {
    display: flex;
    gap: 10px;
}
.nav-links a {
    font-weight: 700;
    font-size: 12px;
    color: var(--text-main);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #1a1a20;
    padding: 8px 15px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}
.nav-links a.active {
    background: var(--accent-red);
    border-color: var(--accent-red);
}
.nav-links a:hover:not(.active) {
    border-color: var(--accent-red);
    color: var(--accent-red);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-container {
    position: relative;
}
.search-input {
    background: #1a1a20;
    border: 1px solid var(--border-light);
    padding: 10px 40px 10px 15px;
    border-radius: 20px;
    color: var(--text-main);
    font-size: 13px;
    width: 250px;
}
.search-input:focus {
    outline: 1px solid var(--accent-red);
}
.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
}

.profile-btn {
    width: 40px;
    height: 40px;
    background: #1a1a20;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
    cursor: pointer;
}

/* MAIN LAYOUT GRID */
.gamezone-layout {
    display: grid;
    grid-template-columns: 280px 1fr 280px;
    gap: 25px;
    margin-bottom: 30px;
}

/* SIDEBARS */
.sidebar, .center-section {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 20px;
    border: 1px solid var(--border-color);
}
.sidebar-title {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 10px;
}
.sidebar-title i { color: var(--accent-red); }

/* Left Sidebar - Top 10 */
.rank-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.rank-item {
    display: flex;
    align-items: center;
    gap: 15px;
}
.rank-num {
    font-size: 22px;
    font-weight: 900;
    color: var(--text-main);
    width: 25px;
}
.rank-img {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
}
.rank-info {
    flex: 1;
    overflow: hidden;
}
.rank-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.rank-plays {
    font-size: 11px;
    color: var(--accent-red);
    font-weight: 600;
}
.rank-chart {
    color: var(--text-muted);
    font-size: 18px;
}
.btn-outline {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    border: 1px solid var(--accent-red);
    color: var(--accent-red);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 20px;
    background: transparent;
}
.btn-outline:hover { background: rgba(248,32,32,0.1); }

/* Center Content */
.center-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
    min-width: 0; /* Critical for CSS Grid 1fr to shrink */
}

.center-section {
    padding: 20px;
}

.section-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 10px;
}
.section-top h3 {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-top h3 i { color: var(--accent-red); }
.section-top p {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
}
.view-all {
    font-size: 11px;
    color: var(--accent-red);
    font-weight: 700;
    text-transform: uppercase;
}

/* Explore Keywords Grid */
.explore-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}
.kw-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1a1a20;
    border: 1px solid var(--border-light);
    padding: 10px;
    border-radius: 8px;
    min-width: 0;
}
.kw-card:hover {
    border-color: var(--accent-red);
}
.kw-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
}
.kw-icon {
    font-size: 14px;
    color: var(--accent-red);
    width: 16px;
    text-align: center;
}
.kw-name {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.kw-count {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
}

.load-more-btn {
    display: block;
    text-align: center;
    padding: 12px;
    color: var(--accent-red);
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    border-top: 1px solid var(--border-light);
    margin-top: 15px;
    padding-top: 15px;
}
.load-more-btn i { margin-right: 5px; }

/* Games Grids (New / Recommended) -> Videos Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
}
.game-card {
    background: transparent;
    transition: all 0.2s;
    min-width: 0; /* Prevents long titles from blowing out the grid */
}
.game-card:hover {
    transform: translateY(-3px);
}
.game-thumb-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
    border: 1px solid var(--border-light);
}
.game-card:hover .game-thumb-wrapper { border-color: var(--accent-red); }
.game-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.game-duration {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    font-size: 10px;
    padding: 2px 4px;
    border-radius: 4px;
    font-weight: 700;
}
.game-title {
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.game-rating {
    display: flex;
    gap: 2px;
    color: var(--accent-red);
    font-size: 9px;
}
.game-plays {
    font-size: 10px;
    color: var(--text-muted);
}

/* Right Sidebar - Top Categories */
.top-cats-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.top-cat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.top-cat-num {
    font-size: 16px;
    font-weight: 900;
    width: 20px;
}
.top-cat-icon {
    color: var(--accent-red);
    font-size: 14px;
    width: 16px;
    text-align: center;
}
.top-cat-info {
    flex: 1;
}
.top-cat-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}
.top-cat-name {
    font-size: 12px;
    font-weight: 700;
}
.top-cat-count {
    font-size: 10px;
    font-weight: 700;
}
.top-cat-bar {
    width: 100%;
    height: 4px;
    background: #2a2a30;
    border-radius: 2px;
    overflow: hidden;
}
.top-cat-progress {
    height: 100%;
    background: var(--accent-red);
}

/* Social Box */
.social-box {
    text-align: center;
    margin-top: 10px;
}
.social-box p {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 15px;
}
.social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.social-icons a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
}
.social-discord { background: #5865F2; }
.social-facebook { background: #1877F2; }
.social-twitter { background: #1DA1F2; }
.social-youtube { background: #FF0000; }
.social-telegram { background: #0088cc; }

/* Popular Tags Block */
.popular-tags-block {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 30px;
}
.tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}
.ptag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 11px;
    color: #fff;
    font-weight: 700;
    text-transform: lowercase;
}
.ptag:hover {
    border-color: var(--accent-red);
}
.ptag-count {
    color: var(--accent-red);
    font-size: 10px;
}

/* FOOTER FEATURES */
.features-bar {
    display: flex;
    justify-content: space-between;
    padding-top: 30px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}
.feature-icon {
    font-size: 24px;
    color: var(--text-main);
}
.feature-text h4 {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}
.feature-text p {
    font-size: 11px;
    color: var(--text-muted);
}
.footer-links {
    display: flex;
    gap: 20px;
    align-items: center;
}
.footer-links a {
    font-size: 12px;
    color: var(--text-muted);
}
.footer-links a:hover { color: var(--accent-red); }

/* Responsive */
@media (max-width: 1400px) {
    .games-grid { grid-template-columns: repeat(4, 1fr); }
    .explore-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}
@media (max-width: 1100px) {
    .gamezone-layout { grid-template-columns: 250px 1fr; }
    .right-sidebar { display: none; }
}
@media (max-width: 800px) {
    .gamezone-layout { grid-template-columns: 1fr; }
    .left-sidebar { display: none; }
    .explore-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
    .games-grid { grid-template-columns: repeat(2, 1fr); }
    .features-bar { flex-wrap: wrap; gap: 20px; }
}

/* =========================================
   AD BANNER CONTAINERS (All Themes)
   ========================================= */
.top-banner, .footer-banner, .sidebar-ad {
    margin: 15px auto;
    text-align: center;
    max-width: 100%;
}
.banner-728x90 {
    width: 100%;
    max-width: 728px;
    min-height: 90px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
}
.banner-728x90 img, .banner-728x90 iframe {
    max-width: 100% !important;
    height: auto !important;
}
.banner-300x250 {
    width: 300px;
    max-width: 100%;
    min-height: 250px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
}
.banner-300x250 img, .banner-300x250 iframe {
    max-width: 100% !important;
    height: auto !important;
}
.banner-250x350 {
    width: 250px;
    max-width: 100%;
    min-height: 350px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
}

/* =========================================
   THEME: FUNZONE (Design #4)
   ========================================= */
body.theme-funzone {
    --bg-outside: #e4e9f7;
    --bg-card: #ffffff;
    --bg-header: #202654;
    --text-main: #2b2b36;
    --text-muted: #8b8b99;
    --accent-red: #ff5c8a;
    --accent-red-hover: #ff3366;
    --border-color: #e9ecef;
    --border-light: rgba(0, 0, 0, 0.05);
}

body.theme-funzone .header {
    background: var(--bg-header) !important;
    box-shadow: 0 4px 15px rgba(32, 38, 84, 0.2);
}
body.theme-funzone .header .logo,
body.theme-funzone .nav-links a,
body.theme-funzone .header-right a {
    color: #ffffff;
}
body.theme-funzone .nav-links a:hover {
    color: var(--accent-red);
}

/* Colorful Explore Keywords Grid for Funzone */
body.theme-funzone .kw-card {
    border: none;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}
body.theme-funzone .kw-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    background-image: linear-gradient(rgba(255,255,255,0.1), rgba(255,255,255,0.1));
}
body.theme-funzone .kw-card .kw-icon {
    color: #ffffff !important;
}
body.theme-funzone .kw-card .kw-count {
    background: rgba(0,0,0,0.15);
}

/* 6 distinct colors for Funzone pills */
body.theme-funzone .explore-grid a:nth-child(6n+1) { background: #ff5c8a; } /* Pink */
body.theme-funzone .explore-grid a:nth-child(6n+2) { background: #3ba0fc; } /* Blue */
body.theme-funzone .explore-grid a:nth-child(6n+3) { background: #ffb822; } /* Yellow */
body.theme-funzone .explore-grid a:nth-child(6n+4) { background: #10c469; } /* Green */
body.theme-funzone .explore-grid a:nth-child(6n+5) { background: #ff7844; } /* Orange */
body.theme-funzone .explore-grid a:nth-child(6n+6) { background: #9c54ff; } /* Purple */

/* Sidebar Rank Items for Funzone */
body.theme-funzone .rank-item {
    background: #f8f9fa;
    border: 1px solid var(--border-color);
}
body.theme-funzone .rank-item:hover {
    background: #f1f3f5;
    border-color: #dee2e6;
}
body.theme-funzone .rank-num {
    color: var(--text-muted);
}
body.theme-funzone .game-card {
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
body.theme-funzone .ptag {
    color: var(--text-main);
    background: #ffffff;
    border-color: var(--border-color);
}
body.theme-funzone .ptag:hover {
    background: #f1f3f5;
}

/* =========================================
   THEME: CYBER NEON (Design #5)
   ========================================= */
body.theme-cyber_tube {
    --bg-outside: #07080c;
    --bg-card: #0e1118;
    --bg-header: #0a0c12;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --accent-red: #00f2fe;
    --accent-red-hover: #4facfe;
    --accent-glow: #a855f7;
    --border-color: rgba(0, 242, 254, 0.18);
    --border-light: rgba(255, 255, 255, 0.07);
    --border-radius: 14px;
    background: radial-gradient(circle at 50% 0%, #111728 0%, #07080c 60%);
    background-attachment: fixed;
    font-family: 'Inter', 'Rubik', sans-serif;
}

body.theme-cyber_tube .header {
    background: rgba(10, 12, 18, 0.9) !important;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 242, 254, 0.25);
    box-shadow: 0 4px 25px rgba(0, 242, 254, 0.08);
}
body.theme-cyber_tube .logo-icon {
    color: #00f2fe;
    filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.7));
}
body.theme-cyber_tube .logo-text {
    background: linear-gradient(135deg, #00f2fe, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    letter-spacing: 1.5px;
}
body.theme-cyber_tube .nav-links a {
    background: #11141f;
    border-color: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
body.theme-cyber_tube .nav-links a.active {
    background: linear-gradient(135deg, #00f2fe, #7928ca);
    border-color: #00f2fe;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}
body.theme-cyber_tube .nav-links a:hover:not(.active) {
    border-color: #00f2fe;
    color: #00f2fe;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}
body.theme-cyber_tube .shorts-nav-btn {
    border-color: rgba(168, 85, 247, 0.6) !important;
}
body.theme-cyber_tube .search-input {
    background: #11141f;
    border-color: rgba(0, 242, 254, 0.2);
}
body.theme-cyber_tube .search-input:focus {
    border-color: #00f2fe;
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.3);
}
body.theme-cyber_tube .sidebar,
body.theme-cyber_tube .center-section,
body.theme-cyber_tube .popular-tags-block,
body.theme-cyber_tube .video-details {
    background: rgba(14, 17, 24, 0.88);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 242, 254, 0.16);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}
body.theme-cyber_tube .sidebar-title i,
body.theme-cyber_tube .section-top h3 i {
    color: #00f2fe;
    filter: drop-shadow(0 0 6px rgba(0, 242, 254, 0.5));
}
body.theme-cyber_tube .rank-item {
    padding: 6px 10px;
    border-radius: 10px;
    transition: all 0.2s;
}
body.theme-cyber_tube .rank-item:hover {
    background: rgba(0, 242, 254, 0.08);
    transform: translateX(4px);
}
body.theme-cyber_tube .rank-num {
    color: #a855f7;
}
body.theme-cyber_tube .rank-plays {
    color: #00f2fe;
}
body.theme-cyber_tube .kw-card {
    background: #121622;
    border-color: rgba(0, 242, 254, 0.12);
    border-radius: 10px;
}
body.theme-cyber_tube .kw-card:hover {
    border-color: #00f2fe;
    box-shadow: 0 0 14px rgba(0, 242, 254, 0.28);
    transform: translateY(-2px);
}
body.theme-cyber_tube .kw-icon {
    color: #a855f7;
}
body.theme-cyber_tube .game-thumb-wrapper {
    border: 1px solid rgba(0, 242, 254, 0.16);
    box-shadow: 0 4px 14px rgba(0,0,0,0.4);
    border-radius: 10px;
}
body.theme-cyber_tube .game-card:hover .game-thumb-wrapper {
    border-color: #00f2fe;
    box-shadow: 0 0 18px rgba(0, 242, 254, 0.4);
}
body.theme-cyber_tube .game-duration {
    background: rgba(7, 8, 12, 0.88);
    border: 1px solid rgba(0, 242, 254, 0.4);
    color: #00f2fe;
}
body.theme-cyber_tube .game-rating {
    color: #00f2fe;
}
body.theme-cyber_tube .top-cat-icon {
    color: #a855f7;
}
body.theme-cyber_tube .top-cat-progress {
    background: linear-gradient(90deg, #00f2fe, #a855f7);
}
body.theme-cyber_tube .ptag,
body.theme-cyber_tube .tag-pill {
    background: #121622;
    border-color: rgba(0, 242, 254, 0.16);
    border-radius: 20px;
}
body.theme-cyber_tube .ptag:hover,
body.theme-cyber_tube .tag-pill:hover {
    border-color: #00f2fe;
    color: #00f2fe;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.35);
}
body.theme-cyber_tube .ptag-count {
    color: #a855f7;
}
body.theme-cyber_tube .btn-outline {
    border-color: #00f2fe;
    color: #00f2fe;
    border-radius: 10px;
}
body.theme-cyber_tube .btn-outline:hover {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(168, 85, 247, 0.2));
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.35);
}
body.theme-cyber_tube .player-wrapper {
    border: 1px solid rgba(0, 242, 254, 0.3) !important;
    box-shadow: 0 8px 35px rgba(0, 242, 254, 0.15) !important;
}

/* =========================================
   THEME: RUBY CINEMA (Design #6)
   ========================================= */
body.theme-ruby_cinema {
    --bg-outside: #060608;
    --bg-card: #111114;
    --bg-header: #0a0a0c;
    --text-main: #ffffff;
    --text-muted: #8e8e9f;
    --accent-red: #ff1e42;
    --accent-red-hover: #ff3355;
    --border-color: rgba(255, 30, 66, 0.25);
    --border-light: rgba(255, 255, 255, 0.06);
    --border-radius: 10px;
    background: #060608;
    font-family: 'Outfit', 'Rubik', sans-serif;
}

body.theme-ruby_cinema .header {
    background: #0a0a0c !important;
    border-bottom: 2px solid #ff1e42;
    box-shadow: 0 4px 20px rgba(255, 30, 66, 0.18);
}
body.theme-ruby_cinema .logo-icon {
    color: #ff1e42;
    filter: drop-shadow(0 0 10px rgba(255, 30, 66, 0.7));
}
body.theme-ruby_cinema .logo-text {
    color: #ffffff;
    font-weight: 900;
    letter-spacing: 1px;
}
body.theme-ruby_cinema .nav-links a {
    background: #18181e;
    border-color: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    border-radius: 8px;
}
body.theme-ruby_cinema .nav-links a.active {
    background: #ff1e42;
    border-color: #ff1e42;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 30, 66, 0.5);
}
body.theme-ruby_cinema .nav-links a:hover:not(.active) {
    border-color: #ff1e42;
    color: #ff1e42;
}
body.theme-ruby_cinema .search-input {
    background: #18181e;
    border-color: rgba(255, 30, 66, 0.3);
}
body.theme-ruby_cinema .search-input:focus {
    border-color: #ff1e42;
    box-shadow: 0 0 10px rgba(255, 30, 66, 0.4);
}
body.theme-ruby_cinema .sidebar,
body.theme-ruby_cinema .center-section,
body.theme-ruby_cinema .popular-tags-block,
body.theme-ruby_cinema .video-details {
    background: #111114;
    border: 1px solid rgba(255, 30, 66, 0.22);
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}
body.theme-ruby_cinema .sidebar-title i,
body.theme-ruby_cinema .section-top h3 i {
    color: #ff1e42;
    filter: drop-shadow(0 0 6px rgba(255, 30, 66, 0.6));
}
body.theme-ruby_cinema .rank-item {
    padding: 6px 8px;
    border-radius: 8px;
    transition: all 0.2s;
}
body.theme-ruby_cinema .rank-item:hover {
    background: rgba(255, 30, 66, 0.08);
}
body.theme-ruby_cinema .rank-plays {
    color: #ff1e42;
}
body.theme-ruby_cinema .kw-card {
    background: #16161c;
    border-color: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}
body.theme-ruby_cinema .kw-card:hover {
    border-color: #ff1e42;
    background: #1e1e26;
    box-shadow: 0 0 12px rgba(255, 30, 66, 0.25);
}
body.theme-ruby_cinema .kw-icon {
    color: #ff1e42;
}
body.theme-ruby_cinema .game-thumb-wrapper {
    border: 1px solid rgba(255, 30, 66, 0.22);
    border-radius: 8px;
}
body.theme-ruby_cinema .game-card:hover .game-thumb-wrapper {
    border-color: #ff1e42;
    box-shadow: 0 0 15px rgba(255, 30, 66, 0.45);
}
body.theme-ruby_cinema .game-duration {
    background: #ff1e42;
    color: #ffffff;
    font-weight: 800;
}
body.theme-ruby_cinema .game-rating {
    color: #ff1e42;
}
body.theme-ruby_cinema .top-cat-icon {
    color: #ff1e42;
}
body.theme-ruby_cinema .top-cat-progress {
    background: #ff1e42;
}
body.theme-ruby_cinema .ptag,
body.theme-ruby_cinema .tag-pill {
    background: #16161c;
    border-color: rgba(255, 30, 66, 0.2);
}
body.theme-ruby_cinema .ptag:hover,
body.theme-ruby_cinema .tag-pill:hover {
    border-color: #ff1e42;
    color: #ff1e42;
    background: rgba(255, 30, 66, 0.12);
}
body.theme-ruby_cinema .ptag-count {
    color: #ff1e42;
}
body.theme-ruby_cinema .btn-outline {
    border-color: #ff1e42;
    color: #ff1e42;
    border-radius: 8px;
}
body.theme-ruby_cinema .btn-outline:hover {
    background: rgba(255, 30, 66, 0.2);
    box-shadow: 0 0 15px rgba(255, 30, 66, 0.35);
}
body.theme-ruby_cinema .player-wrapper {
    border: 1px solid rgba(255, 30, 66, 0.35) !important;
    box-shadow: 0 8px 30px rgba(255, 30, 66, 0.2) !important;
}

/* =========================================
   THEME: CLEAN MODERN TUBE (Design #7)
   ========================================= */
body.theme-clean_modern {
    --bg-outside: #0b0f19;
    --bg-card: #131b2e;
    --bg-header: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-red: #38bdf8;
    --accent-red-hover: #0ea5e9;
    --border-color: rgba(56, 189, 248, 0.16);
    --border-light: rgba(255, 255, 255, 0.05);
    --border-radius: 12px;
    background: #0b0f19;
    font-family: 'Inter', sans-serif;
}

body.theme-clean_modern .header {
    background: #0f172a !important;
    border-bottom: 1px solid rgba(56, 189, 248, 0.22);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
body.theme-clean_modern .logo-icon {
    color: #38bdf8;
}
body.theme-clean_modern .nav-links a {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    border-radius: 8px;
}
body.theme-clean_modern .nav-links a.active {
    background: #0284c7;
    border-color: #38bdf8;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
}
body.theme-clean_modern .nav-links a:hover:not(.active) {
    border-color: #38bdf8;
    color: #38bdf8;
}
body.theme-clean_modern .search-input {
    background: #1e293b;
    border-color: rgba(56, 189, 248, 0.2);
}
body.theme-clean_modern .search-input:focus {
    border-color: #38bdf8;
}
body.theme-clean_modern .sidebar,
body.theme-clean_modern .center-section,
body.theme-clean_modern .popular-tags-block,
body.theme-clean_modern .video-details {
    background: #131b2e;
    border: 1px solid rgba(56, 189, 248, 0.14);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
body.theme-clean_modern .sidebar-title i,
body.theme-clean_modern .section-top h3 i {
    color: #38bdf8;
}
body.theme-clean_modern .rank-plays {
    color: #38bdf8;
}
body.theme-clean_modern .kw-card {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}
body.theme-clean_modern .kw-card:hover {
    border-color: #38bdf8;
    background: #24334a;
}
body.theme-clean_modern .kw-icon {
    color: #38bdf8;
}
body.theme-clean_modern .game-thumb-wrapper {
    border: 1px solid rgba(56, 189, 248, 0.16);
    border-radius: 8px;
}
body.theme-clean_modern .game-card:hover .game-thumb-wrapper {
    border-color: #38bdf8;
    box-shadow: 0 4px 14px rgba(56, 189, 248, 0.25);
}
body.theme-clean_modern .game-duration {
    background: rgba(15, 23, 42, 0.9);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}
body.theme-clean_modern .game-rating {
    color: #facc15;
}
body.theme-clean_modern .top-cat-icon {
    color: #38bdf8;
}
body.theme-clean_modern .top-cat-progress {
    background: #38bdf8;
}
body.theme-clean_modern .ptag,
body.theme-clean_modern .tag-pill {
    background: #1e293b;
    border-color: rgba(56, 189, 248, 0.16);
}
body.theme-clean_modern .ptag:hover,
body.theme-clean_modern .tag-pill:hover {
    border-color: #38bdf8;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
}
body.theme-clean_modern .ptag-count {
    color: #38bdf8;
}
body.theme-clean_modern .btn-outline {
    border-color: #38bdf8;
    color: #38bdf8;
    border-radius: 8px;
}
body.theme-clean_modern .btn-outline:hover {
    background: rgba(56, 189, 248, 0.15);
}
body.theme-clean_modern .player-wrapper {
    border: 1px solid rgba(56, 189, 248, 0.25) !important;
}

