/* resources/css/void.css */

/* ============================================================
   THE VOID EPOCH — Theme Styles
   Colors pulled from the logo:
   - Abyss Black:    #0a0a0a
   - Deep Void:      #0d0b1a
   - Eclipse Purple: #2e002b
   - Rift Purple:    #6b0070
   - Glow Purple:    #a000a8
   - Bright Rift:    #d400ff
   - Silver Text:    #e0dfe6
   - Bright Silver:  #f0eff5
   ============================================================ */

:root {
    --ve-black: #0a0a0a;
    --ve-void: #0d0b1a;
    --ve-eclipse: #2e002b;
    --ve-rift: #6b0070;
    --ve-glow: #a000a8;
    --ve-bright: #d400ff;
    --ve-silver: #e0dfe6;
    --ve-bright-silver: #f0eff5;
    --ve-dim: #8a8994;
    --ve-danger: #ff2a6d;

    --font-display: 'Cinzel', serif;
    --font-body: 'Rajdhani', sans-serif;
}

/* ---- Base ---- */
.ve-body {
    margin: 0;
    padding: 0;
    background: var(--ve-black);
    color: var(--ve-silver);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ---- Background Particles ---- */
.ve-bg-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.ve-particle {
    position: absolute;
    border-radius: 50%;
    background: var(--ve-bright);
    opacity: 0;
    animation: ve-float 20s infinite ease-in-out;
}

.ve-particle-1  { width: 3px; height: 3px; top: 15%; left: 20%; animation-delay: 0s;    animation-duration: 22s; }
.ve-particle-2  { width: 2px; height: 2px; top: 45%; left: 70%; animation-delay: 4s;    animation-duration: 18s; }
.ve-particle-3  { width: 4px; height: 4px; top: 70%; left: 35%; animation-delay: 8s;    animation-duration: 25s; }
.ve-particle-4  { width: 2px; height: 2px; top: 25%; left: 85%; animation-delay: 12s;   animation-duration: 20s; }
.ve-particle-5  { width: 3px; height: 3px; top: 80%; left: 55%; animation-delay: 6s;    animation-duration: 23s; }
.ve-particle-6  { width: 2px; height: 2px; top: 10%; left: 50%; animation-delay: 3s;    animation-duration: 19s; }
.ve-particle-7  { width: 3px; height: 3px; top: 35%; left: 10%; animation-delay: 9s;    animation-duration: 24s; }
.ve-particle-8  { width: 2px; height: 2px; top: 60%; left: 90%; animation-delay: 1s;    animation-duration: 17s; }
.ve-particle-9  { width: 4px; height: 4px; top: 90%; left: 25%; animation-delay: 7s;    animation-duration: 26s; }
.ve-particle-10 { width: 2px; height: 2px; top: 5%;  left: 65%; animation-delay: 11s;   animation-duration: 21s; }
.ve-particle-11 { width: 3px; height: 3px; top: 50%; left: 40%; animation-delay: 2s;    animation-duration: 20s; }
.ve-particle-12 { width: 2px; height: 2px; top: 75%; left: 80%; animation-delay: 14s;   animation-duration: 18s; }
.ve-particle-13 { width: 3px; height: 3px; top: 20%; left: 45%; animation-delay: 5s;    animation-duration: 23s; }
.ve-particle-14 { width: 4px; height: 4px; top: 40%; left: 5%;  animation-delay: 10s;   animation-duration: 27s; }
.ve-particle-15 { width: 2px; height: 2px; top: 85%; left: 15%; animation-delay: 13s;   animation-duration: 19s; }

@keyframes ve-float {
    0%, 100% { opacity: 0; transform: translateY(0) translateX(0); }
    20% { opacity: 0.6; }
    50% { opacity: 0.3; transform: translateY(-80px) translateX(30px); }
    80% { opacity: 0.5; }
}

/* ---- Sticky Header ---- */
.ve-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.ve-header.scrolled {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 30px rgba(164, 0, 168, 0.15);
}

.ve-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ve-nav-logo img {
    height: 70px;
    width: auto;
    transition: filter 0.3s ease;
}

.ve-nav-logo img:hover {
    filter: drop-shadow(0 0 8px var(--ve-glow));
}

.ve-nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.ve-nav-link {
    color: var(--ve-dim);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.ve-nav-link:hover,
.ve-nav-link.active {
    color: var(--ve-bright-silver);
    text-shadow: 0 0 12px rgba(212, 0, 255, 0.5);
}

.ve-nav-logout {
    font-size: 0.95rem;
}

/* ---- Hamburger ---- */
.ve-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.ve-hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--ve-silver);
    transition: all 0.3s ease;
}

.ve-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.ve-hamburger.active span:nth-child(2) { opacity: 0; }
.ve-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- Mobile Menu ---- */
.ve-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    z-index: 999;
    padding-top: 5rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.ve-mobile-menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.ve-mobile-menu ul {
    list-style: none;
    padding: 2rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.ve-mobile-menu a,
.ve-mobile-menu button {
    color: var(--ve-silver);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s, text-shadow 0.3s;
}

.ve-mobile-menu a:hover,
.ve-mobile-menu button:hover {
    color: var(--ve-bright);
    text-shadow: 0 0 20px var(--ve-glow);
}

@media (max-width: 768px) {
    .ve-nav-links { display: none; }
    .ve-hamburger { display: flex; }
    .ve-mobile-menu { display: block; }
}

/* ---- Hero ---- */
.ve-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 40%, rgba(106, 0, 112, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(46, 0, 43, 0.4) 0%, transparent 50%),
        var(--ve-black);
}

.ve-hero-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgb(0, 0, 0) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    animation: ve-pulse 8s ease-in-out infinite alternate;
}

@keyframes ve-pulse {
    0% { opacity: 0.4; transform: translateX(-50%) scale(1); }
    100% { opacity: 0.7; transform: translateX(-50%) scale(1.15); }
}

.ve-hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.ve-hero-logo {
    max-width: 600px;
    width: 100%;
    margin-bottom: 2rem;
    align-items: center;
    filter: drop-shadow(0 0 40px rgb(0, 0, 0));
    animation: ve-logo-in 1.5s ease-out both;
}





@keyframes ve-logo-in {
    0% { opacity: 0; transform: scale(0.9) translateY(20px); filter: drop-shadow(0 0 0 transparent); }
    100% { opacity: 1; transform: scale(1) translateY(0); filter: drop-shadow(0 0 40px rgb(0, 0, 0)); }
}

.ve-hero-tagline {
    font-family: var(--font-body);
    font-size: 2.25rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ve-dim);
    margin-bottom: 3rem;
    animation: ve-fade-up 1.5s ease-out 0.5s both;
}

@keyframes ve-fade-up {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}

.ve-hero-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to bottom, transparent, var(--ve-black));
    pointer-events: none;
}

/* ---- Shimmer Effect ---- */
.ve-shimmer {
    background: linear-gradient(
        110deg,
        var(--ve-dim) 0%,
        var(--ve-bright-silver) 45%,
        var(--ve-dim) 55%,
        var(--ve-bright-silver) 100%
    );
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: ve-shimmer 6s ease-in-out infinite;
}

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

/* ---- Buttons ---- */
.ve-btn {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ve-btn-primary {
    background: transparent;
    color: var(--ve-bright-silver);
    border: 1px solid var(--ve-glow);
    box-shadow: 0 0 15px rgba(164, 0, 168, 0.2), inset 0 0 15px rgba(164, 0, 168, 0.05);
}

.ve-btn-primary:hover {
    background: rgba(164, 0, 168, 0.15);
    border-color: var(--ve-bright);
    box-shadow: 0 0 30px rgba(212, 0, 255, 0.3), inset 0 0 20px rgba(212, 0, 255, 0.1);
    color: #fff;
    transform: translateY(-2px);
}

/* ---- Sections ---- */
.ve-section {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
}

.ve-section-top {
    padding-top: 8rem;
}

.ve-section-dark {
    background:
        radial-gradient(ellipse at 30% 50%, rgba(46, 0, 43, 0.2) 0%, transparent 60%),
        rgba(13, 11, 26, 0.6);
}

.ve-section-inner {
    max-width: 1000px;
    margin: 0 auto;
}

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

/* ---- Typography ---- */
.ve-heading {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.ve-subheading {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ve-bright-silver);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.ve-glow-text {
    color: var(--ve-bright-silver);
    text-shadow:
        0 0 10px rgba(164, 0, 168, 0.4),
        0 0 30px rgba(164, 0, 168, 0.2),
        0 0 60px rgba(164, 0, 168, 0.1);
}

.ve-prose {
    max-width: 720px;
    margin: 0 auto;
}

.ve-prose p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: var(--ve-silver);
}

/* ---- Cards ---- */
.ve-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.ve-card {
    background: linear-gradient(145deg, rgba(13, 11, 26, 0.8), rgba(46, 0, 43, 0.15));
    border: 1px solid rgba(164, 0, 168, 0.15);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.ve-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ve-glow), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ve-card:hover {
    border-color: rgba(164, 0, 168, 0.35);
    box-shadow: 0 8px 40px rgba(164, 0, 168, 0.12);
    transform: translateY(-4px);
}

.ve-card:hover::before {
    opacity: 1;
}

.ve-card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 6px var(--ve-glow));
}

.ve-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ve-bright-silver);
    margin-bottom: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.ve-card p {
    color: var(--ve-dim);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---- Blockquote ---- */
.ve-quote {
    border: none;
    margin: 0;
    padding: 3rem 0;
}

.ve-quote p {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    font-style: italic;
    color: var(--ve-dim);
    line-height: 1.8;
    text-shadow: 0 0 30px rgba(164, 0, 168, 0.15);
}


/* ---- Footer ---- */
.ve-footer {
    position: relative;
    z-index: 1;
    padding: 3rem 2rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(164, 0, 168, 0.1);
}

.ve-footer-glow {
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 2px;
    background: radial-gradient(ellipse, var(--ve-glow), transparent);
    filter: blur(2px);
}

.ve-footer-content {
    max-width: 1000px;
    margin: 0 auto;
}

.ve-footer-logo {
    height: 80px;
    width: auto;
    opacity: 0.5;
    margin-bottom: 0.75rem;
    transition: opacity 0.3s;
}

.ve-footer-logo:hover {
    opacity: 0.8;
}

.ve-footer-tagline {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--ve-dim);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.ve-footer-bottom p {
    font-size: 0.8rem;
    color: rgba(138, 137, 148, 0.5);
    letter-spacing: 1px;
}

/* ---- Login Page Overrides ---- */
.ve-login-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at 50% 40%, rgba(106, 0, 112, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(46, 0, 43, 0.3) 0%, transparent 50%),
        var(--ve-black);
    padding: 2rem;
    font-family: var(--font-body);
}

.ve-login-logo {
    max-width: 280px;
    width: 80%;
    margin-bottom: 2.5rem;
    filter: drop-shadow(0 0 30px rgba(164, 0, 168, 0.35));
}

.ve-login-box {
    background: linear-gradient(145deg, rgba(13, 11, 26, 0.9), rgba(10, 10, 10, 0.95));
    border: 1px solid rgba(164, 0, 168, 0.2);
    border-radius: 10px;
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(164, 0, 168, 0.08);
}

.ve-login-box label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ve-dim);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.ve-login-box input[type="email"],
.ve-login-box input[type="password"],
.ve-login-box input[type="text"] {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(164, 0, 168, 0.2);
    border-radius: 6px;
    color: var(--ve-bright-silver);
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    box-sizing: border-box;
}

.ve-login-box input:focus {
    border-color: var(--ve-glow);
    box-shadow: 0 0 12px rgba(164, 0, 168, 0.2);
}

.ve-login-box input::placeholder {
    color: rgba(138, 137, 148, 0.4);
}

.ve-login-btn {
    width: 100%;
    padding: 0.85rem;
    background: linear-gradient(135deg, var(--ve-rift), var(--ve-glow));
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(164, 0, 168, 0.25);
}

.ve-login-btn:hover {
    background: linear-gradient(135deg, var(--ve-glow), var(--ve-bright));
    box-shadow: 0 6px 30px rgba(212, 0, 255, 0.35);
    transform: translateY(-2px);
}

.ve-login-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.ve-login-links a,
.ve-login-links label {
    font-size: 0.85rem;
    color: var(--ve-dim);
    text-decoration: none;
    letter-spacing: normal;
    text-transform: none;
    transition: color 0.3s;
}

.ve-login-links a:hover {
    color: var(--ve-bright);
}

.ve-login-error {
    background: rgba(255, 42, 109, 0.1);
    border: 1px solid rgba(255, 42, 109, 0.3);
    color: var(--ve-danger);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* ---- Main content spacing ---- */
.ve-main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

/* ---- Utility ---- */
.inline {
    display: inline;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .ve-heading {
        font-size: 1.8rem;
    }

    .ve-hero-tagline {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .ve-quote p {
        font-size: 1.2rem;
    }

    .ve-section {
        padding: 4rem 1.5rem;
    }
}



/* ============================================================
   ADMIN LAYOUT — Append this to the end of void.css
   ============================================================ */

/* ---- Admin Body ---- */
.ve-admin-body {
    overflow-x: hidden;
}

/* ---- Top Bar ---- */
.ve-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 1001;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(164, 0, 168, 0.12);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.ve-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 1.5rem;
}

.ve-topbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ve-topbar-logo img {
    height: 70px;
    width: auto;
    transition: filter 0.3s;
}

.ve-topbar-logo img:hover {
    filter: drop-shadow(0 0 8px var(--ve-glow));
}

.ve-sidebar-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--ve-bright-silver);
    cursor: pointer;
    padding: 4px;
    transition: color 0.3s;
}

.ve-sidebar-toggle:hover {
    color: var(--ve-bright-silver);
}

/* ---- User Dropdown ---- */
.ve-topbar-right {
    display: flex;
    align-items: center;
}

.ve-user-dropdown {
    position: relative;
}

.ve-user-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 1px solid rgba(164, 0, 168, 0.15);
    border-radius: 6px;
    padding: 0.45rem 0.9rem;
    color: var(--ve-silver);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.ve-user-trigger:hover {
    border-color: rgba(164, 0, 168, 0.35);
    background: rgba(164, 0, 168, 0.05);
}

.ve-user-name {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ve-user-chevron {
    transition: transform 0.2s;
    opacity: 0.6;
}

.ve-user-chevron.rotate {
    transform: rotate(180deg);
}

.ve-user-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    background: rgba(13, 11, 26, 0.97);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(164, 0, 168, 0.2);
    border-radius: 8px;
    padding: 0.5rem 0;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(164, 0, 168, 0.08);
    z-index: 1100;
}

.ve-user-menu-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.65rem 1.25rem;
    color: var(--ve-bright-silver);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.ve-user-menu-link:hover {
    color: var(--ve-bright-silver);
    background: rgba(164, 0, 168, 0.1);
}

.ve-user-menu-logout {
    border-top: 1px solid rgba(164, 0, 168, 0.1);
    margin-top: 0.25rem;
    padding-top: 0.75rem;
}

/* ---- Sidebar ---- */
.ve-sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    width: 260px;
    background: rgba(10, 10, 10, 0.97);
    border-right: 1px solid rgba(164, 0, 168, 0.1);
    z-index: 1000;
    overflow-y: auto;
    overflow-x: hidden;
    transition: transform 0.3s ease;
}

.ve-sidebar-inner {
    padding: 1.5rem 0;
}

/* Scrollbar styling */
.ve-sidebar::-webkit-scrollbar {
    width: 4px;
}
.ve-sidebar::-webkit-scrollbar-track {
    background: transparent;
}
.ve-sidebar::-webkit-scrollbar-thumb {
    background: rgba(164, 0, 168, 0.2);
    border-radius: 4px;
}

/* ---- Sidebar Section Labels ---- */
.ve-sidebar-section-label {
    padding: 1.25rem 1.5rem 0.5rem;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--ve-glow);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    opacity: 0.7;
}

/* ---- Sidebar Links ---- */
.ve-sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.7rem 1.5rem;
    color: var(--ve-bright-silver);
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
}

.ve-sidebar-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--ve-bright);
    opacity: 0;
    transition: opacity 0.2s;
    border-radius: 0 2px 2px 0;
}

.ve-sidebar-link:hover {
    color: var(--ve-bright-silver);
    background: rgba(164, 0, 168, 0.06);
}

.ve-sidebar-link.active {
    color: var(--ve-bright-silver);
    background: rgba(164, 0, 168, 0.1);
}

.ve-sidebar-link.active::before {
    opacity: 1;
}

.ve-sidebar-link svg {
    opacity: 0.5;
    flex-shrink: 0;
    transition: opacity 0.2s;
}

.ve-sidebar-link:hover svg,
.ve-sidebar-link.active svg {
    opacity: 0.9;
}

/* ---- Sidebar Drawer / Accordion ---- */
.ve-sidebar-drawer-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.7rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ve-bright-silver);
    transition: all 0.2s;
}

.ve-sidebar-drawer-toggle:hover {
    color: var(--ve-bright-silver);
    background: rgba(164, 0, 168, 0.06);
}

.ve-sidebar-drawer-label {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 400;
}

.ve-sidebar-drawer-label svg {
    opacity: 0.5;
    flex-shrink: 0;
    transition: opacity 0.2s;
}

.ve-sidebar-drawer-toggle:hover .ve-sidebar-drawer-label svg {
    opacity: 0.9;
}

.ve-sidebar-drawer-arrow {
    opacity: 0.4;
    transition: transform 0.3s, opacity 0.2s;
    flex-shrink: 0;
}

.ve-sidebar-drawer.open .ve-sidebar-drawer-arrow {
    transform: rotate(180deg);
    opacity: 0.7;
}

.ve-sidebar-drawer-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.ve-sidebar-drawer.open .ve-sidebar-drawer-content {
    max-height: 200px;
}

.ve-sidebar-sublink {
    display: flex;
    align-items: center;
    padding: 0.55rem 1.5rem 0.55rem 3.5rem;
    color: var(--ve-bright-silver);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
}

.ve-sidebar-sublink::before {
    content: '';
    position: absolute;
    left: 2.4rem;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(164, 0, 168, 0.3);
    transform: translateY(-50%);
    transition: background 0.2s, box-shadow 0.2s;
}

.ve-sidebar-sublink:hover {
    color: var(--ve-bright-silver);
    background: rgba(164, 0, 168, 0.04);
}

.ve-sidebar-sublink:hover::before {
    background: var(--ve-glow);
    box-shadow: 0 0 6px var(--ve-glow);
}

/* ---- Sidebar Overlay (mobile) ---- */
.ve-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.ve-sidebar-overlay.open {
    opacity: 1;
    pointer-events: all;
}

/* ---- Admin Content Area ---- */
.ve-admin-content {
    margin-left: 260px;
    margin-top: 60px;
    min-height: calc(100vh - 60px);
    transition: margin-left 0.3s;
}

.ve-admin-header {
    padding: 1.75rem 2rem;
    border-bottom: 1px solid rgba(164, 0, 168, 0.08);
    background: rgba(13, 11, 26, 0.4);
}

.ve-admin-header-inner {
    max-width: 1200px;
}

.ve-admin-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ve-bright-silver);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 0 0 20px rgba(164, 0, 168, 0.2);
}

.ve-admin-main {
    padding: 2rem;
}

/* ---- Dashboard Cards ---- */
.ve-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
}

.ve-dash-card {
    background: linear-gradient(145deg, rgba(13, 11, 26, 0.8), rgba(10, 10, 10, 0.9));
    border: 1px solid rgba(164, 0, 168, 0.12);
    border-radius: 10px;
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.ve-dash-card:hover {
    border-color: rgba(164, 0, 168, 0.25);
    box-shadow: 0 4px 24px rgba(164, 0, 168, 0.08);
}

.ve-dash-card-wide {
    grid-column: 1 / -1;
}

.ve-dash-card-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(164, 0, 168, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.ve-dash-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ve-bright-silver);
    letter-spacing: 1px;
    margin: 0 0 0.75rem 0;
}

.ve-dash-card p {
    color: var(--ve-dim);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.ve-dash-stat-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ve-dim);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.ve-dash-stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--ve-bright-silver);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ve-dash-stat-small {
    font-size: 1.1rem;
}

.ve-status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00e676;
    box-shadow: 0 0 8px rgba(0, 230, 118, 0.4);
    animation: ve-status-pulse 2s ease-in-out infinite;
}

@keyframes ve-status-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .ve-sidebar {
        transform: translateX(-100%);
    }

    .ve-sidebar.open {
        transform: translateX(0);
    }

    .ve-sidebar-toggle {
        display: block;
    }

    .ve-sidebar-overlay {
        display: block;
    }

    .ve-admin-content {
        margin-left: 0;
    }

    .ve-admin-main {
        padding: 1.25rem;
    }

    .ve-dashboard-grid {
        grid-template-columns: 1fr;
    }
}




/* ============================================================
   PROFILE & FORMS — Append this to the end of void.css
   ============================================================ */

/* ---- Profile Page Layout ---- */
.ve-profile-sections {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 720px;
}

.ve-profile-card {
    background: linear-gradient(145deg, rgba(13, 11, 26, 0.8), rgba(10, 10, 10, 0.9));
    border: 1px solid rgba(164, 0, 168, 0.12);
    border-radius: 10px;
    padding: 2rem 2.25rem;
    transition: border-color 0.3s;
}

.ve-profile-card:hover {
    border-color: rgba(164, 0, 168, 0.22);
}

.ve-profile-card-danger {
    border-color: rgba(255, 42, 109, 0.12);
}

.ve-profile-card-danger:hover {
    border-color: rgba(255, 42, 109, 0.25);
}

/* ---- Section Headers ---- */
.ve-profile-section-header {
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(164, 0, 168, 0.08);
}

.ve-profile-section-header h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ve-bright-silver);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0 0 0.5rem 0;
}

.ve-profile-section-header p {
    font-size: 0.9rem;
    color: var(--ve-dim);
    line-height: 1.6;
    margin: 0;
}

/* ---- Form Elements ---- */
.ve-profile-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ve-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.ve-form-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ve-dim);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.ve-form-input {
    width: 100%;
    padding: 0.7rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(164, 0, 168, 0.18);
    border-radius: 6px;
    color: var(--ve-bright-silver);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.ve-form-input:focus {
    border-color: var(--ve-glow);
    box-shadow: 0 0 12px rgba(164, 0, 168, 0.15);
}

.ve-form-input::placeholder {
    color: rgba(138, 137, 148, 0.35);
}

.ve-form-error {
    font-size: 0.82rem;
    color: var(--ve-danger);
    margin: 0.25rem 0 0 0;
}

.ve-form-success {
    font-size: 0.85rem;
    color: #00e676;
    margin-top: 0.5rem;
}

.ve-form-notice {
    margin-top: 0.5rem;
}

.ve-form-notice p {
    font-size: 0.85rem;
    color: var(--ve-dim);
}

.ve-form-link {
    background: none;
    border: none;
    color: var(--ve-glow);
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0;
    transition: color 0.3s;
}

.ve-form-link:hover {
    color: var(--ve-bright);
}

.ve-form-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 0.5rem;
}

.ve-form-saved {
    font-size: 0.85rem;
    color: var(--ve-glow);
    margin: 0;
}

/* ---- Admin Buttons ---- */
.ve-btn-admin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.75rem;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

.ve-btn-admin-primary {
    background: linear-gradient(135deg, var(--ve-rift), var(--ve-glow));
    color: #fff;
    box-shadow: 0 3px 15px rgba(164, 0, 168, 0.2);
}

.ve-btn-admin-primary:hover {
    background: linear-gradient(135deg, var(--ve-glow), var(--ve-bright));
    box-shadow: 0 5px 25px rgba(212, 0, 255, 0.3);
    transform: translateY(-1px);
}

.ve-btn-admin-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--ve-silver);
    border: 1px solid rgba(164, 0, 168, 0.2);
}

.ve-btn-admin-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(164, 0, 168, 0.35);
}

.ve-btn-admin-danger {
    background: rgba(255, 42, 109, 0.15);
    color: var(--ve-danger);
    border: 1px solid rgba(255, 42, 109, 0.25);
}

.ve-btn-admin-danger:hover {
    background: rgba(255, 42, 109, 0.25);
    border-color: rgba(255, 42, 109, 0.45);
    box-shadow: 0 4px 20px rgba(255, 42, 109, 0.15);
    transform: translateY(-1px);
}

/* ---- Modal ---- */
.ve-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 2rem;
}

.ve-modal {
    background: linear-gradient(145deg, rgba(13, 11, 26, 0.98), rgba(10, 10, 10, 0.99));
    border: 1px solid rgba(255, 42, 109, 0.2);
    border-radius: 12px;
    padding: 2.25rem;
    max-width: 500px;
    width: 100%;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(255, 42, 109, 0.06);
}

.ve-modal-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ve-bright-silver);
    letter-spacing: 1px;
    margin: 0 0 1rem 0;
}

.ve-modal-text {
    font-size: 0.9rem;
    color: var(--ve-dim);
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
}

.ve-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

/* ---- Responsive Profile ---- */
@media (max-width: 768px) {
    .ve-profile-card {
        padding: 1.5rem;
    }

    .ve-modal {
        padding: 1.5rem;
        margin: 1rem;
    }

    .ve-modal-actions {
        flex-direction: column;
    }

    .ve-modal-actions .ve-btn-admin {
        width: 100%;
    }
}


/* ============================================================
   USER ZONE & DATATABLES — Append this to the end of void.css
   ============================================================ */

/* ---- User Zone Layout ---- */
.ve-user-zone {
    max-width: 100%;
}

.ve-uz-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
}

/* ---- Table Wrapper ---- */
.ve-table-wrap {
    background: linear-gradient(145deg, rgba(13, 11, 26, 0.8), rgba(10, 10, 10, 0.9));
    border: 1px solid rgba(164, 0, 168, 0.12);
    border-radius: 10px;
    padding: 1.5rem;
    overflow-x: auto;
}

/* ---- Void DataTable Overrides ---- */
.ve-table {
    width: 100% !important;
    border-collapse: collapse;
}

.ve-table thead th {
    background: rgba(164, 0, 168, 0.08);
    color: var(--ve-dim);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(164, 0, 168, 0.15);
    text-align: left;
}

.ve-table tbody td {
    color: var(--ve-silver);
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(164, 0, 168, 0.06);
    background: transparent;
}

.ve-table tbody tr {
    transition: background 0.2s;
}

.ve-table tbody tr:hover {
    background: rgba(164, 0, 168, 0.05);
}

.ve-table tbody tr.odd {
    background: rgba(255, 255, 255, 0.01);
}

.ve-table tbody tr.odd:hover {
    background: rgba(164, 0, 168, 0.05);
}

/* ---- Action Button ---- */
.ve-table-action {
    background: rgba(164, 0, 168, 0.1);
    border: 1px solid rgba(164, 0, 168, 0.2);
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    cursor: pointer;
    color: var(--ve-dim);
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
}

.ve-table-action:hover {
    background: rgba(164, 0, 168, 0.2);
    border-color: rgba(164, 0, 168, 0.4);
    color: var(--ve-bright-silver);
}

/* ---- Badges ---- */
.ve-badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: var(--font-body);
}

.ve-badge-admin {
    background: rgba(164, 0, 168, 0.15);
    color: var(--ve-bright);
    border: 1px solid rgba(164, 0, 168, 0.3);
}

.ve-badge-user {
    background: rgba(255, 255, 255, 0.04);
    color: var(--ve-dim);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---- DataTables Chrome Overrides ---- */

/* Top area (length + search) */
.ve-dt-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Bottom area (info + pagination) */
.ve-dt-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.25rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Search input */
.dataTables_filter input {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(164, 0, 168, 0.18) !important;
    border-radius: 6px !important;
    color: var(--ve-bright-silver) !important;
    font-family: var(--font-body) !important;
    font-size: 0.9rem !important;
    padding: 0.55rem 1rem !important;
    outline: none !important;
    transition: border-color 0.3s, box-shadow 0.3s !important;
    min-width: 250px;
}

.dataTables_filter input:focus {
    border-color: var(--ve-glow) !important;
    box-shadow: 0 0 12px rgba(164, 0, 168, 0.15) !important;
}

.dataTables_filter input::placeholder {
    color: rgba(138, 137, 148, 0.4) !important;
}

.dataTables_filter label {
    color: var(--ve-dim) !important;
    font-family: var(--font-body) !important;
    font-size: 0.85rem !important;
}

/* Length selector */
.dataTables_length select {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(164, 0, 168, 0.18) !important;
    border-radius: 6px !important;
    color: var(--ve-bright-silver) !important;
    font-family: var(--font-body) !important;
    font-size: 0.85rem !important;
    padding: 0.4rem 0.75rem !important;
    outline: none !important;
}

.dataTables_length label {
    color: var(--ve-dim) !important;
    font-family: var(--font-body) !important;
    font-size: 0.85rem !important;
}

/* Info text */
.dataTables_info {
    color: var(--ve-dim) !important;
    font-family: var(--font-body) !important;
    font-size: 0.82rem !important;
}

/* Pagination */
.dataTables_paginate {
    display: flex !important;
    gap: 0.25rem !important;
}

.dataTables_paginate .paginate_button {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(164, 0, 168, 0.12) !important;
    border-radius: 6px !important;
    color: var(--ve-dim) !important;
    font-family: var(--font-body) !important;
    font-size: 0.82rem !important;
    padding: 0.4rem 0.75rem !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}

.dataTables_paginate .paginate_button:hover {
    background: rgba(164, 0, 168, 0.1) !important;
    border-color: rgba(164, 0, 168, 0.3) !important;
    color: var(--ve-bright-silver) !important;
    box-shadow: none !important;
}

.dataTables_paginate .paginate_button.current {
    background: rgba(164, 0, 168, 0.2) !important;
    border-color: rgba(164, 0, 168, 0.4) !important;
    color: var(--ve-bright-silver) !important;
    font-weight: 600 !important;
}

.dataTables_paginate .paginate_button.disabled {
    opacity: 0.3 !important;
    cursor: default !important;
}

/* Processing indicator */
.ve-loading {
    color: var(--ve-glow);
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Sort icons */
.ve-table thead .sorting,
.ve-table thead .sorting_asc,
.ve-table thead .sorting_desc {
    cursor: pointer;
    position: relative;
}

.ve-table thead .sorting::after { content: '⇅'; opacity: 0.3; margin-left: 0.5rem; }
.ve-table thead .sorting_asc::after { content: '↑'; opacity: 0.7; margin-left: 0.5rem; color: var(--ve-glow); }
.ve-table thead .sorting_desc::after { content: '↓'; opacity: 0.7; margin-left: 0.5rem; color: var(--ve-glow); }

/* Remove default DT border/bg */
table.dataTable.no-footer {
    border-bottom: none !important;
}

.dataTables_wrapper .dataTables_processing {
    background: rgba(10, 10, 10, 0.9) !important;
    border: 1px solid rgba(164, 0, 168, 0.2) !important;
    border-radius: 8px !important;
    color: var(--ve-glow) !important;
    padding: 1rem !important;
}

/* ---- Modal Extensions ---- */
.ve-modal-user {
    max-width: 480px;
}

.ve-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(164, 0, 168, 0.1);
}

.ve-modal-header .ve-modal-title {
    margin: 0;
}

.ve-modal-close {
    background: none;
    border: none;
    color: var(--ve-dim);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.ve-modal-close:hover {
    color: var(--ve-bright-silver);
}

/* ---- Form Errors ---- */
.ve-form-errors {
    background: rgba(255, 42, 109, 0.08);
    border: 1px solid rgba(255, 42, 109, 0.2);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.ve-form-errors p {
    color: var(--ve-danger);
    font-size: 0.85rem;
    margin: 0.2rem 0;
}

/* ---- Form Hint ---- */
.ve-form-hint {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--ve-dim);
    opacity: 0.7;
    letter-spacing: normal;
    text-transform: none;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .ve-dt-top,
    .ve-dt-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .dataTables_filter input {
        min-width: auto !important;
        width: 100% !important;
    }

    .ve-table-wrap {
        padding: 1rem;
    }
}


/* ============================================================
   NEWS — Append this to the end of void.css
   ============================================================ */

/* ---- News Feed (Public) ---- */
.ve-news-feed {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* ---- Loading State ---- */
.ve-news-loading {
    text-align: center;
    padding: 3rem 0;
}

.ve-news-loading p {
    color: var(--ve-dim);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 1.25rem;
}

.ve-news-loading-pulse {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ve-glow);
    margin: 0 auto;
    animation: ve-news-pulse 1.5s ease-in-out infinite;
}

@keyframes ve-news-pulse {
    0%, 100% { opacity: 0.2; transform: scale(0.8); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

/* ---- Empty State ---- */
.ve-news-empty {
    text-align: center;
    padding: 3rem 0;
}

.ve-news-empty p {
    color: var(--ve-dim);
    font-size: 1rem;
    font-style: italic;
}

/* ---- News Card ---- */
.ve-news-card {
    background: linear-gradient(145deg, rgba(13, 11, 26, 0.8), rgba(10, 10, 10, 0.9));
    border: 1px solid rgba(164, 0, 168, 0.12);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
    animation: ve-news-card-in 0.5s ease-out both;
}

@keyframes ve-news-card-in {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}

.ve-news-card:hover {
    border-color: rgba(164, 0, 168, 0.25);
}

/* ---- Card Header (always visible, clickable) ---- */
.ve-news-card-header {
    padding: 1.75rem 2rem;
    cursor: pointer;
    transition: background 0.2s;
}

.ve-news-card-header:hover {
    background: rgba(164, 0, 168, 0.03);
}

.ve-news-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.ve-news-card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ve-bright-silver);
    letter-spacing: 1px;
    margin: 0;
    line-height: 1.4;
}

.ve-news-card-date {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--ve-dim);
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.ve-news-card-date svg {
    opacity: 0.5;
}

.ve-news-card-preview {
    color: var(--ve-dim);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

/* ---- Expand Toggle ---- */
.ve-news-card-expand {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--ve-glow);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.2s;
}

.ve-news-card-header:hover .ve-news-card-expand {
    color: var(--ve-bright);
}

.ve-news-expand-arrow {
    transition: transform 0.3s;
}

.ve-news-card.expanded .ve-news-expand-arrow {
    transform: rotate(180deg);
}

/* ---- Card Body (hidden by default, shown on expand) ---- */
.ve-news-card-body {
    display: none;
}

.ve-news-card.expanded .ve-news-card-body {
    max-height: 2000px;
    padding: 0 2rem 2rem;
    border-top: 1px solid rgba(164, 0, 168, 0.08);
}

.ve-news-card-content {
    padding-top: 1.5rem;
}

/* Rich text content styling inside news cards */
.ve-news-card-content h1,
.ve-news-card-content h2,
.ve-news-card-content h3 {
    font-family: var(--font-display);
    color: var(--ve-bright-silver);
    letter-spacing: 1px;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.ve-news-card-content h1 { font-size: 1.4rem; }
.ve-news-card-content h2 { font-size: 1.2rem; }
.ve-news-card-content h3 { font-size: 1.05rem; }

.ve-news-card-content p {
    color: var(--ve-silver);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.ve-news-card-content a {
    color: var(--ve-glow);
    text-decoration: underline;
    transition: color 0.2s;
}

.ve-news-card-content a:hover {
    color: var(--ve-bright);
}

.ve-news-card-content ul,
.ve-news-card-content ol {
    color: var(--ve-silver);
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.ve-news-card-content li {
    margin-bottom: 0.4rem;
    line-height: 1.7;
}

.ve-news-card-content blockquote {
    border-left: 3px solid var(--ve-glow);
    padding-left: 1.25rem;
    margin: 1.25rem 0;
    color: var(--ve-dim);
    font-style: italic;
}

.ve-news-card-content strong {
    color: var(--ve-bright-silver);
}

.ve-news-card-author {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(164, 0, 168, 0.06);
    color: var(--ve-dim);
    font-size: 0.85rem;
    font-style: italic;
    letter-spacing: 0.5px;
}

/* ---- Quill Editor Overrides (Admin) ---- */
.ve-modal-news {
    max-width: 700px;
}

.ve-quill-editor {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(164, 0, 168, 0.18);
    border-radius: 0 0 6px 6px;
    min-height: 250px;
}

.ve-quill-editor .ql-editor {
    color: var(--ve-bright-silver);
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.7;
    min-height: 200px;
}

.ve-quill-editor .ql-editor.ql-blank::before {
    color: rgba(138, 137, 148, 0.4);
    font-style: italic;
}

/* Quill toolbar */
.ql-toolbar.ql-snow {
    background: rgba(164, 0, 168, 0.06) !important;
    border: 1px solid rgba(164, 0, 168, 0.18) !important;
    border-radius: 6px 6px 0 0 !important;
    border-bottom: none !important;
}

.ql-snow .ql-stroke {
    stroke: var(--ve-dim) !important;
}

.ql-snow .ql-fill {
    fill: var(--ve-dim) !important;
}

.ql-snow .ql-picker-label {
    color: var(--ve-dim) !important;
}

.ql-snow .ql-picker-options {
    background: rgba(13, 11, 26, 0.97) !important;
    border: 1px solid rgba(164, 0, 168, 0.2) !important;
    border-radius: 6px !important;
}

.ql-snow .ql-picker-item {
    color: var(--ve-silver) !important;
}

.ql-snow .ql-picker-item:hover {
    color: var(--ve-bright-silver) !important;
}

.ql-snow .ql-active .ql-stroke {
    stroke: var(--ve-glow) !important;
}

.ql-snow .ql-active .ql-fill {
    fill: var(--ve-glow) !important;
}

.ql-snow .ql-active {
    color: var(--ve-glow) !important;
}

.ql-snow button:hover .ql-stroke {
    stroke: var(--ve-bright-silver) !important;
}

.ql-snow button:hover .ql-fill {
    fill: var(--ve-bright-silver) !important;
}

.ql-editor {
    border: none !important;
}

.ql-container.ql-snow {
    border: none !important;
}

/* Quill tooltip (link editor) */
.ql-snow .ql-tooltip {
    background: rgba(13, 11, 26, 0.97) !important;
    border: 1px solid rgba(164, 0, 168, 0.25) !important;
    color: var(--ve-silver) !important;
    border-radius: 6px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;
}

.ql-snow .ql-tooltip input[type="text"] {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(164, 0, 168, 0.18) !important;
    color: var(--ve-bright-silver) !important;
    border-radius: 4px !important;
}

.ql-snow .ql-tooltip a {
    color: var(--ve-glow) !important;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .ve-news-card-header {
        padding: 1.25rem 1.5rem;
    }

    .ve-news-card.expanded .ve-news-card-body {
        padding: 0 1.5rem 1.5rem;
    }

    .ve-news-card-meta {
        flex-direction: column;
        gap: 0.4rem;
    }

    .ve-news-card-title {
        font-size: 1.1rem;
    }

    .ve-modal-news {
        max-width: 95%;
    }
}


/* corrected void news styles after the fuck up. I'll keep the ones above for later use */

/* ---- News Title ---- */
.ve-news-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ve-bright-silver);
    letter-spacing: 1px;
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

/* ---- Read More Button ---- */
.ve-news-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(164, 0, 168, 0.08);
    border: 1px solid rgba(164, 0, 168, 0.2);
    border-radius: 6px;
    padding: 0.5rem 1.25rem;
    color: var(--ve-glow);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 0.5rem;
}

.ve-news-toggle:hover {
    background: rgba(164, 0, 168, 0.15);
    border-color: rgba(164, 0, 168, 0.4);
    color: var(--ve-bright);
    box-shadow: 0 0 12px rgba(164, 0, 168, 0.15);
}

.ve-news-toggle-arrow {
    transition: transform 0.3s;
}

/* ---- Collapse Button ---- */
.ve-news-collapse {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(164, 0, 168, 0.05);
    border: 1px solid rgba(164, 0, 168, 0.12);
    border-radius: 6px;
    padding: 0.45rem 1.1rem;
    color: var(--ve-dim);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.ve-news-collapse:hover {
    background: rgba(164, 0, 168, 0.1);
    border-color: rgba(164, 0, 168, 0.25);
    color: var(--ve-glow);
}

@media (max-width: 768px) {
    .ve-news-collapse {
        display: inline-flex;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    .ve-news-card.expanded .ve-news-card-body {
        padding-bottom: 1.5rem;
        overflow: visible;
    }
}