/* ================================================================
   DIRTYTALKHUB — Full Reconstruction
   Design: Washed/faded dark editorial, webee3-inspired layout
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ================================================================
   DESIGN TOKENS — Neon aesthetic with dark background
   ================================================================ */
:root {
    /* Backgrounds — pure black for MAXIMUM neon contrast */
    --bg:            #000000;
    --surface:       #0a0a0a;
    --surface-2:     #131313;
    --surface-3:     #1a1a1a;

    /* Borders — vibrant neon focus */
    --border:        #1a1a2e;
    --border-2:      #252538;
    --border-focus:  #b537f2;

    /* Text — bright and vibrant */
    --text:          #f0f0f8;      /* body text - brighter */
    --text-bright:   #ffffff;      /* headings / important - pure white */
    --text-dim:      #b0b0c0;      /* secondary / meta */
    --text-muted:    #7a7a90;      /* very subdued */

    /* Accent — bold vibrant neon colors with PURPLE emphasis */
    --accent:        #ff1493;      /* hot pink neon (primary) */
    --accent-bright: #00e5ff;      /* bright cyan (secondary) */
    --accent-soft:   #c71ce0;      /* VIBRANT purple (highlight - main) */

    /* Legacy aliases — keep PHP from breaking */
    --color-deep-black:  var(--bg);
    --color-charcoal:    var(--surface);
    --color-dark-brown:  #14141a;
    --color-darker:      var(--surface);
    --color-dark:        var(--bg);
    --color-amber-dark:  var(--surface-3);
    --color-amber:       var(--accent-soft);
    --color-amber-light: var(--accent-bright);
    --color-golden:      #00e5ff;
    --color-cream:       var(--text-bright);
    --color-warm-gray:   var(--text);
    --color-bronze:      var(--accent-soft);
    --color-rose-gold:   var(--accent);
    --color-copper:      var(--accent);
    --color-ember:       var(--accent-soft);
    --color-neon-blue:   var(--accent-bright);
    --color-electric-blue: var(--accent-bright);
    --color-cyan-glow:   var(--accent-bright);
    --color-blue:        var(--accent-bright);
    --color-purple:      var(--accent-soft);
    --color-white:       var(--text-bright);
    --color-gray:        var(--text);
    --color-gray-dark:   var(--text-dim);
    --color-border:      var(--border);
    --color-hover:       var(--surface-2);
    --color-green:       #00ff99;
    --color-red:         #ff0055;
    --gradient-primary:  linear-gradient(135deg, var(--accent), var(--accent-soft));
    --gradient-secondary: linear-gradient(45deg, var(--accent-bright), var(--accent-soft));

    /* Typography */
    --font-display: 'Poppins', -apple-system, sans-serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-family:  var(--font-display);

    /* Radii — very low, editorial */
    --radius:    6px;
    --radius-sm: 3px;
    --radius-lg: 10px;
    --border-radius:    var(--radius);
    --border-radius-sm: var(--radius-sm);
    --border-radius-lg: var(--radius-lg);

    /* Shadows — TONED DOWN neon glow effects */
    --shadow:      0 0 20px rgba(199, 28, 224, 0.2), 0 0 10px rgba(255, 20, 147, 0.1), 0 2px 12px rgba(0,0,0,0.8);
    --shadow-lg:   0 0 35px rgba(199, 28, 224, 0.25), 0 0 15px rgba(255, 20, 147, 0.15), 0 8px 40px rgba(0,0,0,0.9);
    --shadow-xl:   0 0 80px rgba(199, 28, 224, 0.5), 0 0 40px rgba(255, 20, 147, 0.4), 0 20px 64px rgba(0,0,0,1);
    --box-shadow:       var(--shadow);
    --box-shadow-sm:    0 0 25px rgba(199, 28, 224, 0.25), 0 0 10px rgba(255, 20, 147, 0.15), 0 2px 8px rgba(0,0,0,0.6);
    --box-shadow-hover: var(--shadow-lg);

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.2s var(--ease);

    /* Spacing */
    --section-gap: 5rem;
}

/* Light theme */
body.light-theme {
    --bg:            #ffffff;
    --surface:       #f8f8f8;
    --surface-2:     #f0f0f0;
    --surface-3:     #e8e8e8;
    --border:        #e0e0e0;
    --border-2:      #d8d8d8;
    --border-focus:  #c71ce0;
    --text:          #1a1a1a;
    --text-bright:   #000000;
    --text-dim:      #3a3a3a;
    --text-muted:    #666666;
    --accent:        #ff1493;
    --accent-bright: #00e5ff;
    --accent-soft:   #c71ce0;
    --color-green:   #00ff99;
    --color-red:     #ff0055;
}

/* Light theme hover improvements for better contrast */
body.light-theme a:hover {
    color: #000000 !important;
}

body.light-theme button:hover,
body.light-theme .btn:hover {
    color: #000000 !important;
}

body.light-theme .nav-link:hover {
    color: #000000 !important;
}

body.light-theme .dropdown-item:hover {
    color: #000000 !important;
}

/* ================================================================
   RESET & BASE
   ================================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    font-size: 14px;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); }
ul, ol { list-style: none; }

.bg-dark   { background: var(--bg); }
.bg-darker { background: var(--surface); }

/* ================================================================
   TYPOGRAPHY
   ================================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--text-bright);
    margin-bottom: 0.75rem;
}

h1 { 
    font-size: clamp(2rem, 5vw, 3.5rem); 
    letter-spacing: -0.04em; 
    text-shadow: none;
}
h2 { 
    font-size: clamp(1.5rem, 3vw, 2.25rem); 
    letter-spacing: -0.035em;
    text-shadow: none;
}
h3 { 
    font-size: 1.25rem; 
    letter-spacing: -0.02em;
    text-shadow: none;
}
h4 { font-size: 1rem; letter-spacing: -0.01em; }
h5 { font-size: 0.875rem; }
h6 { font-size: 0.8rem; }

p { line-height: 1.7; margin-bottom: 0; }

/* Section label — tiny uppercase eyebrow (webee3 style) */
.section-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-soft);
    margin-bottom: 0.75rem;
    font-family: var(--font-body);
    text-shadow: none;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-soft), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.text-sm    { font-size: 0.8125rem; }
.text-lg    { font-size: 1.125rem; }
.text-xl    { font-size: 1.25rem; }
.text-muted { color: var(--text-dim); }

/* ================================================================
   LAYOUT
   ================================================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.main-content {
    min-height: calc(100vh - 200px);
    padding: 2.5rem 0;
    margin-top: 4rem;
}

.grid   { display: grid; gap: 1.75rem; }
.grid-1 { display: grid; grid-template-columns: 1fr; gap: 1.75rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.75rem; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.75rem; }

/* NEW: Modern responsive auto-fit grids with neon glow */
.grid-auto-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.75rem; }
.grid-auto-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.75rem; }
.grid-auto-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.75rem; }
.grid-wide  { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 1.75rem; }

/* NEW: Asymmetric layouts */
.grid-hero       { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; }
.grid-sidebar-l  { display: grid; grid-template-columns: 1fr 3fr; gap: 2rem; }
.grid-sidebar-r  { display: grid; grid-template-columns: 3fr 1fr; gap: 2rem; }

/* NEW: Magazine-style layout */
.grid-masonry { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.75rem; grid-auto-flow: dense; }

/* Grid item enhancements - glow on interaction */
.grid > *, .grid-2 > *, .grid-3 > *, .grid-4 > *, .grid-5 > *, .grid-6 > *,
.grid-auto-2 > *, .grid-auto-3 > *, .grid-auto-4 > *, .grid-wide > * {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid > *:hover, .grid-2 > *:hover, .grid-3 > *:hover, .grid-4 > *:hover, .grid-5 > *:hover, .grid-6 > *:hover,
.grid-auto-2 > *:hover, .grid-auto-3 > *:hover, .grid-auto-4 > *:hover, .grid-wide > *:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

@media (max-width: 1100px) { 
    .grid-5, .grid-6 { grid-template-columns: repeat(4, 1fr); } 
    .grid-hero { grid-template-columns: 1.2fr 1fr; }
    .grid-sidebar-l, .grid-sidebar-r { grid-template-columns: 1fr 2fr; }
}
@media (max-width: 800px)  { 
    .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(2, 1fr); } 
    .grid-hero, .grid-sidebar-l, .grid-sidebar-r { grid-template-columns: 1fr; }
}
@media (max-width: 580px)  { 
    .grid, .grid-1, .grid-2, .grid-3, .grid-4, .grid-5, .grid-6,
    .grid-auto-2, .grid-auto-3, .grid-auto-4, .grid-wide,
    .grid-hero, .grid-sidebar-l, .grid-sidebar-r, .grid-masonry { 
        grid-template-columns: 1fr; 
    } 
}

/* ================================================================
   SECTION PATTERNS — webee3 inspired structure
   ================================================================ */

/* Standard content section */
.site-section {
    padding: var(--section-gap) 0;
    border-bottom: 1px solid var(--border);
}

/* Section header row — label left, CTA link right */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 1.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
}

.section-header-left { flex: 1; }

.section-header h2 {
    margin: 0;
    color: var(--text-bright);
    font-size: 1.375rem;
    letter-spacing: -0.03em;
}

.section-header-action {
    color: var(--text-dim);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.section-header-action:hover { color: var(--text-bright); }

/* Stats strip — horizontal divider bars with big numbers (webee3 style) */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 3.5rem 0;
}

.stat-block {
    padding: 2.25rem 1.5rem;
    border-right: 1px solid var(--border);
    text-align: center;
    flex-shrink: 0;
}

.stat-block:last-child { border-right: none; }

.stat-big {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1;
    color: var(--text-bright);
    display: block;
    font-family: var(--font-display);
}

.stat-caption {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-dim);
    margin-top: 0.5rem;
    font-weight: 600;
}

/* Tag strip — horizontal overflow scroll (webee3 filter bar) */
.tag-strip {
    display: flex;
    gap: 0.5rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

.tag-strip::-webkit-scrollbar { display: none; }

.tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
    padding: 0.35rem 0.875rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-2);
    background: transparent;
    color: var(--text-dim);
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.18s;
    font-weight: 500;
    letter-spacing: 0.03em;
    cursor: pointer;
}

.tag-chip:hover,
.tag-chip.active {
    background: var(--surface-2);
    border-color: var(--accent);
    color: var(--text-bright);
}

.tag-count-badge {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    padding: 0.05rem 0.3rem;
    border-radius: 2px;
    background: var(--surface-3);
}

/* Horizontal divider */
.h-divider {
    height: 1px;
    background: var(--border);
    margin: 3rem 0;
}

/* ================================================================
   NAVIGATION
   ================================================================ */
.navbar {
    background: rgba(12, 12, 16, 0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    height: 56px;
    display: flex;
    align-items: center;
}

body.light-theme .navbar { background: rgba(240, 239, 244, 0.94); }

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 100%;
}

.nav-brand .logo {
    font-size: 1.2rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.05em;
    color: var(--text-bright);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.125rem;
}

.nav-link {
    color: var(--text-dim);
    text-decoration: none;
    padding: 0.4rem 0.75rem;
    transition: color 0.15s;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    height: 56px;
    position: relative;
    border-bottom: 2px solid transparent;
}

.nav-link:hover {
    color: var(--text-bright);
    border-bottom-color: var(--border-2);
}

.nav-link.active {
    color: var(--text-bright);
    border-bottom-color: var(--accent-bright);
}

.nav-link .notification-badge {
    position: absolute;
    top: 10px;
    right: 2px;
    background: var(--accent);
    color: var(--surface);
    padding: 0.1rem 0.3rem;
    border-radius: 8px;
    font-size: 0.58rem;
    font-weight: 800;
    min-width: 14px;
    text-align: center;
}

.nav-dropdown { position: relative; }
.dropdown-toggle,
.user-dropdown-toggle,
.notifications-dropdown-toggle { display: flex; align-items: center; gap: 0.35rem; }

.dropdown-icon { transition: transform 0.2s; }
.nav-dropdown:hover .dropdown-icon,
.dropdown-toggle.active .dropdown-icon { transform: rotate(180deg); }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0px);
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: var(--radius);
    box-shadow: none;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
    z-index: 1000;
    overflow: hidden;
}

.nav-dropdown:hover .dropdown-menu,
.dropdown-menu.show { opacity: 1; visibility: visible; transform: translateY(0); }

.theme-toggle {
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--accent-bright);
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-left: 0.25rem;
}

.theme-toggle:hover { background: var(--surface-3); border-color: var(--border-2); }

.theme-toggle i.active {
    display: inline-block !important;
    animation: rotateSpin 0.5s ease;
}

body.light-theme .theme-toggle i.fa-moon { color: var(--text-bright) !important; }

@keyframes rotateSpin {
    from { transform: rotate(0deg); opacity: 0; }
    to   { transform: rotate(360deg); opacity: 1; }
}

.dropdown-header {
    padding: 0.75rem 1rem 0.5rem;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    background: var(--surface-2);
}

.dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1rem;
    color: var(--text);
    text-decoration: none;
    transition: background 0.12s, color 0.12s;
    font-size: 0.82rem;
}

.dropdown-item:hover { background: var(--surface-2); color: var(--text-bright); }

.dropdown-divider { height: 1px; background: var(--border); }

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 20px;
    height: 1.5px;
    background: var(--text);
    transition: var(--transition);
    border-radius: 1px;
}

@media (max-width: 768px) {
    .navbar { height: auto; padding: 0.875rem 0; }
    .nav-link { height: auto; border-bottom: none; }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: rgba(12, 12, 16, 0.98);
        border-bottom: 1px solid var(--border);
        padding: 1rem;
        flex-direction: column;
        gap: 0.2rem;
        z-index: 999;
        transform: translateY(-6px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.2s;
        display: flex;
    }
    body.light-theme .nav-menu { background: rgba(240, 239, 244, 0.98); }
    .nav-menu.active { transform: translateY(0); opacity: 1; visibility: visible; }
    .nav-link { width: 100%; justify-content: flex-start; padding: 0.5rem 0.75rem; }
    .nav-dropdown { width: 100%; }
    .nav-dropdown .dropdown-toggle {
        width: 100%; font-size: 0.82rem; font-weight: 500;
        padding: 0.5rem 0.75rem; color: var(--text);
        background: none; border: none; cursor: pointer; text-align: left;
        display: flex; align-items: center; gap: 0.35rem;
    }
    .nav-menu .nav-dropdown .dropdown-menu {
        position: static !important; display: none;
        box-shadow: none; border: none; opacity: 1 !important;
        visibility: visible !important; transform: none !important;
        width: 100%; background: transparent;
    }
    .nav-menu .nav-dropdown .dropdown-menu.show,
    .nav-menu .nav-dropdown.active .dropdown-menu { display: block !important; }
    .nav-menu .nav-dropdown .dropdown-item {
        padding: 0.5rem 1.25rem; background: var(--surface-2);
        border-radius: var(--radius-sm); margin-bottom: 0.15rem;
    }
    .mobile-menu-toggle { display: flex; }
    .mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
    .mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.65rem 1.5rem;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.08);
    color: transparent;
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, var(--accent-soft), var(--accent)) 1;
    box-shadow: 0 0 0 1px rgba(199, 28, 224, 0.12);
    font-weight: 800;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background-image: linear-gradient(135deg, var(--accent-soft), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: transparent;
    border-image: linear-gradient(135deg, var(--accent-soft), var(--accent)) 1;
    box-shadow: 0 2px 10px rgba(0,0,0,0.25);
    transform: translateY(-2px);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background-image: linear-gradient(135deg, var(--accent-bright), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-secondary {
    background: var(--surface-2);
    color: var(--accent-soft);
    border-color: var(--accent-soft);
    box-shadow: none;
}

.btn-secondary:hover {
    background: var(--surface-3);
    border-color: var(--accent-soft);
    color: var(--accent-soft);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-soft);
    color: var(--accent-soft);
    box-shadow: none;
}

.btn-outline:hover {
    border-color: var(--accent-soft);
    color: var(--text-bright);
    background: rgba(199, 28, 224, 0.08);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.btn-ghost {
    background: transparent;
    border-color: transparent;
    color: var(--text-dim);
}

.btn-ghost:hover { color: var(--text-bright); background: var(--surface-2); }

.btn-danger {
    background: #7a2828;
    color: #f0c0c0;
    border-color: #7a2828;
}

.btn-danger:hover { background: #8a3535; }

.btn-success {
    background: #1f5c30;
    color: #a0d0b0;
    border-color: #1f5c30;
}

.btn-success:hover { background: #266038; }

.btn-sm  { padding: 0.4rem 0.875rem; font-size: 0.7rem; }
.btn-lg  { padding: 0.875rem 2.5rem; font-size: 0.8rem; }
.btn-xl  { padding: 1rem 3rem; font-size: 0.85rem; letter-spacing: 0.1em; }
.btn-full { width: 100%; }

/* ================================================================
   HERO SECTION — full bleed, centered minimal layout
   ================================================================ */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-bottom: 0;
}

.hero-pop {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img,
.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.55) saturate(0.5);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.80) 0%,
        rgba(0, 0, 0, 0.54) 40%,
        rgba(0, 0, 0, 0.15) 100%
    );
    z-index: 1;
}

body.light-theme .hero-overlay {
    background: linear-gradient(
        to top,
        rgba(255, 255, 255, 0.40) 0%,
        rgba(255, 255, 255, 0.28) 40%,
        rgba(255, 255, 255, 0.15) 100%
    );
}

body.light-theme .hero-bg img,
body.light-theme .hero-bg video {
    filter: brightness(0.72) saturate(0.9) contrast(1.0);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(100%, 960px);
    padding: 3rem 1rem 3.5rem;
    margin: 0 auto;
}

.hero-inner {
    max-width: 740px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 4rem);
    line-height: 1.1;
    color: var(--text-bright);
}

.hero-subtitle {
    color: var(--text);
    font-size: clamp(0.95rem, 2.3vw, 1.2rem);
    max-width: 640px;
    margin: 0 auto 1.8rem;
}

.hero-actions .btn {
    min-width: 140px;
}

@media (max-width: 768px) {
    .hero-section { min-height: 58vh; }
    .hero-content { padding: 2rem 1rem 2.5rem; }
    .hero-title { font-size: clamp(1.65rem, 7vw, 2.45rem); }
    .hero-subtitle { font-size: 0.94rem; }
}

@media (max-width: 480px) {
    .hero-section { min-height: 54vh; }
    .hero-title { font-size: 1.6rem; }
    .hero-subtitle { font-size: 0.88rem; }
}

.hero-content.text-center {
    text-align: left; /* override inline styles on this page */
}

/* New: left-aligned hero layout */
.hero-inner {
    max-width: 760px;
}

.hero-title {
    font-size: clamp(2.75rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.05em;
    color: var(--text-bright);
    text-shadow: none;
    margin-bottom: 1.25rem;
    font-family: var(--font-display);
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text);
    max-width: 520px;
    line-height: 1.75;
    text-shadow: none;
    font-weight: 400;
    margin-bottom: 2.25rem;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: flex-start;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-2);
    margin-top: 2.5rem;
}

.stat-item { text-align: left; }

.stat-number {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    display: block;
    letter-spacing: -0.05em;
    color: var(--text-bright);
    font-family: var(--font-display);
}

.stat-label {
    color: var(--text-dim);
    text-transform: uppercase;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    font-weight: 600;
    margin-top: 0.2rem;
}

/* Video preview hover */
.video-preview {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    border-radius: inherit;
}

.video-thumbnail:hover .video-preview { opacity: 1; }

.symbol-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
}

.symbol-overlay img { width: 90px; height: 90px; opacity: 0.9; }

/* ================================================================
   VIDEO CARDS — bold neon aesthetic with purple glow
   ================================================================ */
.video-card {
    background: var(--surface);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--border);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: none;
    height: 100%;
}

.video-card:hover {
    border-color: var(--accent-soft);
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg);
    flex-shrink: 0;
    border-bottom: 1px solid rgba(199, 28, 224, 0.15);
}

.video-thumbnail img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.35s;
    filter: brightness(0.95) saturate(1.05) contrast(1.08);
    pointer-events: none;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.08);
    filter: brightness(1.02) saturate(1.15) contrast(1.12);
}

.video-duration {
    position: absolute;
    bottom: 8px; right: 8px;
    background: rgba(0,0,0,0.8);
    color: var(--text-bright);
    padding: 2px 7px;
    border-radius: 2px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    z-index: 5;
}

.video-info {
    padding: 0.6rem 0.75rem 0.75rem;
    background: var(--bg);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    border-top: none;
}

.video-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-bright);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    transition: color 0.15s;
    letter-spacing: -0.01em;
    font-family: var(--font-display);
}

.video-title:hover { color: #fff; }

.video-highlight      { color: var(--accent-soft); font-weight: 700; }
.watch-highlight      { color: var(--accent-soft); font-weight: 700; }
.description-highlight{ color: var(--accent-soft); font-weight: 700; }

.video-description-snippet {
    color: var(--text-dim);
    font-size: 0.7rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.65rem;
    margin-top: auto;
    padding-top: 0.35rem;
    border-top: none;
}

.video-uploader {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.15s;
}

.video-uploader:hover { color: var(--text-bright); }

.video-date { display: none; }

/* Featured section (homepage) */
.featured-section { margin-bottom: 4rem; }

/* ================================================================
   BROWSE PAGE
   ================================================================ */
.browse-page { max-width: 1280px; margin: 0 auto; }

/* Browse top bar — title left, controls right */
.browse-topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.browse-topbar-left .browse-title-text {
    font-size: 1.75rem;
    letter-spacing: -0.04em;
    font-weight: 800;
    color: var(--text-bright);
    margin-bottom: 0.25rem;
}

.browse-subtitle {
    color: var(--text-dim);
    font-size: 0.75rem;
    margin: 0;
    letter-spacing: 0.02em;
}

.browse-controls {
    display: flex;
    gap: 0.625rem;
    align-items: center;
    flex-shrink: 0;
}

.search-form { display: flex; }

.search-input-group {
    position: relative;
    display: flex;
}

.search-input {
    width: 280px;
    padding: 0.65rem 2.75rem 0.65rem 0.875rem;
    border: 1px solid var(--border-2);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text-bright);
    font-family: var(--font-body);
    font-size: 0.82rem;
    transition: border-color 0.2s;
    outline: none;
}

.search-input:focus { border-color: var(--accent); }
.search-input::placeholder { color: var(--text-muted); }

.search-btn {
    position: absolute; right: 0; top: 0; bottom: 0;
    background: none; border: none;
    color: var(--text-dim); padding: 0 0.875rem;
    cursor: pointer; transition: color 0.15s;
    display: flex; align-items: center;
}

.search-btn:hover { color: var(--text-bright); }

.sort-dropdown select { min-width: 150px; }
.sort-dropdown .form-select { padding: 0.65rem 0.875rem; font-size: 0.82rem; }

/* Browse filter row */
.browse-filter-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

/* Popular tags redesigned as flat chips */
.popular-tags-section {
    margin-bottom: 2.25rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.popular-tags-section h3 {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-dim);
    font-weight: 700;
    font-family: var(--font-body);
    margin-bottom: 0.875rem;
}

.popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.popular-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: transparent;
    color: var(--text-dim);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 0.75rem;
    border: 1px solid var(--border);
    transition: all 0.15s;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.popular-tag:hover {
    background: var(--surface-2);
    border-color: var(--accent);
    color: var(--text-bright);
}

.tag-count {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--text-muted);
    padding: 0.05rem 0.3rem;
    background: var(--surface-3);
    border-radius: 2px;
    min-width: 16px;
    text-align: center;
}

/* Pagination */
.pagination {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.btn-page {
    padding: 0.45rem 0.875rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border: 1px solid var(--border-2);
    background: transparent;
    color: var(--text-dim);
    transition: all 0.15s;
    text-decoration: none;
}

.btn-page:hover,
.btn-page.btn-primary {
    background: var(--surface-3);
    border-color: var(--accent);
    color: var(--text-bright);
}

.pagination-info {
    color: var(--text-muted);
    font-size: 0.72rem;
    padding: 0 0.5rem;
    letter-spacing: 0.04em;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 5rem 2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    color: var(--text-muted);
    filter: grayscale(1) opacity(0.5);
    display: block;
}

.empty-state h3 { color: var(--text-bright); margin-bottom: 0.5rem; }
.empty-state p  { color: var(--text-dim); font-size: 0.875rem; margin-bottom: 1.75rem; }
.empty-state a  { color: var(--accent-bright); text-decoration: none; }
.empty-state a:hover { text-decoration: underline; }

/* Browse header (backward compat) */
.browse-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 1.5rem;
}

.browse-title h1 { margin-bottom: 0.25rem; color: var(--text-bright); }

/* ================================================================
   FORMS
   ================================================================ */
.form-group { margin-bottom: 1.25rem; }

.form-label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 700;
    font-size: 0.65rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.7rem 0.875rem;
    border: 2px solid var(--border-2);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text-bright);
    font-family: var(--font-body);
    font-size: 0.875rem;
    transition: border-color 0.15s, box-shadow 0.15s;
    outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus { 
    border-color: var(--accent-soft);
    box-shadow: 0 0 8px rgba(0,0,0,0.2); 
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); }

.form-textarea { resize: vertical; min-height: 100px; font-family: var(--font-body); }

.form-error { color: #a06060; font-size: 0.75rem; margin-top: 0.3rem; }
.form-help  { color: var(--text-muted); font-size: 0.72rem; margin-top: 0.3rem; }

/* ================================================================
   CARDS
   ================================================================ */
.card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 2px solid var(--border);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: none;
}

.card:hover { 
    border-color: var(--accent-soft); 
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.card-header { padding: 1.125rem 1.5rem; border-bottom: 1px solid var(--border); }
.card-body   { padding: 1.5rem; }
.card-footer { padding: 0.875rem 1.5rem; border-top: 1px solid var(--border); background: var(--surface-2); }

/* ================================================================
   MODAL
   ================================================================ */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(5, 5, 8, 0.88);
    backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-2);
    max-width: 480px;
    width: 90%;
    max-height: 86vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    padding: 1.5rem 1.5rem 1.125rem;
    border-bottom: 1px solid var(--border);
}

.modal-body   { padding: 1.5rem; }
.modal-footer {
    padding: 1.125rem 1.5rem 1.5rem;
    border-top: 1px solid var(--border);
    display: flex; gap: 0.625rem; justify-content: flex-end;
}

.age-verification { text-align: center; }
.warning-icon { font-size: 2.75rem; margin-bottom: 1rem; }
.age-buttons { display: flex; flex-direction: column; gap: 0.75rem; }

/* ================================================================
   FLASH & ALERTS
   ================================================================ */
.flash-message {
    padding: 0.875rem 1.25rem;
    margin-bottom: 1rem;
    position: relative;
    border-radius: var(--radius-sm);
}

.flash-success { background: rgba(30,80,50,0.12); border-left: 2px solid #3d6b4f; color: #6aaa88; }
.flash-error   { background: rgba(80,30,30,0.12); border-left: 2px solid #6b3d3d; color: #aa8080; }
.flash-warning { background: rgba(80,70,20,0.12); border-left: 2px solid #6b5c2a; color: #aa9060; }

.flash-close {
    position: absolute; top: 50%; right: 1rem;
    transform: translateY(-50%);
    background: none; border: none; color: inherit;
    font-size: 1.2rem; cursor: pointer; opacity: 0.6;
    transition: opacity 0.15s;
}

.flash-close:hover { opacity: 1; }

.alert {
    border-radius: var(--radius-sm);
    padding: 0.875rem 1.125rem;
    margin-bottom: 1.25rem;
    border-left: 2px solid;
    font-size: 0.875rem;
}

.alert p { margin: 0; }
.alert-error   { background: rgba(80,30,30,0.12); border-left-color: #6b3d3d; color: #aa8080; }
.alert-warning { background: rgba(80,70,20,0.12); border-left-color: #6b5c2a; color: #aa9060; }
.alert-success { background: rgba(30,80,50,0.12); border-left-color: #3d6b4f; color: #6aaa88; }

/* ================================================================
   VIDEO PLAYER
   ================================================================ */
.video-player {
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.75rem;
    border: 1px solid var(--border);
    box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}

.video-container { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; overflow: hidden; }
.video-container iframe { width: 100%; height: 100%; border: none; display: block; }

/* ================================================================
   COMMENTS
   ================================================================ */
.comments-section {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--border);
}

.comment { border-bottom: 1px solid var(--border); padding: 1rem 0; }
.comment:last-child { border-bottom: none; }
.comment-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.4rem; }
.comment-author { font-weight: 700; color: var(--text-bright); font-size: 0.82rem; }
.comment-date   { color: var(--text-muted); font-size: 0.68rem; }
.comment-content { line-height: 1.65; font-size: 0.875rem; color: var(--text); }

/* ================================================================
   AUTH CARDS
   ================================================================ */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 3rem 0;
}

.auth-card {
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-lg);
    padding: 2.75rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: border-color 0.2s;
}

.auth-card:hover { border-color: var(--border-2); }
.auth-body, .auth-header { text-align: center; }
.auth-header { margin-bottom: 2rem; }
.auth-header h1 { font-size: 1.75rem; letter-spacing: -0.04em; font-weight: 800; color: var(--text-bright); margin-bottom: 0.4rem; }
.auth-header p { color: var(--text-dim); font-size: 0.875rem; }
.login-status { display: flex; flex-direction: column; gap: 0.45rem; }
.subscriber-status   { font-size: 0.72rem; color: var(--color-green);   font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.unsubscribed-status { font-size: 0.72rem; color: var(--color-red);     font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.unsubscribed-container { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.btn-patreon  { font-size: 0.875rem; padding: 0.875rem 2rem; margin-bottom: 1.25rem; }
.pledge-notice { color: var(--text-muted); font-size: 0.78rem; }
.oauth-hint   { color: var(--text-dim); margin: 0.75rem 0 1.25rem; font-size: 0.82rem; }
.btn-full { width: 100%; display: block; }
.auth-footer { text-align: center; }
.auth-footer p  { margin-bottom: 0.4rem; color: var(--text-dim); font-size: 0.82rem; }
.auth-footer a  { color: var(--accent-bright); text-decoration: none; font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }

@media (max-width: 480px) {
    .auth-card { padding: 1.75rem; margin: 0 1rem; border-radius: var(--radius); }
}

/* ================================================================
   FOOTER — editorial, grid-based
   ================================================================ */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 2rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.footer-section {
    width: 100%;
    max-width: 720px;
}

.footer-section h3,
.footer-section p,
.footer-section a {
    color: var(--text-muted);
}

.footer-section a {
    text-decoration: none;
    border-bottom: 1px dashed var(--border);
    font-weight: 600;
}

.footer-section a:hover {
    color: var(--text-bright);
    border-bottom-color: var(--accent-soft);
}

.footer-bottom {
    color: var(--text-dim);
    font-size: 0.72rem;
    text-align: center;
    padding-top: 0.7rem;
    border-top: 1px solid var(--border);
}

@media (max-width: 720px) {
    .footer { padding: 1.5rem 0 1rem; }
    .footer-content { gap: 0.75rem; }
}

.footer-section h3 {
    margin-bottom: 1.25rem;
    color: var(--text-bright);
    font-size: 1rem;
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

.footer-section h4 {
    margin-bottom: 1.25rem;
    color: var(--text-muted);
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 700;
    font-family: var(--font-body);
}

.footer-section p { color: var(--text-dim); font-size: 0.82rem; line-height: 1.75; }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.5rem; }

.footer-section a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.15s;
    font-size: 0.82rem;
}

.footer-section a:hover { color: var(--text-bright); }

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
}

.footer-bottom p { margin-bottom: 0.2rem; }

@media (max-width: 900px) { .footer-content { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 480px) { .footer-content { grid-template-columns: 1fr; gap: 1.5rem; } .footer { padding: 2.5rem 0 1.5rem; } }

/* ================================================================
   NOTIFICATIONS
   ================================================================ */
.notification-filters {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1.125rem 1.25rem;
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.filter-tabs { display: flex; gap: 0.375rem; flex-wrap: wrap; }

.filter-tab {
    padding: 0.45rem 1rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-dim);
    background: transparent;
    border: 1px solid var(--border);
    transition: all 0.15s;
    display: flex; align-items: center; gap: 0.35rem;
    font-weight: 600; font-size: 0.75rem; letter-spacing: 0.04em;
}

.filter-tab:hover { color: var(--text-bright); border-color: var(--border-2); }
.filter-tab.active { background: var(--surface-3); color: var(--text-bright); border-color: var(--accent); }
.filter-tab .count { background: var(--surface-3); padding: 0.08rem 0.35rem; border-radius: 2px; font-size: 0.62rem; font-weight: 700; }

.notifications-container {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
}

.notifications-list { display: flex; flex-direction: column; }

.notification-item {
    display: flex; align-items: flex-start; gap: 0.875rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    transition: background 0.12s; position: relative;
}

.notification-item:last-child { border-bottom: none; }
.notification-item:hover { background: var(--surface-2); }
.notification-item.unread { background: rgba(110,110,132,0.04); border-left: 2px solid var(--accent); }

.notification-icon {
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px;
    border-radius: var(--radius-sm);
    background: var(--surface-2); color: var(--text-dim);
    flex-shrink: 0;
}

.notification-item.unread .notification-icon { background: var(--surface-3); color: var(--accent-bright); }
.notification-content { flex: 1; min-width: 0; }
.notification-text { font-size: 0.82rem; line-height: 1.55; margin-bottom: 0.3rem; color: var(--text-bright); }
.notification-meta { display: flex; align-items: center; gap: 0.75rem; font-size: 0.68rem; color: var(--text-dim); }

.unread-badge {
    background: var(--accent-soft);
    color: var(--accent-bright);
    padding: 0.08rem 0.45rem;
    border-radius: 2px;
    font-size: 0.58rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.08em;
}

.notification-actions { display: flex; gap: 0.3rem; opacity: 0; transition: opacity 0.15s; }
.notification-item:hover .notification-actions { opacity: 1; }

.btn-mark-read,
.btn-delete {
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-dim);
    cursor: pointer;
    padding: 0.35rem 0.45rem;
    border-radius: var(--radius-sm);
    transition: all 0.15s;
    display: flex; align-items: center; justify-content: center;
}

.btn-mark-read:hover { background: var(--surface-3); border-color: var(--accent); color: var(--text-bright); }
.btn-delete:hover { background: #4a1c1c; border-color: #7a3030; color: #d09090; }

/* ================================================================
   PAGINATION EXTENDED
   ================================================================ */
.pagination-container {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border);
    background: var(--surface-2);
}

.pagination-btn {
    display: flex; align-items: center; gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: transparent;
    color: var(--text);
    text-decoration: none;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: all 0.15s;
    font-weight: 600; font-size: 0.75rem;
}

.pagination-btn:hover { background: var(--surface-2); border-color: var(--accent); color: var(--text-bright); }
.pagination-info { color: var(--text-dim); font-size: 0.72rem; }

/* ================================================================
   NOTIFICATION BADGE
   ================================================================ */
.notification-badge {
    background: var(--accent);
    color: var(--surface);
    padding: 0.08rem 0.35rem;
    border-radius: 8px;
    font-size: 0.62rem;
    font-weight: 800;
    min-width: 16px;
    text-align: center;
    margin-left: 0.4rem;
    display: inline-flex; align-items: center; justify-content: center;
}

/* ================================================================
   VALID BADGE
   ================================================================ */
.valid-badge {
    display: inline-flex; align-items: center; justify-content: center;
    background: #1a6fa0;
    color: #fff;
    border-radius: 50%;
    width: 16px; height: 16px;
    font-size: 9px; font-weight: 800;
    margin-left: 5px;
    vertical-align: middle;
    border: 1.5px solid rgba(255,255,255,0.3);
    flex-shrink: 0;
    position: relative;
}

.valid-badge::before {
    content: "";
    position: absolute; top: 2px; left: 4px;
    width: 5px; height: 8px;
    border: solid white; border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

.valid-badge.large  { width: 22px; height: 22px; font-size: 13px; }
.valid-badge.small  { width: 13px; height: 13px; font-size: 8px; }
.username-with-badge { display: inline-flex; align-items: center; gap: 3px; }

.vip-text {
    font-size: 10px; color: var(--text-muted) !important; opacity: 0.5 !important;
    font-style: italic; margin-left: 3px; display: block;
    margin-top: 1px; font-weight: 300;
}

.comment-author, .video-author, .message-sender, .username-display {
    display: inline-flex; align-items: center; gap: 3px;
}

/* ================================================================
   DROPDOWN ACTIVITY ITEMS
   ================================================================ */
.activity-item {
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid var(--border);
    display: block !important;
    cursor: default;
}

.activity-item:hover { background: var(--surface-2); }
.activity-content { display: flex; flex-direction: column; gap: 0.15rem; }
.activity-user { font-weight: 600; font-size: 0.78rem; color: var(--text-bright); }
.activity-text { font-size: 0.72rem; color: var(--text); }
.activity-link { color: var(--accent-bright); text-decoration: none; }
.activity-link:hover { text-decoration: underline; }
.activity-time { font-size: 0.65rem; color: var(--text-muted); }

/* ================================================================
   TIER CARDS (pricing/joining) — bold neon aesthetic
   ================================================================ */
.tiers-minimal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
    justify-content: center;
    justify-items: center;
    gap: 1.25rem;
    max-width: 1000px;
    margin: 2.5rem auto;
    width: min(100%, 1000px);
}

.tiers-minimal-card {
    width: min(100%, 520px);
    max-width: 520px;
}

@media (max-width: 768px) {
    .tiers-minimal-grid {
        gap: 1rem;
        margin: 1.5rem auto;
    }

    .tiers-minimal-card {
        width: 100%;
        max-width: 100%;
    }
}

.tiers-minimal-card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 0 20px rgba(199, 28, 224, 0.15);
}

.tiers-minimal-card:hover { 
    border-color: var(--accent-soft); 
    transform: translateY(-6px); 
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
.tiers-minimal-featured { 
    border: 2px solid var(--accent-soft); 
    box-shadow: none;
}

.tiers-minimal-brand {
    font-size: 0.65rem; font-weight: 900;
    color: var(--accent-soft); letter-spacing: 0.22em;
    text-transform: uppercase; margin-bottom: 1.5rem;
    font-family: var(--font-body);
    text-shadow: none;
}

.tiers-minimal-plan { 
    font-size: 1.25rem; 
    font-weight: 800; 
    color: var(--text-bright); 
    margin-bottom: 0.5rem; 
    letter-spacing: -0.02em;
    text-shadow: none;
}
.tiers-minimal-price { 
    font-size: 2.8rem; 
    font-weight: 900; 
    color: var(--accent-soft); 
    letter-spacing: -0.05em; 
    line-height: 1; 
    margin-bottom: 0.4rem;
    text-shadow: 0 0 15px rgba(199, 28, 224, 0.3);
}
.tiers-minimal-period { 
    color: var(--text-dim); 
    font-size: 0.85rem; 
    margin-bottom: 2rem;
}

.tiers-minimal-btn {
    display: block; width: 100%;
    padding: 0.85rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-soft), var(--accent));
    color: var(--text-bright);
    font-weight: 800; font-size: 0.8rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    border: 2px solid var(--accent-soft);
    text-align: center; margin-bottom: 2rem;
    text-transform: uppercase; letter-spacing: 0.1em;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(199, 28, 224, 0.3);
}

.tiers-minimal-btn:hover { 
    background: linear-gradient(135deg, var(--accent), var(--accent-soft));
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

.tiers-minimal-features { list-style: none; padding: 0; margin: 0; }
.tiers-minimal-features li {
    color: var(--text); font-size: 0.85rem;
    padding: 0.75rem 0; line-height: 1.6;
    display: flex; align-items: center; gap: 0.75rem;
    border-bottom: 1px solid var(--border);
}
.tiers-minimal-features li:last-child { border-bottom: none; }

.tiers-bullet { 
    display: inline-block; 
    width: 6px; 
    height: 6px; 
    border-radius: 50%; 
    background: var(--accent-soft); 
    flex-shrink: 0;
    box-shadow: none;
}
.tiers-bullet-orange { 
    background: var(--accent-bright);
    box-shadow: none;
}
.tiers-highlight { 
    color: var(--accent-soft); 
    font-weight: 700;
}
.tiers-card:hover { 
    transform: translateY(-4px); 
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

/* ================================================================
   PAGE HEADER
   ================================================================ */
.page-header { margin-bottom: 2rem; }

/* ================================================================
   UTILITY CLASSES
   ================================================================ */
.mb-1{margin-bottom:0.25rem}.mb-2{margin-bottom:0.5rem}.mb-3{margin-bottom:0.75rem}
.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}
.mt-1{margin-top:0.25rem}.mt-2{margin-top:0.5rem}.mt-3{margin-top:0.75rem}
.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}
.p-1{padding:0.25rem}.p-2{padding:0.5rem}.p-3{padding:0.75rem}
.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}
.d-none{display:none}.d-block{display:block}.d-flex{display:flex}.d-grid{display:grid}
.justify-center{justify-content:center}.justify-between{justify-content:space-between}
.justify-end{justify-content:flex-end}
.items-center{align-items:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}
.gap-1{gap:0.25rem}.gap-2{gap:0.5rem}.gap-3{gap:0.75rem}
.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideOut {
    0%   { opacity: 1; transform: translateX(0); max-height: 80px; }
    100% { opacity: 0; transform: translateX(100%); max-height: 0; padding: 0; margin: 0; }
}

/* ================================================================
   RESPONSIVE GLOBAL
   ================================================================ */
@media (max-width: 480px) {
    .container  { padding: 0 1rem; }
    .main-content { padding: 1.25rem 0; }
    .btn { padding: 0.55rem 1.1rem; }
    .modal-content { width: 95%; }
    .section-header { flex-direction: column; gap: 0.75rem; align-items: flex-start; }
    .stats-strip { grid-template-columns: repeat(2,1fr); }
    .stat-block { border-right: none; border-bottom: 1px solid var(--border); }
    .tiers-minimal-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .filter-tabs { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 0.25rem; }
    .filter-tab { white-space: nowrap; }
    .notification-item { padding: 1rem; gap: 0.75rem; }
    .notification-actions { opacity: 1; flex-direction: column; }
    .browse-header { flex-direction: column; gap: 1rem; }
    .search-input { width: 100%; }
    .tiers-minimal-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   CAROUSEL & CAROUSEL-LIKE LAYOUTS
   ================================================================ */
.carousel-container {
    position: relative;
    overflow: hidden;
    margin: 0 -1rem;
    padding: 0;
}

.carousel-scroll {
    display: flex;
    gap: 1.75rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0.75rem 1rem 0.25rem 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--border-2) transparent;
    -webkit-overflow-scrolling: touch;
}

.carousel-scroll::-webkit-scrollbar {
    height: 6px;
}

.carousel-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.carousel-scroll::-webkit-scrollbar-thumb {
    background: var(--border-2);
    border-radius: 3px;
}

.carousel-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--border-focus);
}

.carousel-item {
    flex: 0 0 calc(33.333% - 1.175rem);
    min-width: 320px;
    transition: flex 0.3s ease;
}

@media (max-width: 1100px) {
    .carousel-item {
        flex: 0 0 calc(50% - 0.875rem);
    }
}

@media (max-width: 768px) {
    .carousel-item {
        flex: 0 0 calc(75% - 0.55rem);
    }
}

@media (max-width: 480px) {
    .carousel-item {
        flex: 0 0 calc(100% - 0.25rem);
    }
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border);
    background: var(--surface);
    color: var(--text-bright);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.carousel-btn:hover {
    border-color: var(--accent-soft);
    background: var(--surface-2);
    color: var(--accent-soft);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ================================================================
   HELP PAGE
   ================================================================ */
.help-container { max-width: 680px; margin: 3rem auto; }
.help-card {
    padding: 2.5rem; background: var(--surface);
    border-radius: var(--radius-lg); border: 1px solid var(--border);
    box-shadow: none;
}
.help-title { margin-bottom: 1.5rem; color: var(--text-bright); font-size: 1.625rem; letter-spacing: -0.04em; font-weight: 800; }
.help-subtitle { margin-top: 2rem; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent-bright); font-weight: 700; margin-bottom: 0.875rem; display: block; }
.help-list { margin: 1rem 0 1.5rem 1.5rem; }
.help-list li { color: var(--text); margin-bottom: 0.35rem; font-size: 0.875rem; line-height: 1.55; }
.help-link { color: var(--accent-bright); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--accent-soft); transition: border-color 0.15s; }
.help-link:hover { border-bottom-color: var(--accent-bright); }
.help-footer { margin-top: 2rem; color: var(--text-muted); font-size: 0.78rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
