/* ============================================================
   🔥 BABY — LIGHT PINK & BLACK THEME 🔥
   Redesigned with dark yellow and sleek black aesthetic
   ============================================================ */

/* Fonts loaded via <link> in header with preconnect for optimal performance */

/* Brand font (logo wordmark) */
/* gf-11 inlined */
/* vietnamese */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/1Ptgg87LROyAm3K8-C8QSw.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/1Ptgg87LROyAm3K9-C8QSw.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/1Ptgg87LROyAm3Kz-C8.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/S6uyw4BMUTPHjxAwXjeu.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/S6uyw4BMUTPHjx4wXg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/S6u9w4BMUTPHh6UVSwaPGR_p.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/S6u9w4BMUTPHh6UVSwiPGQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/fonts/S6u9w4BMUTPHh50XSwaPGR_p.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/fonts/S6u9w4BMUTPHh50XSwiPGQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlbHYjedg.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlSHYjedg.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlZHYjedg.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlYHYjedg.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlWHYg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlbHYjedg.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlSHYjedg.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlZHYjedg.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlYHYjedg.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlWHYg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlbHYjedg.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlSHYjedg.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlZHYjedg.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlYHYjedg.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlWHYg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlbHYjedg.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlSHYjedg.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlZHYjedg.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlYHYjedg.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/TK3IWkUHHAIjg75cFRf3bXL8LICs1_Fv40pKlN4NNSeSASz7FmlWHYg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
    /* === Blue Palette === */
    --yellow-50:  #FFF7ED;
    --yellow-100: #FFEDD5;
    --yellow-200: #ff8a8a;
    --yellow-300: #ff8a8a;
    --yellow-400: #ff4d4d;
    --yellow-500: #ff4d4d;
    --yellow-600: #ff0000;
    --yellow-700: #ff0000;
    --yellow-800: #a80000;
    --yellow-900: #a80000;

    /* === Dark Backgrounds (Sleek Black) === */
    --bg-primary: #ff0000;
    --bg-secondary: #ff4d4d;
    --bg-tertiary: #a80000;
    --bg-hover:     #24242a;
    --bg-card: rgba(0, 0, 0, 0.95);
    --bg-glass: rgba(0, 0, 0, 0.85);

    /* === Text === */
    --text-primary: #ffffff;
    --text-secondary: #b3a196;
    --text-muted: #7d6a5c;

    /* === Accent Colors === */
    --accent:          #ff0000;
    --accent-hover:    #ff4d4d;
    --accent-dark:     #a80000;
    --accent-glow:     rgba(255,0,0,0.45);
    --accent-glow-sm:  rgba(255,0,0,0.22);
    --accent-soft:     rgba(255,0,0,0.12);

    /* === Gold for premium === */
    --gold: #ff0000;
    --gold-glow: rgba(255,0,0,0.4);

    /* === Borders === */
    --border-color:  rgba(255,0,0,0.25);
    --border-hover:  rgba(255,0,0,0.55);

    /* === Layout === */
    --card-radius:   14px;
    --nav-height:    70px;
    --sidebar-width: 240px;

    /* === Transitions === */
    --transition-fast:   0.18s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* === Type Scale === */
    --fs-xs:   12px;
    --fs-sm:   14px;
    --fs-base: 16px;
    --fs-md:   20px;
    --fs-lg:   24px;
    --fs-xl:   32px;

    /* === Semantic Aliases === */
    --primary: #ff0000;
    --primary-hover: #ff4d4d;
    --primary-glow: rgba(255,0,0,0.45);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* scrollbar-width NOT set globally — only on body to avoid double scrollbars */
}

html {
    overflow-x: hidden;
    /* overflow-y removed */
    max-width: 100vw;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,0,0,0.3) #000000;
}

body {
    background: #000000 !important;
    background-image: none !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #000000 !important;
    background-color: #000000 !important;
    background-image: none !important;
    color: var(--text-primary);
    animation: pageFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);

}

@media (max-width: 1024px) {
    *, html, body, a, button, input, select, textarea, .bottom-nav-item, .nav-item, .soft-card, .video-card {
        -webkit-tap-highlight-color: transparent !important;
        touch-action: manipulation !important;
    }
}

/* ============================================================
   PAGE FADE
   ============================================================ */
@keyframes pageFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
body.page-leaving {
    animation: pageFadeOut 0.15s ease forwards !important;
}
@keyframes pageFadeOut {
    from { opacity: 1; }
    to   { opacity: 0; }
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
/* Only page-level scrollbar (html/body) should be visible on desktop */
::-webkit-scrollbar { width: 0px; height: 0px; display: none; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: transparent; border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: transparent; }

@media (min-width: 769px) {
    
    
    
    
}

/* ============================================================
   AMBIENT GLOW BACKGROUND (DISABLED)
   ============================================================ */
body::before,
body::after {
    display: none !important;
    content: none !important;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    height: var(--nav-height);
    background: #000000 !important;
    border-bottom: 1px solid #000000 !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    z-index: 1000;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.navbar::after {
    display: none !important;
    content: none !important;
}

.navbar.scrolled {
    background: #000000 !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    border-bottom: 1px solid #000000 !important;
}

/* ============================================================
   LOGO
   ============================================================ */
.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: -0.03em;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    transition: var(--transition-fast);
    animation: logoGlow 1.2s ease forwards;
}

.logo:hover {
    text-shadow: none;
}

@keyframes logoGlow {
    0%   { text-shadow: none; filter: brightness(1); }
    40%  { text-shadow: none; filter: brightness(1.3); }
    100% { text-shadow: none; filter: brightness(1); }
}

/* ============================================================
   SEARCH BAR
   ============================================================ */
.search-bar {
    display: flex;
    align-items: center;
    background: rgba(255,0,0,0.05);
    border: 1px solid rgba(255,0,0,0.2);
    border-radius: 50px;
    padding: 6px 16px;
    width: 350px;
    transition: all 0.3s ease;
}

.search-bar:focus-within {
    border-color: rgba(255,0,0,0.55) !important;
    box-shadow: none;
}

.search-bar button:hover {
    color: var(--accent) !important;
}

.search-input {
    width: 100%;
    background: transparent !important;
    border: none !important;
    padding: 6px 8px !important;
    color: var(--text-primary) !important;
    font-size: 0.9rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    transition: var(--transition-smooth);
}

.search-input:focus {
    outline: none;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.search-input::placeholder {
    color: rgba(255,0,0,0.4) !important;
    opacity: 0.8;
}

.search-icon {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================================
   USER MENU
   ============================================================ */
.user-menu {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.btn-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
    background: transparent;
    position: relative;
}

.btn-icon:hover {
    background: rgba(255,0,0,0.12);
    color: var(--accent);
}

.btn-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: rgba(20, 14, 8, 0.95);
    color: var(--text-secondary);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 2000;
    border: 1px solid var(--border-color);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.btn-icon:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.btn-icon:not([data-tooltip])::after {
    display: none;
}

.user-dropdown-wrapper {
    background: transparent !important;
}

.avatar {
    width: 36px;
    height: 36px;
    background: #ff0000 !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: none;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    border: none !important;
}

.avatar:hover {
    transform: scale(1.08);
    box-shadow: none;
}

a.hero-btn.nav-signup {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    background: #ff0000;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition-fast);
    box-shadow: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

a.hero-btn.nav-signup:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

a.nav-item.nav-login {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin-right: 1rem;
    transition: var(--transition-fast);
}

a.nav-item.nav-login:hover {
    color: var(--accent);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.app-container {
    display: flex;
    padding-top: var(--nav-height);
    min-height: 100vh;
    max-width: 100vw;
    overflow-x: hidden;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
    width: var(--sidebar-width);
    background: #000000 !important;
    border-right: 1px solid #000000 !important;
    bottom: 0;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    scrollbar-width: none;
    z-index: 900;
    box-shadow: none !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

@media (min-width: 769px) {
    .sidebar {
        padding: calc(var(--nav-height) + 1.2rem) 0.6rem 1.5rem !important;
    }
}

/* Hide sidebar internal scrollbar on all browsers */
.sidebar::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
}

.sidebar-mobile-header {
    display: none;
}

.nav-section {
    margin-bottom: 1.2rem;
    padding: 0 0.2rem;
}

.nav-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: #8a7d74;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
    margin-top: 0.6rem;
    padding-left: 0.65rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.42rem 0.65rem;
    color: #a08f80;
    text-decoration: none;
    border-radius: 6px;
    transition: color 0.15s ease, background 0.15s ease;
    font-size: 0.84rem;
    font-weight: 500;
    margin-bottom: 2px;
    border: 1px solid transparent;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: -0.01em;
}

.nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 60%;
    background: var(--accent);
    border-radius: 0 3px 3px 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0;
}

.nav-item::after {
    display: none;
}

.nav-item:hover::before,
.nav-item.active::before {
    transform: translateY(-50%) scaleY(1);
    opacity: 1;
}

.nav-item:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.06);
    transform: none !important;
}

.nav-item.active {
    background: rgba(255,0,0,0.12);
    color: #ff0000;
    font-weight: 600;
    transform: none !important;
    border-color: rgba(255,0,0,0.2);
}

.nav-item i {
    width: 16px;
    text-align: center;
    font-size: 0.88rem;
    color: #8a7d74;
    transition: color 0.15s ease;
}

.nav-item:hover i {
    color: #ffffff !important;
    transform: none !important;
}

.nav-item.active i {
    color: #ff0000 !important;
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    padding: 1rem 1.5rem;
    width: calc(100% - var(--sidebar-width));
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - var(--nav-height));
    position: relative;
}

.content-wrapper {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.centralized-page {
    justify-content: center;
    align-items: center;
    padding-top: 0;
    min-height: calc(100vh - var(--nav-height));
}

.centralized-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

/* ============================================================
   HERO BANNER
   ============================================================ */
.hero-banner {
    border-radius: 20px;
    padding: 2.5rem 3rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border: 1px solid rgba(255,0,0,0.15);
    position: relative;
    overflow: hidden;
    box-shadow: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.hero-banner::before {
    content: '🧸';
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 6rem;
    opacity: 0.15;
    pointer-events: none;
    animation: floatBear 4s ease-in-out infinite;
}

@keyframes floatBear {
    0%, 100% { transform: translateY(-50%) rotate(-5deg); }
    50%       { transform: translateY(calc(-50% - 12px)) rotate(5deg); }
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -1.5px;
    text-shadow: none;
    z-index: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin-bottom: 2rem;
    line-height: 1.7;
    z-index: 1;
    font-weight: 600;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    background: #ff0000;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    box-shadow: none;
    z-index: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.3px;
}

.hero-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: none;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2rem;
    padding-bottom: 0;
    border-bottom: none;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ece0d6;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: -0.3px;
    text-shadow: none !important;
}

.section-title i {
    color: var(--accent);
}

.view-all-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.view-all-link:hover {
    color: var(--accent);
    text-decoration: none;
}

/* ============================================================
   VIDEO GRID
   ============================================================ */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem 1rem;
}

/* ============================================================
   VIDEO CARD
   ============================================================ */
.video-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease !important;
    border-radius: var(--card-radius);
    overflow: hidden;
    background: transparent;
    position: relative;
    content-visibility: auto;
    contain-intrinsic-size: 0 280px;
}

.video-card.will-reveal,
.video-card.revealed,
.video-card.no-reveal {
    opacity: 1 !important;
    transform: none !important;
}

.video-card:hover {
    transform: translateY(-10px) scale(1.03) !important;
    z-index: 10;
}

.video-card:hover .thumbnail-wrapper {
    box-shadow: none;
    border-color: transparent !important;
}

.video-card:hover .video-title {
    color: var(--accent) !important;
}

/* ============================================================
   THUMBNAIL
   ============================================================ */
.thumbnail-wrapper {
    position: relative;
    padding-top: 56.25%;
    background: transparent;
    border-radius: var(--card-radius);
    overflow: hidden;
    margin-bottom: 0.8rem;
    box-shadow: none;
    border: 1px solid transparent;
    transition: all var(--transition-smooth);
}

.thumbnail-wrapper::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: transparent;
    z-index: 1;
    pointer-events: none;
}

.thumbnail-wrapper::after {
    content: '\f04b';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 50px;
    height: 50px;
    background: #ff0000;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: none;
    padding-left: 4px;
    z-index: 5;
}

.video-card:hover .thumbnail-wrapper::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* play button hidden when using card-hover-play */
.video-card:hover .thumbnail-wrapper::after {
    opacity: 0 !important;
}

.thumbnail-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
    opacity: 0.95;
}

img:not(.thumbnail-img), video { max-width: 100%; }

.video-card:hover .thumbnail-img {
    transform: scale(1.07);
    filter: brightness(0.72);
}

.thumbnail-img.is-placeholder {
    object-fit: contain !important;
    opacity: 0.15;
    filter: grayscale(1) brightness(0.6) !important;
}

.premium-bg-blur {
    background-size: cover;
    background-position: center;
    filter: blur(60px) brightness(0.2);
    opacity: 0.4;
    background-color: #000;
}

.premium-bg-blur.is-placeholder { opacity: 0; visibility: hidden; }

/* ============================================================
   DURATION BADGE
   ============================================================ */
.duration-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(15, 10, 5, 0.9);
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    z-index: 2;
    font-variant-numeric: tabular-nums;
    border: 1px solid rgba(255,0,0,0.2);
    letter-spacing: 0.5px;
}

/* ============================================================
   PREMIUM BADGE
   ============================================================ */
.premium-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #ff0000 !important;
    color: #000000 !important;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: none;
    letter-spacing: 0.5px;
    z-index: 2;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* ============================================================
   PREMIUM LOCK
   ============================================================ */
.premium-lock {
    position: absolute !important;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(40, 22, 4, 0.85);
    border: 1px solid rgba(255,0,0,0.55);
    color: #ff0000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    z-index: 3;
    pointer-events: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

/* ============================================================
   NEW BADGE
   ============================================================ */
.new-badge {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    background: #ff0000 !important;
    color: #ffffff !important;
    font-size: 0.6rem !important;
    font-weight: 900 !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    box-shadow: none;
    border: none !important;
    animation: none;
    z-index: 2 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* ============================================================
   HD BADGE (white text, bottom-right corner of every thumbnail)
   ============================================================ */
.hd-badge {
    position: absolute !important;
    right: 8px !important;
    bottom: 8px !important;
    z-index: 4 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.72) !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    line-height: 1;
    text-transform: uppercase;
    pointer-events: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}



/* ============================================================
   VIDEO INFO
   ============================================================ */
.video-info { padding: 0 0.4rem; }

.video-title {
    font-size: var(--fs-sm) !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: calc(var(--fs-sm) * 1.45 * 2) !important;
    color: var(--text-primary) !important;
    letter-spacing: -0.1px !important;
    transition: color var(--transition-fast);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin-bottom: 0.4rem;
}

.video-meta { color: #333333 !important;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.video-meta span::after {
    content: '•';
    margin-left: 8px;
    opacity: 0.4;
}

.video-meta span:last-child::after { content: none; }

/* ============================================================
   CARD HOVER INFO (Netflix style)
   ============================================================ */
.video-card .card-hover-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ff0000;
    padding: 2.5rem 0.8rem 0.7rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    z-index: 8;
    border-radius: 0 0 var(--card-radius) var(--card-radius);
}

.video-card:hover .card-hover-info {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.card-hover-title {
    font-size: 0.82rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.card-hover-meta {
    font-size: 0.7rem;
    color: rgba(255,0,0,0.7);
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-hover-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    width: 46px;
    height: 46px;
    background: #ff0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 9;
    pointer-events: none;
    box-shadow: none;
}

.card-hover-play i {
    color: #fff;
    font-size: 1rem;
    margin-left: 3px;
}

.video-card:hover .card-hover-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

@media (max-width: 768px) {
    .card-hover-play { display: none !important; }
}

/* ============================================================
   DELETE BUTTON
   ============================================================ */
.delete-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(15, 10, 5, 0.75);
    color: var(--primary);
    border: 1px solid rgba(255,0,0,0.3);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
    backdrop-filter: blur(4px);
}

.delete-btn:hover {
    background: var(--accent);
    color: white;
    transform: scale(1.1);
    box-shadow: none;
}

/* ============================================================
   CHANNEL HEADER
   ============================================================ */
.channel-header {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.channel-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.4;
    color: var(--accent);
}

/* ============================================================
   DROPDOWN MENU
   ============================================================ */
.dropdown-menu {
    position: absolute;
    top: 50px;
    right: 0;
    background: rgba(17, 14, 12, 0.98);
    border: 1px solid rgba(255,0,0,0.2);
    border-radius: 14px;
    padding: 0.5rem;
    min-width: 200px;
    display: none;
    flex-direction: column;
    box-shadow: none;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
}

.dropdown-menu.show { display: block; }

@keyframes dropdownFade {
    from { opacity: 0; transform: scale(0.95) translateY(-4px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.dropdown-header {
    padding: 1rem 1rem 0.8rem;
    border-bottom: 1px solid rgba(255,0,0,0.1);
    margin-bottom: 0.5rem;
}

.user-name {
    display: block;
    font-weight: 800;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.user-email {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s;
    font-size: 0.92rem;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.dropdown-item:hover {
    background: rgba(255,0,0,0.1);
    color: var(--accent);
    transform: translateX(3px);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--text-muted);
    transition: color 0.2s;
}

.dropdown-item:hover i {
    color: var(--accent);
}

.dropdown-divider {
    height: 1px;
    background: rgba(255,0,0,0.1);
    margin: 0.4rem 0;
}

.item-danger { color: #ff4d4d; }
.item-danger:hover { background: rgba(255,0,0,0.1); color: #ff4d4d; }
.item-danger i { color: #ff4d4d; }
.item-danger:hover i { color: #ff4d4d; }

/* ============================================================
   USER CHIP + USER DROPDOWN (guest/account menu)
   ============================================================ */
.user-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,0,0,0.18);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    max-width: 190px;
}
.user-chip:hover { background: rgba(255,0,0,0.12); border-color: rgba(255,0,0,0.45); }
.user-chip-avatar {
    width: 28px; height: 28px; border-radius: 50%;
    background: #ff0000; color: #fff;
    font-weight: 800; font-size: 0.85rem;
    display: flex; align-items: center; justify-content: center;
    flex: 0 0 auto;
}
.user-chip-name {
    display: none !important;
    color: #ece0d6; font-weight: 700; font-size: 0.85rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.user-chip-caret { color: #7d6a5c; font-size: 0.7rem; flex: 0 0 auto; display: none !important; }

.ud-head {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,0,0,0.12);
    margin-bottom: 6px;
}
.ud-avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: #ff0000; color: #fff;
    font-weight: 800; font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    flex: 0 0 auto;
}
.ud-head-text { display: flex; flex-direction: column; min-width: 0; }
.ud-name { color: #fff; font-weight: 800; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ud-id { color: #7d6a5c; font-size: 0.72rem; font-weight: 600; }

.ud-lang-label {
    display: flex; align-items: center; gap: 8px;
    padding: 4px 12px 2px;
    color: #b3a196; font-size: 0.75rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.6px;
}
.ud-lang-label i { color: #7d6a5c; }

.ud-lang-row { display: flex; gap: 6px; padding: 6px 12px 10px; }
.ud-lang {
    flex: 1 1 0; text-align: center;
    padding: 6px 0; border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,0,0,0.15);
    color: #ece0d6 !important;
    text-decoration: none !important;
    font-size: 0.78rem; font-weight: 800; letter-spacing: 0.5px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.ud-lang:hover { background: rgba(255,0,0,0.15); border-color: rgba(255,0,0,0.5); color: #fff !important; }
.ud-lang-on { background: #ff0000 !important; border-color: #ff0000 !important; color: #fff !important; }

/* ============================================================
   SHIMMER (loading)
   ============================================================ */
.thumbnail-wrapper.loading {
    background: #ff0000;
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.video-card.skeleton .thumbnail-wrapper {
    background: #ff0000 !important;
    background-size: 200% 100% !important;
    animation: shimmer 1.4s infinite !important;
}

.video-card.skeleton .video-title { color: #000000 !important;
    background: #ff0000;
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    border-radius: 6px;
    color: transparent !important;
    height: 14px;
    margin-bottom: 6px;
}

.video-card.skeleton .video-meta { color: #333333 !important;
    background: #ff0000;
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    border-radius: 6px;
    color: transparent !important;
    height: 12px;
    width: 60%;
}

/* ============================================================
   SKELETON GRID
   ============================================================ */
.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem 1rem;
}

.skeleton-card { border-radius: var(--card-radius); overflow: hidden; }

.skeleton-thumb {
    width: 100%;
    padding-top: 56.25%;
    border-radius: var(--card-radius);
    background: #ff0000;
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    margin-bottom: 0.8rem;
}

.skeleton-title {
    height: 14px;
    width: 80%;
    border-radius: 6px;
    background: #ff0000;
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    margin-bottom: 8px;
}

.skeleton-meta {
    height: 11px;
    width: 50%;
    border-radius: 6px;
    background: #ff0000;
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
}

/* ============================================================
   PREVIEW VIDEO
   ============================================================ */
.preview-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease !important;
    z-index: 3;
    pointer-events: none;
}

.preview-video.playing { opacity: 1 !important; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    width: 100%;
    padding: 2rem 0;
    text-align: center;
    color: var(--text-muted);
    margin-top: auto;
    border-top: 1px solid rgba(255,0,0,0.08);
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.footer-links a:hover { color: var(--accent); }
.footer-links a i { font-size: 0.9rem; color: var(--text-muted); }
.footer-divider { color: rgba(255,0,0,0.2); font-weight: bold; font-size: 0.8rem; }
.footer-copyright {
    display: block;
    color: var(--text-muted);
    font-size: 0.82rem;
    letter-spacing: 0.4px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

footer a:hover { color: var(--accent) !important; }

/* ============================================================
   NAVBAR GLASSMORPHISM ON SCROLL
   ============================================================ */
.navbar {
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* ============================================================
   BOTTOM NAV (mobile)
   ============================================================ */
.bottom-nav { display: none; }

@media (max-width: 768px) {
    .bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 62px;
        background: rgba(17, 14, 12, 0.95);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-top: 1px solid rgba(255,0,0,0.15);
        z-index: 1200;
        align-items: center;
        justify-content: space-around;
        padding-bottom: env(safe-area-inset-bottom, 0);
    }

    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        color: rgba(255,0,0,0.4);
        text-decoration: none;
        font-size: 0.58rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        flex: 1;
        height: 100%;
        transition: color 0.2s ease;
        -webkit-tap-highlight-color: transparent;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    }

    .bottom-nav-item i {
        font-size: 1.2rem;
        transition: transform 0.2s ease, color 0.2s ease;
    }

    .bottom-nav-item.active,
    .bottom-nav-item:active {
        color: var(--accent);
    }

    .bottom-nav-item.active i {
        transform: scale(1.15);
        filter: none;
    }

    .main-content {
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .global-floating-buttons { display: none !important; }
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
#backToTop {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: #ff0000;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: none;
    pointer-events: none;
}

#backToTop.visible {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#backToTop:hover {
    box-shadow: none;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    #backToTop { bottom: 72px; right: 12px; width: 40px; height: 40px; }
}

/* ============================================================
   PREMIUM EXPIRY BANNER
   ============================================================ */
.premium-expiry-banner {
    background: #ff0000 !important;
    color: white !important;
}

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
#toast-container {
    position: fixed;
    top: 82px;
    right: 16px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 340px;
    width: calc(100vw - 32px);
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(20, 14, 8, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,0,0,0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    color: var(--text-primary);
    font-size: 0.84rem;
    font-weight: 600;
    pointer-events: auto;
    animation: toastSlideIn 0.35s cubic-bezier(0.2, 0, 0.2, 1);
    transition: opacity 0.3s, transform 0.3s;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.toast.hiding {
    opacity: 0;
    transform: translateX(30px);
}

.toast-icon { font-size: 1rem; flex-shrink: 0; }
.toast-success .toast-icon { color: #5bcc78; }
.toast-error   .toast-icon { color: var(--accent); }
.toast-info    .toast-icon { color: #ff4d4d; }
.toast-success { border-left: 3px solid #5bcc78; }
.toast-error   { border-left: 3px solid var(--accent); }
.toast-info    { border-left: 3px solid #ff4d4d; }

@keyframes toastSlideIn {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}

@media (max-width: 768px) {
    #toast-container { top: auto; bottom: 72px; right: 8px; left: 8px; max-width: none; width: auto; }
}

/* ============================================================
   RIPPLE EFFECT
   ============================================================ */
.ripple-btn { position: relative; overflow: hidden; }

.ripple-btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,0,0,0.3);
    transform: scale(0);
    animation: rippleAnim 0.6s ease-out forwards;
    pointer-events: none;
}

@keyframes rippleAnim {
    to { transform: scale(4); opacity: 0; }
}

/* ============================================================
   HORIZONTAL ROWS (Netflix style)
   ============================================================ */
.hrow-section { margin-bottom: 2rem; }

.hrow-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.hrow-see-more {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.hrow-see-more:hover { color: var(--accent); }

.hrow-scroll {
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.5rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.hrow-scroll::-webkit-scrollbar { display: none; }

.hrow-card {
    flex-shrink: 0;
    width: 200px;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.hrow-card:hover {
    transform: scale(1.06);
    box-shadow: none;
    z-index: 5;
}

.hrow-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--bg-tertiary);
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.hrow-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hrow-card:hover .hrow-thumb img {
    transform: scale(1.08);
    filter: brightness(0.7);
}

.hrow-card:hover .card-hover-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.hrow-info { padding: 0.5rem 0.3rem; }

.hrow-info h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 0 2px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.hrow-info span {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

@media (max-width: 768px) {
    .hrow-card { width: 160px; }
    .hrow-card:hover { transform: none; }
    .hrow-card .card-hover-play { display: none; }
}

/* ============================================================
   HORIZONTAL ROW SCROLL ARROWS
   ============================================================ */
.hrow-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,0,0,0.08);
    border: 1px solid rgba(255,0,0,0.18);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.8rem;
}

.hrow-arrow:hover {
    background: rgba(255,0,0,0.22);
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: none;
}

@media (max-width: 768px) { .hrow-arrow { display: none; } }

/* ============================================================
   CONTINUE WATCHING ROW
   ============================================================ */
.cw-section { margin-bottom: 1.5rem; }

.cw-section .section-title {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cw-section .section-title i { color: var(--accent); }

.cw-row {
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.5rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.cw-row::-webkit-scrollbar { display: none; }

.cw-card {
    flex-shrink: 0;
    width: 220px;
    text-decoration: none;
    color: inherit;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cw-card:hover {
    transform: scale(1.05);
    box-shadow: none;
    z-index: 5;
}

.cw-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--bg-tertiary);
    position: relative;
    overflow: hidden;
}

.cw-thumb img { width: 100%; height: 100%; object-fit: cover; }

.cw-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #ff0000;
    z-index: 2;
    box-shadow: none;
}

.cw-info { color: #000000 !important; padding: 0.5rem 0.4rem; background: var(--bg-secondary); }

.cw-info h4 { color: #000000 !important;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

@media (max-width: 768px) { .cw-card { width: 180px; } }

/* ============================================================
   NOTIFICATION SYSTEM
   ============================================================ */
.notif-wrapper { position: relative; }

.notif-bell {
    position: relative;
    cursor: pointer;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.notif-bell:hover { color: var(--accent); }

.notif-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    background: #ff0000;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    box-shadow: none;
    animation: notifPulse 2s ease infinite;
}

@keyframes notifPulse {
    0%, 100% { box-shadow: none; }
    50%       { box-shadow: none; }
}

.notif-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 340px;
    max-height: 420px;
    background: rgba(20, 14, 8, 0.98);
    border: 1px solid rgba(255,0,0,0.12);
    border-radius: 16px;
    box-shadow: none;
    z-index: 2100;
    display: none;
    overflow: hidden;
    animation: notifSlideIn 0.2s ease;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.notif-panel.show { display: block; }

@keyframes notifSlideIn {
    from { opacity: 0; transform: translateY(-8px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.notif-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,0,0,0.08);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.notif-clear-btn {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.notif-clear-btn:hover { opacity: 0.7; }

.notif-panel-body {
    overflow-y: auto;
    max-height: 360px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,0,0,0.2) transparent;
}

.notif-empty {
    padding: 2.5rem 1rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.notif-item {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,0,0,0.06);
    transition: background 0.2s;
    cursor: pointer;
    text-decoration: none;
}

.notif-item:hover { background: rgba(255,0,0,0.05); }

.notif-item.unread {
    background: rgba(255,0,0,0.06);
    border-left: 3px solid var(--accent);
}

.notif-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.notif-icon.welcome  { background: rgba(91, 204, 120, 0.12); color: #5bcc78; }
.notif-icon.premium  { background: rgba(255,0,0,0.12);  color: var(--gold); }
.notif-icon.expired  { background: rgba(255,0,0,0.12); color: var(--accent); }
.notif-icon.info     { background: rgba(255,0,0,0.12); color: #ff4d4d; }

.notif-text { flex: 1; min-width: 0; }

.notif-text h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 3px 0;
    line-height: 1.3;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.notif-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.notif-time { font-size: 0.65rem; color: var(--text-muted); margin-top: 4px; }

@media (max-width: 768px) {
    .notif-panel { width: calc(100vw - 24px); right: -60px; max-height: 380px; }
}

/* ============================================================
   BTN LOADING STATE
   ============================================================ */
.btn-loading { position: relative; pointer-events: none !important; opacity: 0.8 !important; }

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btnSpin 0.7s linear infinite;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes btnSpin { to { transform: translateY(-50%) rotate(360deg); } }

/* ============================================================
   CINEMA MODE
   ============================================================ */
.cinema-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 50;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.cinema-overlay.active { opacity: 1; pointer-events: auto; }
body.cinema-mode .navbar  { opacity: 0.3; transition: opacity 0.4s ease; }
body.cinema-mode .sidebar { opacity: 0.2; transition: opacity 0.4s ease; }
body.cinema-mode .player-wrapper { position: relative; z-index: 60; }
body.cinema-mode .navbar:hover { opacity: 1; }

/* ============================================================
   ONLINE COUNTER
   ============================================================ */
.online-counter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255,0,0,0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,0,0,0.1);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.3px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.online-dot {
    width: 7px;
    height: 7px;
    background: #5bcc78;
    border-radius: 50%;
    box-shadow: none;
    animation: dotPulse 2s ease infinite;
}

@keyframes dotPulse {
    0%, 100% { box-shadow: none; }
    50%       { box-shadow: none; }
}

/* ============================================================
   FLOATING GLOBAL BUTTONS
   ============================================================ */
.global-floating-buttons {
    position: fixed;
    right: 16px;
    bottom: 24px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.global-float-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.global-float-btn i { font-size: 0.65rem; }

/* "Backup" -> round Telegram icon button (blue circle + white plane) */
.global-float-btn.global-float-btn-tg {
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.global-float-btn.global-float-btn-tg:hover {
    background: transparent;
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 6px 18px rgba(255,0,0,0.45);
}

.global-float-btn-tg .tg-logo {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
}

.global-float-btn-primary {
    background: rgba(255,0,0,0.12);
    color: var(--accent);
    border: 1px solid rgba(255,0,0,0.3);
}

.global-float-btn-primary:hover {
    background: rgba(255,0,0,0.25);
    border-color: rgba(255,0,0,0.6);
    color: #fff;
    box-shadow: none;
    transform: translateY(-2px);
}

.global-float-btn-secondary {
    background: rgba(255,0,0,0.05);
    color: var(--text-muted);
    border: 1px solid rgba(255,0,0,0.12);
}

.global-float-btn-secondary:hover {
    background: rgba(255,0,0,0.12);
    border-color: rgba(255,0,0,0.3);
    color: var(--accent);
    transform: translateY(-2px);
}

/* ============================================================
   CURSORS
   ============================================================ */
a, button, [role='button'], .video-card, .nav-item, .close, span.close { cursor: pointer; }

/* ============================================================
   REDUCED MOTION ACCESSIBILITY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================================
   RESPONSIVE — TABLET & MOBILE (1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.25rem 0.85rem;
    }
    .hero-title { font-size: 2rem; }

    .mobile-menu-btn, .menu-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        min-width: 36px;
        min-height: 36px;
        cursor: pointer;
    }

    .hide-mobile { display: none !important; }

    /* Mobile Sidebar Drawer */
    .sidebar {
        display: block !important;
        position: fixed !important;
        left: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        height: 100% !important;
        height: 100dvh !important;
        width: min(290px, 82vw) !important;
        max-width: 320px !important;
        will-change: transform !important;
        transform: translate3d(-100%, 0, 0) !important;
        transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
        z-index: 20000 !important;
        background: #000000 !important;
        border-right: 1px solid rgba(255,0,0,0.22) !important;
        box-shadow: 12px 0 50px rgba(0, 0, 0, 0.8) !important;
        padding: 0.75rem 0.65rem 1.5rem 0.65rem !important;
        padding-top: max(0.75rem, env(safe-area-inset-top, 0px)) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .sidebar.show {
        transform: translate3d(0, 0, 0) !important;
        visibility: visible !important;
    }

    .sidebar-mobile-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 0.25rem 0.5rem 1rem 0.5rem;
        margin-bottom: 0.5rem;
        border-bottom: 1px solid rgba(255,0,0,0.15);
    }

    .sidebar-close-btn {
        background: rgba(255,0,0,0.12);
        border: 1px solid rgba(255,0,0,0.25);
        color: #ff4d4d;
        width: 32px;
        height: 32px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 0.9rem;
        transition: all 0.2s ease;
    }

    .sidebar-close-btn:hover {
        background: #ff0000;
        color: #000000;
    }

    .sidebar-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        height: 100dvh !important;
        background: rgba(0, 0, 0, 0.75) !important;
        z-index: 19999 !important;
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
        display: none !important;
        opacity: 0 !important;
        transition: opacity 0.25s ease !important;
    }

    .sidebar-overlay.show {
        display: block !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    .sidebar-overlay:not(.show) {
        pointer-events: none !important;
    }

    .nav-label, .nav-item span { display: block !important; }
    .nav-item { justify-content: flex-start; padding: 0.75rem 1rem; border-radius: 8px; font-size: 0.9rem; }

    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 1rem 0.75rem !important;
        padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px)) !important;
        min-height: calc(100vh - var(--nav-height)) !important;
        box-sizing: border-box !important;
    }


    .navbar {
        height: 60px !important;
        padding: 0 0.75rem !important;
        gap: 0.4rem !important;
        padding-left: max(0.75rem, env(safe-area-inset-left, 0px)) !important;
        padding-right: max(0.75rem, env(safe-area-inset-right, 0px)) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        background: rgba(11, 9, 8, 0.98) !important;
    }

    .app-container {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        padding-top: 60px;
    }

    .user-menu { gap: 0.35rem; flex-shrink: 0; }
    .user-menu .btn-icon { min-width: 32px; min-height: 32px; padding: 0.25rem; }
    .avatar { min-width: 32px !important; min-height: 32px !important; width: 32px; height: 32px; font-size: 0.8rem; }

    /* Video Grid on Mobile: 2 Columns */
    .video-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem 0.5rem !important;
    }

    .thumbnail-wrapper, .soft-card-thumb {
        position: relative !important;
        width: 100% !important;
        aspect-ratio: 16 / 9 !important;
        padding-top: 0 !important;
        overflow: hidden !important;
        border-radius: 10px !important;
    }

    .thumbnail-wrapper img, .soft-card-thumb img, .thumbnail-img {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    .soft-card {
        border-radius: 12px !important;
    }

    .soft-card-info {
        padding: 8px 8px 6px 8px !important;
    }

    .soft-card-title {
        font-size: 0.82rem !important;
        line-height: 1.25 !important;
        margin-bottom: 6px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .card-category-tag {
        font-size: 0.65rem !important;
        padding: 2px 6px !important;
        border-radius: 5px !important;
        max-width: 48% !important;
    }

    .card-category-tag i {
        font-size: 0.65rem !important;
    }

    .soft-card-meta {
        font-size: 0.68rem !important;
        gap: 4px !important;
    }

    .soft-card-meta i {
        font-size: 0.65rem !important;
    }

    .soft-card-duration {
        font-size: 0.62rem !important;
        padding: 2px 5px !important;
        bottom: 6px !important;
        right: 6px !important;
    }

    .section-header {
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 1.25rem;
        padding-bottom: 0.75rem;
    }
    .section-title { font-size: 1.15rem !important; }

    a.video-card, .nav-item { min-height: 44px; }

    .thumbnail-img {
        display: block;
        min-height: 100%;
        min-width: 100%;
        background: transparent;
    }

    .preview-video { display: none !important; }
    .video-card, .thumbnail-wrapper { box-shadow: none !important; }

    .main-content, .watch-container {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        box-sizing: border-box !important;
    }

    .footer {
        flex-direction: column;
        gap: 8px;
        padding: 1.25rem 0.75rem;
        padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
        text-align: center;
    }
    .footer-links { flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
    .footer-copyright { font-size: 0.8rem; }
}

/* ============================================================
   RESPONSIVE — SMALL PHONES (480px & down)
   ============================================================ */
@media (max-width: 480px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.6rem 0.4rem !important;
    }

    .main-content {
        padding: 0.75rem 0.5rem !important;
    }

    .hero-title { font-size: 1.35rem; }
    .hero-banner { padding: 1.25rem 1rem; border-radius: 12px; margin-bottom: 1.25rem; }
    .hero-btn { width: 100%; justify-content: center; }

    .section-title { font-size: 1.05rem !important; }

    .soft-card-title {
        font-size: 0.78rem !important;
    }

    .soft-card-info {
        padding: 6px 4px 4px 4px !important;
    }

    .footer {
        padding: 1rem 0.5rem;
        padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    }
}

/* ============================================================
   MOBILE: Strict Safety Overrides (No Horizontal Scroll)
   ============================================================ */
html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

*, *::before, *::after {
    box-sizing: border-box;
}

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

/* ============================================================
   🎀 Purple GLOW EXTRAS — Special Purple Touches
   ============================================================ */

/* Decorative logo icon on desktop — removed emoji, clean icon only */
@media (min-width: 769px) {
    .logo::before {
        content: '';
        display: none;
    }
}

/* Section title cute emoji */
.section-title::after {
    content: '';
}

/* Purple gradient text for logo area */
.logo-text-Purple {
    background: #ff0000;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Purple glow for active nav */
.nav-item.active {
    box-shadow: none;
}

/* Cute heart sparkle animation for premium badge */


.premium-badge {
    animation: none;
}

/* Purple hover on view all link */
.view-all-link:hover {
    color: var(--accent) !important;
}

/* Cute typing animation for search placeholder */
.search-input:focus::placeholder {
    opacity: 0.3;
    transition: opacity 0.3s;
}

/* Purple section divider glow */
.section-header {
    position: relative;
}

/* Video title hover Purple */
.video-card:hover .video-title { color: #000000 !important;
    color: var(--accent) !important;
    text-shadow: none;
}

/* Purple tint to page on load */
@keyframes pageFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; filter: none; }
}

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
:root {
    --fs-xs:   12px;
    --fs-sm:   14px;
    --fs-base: 16px;
    --fs-md:   20px;
    --fs-lg:   24px;
    --fs-xl:   32px;
}

.nav-label,
.premium-badge,
.duration-badge {
    letter-spacing: 0.8px;
}

/* ============================================================
   PAGE TRANSITIONS
   ============================================================ */
body {
    animation: pageFadeIn 0.3s ease !important;
}

/* ============================================================
   🌸 CUTE LAYOUT STRUCTURE (HOMEPAGE REDESIGN)
   ============================================================ */

/* Cute Split Hero Banner */
.cute-hero {
    position: relative;
    width: 100%;
    min-height: 450px;
    background: #000000;
    border-radius: 32px;
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: none;
}

.cute-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #ff0000;
    z-index: 0;
}

.cute-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    background: rgba(17, 14, 12, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05), inset 0 0 0 2px rgba(255,255,255,0.5);
}

.cute-hero-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cute-hero-title span {
    color: var(--accent);
}

.cute-hero-subtitle {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .cute-hero {
        padding: 2rem;
        min-height: 350px;
    }
    .cute-hero-content { padding: 2rem 1.5rem; }
    .cute-hero-title { font-size: 2.2rem; }
}

/* Cute Bento Grid Layout */
.cute-section {
    margin-bottom: 4rem;
}

.cute-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0 10px;
}

.cute-section-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.cute-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

@media (max-width: 768px) {
    .cute-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }
}

/* Soft Video Card */
.soft-card {
    display: block;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: none;
}

.soft-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: transparent;
    box-shadow: none;
    background: transparent;
}

.soft-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    background: transparent;
}

.soft-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.soft-card:hover .soft-card-thumb img {
    transform: scale(1.08);
}

.video-play-btn,
.soft-card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6) !important;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 0.95rem;
    opacity: 0.9 !important;
    pointer-events: none;
    z-index: 3;
    transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.video-play-btn i,
.soft-card-play i {
    margin-left: 2px;
    color: #ffffff !important;
}

.soft-card:hover .video-play-btn,
.video-card:hover .video-play-btn,
.soft-card:hover .soft-card-play {
    transform: translate(-50%, -50%) scale(1.12);
    background: rgba(0, 0, 0, 0.8) !important;
    opacity: 1 !important;
}

/* Circular Pink Lock Button for Premium Videos */
.video-lock-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 42px;
    height: 42px;
    background: #ff0000 !important;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #000000 !important;
    font-size: 1.05rem;
    pointer-events: none;
    z-index: 3;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: none;
}

.video-lock-btn i {
    color: #000000 !important;
}

.soft-card:hover .video-lock-btn,
.video-card:hover .video-lock-btn {
    transform: translate(-50%, -50%) scale(1.12);
    background: #ff4d4d !important;
    box-shadow: none;
}

.soft-card-info {
    padding: 0 4px;
}

.soft-card-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
}

.soft-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.soft-card-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(20, 14, 8, 0.8);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 8px;
    border: 1px solid rgba(255,0,0,0.2);
}

/* Purple CTA Button */
.cute-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ff0000;
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid transparent;
}

.cute-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: none;
    background: #ff0000;
}

/* =========================================
   EMERGENCY LAYOUT & THEME FIXES 
   ========================================= */

html, body {
    background: #000000;
    color: #ffffff !important;
}

/* Fix dual scrollbars — use overflow-x:clip not hidden (hidden creates scroll container) */
.app-container {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    min-height: 100vh !important;
    padding-top: var(--nav-height) !important;
    overflow: visible !important;
}

/* Fix Navbar */
.navbar {
    background: rgba(11, 9, 8, 0.95) !important;
    /* linha vermelha embaixo do menu removida (mesma cor do fundo) */
    border-bottom: 1px solid rgba(11, 9, 8, 0.95) !important;
    backdrop-filter: blur(15px) !important;
}

/* Fix Left Sidebar — styled scrollbar */
.sidebar {
    background: rgba(17, 14, 12, 0.95) !important;
    border-right: 1px solid rgba(255,0,0,0.15) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: none !important;
    scrollbar-color: transparent transparent !important;
    bottom: 0 !important;
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    box-sizing: border-box !important;
    width: var(--sidebar-width) !important;
    box-shadow: none;
}
@media (min-width: 769px) {
    .sidebar {
        padding-top: calc(var(--nav-height) + 1.2rem) !important;
    }
}
.sidebar::-webkit-scrollbar {
    width: 0 !important;
    display: none !important;
}
.sidebar::-webkit-scrollbar-track {
    background: transparent !important;
}
.sidebar::-webkit-scrollbar-thumb {
    background: transparent !important;
    border-radius: 10px !important;
}
.sidebar::-webkit-scrollbar-thumb:hover {
    background: transparent !important;
}

/* Barras de rolagem vermelhas do menu: OCULTAS (a rolagem continua funcionando).
   Precisa de !important + especificidade maior que a regra global
   `@media (min-width:769px) ::-webkit-scrollbar { width:5px !important; display:block !important; }` */
.sidebar,
.sidebar * {
    scrollbar-width: none !important;
    scrollbar-color: transparent transparent !important;
}
.sidebar::-webkit-scrollbar,
.sidebar *::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
}
.sidebar::-webkit-scrollbar-thumb,
.sidebar *::-webkit-scrollbar-thumb {
    background: transparent !important;
}

/* Fix invisible text in Sidebar */
.nav-item {
    color: var(--text-secondary) !important;
}
.nav-item:hover, .nav-item.active {
    color: var(--primary) !important;
    background: rgba(255,0,0,0.08) !important;
}
.nav-item i {
    color: var(--text-muted) !important;
}
.nav-item:hover i, .nav-item.active i {
    color: var(--primary) !important;
}
.nav-label {
    color: var(--text-muted) !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
}
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-label, .nav-item span { display: block; }
    .nav-item { justify-content: flex-start; padding: 0.75rem 1rem; }
    .nav-item i { font-size: 1rem; }
}

/* Fix Main Content layout — default browser scroll */
.main-content {
    margin-left: var(--sidebar-width) !important;
    width: calc(100% - var(--sidebar-width)) !important;
    max-width: calc(100% - var(--sidebar-width)) !important;
    min-height: calc(100vh - var(--nav-height)) !important;
    padding: 2rem !important;
    box-sizing: border-box !important;
}

/* Fix dropdowns and notification panel (dark leftovers) */
#notifPanel, .dropdown-menu {
    background: rgba(17, 14, 12, 0.98) !important;
    border: 1px solid rgba(255,0,0,0.15) !important;
    box-shadow: none;
}

/* Mobile & Tablet Fixes */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%) !important; /* Hide sidebar correctly */
        background: rgba(17, 14, 12, 0.98) !important;
    }
    .sidebar.show {
        transform: translateX(0) !important;
    }
    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 1rem 0.75rem !important;
        padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

/* Verdade Popup Modal */
.verdade-popup-modal {
    background: rgba(17, 14, 12, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,0,0,0.2);
    border-radius: 24px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    box-shadow: none;
    animation: popupPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes popupPop {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.verdade-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,0,0,0.1);
    border: none;
    color: #ff0000;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}
.verdade-popup-close:hover {
    background: #ff0000;
    color: #fff;
    transform: rotate(90deg);
}
.verdade-popup-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: none;
    margin-bottom: 10px;
}
.verdade-popup-name {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    color: #ffffff;
}
.verdade-popup-handle {
    font-size: 0.9rem;
    color: #ff4d4d;
    margin-bottom: 20px;
}
.verdade-popup-content-box {
    background: #000000;
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #ffffff;
    line-height: 1.5;
}
.verdade-popup-content-box .box-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ff0000;
    margin-bottom: 10px;
}
.verdade-popup-content-box p {
    margin-bottom: 8px;
}
.verdade-popup-content-box p:last-child {
    margin-bottom: 0;
}
.accent-Purple {
    color: #ff0000;
    font-weight: 700;
}
.verdade-popup-actions .btn-gradient {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #ff0000;
    color: #fff;
    padding: 14px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    box-shadow: none;
    transition: all 0.3s;
}
.verdade-popup-actions .btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: none;
}
.verdade-popup-footer {
    margin-top: 15px;
    font-size: 0.85rem;
}
.verdade-popup-footer a {
    color: #ff4d4d;
    text-decoration: none;
}
.verdade-popup-footer a:hover {
    text-decoration: underline;
    color: #ff0000;
}

/* Welcome popup accessories */
.verdade-popup-account-info {
    background: #000000;
    border-radius: 12px;
    padding: 10px 15px;
    margin-bottom: 15px;
    text-align: left;
}
.account-info-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    padding: 4px 0;
    color: #ffffff;
}
.account-info-label { color: #7d6a5c; font-weight: 600; }
.account-info-value { color: #ffffff; font-weight: 800; }
.accent-pink {
    color: #ff0000;
    font-weight: 700;
}


/* Video Cards - Dark Theme Matching Site Background */
.video-title, .soft-card-title, .card-title, .video-info-title, .cw-info h4, h1.video-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    text-shadow: none !important;
}

.soft-card, .video-card {
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 14px !important;
    transition: all 0.3s ease !important;
    padding-bottom: 8px !important;
}

.soft-card:hover, .video-card:hover {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none;
    transform: translateY(-4px) !important;
}

.soft-card:hover .video-title, .soft-card:hover .soft-card-title, .video-card:hover .video-title {
    color: #ff0000 !important;
}

.soft-card-meta, .video-meta, .video-stats, .video-author, .cw-info p, .card-views {
    color: #b3a196 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

a.soft-card, a.soft-card:visited, a.soft-card:hover, a.soft-card:active,
a.video-card, a.video-card:visited, a.video-card:hover, a.video-card:active {
    text-decoration: none !important;
    color: inherit !important;
}

.card-views {
    color: #b3a196 !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

/* Ultimate Fix for Double Scrollbars v2 */
html { overflow-y: auto !important; overflow-x: hidden !important; }
body { overflow: visible !important; height: auto !important; min-height: 100vh !important; }
.app-container { overflow: visible !important; height: auto !important; min-height: 100vh !important; }
.main-content { overflow: visible !important; height: auto !important; min-height: 100vh !important; }
@media (min-width: 769px) {
    ::-webkit-scrollbar { width: 5px !important; height: 0px !important; display: block !important; }
    ::-webkit-scrollbar-track { background: #000000; }
    ::-webkit-scrollbar-thumb { background: rgba(255,0,0,0.3) !important; border-radius: 10px !important; }
    ::-webkit-scrollbar-thumb:hover { background: rgba(255,0,0,0.6) !important; }
}


/* Ultimate Fix for White Bar at bottom */
html {
    background-color: #000000 !important;
    background: #000000 !important;
}

/* Hide navbar icons ONLY on /free */
body.free-page .user-menu a.btn-icon,
body.free-page .user-menu div:has(#notifPanel),
body.free-page .user-menu button[aria-label="Notifications"],
body.free-page .user-menu [onclick*="toggleNotifPanel"] {
    display: none !important;
}

/* Hide upload, store, and premium icons on /explore (keep the new quick actions) */
body.explore-page .user-menu a.btn-icon:not(.nav-quick) {
    display: none !important;
}

/* Tor (.onion) Navigation Item */
.nav-item.nav-item-tor,
.nav-item.nav-item-tor span {
    color: #ff0000 !important;
}
.nav-item.nav-item-tor i {
    color: #ff0000 !important;
}
.nav-item.nav-item-tor:hover {
    color: #ff4d4d !important;
    background: rgba(255,0,0,0.12) !important;
}
.nav-item.nav-item-tor:hover span,
.nav-item.nav-item-tor:hover i {
    color: #ff4d4d !important;
}

/* ============================================================
   WATERMARK ON THUMBNAILS  —  "THE BEST CONTENTS / BABY"
   Text overlay centred on every thumbnail. No background, so the
   video thumbnail underneath stays fully visible. Zero server cost:
   nothing is rendered, the browser just draws the words on top.
   Injected by main.js (wm-mark) into every thumbnail container.
   ============================================================ */
.wm-mark {
    display: none !important;
}

/* anti-estouro-data-table: username gigante estourava a coluna e empurrava as demais 98k px pra fora da tela */
.data-table { table-layout: fixed; width: 100%; }
.data-table th, .data-table td { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; word-break: break-word; }

/* ============================================================
   ULTRA-SMOOTH MOBILE & TABLET PERFORMANCE (60-120 FPS)
   ============================================================ */
@media (max-width: 1024px) {
    /* Kill touch delays across all interactive elements */
    *, a, button, input, select, textarea, .bottom-nav-item, .soft-card, .video-card {
        -webkit-tap-highlight-color: transparent !important;
        touch-action: manipulation;
    }

    /* Native momentum scrolling */
    html, body {
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior-y: none;
    }

    /* Offscreen layout virtualization: saves 80%+ rendering cost during scroll */
    .soft-card, .video-card {
        content-visibility: auto;
        contain-intrinsic-size: 0 240px;
        transform: translateZ(0);
        will-change: auto;
    }

    /* Instant tactile feedback on cards and buttons */
    .soft-card:active, .video-card:active {
        transform: scale(0.98) translateZ(0) !important;
        transition: transform 0.08s ease !important;
    }

    /* Hardware compositing for fixed elements (eliminates jank during scroll) */
    .bottom-nav, .sidebar, .sidebar-overlay, .navbar {
        transform: translateZ(0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
}

/* ============================================================
   MODERN TOUCH (discreto) — gradiente suave + sombra leve
   ============================================================ */
.btn, .btn-primary, .btn-premium, .btn-primary-massive,
.nav-signup-btn, .btn-telegram-direct, .btn-grant {
    background-image: linear-gradient(180deg, rgba(255,255,255,.09), rgba(0,0,0,.12)) !important;
    box-shadow: 0 3px 10px rgba(0,0,0,.30) !important;
    border-radius: 12px !important;
    transition: box-shadow .2s ease, transform .2s ease, filter .2s ease !important;
}
.btn:hover, .btn-primary:hover, .btn-premium:hover, .btn-primary-massive:hover,
.nav-signup-btn:hover, .btn-telegram-direct:hover, .btn-grant:hover {
    box-shadow: 0 5px 14px rgba(255,0,0,.20) !important;
    transform: translateY(-1px);
    filter: brightness(1.06);
}
/* ============================================================
   ADMIN PANEL — modern touch (discreto)
   ============================================================ */
.admin-sidebar { background: linear-gradient(180deg, #000000, #000000) !important; }
.admin-sidebar .nav-label { color: #6b6b76 !important; letter-spacing: 1.2px; font-size: .68rem; }
.admin-sidebar .nav-item {
    border-radius: 10px !important;
    margin: 2px 8px !important;
    transition: background .18s ease, color .18s ease, transform .18s ease !important;
}
.admin-sidebar .nav-item:hover { background: rgba(255,0,0,.09) !important; transform: translateX(2px); }
.admin-sidebar .nav-item.active {
    background: linear-gradient(90deg, rgba(255,0,0,.18), rgba(255,0,0,.02)) !important;
    box-shadow: inset 3px 0 0 #ff0000;
    color: #fff !important;
}
.data-table-container {
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, .06) !important;
    background: #000000 !important;
    overflow: hidden !important;
}
.data-table thead th {
    text-transform: uppercase;
    letter-spacing: .6px;
    font-size: .72rem !important;
    color: #8b8b95 !important;
    background: rgba(255, 255, 255, .02) !important;
}
.data-table tbody tr { transition: background .15s ease; }
.data-table tbody tr:hover { background: rgba(255, 255, 255, .03) !important; }
.search-wrapper { border-radius: 12px !important; }
.section-title { letter-spacing: -.02em !important; }
/* ============================================================
   BRAND FONT — logo "HAUNTED" (Anton)
   ============================================================ */
.brand-font, .brand-font * {
    font-family: 'Anton', 'Oswald', 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 400 !important;
    letter-spacing: .02em;
}
/* ============================================================
   FREE badge (green) — overrides .premium-badge red
   ============================================================ */
.free-badge {
    background: #22c55e !important;
    color: #ffffff !important;
}


/* ============================================================
   GLOBAL FONT - Lato (readable)
   ============================================================ */
html body,
html body button,
html body input,
html body textarea,
html body select,
html body *[class]:not(i):not([class*="fa-"]):not(.fa):not([class*="icon"]),
html body *[style]:not(i):not([class*="fa-"]):not(.fa):not([class*="icon"]) {
    font-family: 'Lato', Arial, Helvetica, sans-serif !important;
}

/* ==================== THEME V2 — VIOLETA NEON ==================== */
:root{
  --acc:#ff0000; --acc-2:#FBBF24; --acc-soft:#ff4d4d; --acc-deep:#a80000;
  --acc-glow:rgba(255,0,0,.55);
  --surface:#0f0f16; --surface-2:#14141f; --line:rgba(255,255,255,.09);
}
.btn,.btn-primary,.btn-gradient,.btn-primary-massive,.btn-grant,.btn-premium,.submit-btn{
  border:1px solid rgba(255,255,255,.10)!important;
  background:linear-gradient(135deg,#ff0000 0%,#ff3b3b 45%,#FBBF24 100%)!important;
  color:#fff!important; border-radius:12px!important; font-weight:700!important;
  letter-spacing:.2px;
  box-shadow:0 10px 30px -14px var(--acc-glow), inset 0 1px 0 rgba(255,255,255,.20)!important;
  transition:transform .16s ease, box-shadow .22s ease, filter .18s ease!important;
}
.btn:hover,.btn-primary:hover,.btn-gradient:hover,.btn-primary-massive:hover,.btn-grant:hover,.btn-premium:hover,.submit-btn:hover{
  transform:translateY(-2px); filter:brightness(1.07);
  box-shadow:0 18px 42px -16px var(--acc-glow), inset 0 1px 0 rgba(255,255,255,.25)!important;
}
.btn:active,.submit-btn:active{transform:translateY(0) scale(.99)}
.btn-icon{
  background:rgba(255,255,255,.05)!important; border:1px solid var(--line)!important;
  border-radius:12px!important; box-shadow:none!important; color:#e7e7f0!important;
}
.btn-icon:hover{background:rgba(255,0,0,.16)!important; border-color:rgba(255,0,0,.45)!important}
.field-input{
  background:var(--surface-2)!important; border:1px solid var(--line)!important;
  border-radius:12px!important; color:#fff!important;
  transition:border-color .18s, box-shadow .18s, background .18s;
}
.field-input:focus{
  border-color:var(--acc)!important; background:#171722!important; outline:none!important;
  box-shadow:0 0 0 4px rgba(255,0,0,.18)!important;
}
.field-box{border-radius:14px!important}
.soft-card{
  background:linear-gradient(180deg,#16110c,#0d0906)!important;
  border:1px solid var(--line)!important; border-radius:16px!important;
  overflow:hidden; transition:transform .18s ease, border-color .18s, box-shadow .22s;
}
.soft-card:hover{
  transform:translateY(-3px); border-color:rgba(255,0,0,.55)!important;
  box-shadow:0 18px 40px -20px rgba(255,0,0,.75);
}
.soft-card-thumb{border-radius:14px 14px 0 0!important}
.navbar{
  background:rgba(13,11,9,.82)!important;
  backdrop-filter:blur(14px) saturate(140%); -webkit-backdrop-filter:blur(14px) saturate(140%);
  border-bottom:1px solid var(--line)!important;
}
.hd-badge{background:linear-gradient(135deg,#ff0000,#FBBF24)!important;border-radius:6px!important;font-weight:800!important}
::selection{background:rgba(255,0,0,.45);color:#fff}
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#a80000,#ff0000);border-radius:8px}
::-webkit-scrollbar-track{background:#0c0805}

/* ===== mobile refinements (violeta) ===== */
@media (max-width: 600px) {
  .btn, .btn-primary, .btn-gradient, .submit-btn, .btn-primary-massive {
    box-shadow: 0 8px 22px -14px rgba(255,0,0,.85) !important;
  }
  .soft-card:hover { transform: none; box-shadow: none; }
  .navbar { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .soft-card { border-radius: 14px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .soft-card, .submit-btn { transition: none !important; }
  .btn:hover, .soft-card:hover { transform: none !important; }
}

/* ============ HOME V2 (hero + grid maior + busca) ============ */
.hero-v2{position:relative;border-radius:22px;overflow:hidden;margin:0 0 26px;min-height:330px;display:flex;align-items:flex-end;border:1px solid rgba(255,0,0,.22);background:#0c0b12}
.hero-v2-bg{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.55}
.hero-v2::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(11,9,8,.96) 0%,rgba(11,9,8,.78) 42%,rgba(11,9,8,.15) 100%),radial-gradient(60% 90% at 85% 15%,rgba(251,191,36,.30),transparent 65%)}
.hero-v2-in{position:relative;z-index:2;padding:32px;max-width:620px}
.hero-tag{display:inline-flex;align-items:center;gap:6px;font-size:10.5px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#ff8a8a;background:rgba(255,0,0,.16);border:1px solid rgba(255,0,0,.40);padding:6px 11px;border-radius:999px;margin-bottom:14px}
.hero-title{font-size:36px;line-height:1.08;letter-spacing:-.02em;margin:0 0 10px;color:#fff}
.hero-sub{font-size:13.5px;color:#b8b8c6;margin:0 0 14px;max-width:430px;line-height:1.55}
.hero-meta{font-size:12px;color:#8f8f9f;margin-bottom:18px}
.hero-btns{display:flex;gap:10px;flex-wrap:wrap}
.hero-btn{display:inline-flex;align-items:center;gap:8px;font-weight:800;font-size:13.5px;padding:13px 22px;border-radius:12px;text-decoration:none;transition:transform .16s ease, filter .18s ease}
.hero-btn-main{background:linear-gradient(135deg,#ff0000,#ff3b3b 45%,#FBBF24);color:#fff;box-shadow:0 16px 40px -18px rgba(255,0,0,.95)}
.hero-btn-main:hover{transform:translateY(-1px);filter:brightness(1.06);color:#fff}
.hero-btn-ghost{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);color:#e9e9f2}
.hero-btn-ghost:hover{background:rgba(255,255,255,.12);color:#fff}

.nav-search{display:flex;align-items:center;gap:8px;height:40px;min-width:200px;max-width:400px;flex:1;margin:0 14px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.09);border-radius:12px;padding:0 12px;color:#7d7d8c;transition:border-color .18s, box-shadow .18s}
.nav-search input{flex:1;background:transparent;border:0;outline:none;color:#fff;font:inherit;font-size:13px}
.nav-search input::placeholder{color:#7d7d8c}
.nav-search:focus-within{border-color:rgba(255,0,0,.60);box-shadow:0 0 0 3px rgba(255,0,0,.15)}

.video-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))!important;gap:16px!important}

@media (max-width:900px){ .nav-search{display:none} }
@media (max-width:768px){
  .hero-v2{min-height:230px;border-radius:16px}
  .hero-v2-in{padding:20px}
  .hero-title{font-size:24px}
  .hero-sub{display:none}
  .hero-btn{padding:11px 16px;font-size:12.5px}
  .video-grid{grid-template-columns:repeat(2,1fr)!important;gap:10px!important}
}

/* ================= CLEAN PASS (sem excesso) ================= */
/* botoes: cor solida, sem gradiente nem glow */
.btn,.btn-primary,.btn-gradient,.submit-btn,.btn-primary-massive,
.hero-btn-main,.btn-tier-buy,.link-btn-primary,.join-btn,.plan-action-btn{
  background-image:none !important;
  background-color:#ff0000 !important;
  box-shadow:none !important;
  border-radius:10px !important;
  transform:none !important;
  filter:none !important;
}
.btn:hover,.btn-primary:hover,.btn-gradient:hover,.submit-btn:hover,
.hero-btn-main:hover,.btn-tier-buy:hover,.link-btn-primary:hover,.join-btn:hover{
  background-color:#b30000 !important;
  box-shadow:none !important;
  transform:none !important;
  filter:none !important;
}
/* cards: sem flutuar, sem brilho */
.soft-card{
  transform:none !important; box-shadow:none !important;
  border-radius:12px !important; background:#15100a !important;
}
.soft-card:hover{
  transform:none !important; box-shadow:none !important;
  border-color:rgba(255,0,0,.45) !important;
}
/* hero: sem camada radial extra */
.hero-v2::after{
  background:linear-gradient(90deg,rgba(11,9,8,.97) 0%,rgba(11,9,8,.72) 45%,rgba(11,9,8,.10) 100%) !important;
}
.hero-btn-ghost{box-shadow:none !important}
/* badges: chapados */
.hd-badge{background:#ff0000 !important;border-radius:4px !important;box-shadow:none !important}
/* navbar: borda simples */
.navbar{box-shadow:none !important}
/* chips / pills */
.chip,.pill,.tier-badge-pill,.size-pill-tag,.delivery-badge{box-shadow:none !important}

/* ================= UNBLOCK — desfaz regras que escondiam o tema ================= */
/* body: estava preto chapado com background-image:none !important */
body {
    background-color: #08080c !important;
    background-image: radial-gradient(900px 520px at 50% -10%, rgba(255,0,0,.07), transparent 65%) !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}
/* navbar: estava preta chapada, com backdrop-filter:none !important */
.navbar, .navbar.scrolled {
    background: rgba(13,11,9,.82) !important;
    border-bottom: 1px solid rgba(255,255,255,.07) !important;
    backdrop-filter: blur(14px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(140%) !important;
    box-shadow: none !important;
}
/* tabelas: fundo quase preto -> violeta escuro */
.data-table-container {
    background: linear-gradient(180deg, #111019, #0c0b11) !important;
    border-color: rgba(255,0,0,.18) !important;
}
/* sidebar no mobile (drawer) */
@media (max-width: 1024px) {
    .sidebar { background: linear-gradient(180deg, #000000, #000000) !important; }
}

/* ================= CARDS V2 — estilo poster (sem caixa preta) ================= */
.soft-card,
.category-row .soft-card,
.free-previews-row .soft-card {
  background: transparent !important;
  border: 0 !important;
  border-radius: 14px !important;
  overflow: visible !important;
  box-shadow: none !important;
}
.soft-card .soft-card-thumb,
.soft-card .thumbnail-wrapper {
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #121219 !important;
}
.soft-card .soft-card-thumb img,
.soft-card .thumbnail-img {
  border-radius: 12px !important;
  display: block;
}
.soft-card .soft-card-info {
  padding: 8px 2px 2px !important;
  background: transparent !important;
}
.soft-card .soft-card-title {
  color: #f1f1f6 !important;
  font-weight: 600 !important;
}
.soft-card .soft-card-meta,
.soft-card .card-views {
  color: #8a8a99 !important;
}
/* feedback de toque/hover discreto, só na imagem */
.soft-card:hover .soft-card-thumb,
.soft-card:active .soft-card-thumb {
  box-shadow: 0 0 0 2px rgba(255,0,0,.55) !important;
}
@media (max-width: 600px) {
  .video-grid { gap: 14px 10px !important; }
  .soft-card .soft-card-info { padding: 7px 0 0 !important; }
  .soft-card .soft-card-title { font-size: .8rem !important; }
}

/* ================= CARDS V3 — cartão com moldura fina ================= */
.soft-card,
.category-row .soft-card,
.free-previews-row .soft-card {
  background: #14141c !important;
  border: 1px solid rgba(255,255,255,.055) !important;
  border-radius: 12px !important;
  padding: 5px !important;           /* moldura fina, não caixa grande */
  overflow: hidden !important;
  box-shadow: none !important;
}
.soft-card .soft-card-thumb,
.soft-card .thumbnail-wrapper {
  border-radius: 9px !important;
  overflow: hidden !important;
  background: #0e0e15 !important;
}
.soft-card .soft-card-thumb img,
.soft-card .thumbnail-img { border-radius: 9px !important; display: block; }
.soft-card .soft-card-info {
  padding: 7px 5px 5px !important;
  background: transparent !important;
}
.soft-card .soft-card-title { color: #f1f1f6 !important; font-weight: 600 !important; }
.soft-card .soft-card-meta,
.soft-card .card-views { color: #8a8a99 !important; }
.soft-card:hover .soft-card-thumb,
.soft-card:active .soft-card-thumb {
  box-shadow: 0 0 0 2px rgba(255,0,0,.50) !important;
}
@media (max-width: 600px) {
  .video-grid { gap: 10px !important; }
  .soft-card { padding: 4px !important; border-radius: 11px !important; }
  .soft-card .soft-card-thumb { border-radius: 8px !important; }
  .soft-card .soft-card-info { padding: 6px 4px 4px !important; }
  .soft-card .soft-card-title { font-size: .78rem !important; }
}

/* ================= CARDS V4 — compacto ================= */
.soft-card,
.category-row .soft-card,
.free-previews-row .soft-card {
  padding: 3px !important;
  border-radius: 10px !important;
  background: #14141c !important;
}
.soft-card .soft-card-thumb,
.soft-card .thumbnail-wrapper { border-radius: 7px !important; }
.soft-card .soft-card-thumb img,
.soft-card .thumbnail-img { border-radius: 7px !important; }
.soft-card .soft-card-info { padding: 5px 3px 3px !important; }

/* espacos entre cards (vence o gap inline dos carrosseis) */
.video-grid { gap: 8px !important; }
.category-row { gap: 8px !important; }
.free-previews-row { gap: 8px !important; }

@media (max-width: 600px) {
  body.explore-page .main-content { padding: 0.75rem 0.5rem 2rem !important; }
  .main-content { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
  .video-grid { gap: 8px 6px !important; }
  .soft-card { padding: 3px !important; border-radius: 9px !important; }
  .soft-card .soft-card-thumb, .soft-card .soft-card-thumb img { border-radius: 6px !important; }
  .soft-card .soft-card-info { padding: 4px 2px 2px !important; }
  .soft-card .soft-card-title { font-size: .76rem !important; line-height: 1.2 !important; }
  .category-row { gap: 6px !important; }
}

/* ================= CARDS V5 — poster, sem caixa, espaco minimo ================= */
.soft-card,
.category-row .soft-card,
.free-previews-row .soft-card {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  border-radius: 10px !important;
  overflow: visible !important;
  box-shadow: none !important;
}
.soft-card .soft-card-thumb,
.soft-card .thumbnail-wrapper {
  border-radius: 8px !important;
  overflow: hidden !important;
  background: #141110 !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) !important;
}
.soft-card .soft-card-thumb img,
.soft-card .thumbnail-img { border-radius: 8px !important; display: block; }
.soft-card .soft-card-info { padding: 4px 0 0 !important; background: transparent !important; }
.soft-card .soft-card-title { color: #f1f1f6 !important; font-weight: 600 !important; }

.video-grid { gap: 6px !important; }
.category-row { gap: 6px !important; }
.free-previews-row { gap: 6px !important; }

@media (max-width: 600px) {
  body.explore-page .main-content { padding: 0.5rem 0.4rem 2rem !important; }
  .video-grid { gap: 6px 5px !important; }
  .category-row { gap: 5px !important; }
  .soft-card .soft-card-info { padding: 3px 0 0 !important; }
  .soft-card .soft-card-title { font-size: .75rem !important; line-height: 1.15 !important; }
}

/* ================= MOBILE — espacos verticais compactos ================= */
@media (max-width: 768px) {
  /* os carrosseis tem margin-bottom: 2rem inline */
  .category-row { margin-bottom: 14px !important; }
  .free-previews-row { margin-bottom: 14px !important; }

  /* titulos de secao */
  .section-header { margin: 10px 0 8px !important; padding: 0 !important; }
  .section-title { font-size: 0.95rem !important; }
  .section-title i { margin-right: 6px !important; }

  /* info do card */
  .soft-card .soft-card-info { padding: 3px 0 0 !important; }
  .soft-card .soft-card-title { margin: 0 0 1px !important; }
  .soft-card .soft-card-meta,
  .soft-card .card-views { font-size: 0.68rem !important; line-height: 1.1 !important; }

  /* grid principal */
  .video-grid { row-gap: 10px !important; column-gap: 5px !important; }

  /* hero */
  .hero-v2 { margin-bottom: 14px !important; }
}

/* ================= MOBILE V2 — ainda mais compacto ================= */
@media (max-width: 768px) {
  .category-row { margin-bottom: 9px !important; }
  .free-previews-row { margin-bottom: 9px !important; }

  .section-header { margin: 7px 0 5px !important; }
  .section-title { font-size: 0.88rem !important; margin: 0 !important; }
  .section-title i { margin-right: 5px !important; font-size: 0.8rem !important; }

  .soft-card .soft-card-info { padding: 2px 0 0 !important; }
  .soft-card .soft-card-title { font-size: 0.72rem !important; line-height: 1.1 !important; margin: 0 !important; }
  .soft-card .soft-card-meta,
  .soft-card .card-views { font-size: 0.64rem !important; line-height: 1 !important; margin: 0 !important; }

  .video-grid { row-gap: 8px !important; column-gap: 4px !important; }
  .hero-v2 { margin-bottom: 9px !important; }

  body.explore-page .main-content { padding-bottom: 1.2rem !important; }
}

/* ================= MOBILE V3 — corrige espacos de secao e fontes ================= */
@media (max-width: 1024px) {
  /* espaco ENTRE secoes (Trending -> Asian -> ...) */
  .section-header { margin: 6px 0 4px !important; }
  .category-row { margin-bottom: 8px !important; padding-bottom: 0 !important; }
  .free-previews-row { margin-bottom: 8px !important; padding-bottom: 0 !important; }
  .section-title { font-size: 0.9rem !important; }
}

@media (max-width: 768px) {
  /* fontes em tamanho utilizavel (desfaz o exagero anterior) */
  .soft-card .soft-card-info { padding: 6px 0 4px !important; }
  .soft-card .soft-card-title { font-size: 0.8rem !important; line-height: 1.2 !important; margin: 0 0 2px !important; }
  .soft-card .soft-card-meta,
  .soft-card .card-views { font-size: 0.7rem !important; line-height: 1.15 !important; }
  .video-grid { row-gap: 10px !important; column-gap: 6px !important; }
}

/* ===== seguranca mobile: nada de rolagem lateral ===== */
.premium-landing-wrap { overflow-x: clip !important; }
@media (max-width: 768px) {
  body.explore-page { overflow-x: hidden !important; }
  .premium-landing-wrap::before { max-width: 100vw !important; }
}

/* ================= TOUCH: sem "esticar" botao ao tocar ================= */
/* No celular o :hover dispara no toque e o scale(1.03) fazia o botao crescer. */
@media (hover: none), (pointer: coarse) {
  .hero-btn,
  .hero-btn:hover,
  .hero-btn:active,
  .hero-btn-main,
  .hero-btn-main:hover,
  .hero-btn-ghost,
  .hero-btn-ghost:hover,
  .btn,
  .btn:hover,
  .btn:active,
  .btn-primary,
  .btn-primary:hover,
  .btn-primary-massive,
  .btn-primary-massive:hover,
  .submit-btn,
  .submit-btn:hover,
  .plan-action-btn,
  .plan-action-btn:hover,
  .btn-tier-buy,
  .btn-tier-buy:hover,
  .btn-tier-contact,
  .btn-tier-contact:hover,
  .join-btn,
  .join-btn:hover,
  .link-btn,
  .link-btn:hover,
  .btn-icon,
  .btn-icon:hover,
  a.hero-btn.nav-signup,
  a.hero-btn.nav-signup:hover {
    transform: none !important;
    filter: none !important;
    scale: 1 !important;
    transition-property: background-color, border-color, opacity !important;
  }
  /* cards tambem nao devem "afundar" de forma estranha */
  .soft-card:active, .video-card:active {
    transform: none !important;
  }
}

/* ================= SEM EFEITO DE "ESTICAR" EM NENHUM DISPOSITIVO ================= */
.hero-btn:hover, .hero-btn:active, .hero-btn:focus,
.btn:hover, .btn:active, .btn:focus,
.btn-primary:hover, .btn-primary:active,
.btn-primary-massive:hover, .btn-primary-massive:active,
.btn-gradient:hover, .btn-gradient:active,
.submit-btn:hover, .submit-btn:active, .submit-btn:focus,
.plan-action-btn:hover, .plan-action-btn:active,
.btn-tier-buy:hover, .btn-tier-buy:active,
.btn-tier-contact:hover, .btn-tier-contact:active,
.join-btn:hover, .join-btn:active,
.link-btn:hover, .link-btn:active,
.btn-icon:hover, .btn-icon:active,
.btn-premium:hover, .btn-premium:active,
.btn-grant:hover, .btn-grant:active,
a.hero-btn.nav-signup:hover, a.hero-btn.nav-signup:active {
  transform: none !important;
  scale: none !important;
  filter: none !important;
}

/* no hover, so muda a cor (feedback discreto) */
.hero-btn:hover { background-color: #b30000 !important; }
.btn:hover, .btn-primary:hover, .btn-primary-massive:hover,
.submit-btn:hover, .plan-action-btn:hover, .btn-tier-buy:hover,
.join-btn:hover, .link-btn:hover { background-color: #b30000 !important; }


/* === BRAND POLISH: sem azul padrão do navegador + neutros quentes === */
a { color: inherit; }
.notif-item, .notif-item * { text-decoration: none; }
.global-float-btn { color: #ffffff !important; }
.global-float-btn svg, .global-float-btn img { fill: currentColor; }
.bk-tile { color: inherit; text-decoration: none; }


/* === DESKTOP POLISH: navbar + sidebar no mesmo tom, texto legivel === */
@media (min-width: 1025px) {
    html body .navbar {
        background: #0c0908 !important;
        border-bottom: 1px solid rgba(255,0,0,0.08) !important;
    }
    html body .sidebar {
        background: #0c0908 !important;
        border-right: 1px solid rgba(255,0,0,0.08) !important;
    }
    html body .sidebar .nav-label,
    html body .sidebar .cat-label-text {
        color: #c2ad9b !important;
        font-weight: 800;
        letter-spacing: 0.12em;
    }
    html body .sidebar .nav-item {
        color: #ffffff !important;
        font-weight: 600;
        font-size: 0.875rem;
        padding: 0.46rem 0.65rem;
        letter-spacing: -0.005em;
    }
    html body .sidebar .nav-item.category-item-node {
        color: #ffffff !important;
        font-weight: 600;
    }
    html body .sidebar .nav-item i { color: #ffffff !important; }
    html body .sidebar .nav-item:hover {
        color: #ffffff !important;
        background: rgba(255,0,0,0.08) !important;
    }
    html body .sidebar .nav-item:hover i { color: #ff0000 !important; }
    html body .sidebar .nav-item.active {
        color: #ffffff !important;
        background: rgba(255,0,0,0.13) !important;
        border-color: rgba(255,0,0,0.22) !important;
        font-weight: 600;
    }
    html body .sidebar .nav-item.active i { color: #ffffff !important; }
}


/* === CARD TITLE CLAMP (desktop) === */
@media (min-width: 1025px) {
    html body .soft-card-title {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        line-height: 1.3;
    }
}

/* ===== SIDEBAR: fundo igual ao /free + texto 100% branco (override final) ===== */
html body .sidebar {
    background: #000000 !important;
    background-image: none !important;
    border-right: 1px solid rgba(255,0,0,.16) !important;
}
html body .sidebar .nav-item,
html body .sidebar .nav-item i,
html body .sidebar .nav-item span,
html body .sidebar .nav-item .cat-label-text,
html body .sidebar .nav-label,
html body .sidebar .support-label,
html body .sidebar .support-label i,
html body .sidebar .support-chevron,
html body .sidebar .support-item,
html body .sidebar .support-item i,
html body .sidebar .cat-icon-btn {
    color: #ffffff !important;
}
html body .sidebar .nav-item.active {
    color: #ffffff !important;
    background: #ff0000 !important;
    border-color: #ff0000 !important;
}
html body .sidebar .nav-item.active i { color: #ffffff !important; }
html body .sidebar .nav-item:hover { color: #ffffff !important; }
html body .sidebar .support-item:hover,
html body .sidebar .support-item:hover i { color: #ffffff !important; }
html body .sidebar .nav-item.support-item-tor,
html body .sidebar .nav-item.support-item-tor i,
html body .sidebar .nav-item.support-item-tor .tor-label { color: #ff4d4d !important; }

/* ===== FUNDO ??NICO DO SITE (sem diverg??ncia sidebar x conte??do) ===== */
html,
body,
body.free-page,
.app-container,
.main-content,
.navbar,
.sidebar,
.admin-sidebar,
.sidebar.admin-sidebar,
.bottom-nav {
    background-color: #000000 !important;
    background-image: none !important;
}
html body .navbar { border-bottom: 1px solid rgba(255,0,0,.10) !important; }
html body .sidebar,
html body .admin-sidebar { border-right: 1px solid rgba(255,0,0,.16) !important; }

/* ===== NAVBAR: mesma cor do fundo ===== */
html body .navbar,
html body nav.navbar {
    background: #000000 !important;
    background-color: #000000 !important;
    background-image: none !important;
}

/* ===== PRETO PURO: fundo do site ===== */
html,
body,
body.free-page,
.app-container,
.main-content,
.navbar,
nav.navbar,
.sidebar,
.admin-sidebar,
.sidebar.admin-sidebar,
.bottom-nav {
    background: #000000 !important;
    background-color: #000000 !important;
    background-image: none !important;
}
