/* ============================================================================
   ???????/????: assets/css/style.css
   ????????: 3D V-Tube Premium
   ???: ?????????? ???????? ????????? ?????? (100% Original & Responsive)
   ============================================================================ */

/* ============================================================================
   ?. Base Resets & Global Styles 
   ============================================================================ */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Hind Siliguri', sans-serif; 
}

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body { 
    background-color: var(--bg-color); 
    color: var(--text-main); 
    min-height: 100vh; 
    display: flex; 
    flex-direction: column;
    margin: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 255, 204, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 0, 68, 0.03) 0%, transparent 40%);
    transition: background-color 0.5s ease;
}

/* Cyberpunk Neon Mode */
body.neon-mode {
    --theme: #00ffcc;
    --bg-color: #050505;
    --card-bg: #090e17;
    --text-main: #ffffff;
    --gradient-1: linear-gradient(135deg, #00ffcc, #ff00ff);
    --shadow-glow: 0 0 30px #00ffcc;
}

::-webkit-scrollbar { 
    width: 8px; 
}
::-webkit-scrollbar-track { 
    background: var(--bg-color); 
}
::-webkit-scrollbar-thumb { 
    background: var(--theme); 
    border-radius: 10px; 
}

h1, h2, h3, h4, h5, h6 { 
    color: var(--text-main); 
}

/* ============================================================================
   ?. 3D Glass Header Navigation & Brand Logo
   ============================================================================ */
header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 15px 5%; 
    background: rgba(0, 0, 0, 0.8); 
    backdrop-filter: blur(25px); 
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--glass-border); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9); 
    width: 100%;
    gap: 15px;
}

.brand-logo { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    cursor: pointer; 
    text-decoration: none; 
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    z-index: 1001;
    flex-shrink: 1;
    min-width: 0;
}

.brand-logo:hover { 
    transform: scale(1.05) translateY(-3px); 
}

.play-icon-3d {
    position: relative; 
    width: 48px; 
    height: 48px; 
    min-width: 48px; 
    min-height: 48px;
    flex-shrink: 0; 
    background: linear-gradient(135deg, #ff0044, var(--theme));
    border-radius: 14px; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5), inset 0 5px 10px rgba(255, 255, 255, 0.4);
    z-index: 1; 
    isolation: isolate; 
    transform: translateZ(0);
}

.play-icon-3d::before {
    content: ''; 
    position: absolute; 
    inset: -4px; 
    border-radius: 18px;
    background: linear-gradient(45deg, var(--theme), transparent, #ffffff, transparent);
    z-index: -1; 
    animation: spinAura 3s linear infinite; 
    filter: blur(8px) hue-rotate(180deg); 
}

.play-icon-3d i { 
    color: #ffffff; 
    font-size: 20px; 
    margin-left: 4px; 
    filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.6)); 
    position: relative; 
    z-index: 5; 
}

.brand-text { 
    font-size: 26px; 
    font-weight: 900; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    color: #ffffff; 
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.8); 
    display: block; 
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-text span { 
    color: var(--theme); 
    filter: hue-rotate(180deg); 
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3); 
}

@keyframes spinAura { 
    0% { transform: rotate(0deg); } 
    100% { transform: rotate(360deg); } 
}
@keyframes pulseIcon { 
    0% { transform: scale(1); } 
    50% { transform: scale(1.2); } 
    100% { transform: scale(1); } 
}

/* ============================================================================
   ?.? Action Icons & Pro Language Button
   ============================================================================ */
.nav-icons { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    flex-shrink: 0;
}

.nav-icons button, .action-icons-wrapper a { 
    background: var(--glass-bg); 
    color: #ffffff; 
    border: 1px solid var(--glass-border);
    border-radius: 50px; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    cursor: pointer; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    text-decoration: none; 
    font-size: 16px; 
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.02);
    padding: 10px 18px; 
    gap: 10px; 
    font-weight: 600; 
    white-space: nowrap;
}

.nav-icons > button.icon-only { 
    width: 45px; 
    height: 45px; 
    padding: 0; 
    border-radius: 50%; 
}

.nav-icons button:hover, .action-icons-wrapper a:hover { 
    background: var(--theme); 
    color: #000000; 
    transform: translateY(-5px) scale(1.05); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6), 0 0 20px var(--theme); 
    border-color: var(--theme); 
}

/* ?? Premium Language Globe Button */
.premium-lang-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid var(--theme) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    position: relative;
    color: var(--theme) !important;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.1);
}

.premium-lang-btn i {
    font-size: 20px;
}

.premium-lang-btn .lang-badge {
    position: absolute;
    bottom: -6px;
    right: -6px;
    background: var(--theme);
    color: #000;
    font-size: 9px;
    font-weight: 900;
    padding: 2px 5px;
    border-radius: 8px;
    border: 2px solid #000;
    text-transform: uppercase;
}

.premium-lang-btn:hover {
    transform: translateY(-3px) rotate(15deg);
    box-shadow: 0 5px 15px rgba(0, 255, 204, 0.5);
    background: var(--theme) !important;
    color: #000 !important;
}

.premium-lang-btn:hover .lang-badge {
    background: #000;
    color: var(--theme);
    border-color: var(--theme);
}

.action-icons-wrapper { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
}
.mobile-menu-toggle { 
    display: none !important; 
}

/* ============================================================================
   ?. Premium Inline Search Bar
   ============================================================================ */
.header-search-wrapper {
    position: absolute; 
    right: 5%; 
    top: 50%; 
    transform: translateY(-50%); 
    height: 52px;
    background: rgba(0, 0, 0, 0.85); 
    backdrop-filter: blur(20px); 
    border: 2px solid var(--theme); 
    border-radius: 30px; 
    display: flex; 
    align-items: center; 
    width: 0; 
    opacity: 0; 
    pointer-events: none; 
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), inset 0 0 15px rgba(0, 255, 204, 0.2); 
    z-index: 1050; 
    overflow: hidden;
}

.header-search-wrapper.active { 
    width: 380px; 
    opacity: 1; 
    pointer-events: auto; 
}

.header-search-wrapper form { 
    display: flex; 
    width: 100%; 
    align-items: center; 
    padding: 0 5px 0 15px; 
}

.header-search-wrapper input { 
    flex: 1; 
    background: transparent; 
    border: none; 
    color: #ffffff; 
    padding: 10px; 
    font-size: 16px; 
    outline: none; 
    width: 100%; 
}

.header-search-wrapper button { 
    background: transparent; 
    border: none; 
    color: var(--theme); 
    font-size: 18px; 
    cursor: pointer; 
    width: 40px; 
    height: 40px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    border-radius: 50%; 
    transition: 0.3s; 
}

.header-search-wrapper button:hover { 
    background: rgba(255, 255, 255, 0.1); 
    transform: scale(1.1); 
    color: #ffffff; 
    text-shadow: 0 0 10px var(--theme); 
}

.close-search-btn { 
    color: #ff0044 !important; 
}

/* ============================================================================
   ?. Notice Bar & Categories
   ============================================================================ */
.premium-notice-bar {
    position: relative; 
    margin: 25px 5% 20px 5%; 
    padding: 4px; 
    border-radius: 50px; 
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6), inset 0 5px 15px rgba(255, 255, 255, 0.6); 
    isolation: isolate; 
    z-index: 10; 
    transform: translateZ(0); 
    clip-path: inset(0 round 50px); 
    display: block;
}

.premium-notice-bar::after { 
    content: ''; 
    position: absolute; 
    inset: 4px; 
    background: #ffffff !important; 
    border-radius: 46px; 
    z-index: -1; 
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1); 
}

.notice-content { 
    position: relative; 
    z-index: 5; 
    padding: 10px 25px; 
    color: #000000 !important; 
    font-weight: 800; 
    font-size: 18px; 
    display: flex; 
    align-items: center; 
}

.notice-icon { 
    color: #ff0044 !important; 
    margin-right: 12px; 
    font-size: 22px; 
    animation: pulseIcon 1.5s infinite; 
}

.cat-nav-wrapper { 
    position: relative; 
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent); 
    border-bottom: 1px solid var(--glass-border); 
    padding: 15px 0; 
    display: flex; 
    align-items: center; 
    width: 100%; 
    overflow: hidden; 
}

.cat-nav { 
    display: flex; 
    gap: 10px; 
    overflow-x: auto; 
    padding: 0 45px; 
    flex-wrap: nowrap; 
    scroll-behavior: smooth; 
    -ms-overflow-style: none; 
    scrollbar-width: none; 
    width: 100%; 
}

.cat-nav::-webkit-scrollbar { display: none; }

.cat-arrow { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    z-index: 20; 
    width: 32px; 
    height: 32px; 
    border-radius: 50%; 
    background: linear-gradient(135deg, #111520, #05070a); 
    color: #ffffff; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    cursor: pointer; 
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.5); 
    border: 2px solid var(--theme); 
    transition: 0.3s; 
}

.cat-arrow:hover { background: var(--theme); color: #000; }
.cat-arrow-left { left: 8px; animation: bounceLeft 2s infinite; }
.cat-arrow-right { right: 8px; animation: bounceRight 2s infinite; }

@keyframes bounceLeft { 0%, 100% { transform: translateY(-50%) translateX(0); } 50% { transform: translateY(-50%) translateX(-3px); } }
@keyframes bounceRight { 0%, 100% { transform: translateY(-50%) translateX(0); } 50% { transform: translateY(-50%) translateX(3px); } }

.golden-cat { 
    position: relative; 
    padding: 8px 18px; 
    border-radius: 30px; 
    text-decoration: none; 
    color: #ffffff !important; 
    font-weight: 700; 
    font-size: 13px; 
    white-space: nowrap; 
    overflow: hidden; 
    isolation: isolate; 
    z-index: 1; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    transition: all 0.4s ease; 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6); 
    flex-shrink: 0; 
    width: max-content; 
    transform: translateZ(0); 
    clip-path: inset(0 round 30px); 
}

.golden-cat::after { 
    content: ''; 
    position: absolute; 
    inset: 2px; 
    background: #000000 !important; 
    border-radius: 27px; 
    z-index: -1; 
    transition: 0.4s; 
}

.golden-cat:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2); color: #ffffff !important; }
.golden-cat.active-cat::after { background: #ffffff !important; }
.golden-cat.active-cat { color: #000000 !important; box-shadow: 0 8px 20px rgba(255, 255, 255, 0.6); font-weight: 800; }

/* ============================================================================
   ?. Video Grid & 3D Cards
   ============================================================================ */
.container { 
    padding: 50px 5%; 
    flex: 1 0 auto; 
    width: 100%; 
    max-width: 100vw; 
    box-sizing: border-box; 
    overflow-x: hidden; 
}

.video-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); 
    gap: 40px; 
}

.video-card, .rgb-popup-container, #video-wrapper, .player-box { 
    transform: translateZ(0); 
    clip-path: inset(0 round 20px); 
}

.video-card, .native-ad-card { position: relative; display: flex; flex-direction: column; border-radius: 20px; z-index: 1; transition: all 0.6s ease; box-shadow: 0 var(--card-depth) 40px rgba(0, 0, 0, 0.8); overflow: hidden; isolation: isolate; padding: 4px; text-decoration: none; color: var(--text-main); }
.video-card::before, .native-ad-card::before, .rgb-popup-container::before, #video-wrapper::before, .premium-notice-bar::before, .golden-cat::before { content: ''; position: absolute; top: 50%; left: 50%; width: 250vmax; height: 250vmax; background: conic-gradient(from 0deg, #ff0000 0%, #ff7f00 14%, #ffff00 28%, #00ff00 42%, #00ffff 57%, #0000ff 71%, #8a2be2 85%, #ff0000 100%); transform-origin: center; animation: spinCardBorder 4s linear infinite; z-index: -2; pointer-events: none; }
@keyframes spinCardBorder { 0% { transform: translate(-50%, -50%) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg); } }
.video-card::after, .native-ad-card::after { content: ''; position: absolute; inset: 4px; background-color: var(--card-bg); background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%); border: 1px solid var(--glass-border); box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.02), inset 0 10px 30px rgba(0, 0, 0, 0.5); border-radius: 16px; z-index: -1; transition: all 0.4s ease; }
.video-card:hover::after, .native-ad-card:hover::after { background-color: var(--bg-color); background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%); }
.video-card:hover, .native-ad-card:hover { transform: translateY(-15px) scale(1.02); box-shadow: 0 calc(var(--card-depth) + 20px) 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 255, 255, 0.2); cursor: pointer; }
.video-card:hover::before, .native-ad-card:hover::before { animation-duration: 1.5s; }

.thumbnail { 
    width: calc(100% - 16px); 
    margin: 8px auto 0 auto; 
    display: block; 
    height: auto; 
    aspect-ratio: 16/9; 
    border-radius: 12px; 
    object-fit: cover; 
    border-bottom: 3px solid var(--theme); 
    transition: transform 0.5s ease, filter 0.5s ease; 
    position: relative; 
    z-index: 5; 
}

.video-card:hover .thumbnail { filter: brightness(1.15) contrast(1.1); transform: scale(1.03); }
.card-info { padding: 22px; position: relative; z-index: 5; flex: 1; }
.title { font-weight: 700; font-size: 18px; line-height: 1.5; height: 54px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); }
.stats { display: flex; justify-content: space-between; margin-top: 18px; font-size: 14px; color: var(--text-muted); font-weight: 600; background: rgba(0, 0, 0, 0.3); padding: 10px 15px; border-radius: 12px; border: 1px solid var(--glass-border); backdrop-filter: blur(5px); }

/* ============================================================================
   ?. Media Queries (Mobile Responsiveness 100% Fix)
   ============================================================================ */
@media(max-width: 900px) {
    .mobile-menu-toggle { 
        display: flex !important; 
        width: 45px; 
        height: 45px; 
        padding: 0; 
        border-radius: 50%; 
        background: var(--glass-bg); 
        border: 1px solid var(--glass-border); 
        color: #fff; 
        justify-content: center; 
        align-items: center; 
        font-size: 20px; 
    }
    .action-icons-wrapper { 
        position: absolute; 
        top: 75px; 
        right: 5%; 
        background: rgba(10, 15, 25, 0.98); 
        backdrop-filter: blur(25px); 
        border: 1px solid var(--theme); 
        border-radius: 20px; 
        padding: 20px; 
        display: flex; 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 15px; 
        width: 250px; 
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 255, 204, 0.3); 
        opacity: 0; 
        pointer-events: none; 
        transform: translateY(-20px); 
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
        z-index: 1050; 
    }
    .action-icons-wrapper.active { opacity: 1; pointer-events: auto; transform: translateY(0); }
    .action-icons-wrapper a, .action-icons-wrapper button { width: 100%; justify-content: flex-start; padding: 12px 20px; border-radius: 12px; font-size: 15px; }
    .action-icons-wrapper a i, .action-icons-wrapper button i { width: 25px; text-align: center; }
}

@media(max-width: 600px) { 
    .header-search-wrapper.active { width: calc(100% - 30px); right: 15px; } 
}

@media(max-width: 500px) {
    header { padding: 12px 15px; gap: 8px; }
    .brand-logo { gap: 8px; }
    .brand-text { font-size: 18px; }
    .play-icon-3d { width: 38px; height: 38px; min-width: 38px; min-height: 38px; }
    .play-icon-3d i { font-size: 16px; }
    
    .nav-icons { gap: 8px; }
    .nav-icons > button.icon-only, .premium-lang-btn { width: 38px; height: 38px; font-size: 14px; }
    .premium-lang-btn .lang-badge { font-size: 8px; padding: 2px 4px; bottom: -4px; right: -4px; }
    
    .video-grid { grid-template-columns: 1fr; }
    .video-card .stats { padding: 10px 8px; }
    .video-card .stats span { display: flex; flex-direction: column; align-items: center; text-align: center; font-size: 11px; gap: 4px; }
    .video-card .stats span i { margin-right: 0 !important; font-size: 14px; }
}

@media(max-width: 400px) { 
    .brand-text { font-size: 15px; }
}

/* ============================================================================
   ?. Google Translate Layout Fix (Center Menu & Header Push Down)
   ============================================================================ */
/* ?????? ??????? ??? ???? ??? ?????????? ????????? ???? ????? */
body { position: relative; }

/* ????????? ?????????? ?????????? ??????????? ?????? ??? ??? */
body > .skiptranslate {
    width: 100% !important;
    z-index: 999999 !important;
    position: fixed !important;
    top: 0 !important;
}

/* ?????????? ??????? ??????? ?????? */
iframe.goog-te-banner-frame {
    width: 100% !important;
    height: 40px !important;
    z-index: 999999 !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.8) !important;
    border-bottom: 2px solid var(--theme) !important;
    pointer-events: auto !important;
}

/* ????? ???? ????? */
#goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
.goog-text-highlight { background-color: transparent !important; box-shadow: none !important; }

/* ?????????? ???????? ???? (??????? ????? ??? ????-???? ?????? ???) */
iframe.goog-te-menu-frame {
    border-radius: 12px !important;
    box-shadow: 0 15px 50px rgba(0,0,0,0.9) !important;
    z-index: 9999999 !important;
    border: 2px solid var(--theme) !important;
    pointer-events: auto !important;
    width: 90vw !important; /* ????????? ??% ????? ???? */
    max-width: 400px !important;
    left: 50% !important; /* ??????? ????? */
    transform: translateX(-50%) !important;
    right: auto !important;
    overflow-x: scroll !important; /* ????-???? ?????? ??? */
    overflow-y: scroll !important; /* ????-???? ?????? ??? */
    background: #ffffff !important;
}

/* ============================================================================
   ??. Auth Box / Forms (Restored Original Design)
   ============================================================================ */
.auth-box { 
    max-width: 500px; 
    margin: 80px auto; 
    padding: 50px; 
    background: linear-gradient(135deg, var(--card-bg), rgba(0, 0, 0, 0.5)); 
    border-radius: 30px; 
    box-shadow: 0 var(--card-depth) 70px rgba(0, 0, 0, 0.9); 
    border: 1px solid var(--glass-border); 
    text-align: center; 
    position: relative; 
}

.auth-box::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 60%; 
    height: 5px; 
    background: var(--gradient-1); 
    border-radius: 0 0 10px 10px; 
    box-shadow: var(--shadow-glow); 
}

.auth-box input { 
    width: 100%; 
    padding: 20px 25px; 
    margin-bottom: 25px; 
    border-radius: 15px; 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    background: rgba(0, 0, 0, 0.6); 
    color: #ffffff; 
    outline: none; 
    font-size: 16px; 
    transition: 0.3s; 
    box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.3); 
}

.auth-box input:focus { 
    border-color: var(--theme); 
    box-shadow: 0 0 20px rgba(var(--theme), 0.3), inset 0 0 10px rgba(var(--theme), 0.2); 
}

.btn-theme { 
    width: 100%; 
    padding: 20px; 
    background: var(--gradient-1); 
    color: #ffffff; 
    border: none; 
    border-radius: 15px; 
    font-weight: 800; 
    cursor: pointer; 
    font-size: 18px; 
    transition: 0.4s; 
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}

.btn-theme:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), var(--shadow-glow); 
}