/* ===========================================
   EDVR TECH — STYLE v2.0
   =========================================== */

/* --- VARIABLES --- */
:root {
    --bg: #0b0f19;
    --bg2: #131925;
    --bg3: #1a2035;
    --accent: #00e5a0;
    --accent2: #ff3366;
    --text: #e8ecf1;
    --text2: #8892a4;
    --radius: 14px;
}

/* --- RESET / GLOBAL --- */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg) !important;
    color: var(--text) !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color .15s;
}

a:hover {
    color: #fff;
}

/* Hide ALL default theme chrome */
.site-header,
.site-footer,
.entry-header,
.sidebar,
.widget-area,
.site-info,
.navigation,
.nav-links,
.entry-meta {
    display: none !important;
}

.site-content {
    padding: 0 !important;
    margin: 0 !important;
}

.separate-containers .inside-article,
.separate-containers .site-main>*,
article.page {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

.entry-content {
    max-width: 100% !important;
    margin: 0 !important;
}

/* --- HEADER --- */
.edvr-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(11, 15, 25, .92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, .04);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(16px, 4vw, 40px);
    height: 60px;
}

.logo {
    font-weight: 900;
    font-size: 1.4rem;
    color: #fff !important;
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent);
}

.nav-main a {
    color: var(--text2);
    font-size: .88rem;
    font-weight: 600;
    margin-left: 28px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- TICKER --- */
.ticker {
    background: var(--bg2);
    display: flex;
    align-items: center;
    padding: 0 clamp(16px, 4vw, 40px);
    height: 44px;
    border-bottom: 1px solid rgba(255, 255, 255, .04);
    overflow: hidden;
}

.ticker-label {
    font-weight: 800;
    color: var(--accent2);
    font-size: .78rem;
    text-transform: uppercase;
    margin-right: 20px;
    white-space: nowrap;
}

.ticker-items {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scrollbar-width: none;
}

.ticker-items::-webkit-scrollbar {
    display: none;
}

.ticker-items a {
    color: var(--text2);
    font-size: .85rem;
    font-weight: 500;
    white-space: nowrap;
}

.ticker-items a:hover {
    color: #fff;
}

/* --- FEED GRID --- */
.feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    padding: 32px clamp(16px, 4vw, 40px);
    max-width: 1400px;
    margin: 0 auto;
}

.feed-card {
    background: var(--bg2);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .04);
    transition: transform .25s, border-color .25s;
}

.feed-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
}

.card-thumb {
    display: block;
    height: 200px;
    background: linear-gradient(135deg, var(--bg3), var(--bg2));
    background-size: cover;
    background-position: center;
    position: relative;
}

.placeholder-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 2rem;
    color: rgba(255, 255, 255, .06);
    letter-spacing: 4px;
}

.card-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--accent);
    color: #000;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.card-body {
    padding: 22px;
}

.card-body h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    line-height: 1.3;
}

.card-body h3 a {
    color: #fff;
}

.card-body h3 a:hover {
    color: var(--accent);
}

.card-body p {
    color: var(--text2);
    font-size: .9rem;
    margin: 0 0 16px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: .78rem;
    color: var(--text2);
}

.empty-msg {
    text-align: center;
    color: var(--text2);
    padding: 60px 20px;
}

/* --- CATEGORIES HUB --- */
.hub-header {
    text-align: center;
    padding: 60px 20px 30px;
}

.hub-header h1 {
    font-size: 2.8rem;
    font-weight: 900;
    margin: 0 0 10px;
}

.hub-header p {
    color: var(--text2);
    font-size: 1.15rem;
    margin: 0;
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    padding: 0 clamp(16px, 4vw, 40px) 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.hub-tile {
    background: var(--bg2);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, .04);
    transition: transform .2s, border-color .2s;
    display: block;
}

.hub-tile:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.hub-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.hub-tile h3 {
    color: #fff;
    margin: 0 0 8px;
    font-size: 1.25rem;
}

.hub-tile p {
    color: var(--text2);
    font-size: .88rem;
    margin: 0 0 12px;
}

.hub-count {
    color: var(--accent);
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.hub-latest {
    padding: 20px clamp(16px, 4vw, 40px) 0;
    max-width: 1400px;
    margin: 0 auto;
}

.hub-latest h2 {
    font-size: 1.6rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
    padding-bottom: 6px;
}

/* --- COMMUNITY PAGE --- */
.community-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 40px);
}

.community-hero {
    text-align: center;
    padding: 60px 0 40px;
}

.community-hero h1 {
    font-size: 2.8rem;
    font-weight: 900;
    margin: 0 0 10px;
}

.community-hero p {
    color: var(--text2);
    font-size: 1.15rem;
}

.community-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

.community-left h3,
.community-right h3 {
    margin-top: 0;
}

.disc-list {
    list-style: none;
    padding: 0;
}

.disc-list li {
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.disc-meta {
    font-size: .85rem;
    margin-bottom: 6px;
}

.disc-meta strong {
    color: var(--accent);
}

.disc-meta a {
    color: var(--text2);
}

.disc-text {
    color: var(--text2);
    font-size: .92rem;
}

.empty-state {
    text-align: center;
    padding: 40px;
    background: var(--bg2);
    border-radius: var(--radius);
}

.empty-state p {
    color: var(--text2);
    margin-bottom: 20px;
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.qlink {
    display: block;
    padding: 14px 18px;
    background: var(--bg2);
    border-radius: 10px;
    color: var(--text) !important;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, .04);
    transition: border-color .2s;
}

.qlink:hover {
    border-color: var(--accent);
}

.newsletter-box {
    background: var(--bg2);
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, .04);
}

.newsletter-box h4 {
    margin: 0 0 6px;
    color: #fff;
}

.newsletter-box p {
    color: var(--text2);
    font-size: .9rem;
    margin: 0 0 14px;
}

.nl-input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    background: var(--bg);
    border: 1px solid rgba(255, 255, 255, .1);
    color: #fff;
    margin-bottom: 10px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background: var(--accent);
    color: #000 !important;
    font-weight: 800;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background .2s;
}

.btn-primary:hover {
    background: #fff;
}

.full-w {
    width: 100%;
}

/* --- FOOTER (Horizontal) --- */
.edvr-footer {
    background: var(--bg2);
    border-top: 1px solid rgba(255, 255, 255, .04);
    margin-top: 80px;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px clamp(16px, 4vw, 40px);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-brand {
    font-weight: 900;
    font-size: 1.1rem;
    color: #fff;
}

.footer-brand span {
    color: var(--accent);
}

.footer-nav a {
    color: var(--text2);
    margin: 0 14px;
    font-size: .85rem;
    font-weight: 500;
}

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

.footer-copy {
    color: rgba(255, 255, 255, .25);
    font-size: .8rem;
}

/* --- TABLE OF CONTENTS (AGGRESSIVE) --- */
div#ez-toc-container,
#ez-toc-container {
    background: var(--bg2) !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
    border-radius: var(--radius) !important;
    box-shadow: none !important;
    padding: 20px !important;
    color: var(--text) !important;
}

#ez-toc-container p.ez-toc-title {
    color: var(--accent) !important;
    font-weight: 700 !important;
}

#ez-toc-container ul li a {
    color: var(--text2) !important;
}

#ez-toc-container ul li a:hover {
    color: #fff !important;
}

#ez-toc-container .ez-toc-list {
    background: transparent !important;
}

/* --- COMMENTS (AGGRESSIVE) --- */
#respond,
.comments-area,
.comment-list,
.comment-body,
.comment-content,
.comment-respond {
    background: var(--bg2) !important;
    color: var(--text) !important;
    border: none !important;
}

#respond {
    padding: 30px !important;
    border-radius: var(--radius) !important;
    border: 1px solid rgba(255, 255, 255, .06) !important;
}

#reply-title {
    color: #fff !important;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
textarea,
input[type="text"],
input[type="email"] {
    background: var(--bg) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .1) !important;
    border-radius: 8px !important;
    padding: 12px !important;
}

input[type="submit"],
.form-submit input {
    background: var(--accent) !important;
    color: #000 !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
}

input[type="submit"]:hover {
    background: #fff !important;
}

/* --- CONTENT TYPOGRAPHY --- */
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5 {
    color: #fff;
    font-weight: 800;
}

.entry-content h2 {
    font-size: 2rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
    padding-bottom: 6px;
    margin-top: 2em;
}

.entry-content p {
    color: #c9d1d9;
    font-size: 1.05rem;
}

.entry-content ul,
.entry-content ol {
    color: #c9d1d9;
}

.entry-content blockquote {
    border-left: 4px solid var(--accent);
    background: var(--bg2);
    padding: 1em 1.5em;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 2em 0;
    font-style: italic;
}

.entry-content a {
    color: var(--accent);
}

/* Product Box (inline in posts) */
.product-box {
    background: var(--bg2);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: var(--radius);
    padding: 28px;
    margin: 30px 0;
    transition: border-color .2s;
}

.product-box:hover {
    border-color: var(--accent);
}

.product-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.product-description {
    color: var(--text2);
    margin-bottom: 18px;
}

.product-button {
    display: inline-block;
    padding: 14px 28px;
    background: var(--accent);
    color: #000 !important;
    font-weight: 800;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.product-button:hover {
    background: #fff;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .feed-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .community-content {
        grid-template-columns: 1fr;
    }

    .hub-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .nav-main {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--bg);
        padding: 20px;
        flex-direction: column;
    }

    .nav-main.open {
        display: flex;
    }

    .nav-main a {
        margin: 8px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .feed-grid {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 18px;
    }

    .hub-grid {
        grid-template-columns: 1fr;
    }

    .hub-header h1 {
        font-size: 2rem;
    }

    .community-hero h1 {
        font-size: 2rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}