/*
Theme Name: SEO News Theme 7
Theme URI: https://superbpn.top/
Description: A cyberpunk / neon-tech news theme — jet-black background, electric cyan and neon purple accents, sharp angular geometry, monospace headings, and glitch-inspired pseudo-elements for a futuristic digital feel.
Version: 1.0.0
Author: Davit Danielyan / Develoop
License: GPL-2.0-or-later
Text Domain: seo-news-theme-7
*/

/* ========== GOOGLE FONTS ========== */
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ========== CSS VARIABLES ========== */
:root {
    /* Jet-black palette */
    --bg-primary: #050508;
    --bg-secondary: #0a0a10;
    --bg-card: #0d0d16;
    --bg-card-hover: #111120;
    --bg-elevated: #14141f;

    /* Neon Accent Colors */
    --accent-orange: #00d4ff;
    --accent-orange-light: #33ddff;
    --accent-orange-dark: #00aacc;
    --accent-gold: #00d4ff;
    --accent-gold-light: #33ddff;
    --accent-gold-dark: #00aacc;
    --accent-purple: #b347ea;
    --accent-purple-light: #c96ef0;
    --accent-purple-dark: #8f2ec0;
    --accent-green: #00ff9d;
    --accent-green-dark: #00cc7a;
    --accent-red: #ff2d55;
    --accent-blue: #00d4ff;

    /* Gradients */
    --gradient-gold: linear-gradient(90deg, #00d4ff 0%, #b347ea 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a10 0%, #050508 100%);
    --gradient-hero: linear-gradient(135deg, #050508 0%, #0d0020 50%, #001a20 100%);
    --gradient-card-border: linear-gradient(90deg, rgba(0, 212, 255, .7) 0%, rgba(179, 71, 234, .7) 100%);
    --gradient-accent: linear-gradient(90deg, #00d4ff 0%, #b347ea 100%);

    /* Text */
    --text-primary: #e8eaf6;
    --text-secondary: #b0b8d8;
    --text-muted: #6b7399;
    --text-accent: #00d4ff;

    /* Borders — sharp neon lines */
    --border-color: rgba(0, 212, 255, .12);
    --border-accent: rgba(0, 212, 255, .6);

    /* Shadows — neon glows */
    --shadow-sm: 0 0 6px rgba(0, 212, 255, .15);
    --shadow-md: 0 0 16px rgba(0, 212, 255, .2);
    --shadow-lg: 0 0 40px rgba(0, 212, 255, .18);
    --shadow-glow: 0 0 20px rgba(0, 212, 255, .25), 0 0 60px rgba(0, 212, 255, .08);
    --shadow-glow-green: 0 0 20px rgba(0, 255, 157, .2);
    --shadow-purple: 0 0 20px rgba(179, 71, 234, .3);

    /* Layout — zero radius for angular cyber look */
    --radius-sm: 0px;
    --radius-md: 0px;
    --radius-lg: 2px;
    --radius-xl: 2px;
    --max-width: 1240px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'Space Mono', 'Courier New', monospace;
    --transition: .25s cubic-bezier(.4, 0, .2, 1);
}

/* ========== RESET ========== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    background-image:
        linear-gradient(rgba(0, 212, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, .025) 1px, transparent 1px);
    background-size: 48px 48px;
}

a {
    color: var(--accent-orange-light);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent-purple-light);
    text-shadow: 0 0 8px rgba(179, 71, 234, .5);
}

/* Accessibility: underlines for content links */
.post-content a,
.sidebar a:not(.hot-badge),
.site-footer a,
.site-branding a,
.post-author-box a,
.related-posts a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    text-decoration-color: rgba(0, 212, 255, .3);
}

.post-content a:hover,
.site-footer a:hover,
.site-branding a:hover,
.post-author-box a:hover,
.related-posts a:hover {
    text-decoration-color: var(--accent-purple);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

::selection {
    background: var(--accent-purple);
    color: var(--bg-primary);
}

/* ========== LAYOUT ========== */
.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.content-area {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 36px;
    padding: 48px 0;
}

/* ========== GLASSMORPHISM MIXIN ========== */
.glass {
    background: rgba(13, 13, 22, .75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
}

/* ========== HEADER ========== */
.site-header {
    background: rgba(5, 5, 8, .92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 1px 0 rgba(0, 212, 255, .15), 0 4px 32px rgba(0, 0, 0, .8);
}

/* Gradient scan-line under header */
.site-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-gold);
    opacity: .6;
}

.site-header.header-scrolled .site-branding,
.site-header.header-scrolled .header-search-form {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    transform: scale(0.9);
    pointer-events: none;
}

.site-header.header-scrolled .container {
    justify-content: center;
}

.site-branding,
.header-search-form {
    transition: all 0.3s ease;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.site-logo {
    font-family: var(--font-mono);
    font-size: 1.35rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 4px;
}

.main-nav a {
    font-family: var(--font-mono);
    font-size: .75rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: all var(--transition);
    padding: 8px 14px;
    border-radius: 0;
    position: relative;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.main-nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width var(--transition);
}

.main-nav a:hover {
    color: var(--accent-orange-light);
    border-color: var(--border-color);
    background: rgba(0, 212, 255, .05);
    text-shadow: 0 0 8px rgba(0, 212, 255, .4);
}

.main-nav a:hover::before {
    width: 100%;
}

.main-nav a.current,
.main-nav .current-menu-item>a,
.main-nav .current-menu-ancestor>a {
    color: var(--accent-gold);
    border-color: var(--border-color);
    background: rgba(0, 212, 255, .08);
    text-shadow: 0 0 10px rgba(0, 212, 255, .5);
}

.main-nav a.current::before,
.main-nav .current-menu-item>a::before,
.main-nav .current-menu-ancestor>a::before {
    width: 100%;
}

/* ========== HEADER SEARCH FIELD ========== */
.header-search-form {
    display: flex;
    align-items: center;
    background: rgba(0, 212, 255, .04);
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 4px 12px;
    margin-left: 16px;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.header-search-form:hover,
.header-search-form:focus-within {
    border-color: var(--border-accent);
    box-shadow: 0 0 12px rgba(0, 212, 255, .2);
}

.header-search-form .search-field {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: .82rem;
    font-family: var(--font-mono);
    padding: 6px 8px;
    width: 140px;
    outline: none;
    transition: width var(--transition);
}

.header-search-form .search-field::placeholder {
    color: var(--text-muted);
    letter-spacing: 1px;
}

.header-search-form .search-field:focus {
    width: 180px;
}

.header-search-form .search-submit {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition), filter var(--transition);
}

.header-search-form .search-submit:hover {
    color: var(--accent-gold);
    filter: drop-shadow(0 0 4px rgba(0, 212, 255, .6));
}

/* ========== UTILITIES ========== */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* ========== HERO SLIDER ========== */
.hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    margin-bottom: 56px;
    height: 460px;
    border: 1px solid var(--border-color);
    box-shadow: inset 0 0 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 212, 255, .1);
}

/* Top-left corner accent */
.hero-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-top: 2px solid var(--accent-orange);
    border-left: 2px solid var(--accent-orange);
    z-index: 5;
    pointer-events: none;
}

/* Bottom-right corner accent */
.hero-slider::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    border-bottom: 2px solid var(--accent-purple);
    border-right: 2px solid var(--accent-purple);
    z-index: 5;
    pointer-events: none;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .7s ease;
    background: var(--gradient-hero);
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-inner {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 48px 56px;
}

.hero-slide .slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 5, 8, .95) 0%, rgba(5, 5, 8, .5) 40%, rgba(5, 5, 8, .15) 70%);
}

.hero-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .4;
    filter: saturate(.6);
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}

.hero-slide-content .category-badge {
    display: inline-block;
    background: transparent;
    color: var(--accent-orange);
    padding: 4px 14px;
    border-radius: 0;
    font-size: .68rem;
    font-weight: 700;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
    border: 1px solid var(--accent-orange);
    box-shadow: 0 0 10px rgba(0, 212, 255, .25), inset 0 0 10px rgba(0, 212, 255, .05);
}

.hero-slide-content h2 {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    text-shadow: 0 0 20px rgba(0, 212, 255, .2);
}

.hero-slide-content h2 a {
    color: var(--text-primary);
    -webkit-text-fill-color: unset;
}

.hero-slide-content h2 a:hover {
    color: var(--accent-gold-light);
    text-shadow: 0 0 16px rgba(0, 212, 255, .5);
}

.hero-slide-content .slide-meta {
    font-size: .82rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-slide-content .slide-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.slider-nav {
    position: absolute;
    bottom: 24px;
    right: 56px;
    z-index: 3;
    display: flex;
    gap: 6px;
}

.slider-dot {
    width: 28px;
    height: 3px;
    border-radius: 0;
    background: rgba(0, 212, 255, .15);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.slider-dot.active {
    background: var(--accent-gold);
    width: 44px;
    box-shadow: 0 0 10px rgba(0, 212, 255, .6);
}

.slider-dot:hover {
    background: rgba(0, 212, 255, .4);
}

/* ========== SECTION TITLES ========== */
.section-title {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-primary);
}

.section-title::before {
    content: '';
    width: 3px;
    height: 20px;
    background: var(--gradient-gold);
    border-radius: 0;
    box-shadow: 0 0 8px rgba(0, 212, 255, .5);
    flex-shrink: 0;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 212, 255, .3) 0%, transparent 100%);
}

/* ========== CATEGORY BLOCKS ========== */
.categories-section {
    margin-bottom: 56px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(0, 212, 255, .08);
    border: 1px solid var(--border-color);
}

.category-card {
    background: var(--bg-card);
    border-radius: 0;
    overflow: hidden;
    border: none;
    transition: all var(--transition);
    position: relative;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, .04), transparent);
    transition: left .5s ease;
    pointer-events: none;
    z-index: 1;
}

.category-card:hover {
    transform: none;
    background: var(--bg-card-hover);
    z-index: 2;
    outline: 1px solid rgba(0, 212, 255, .4);
    outline-offset: -1px;
    box-shadow: none;
}

.category-card:hover::before {
    left: 100%;
    opacity: 1;
}

.category-card-header {
    padding: 14px 20px;
    background: rgba(0, 212, 255, .07);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 212, 255, .15);
}

.category-card-header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 32px solid rgba(0, 212, 255, .12);
    border-left: 32px solid transparent;
}

.category-card-header h3 {
    font-family: var(--font-mono);
    font-size: .78rem;
    font-weight: 700;
    color: var(--accent-orange);
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 0 8px rgba(0, 212, 255, .4);
}

.category-card-header h3 a {
    color: var(--accent-orange);
}

.category-card-body {
    padding: 20px;
    position: relative;
    z-index: 1;
}

.category-card-body .post-title {
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 10px;
}

.category-card-body .post-title a {
    color: var(--text-primary);
}

.category-card-body .post-title a:hover {
    color: var(--accent-gold-light);
    text-shadow: 0 0 8px rgba(0, 212, 255, .3);
}

.category-card-body .post-excerpt {
    font-size: .84rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 14px;
}

.category-card-body .read-more {
    font-family: var(--font-mono);
    font-size: .7rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition);
    padding: 5px 12px;
    border: 1px solid rgba(0, 212, 255, .25);
    background: rgba(0, 212, 255, .04);
}

.category-card-body .read-more:hover {
    color: var(--bg-primary);
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    box-shadow: 0 0 14px rgba(0, 212, 255, .4);
    gap: 12px;
}

/* ========== SIDEBAR ========== */
.sidebar .widget {
    background: var(--bg-card);
    border-radius: 0;
    padding: 22px;
    margin-bottom: 2px;
    border: 1px solid var(--border-color);
    border-left: 2px solid var(--accent-orange);
    transition: box-shadow var(--transition), border-left-color var(--transition);
}

.sidebar .widget:hover {
    box-shadow: -4px 0 16px rgba(0, 212, 255, .15);
    border-left-color: var(--accent-purple);
}

.sidebar .widget-title {
    font-family: var(--font-mono);
    font-size: .8rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 212, 255, .15);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 0 8px rgba(0, 212, 255, .3);
}

.sidebar .widget-title::before {
    content: '>';
    font-family: var(--font-mono);
    font-size: .85rem;
    color: var(--accent-purple);
}

.sidebar .widget ul {
    list-style: none;
}

.sidebar .widget li {
    padding: 9px 0;
    border-bottom: 1px solid rgba(0, 212, 255, .06);
    font-size: .86rem;
}

.sidebar .widget li:last-child {
    border-bottom: none;
}

.sidebar .widget li a {
    color: var(--text-secondary);
    font-weight: 400;
    transition: all var(--transition);
    display: block;
}

.sidebar .widget li a:hover {
    color: var(--accent-gold-light);
    padding-left: 10px;
    text-shadow: 0 0 6px rgba(0, 212, 255, .3);
}

.sidebar .widget .post-date {
    display: block;
    font-family: var(--font-mono);
    font-size: .7rem;
    color: var(--text-muted);
    margin-top: 3px;
    letter-spacing: .5px;
}

/* Sidebar hot-badge */
.sidebar .hot-badge {
    display: inline-block;
    background: var(--accent-red);
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: .58rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 6px;
    vertical-align: middle;
    box-shadow: 0 0 8px rgba(255, 45, 85, .4);
}

/* ========== SINGLE POST ========== */
.single-post-header {
    margin-bottom: 36px;
}

.single-post-header .category-badge {
    display: inline-block;
    background: transparent;
    color: var(--accent-gold);
    padding: 4px 14px;
    border-radius: 0;
    font-family: var(--font-mono);
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
    border: 1px solid rgba(0, 212, 255, .35);
    box-shadow: 0 0 8px rgba(0, 212, 255, .15);
}

.single-post-header h1 {
    font-family: var(--font-mono);
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    text-shadow: 0 0 30px rgba(0, 212, 255, .1);
}

.post-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    font-family: var(--font-mono);
    font-size: .78rem;
    color: var(--text-muted);
    letter-spacing: .5px;
}

.post-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-meta .meta-item svg {
    opacity: .5;
}

.post-meta .meta-divider {
    color: var(--border-color);
}

.featured-image {
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 36px;
    border: 1px solid var(--border-color);
    position: relative;
}

/* Corner brackets on featured image */
.featured-image::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: 24px;
    height: 24px;
    border-top: 2px solid var(--accent-orange);
    border-left: 2px solid var(--accent-orange);
    z-index: 2;
    pointer-events: none;
}

.featured-image::after {
    content: '';
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border-bottom: 2px solid var(--accent-purple);
    border-right: 2px solid var(--accent-purple);
    z-index: 2;
    pointer-events: none;
}

.featured-image img {
    width: 100%;
    filter: saturate(.8);
    transition: filter var(--transition);
}

.featured-image:hover img {
    filter: saturate(1);
}

.post-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-secondary);
}

.post-content h2 {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 36px 0 16px;
    color: var(--text-primary);
    padding-left: 14px;
    border-left: 2px solid var(--accent-gold);
    text-shadow: 0 0 12px rgba(0, 212, 255, .15);
}

.post-content h3 {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 30px 0 12px;
    color: var(--accent-purple-light);
    letter-spacing: .5px;
}

.post-content h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 26px 0 10px;
    color: var(--text-primary);
}

.post-content h5 {
    font-size: 1rem;
    font-weight: 600;
    margin: 22px 0 8px;
    color: var(--text-secondary);
}

.post-content h6 {
    font-family: var(--font-mono);
    font-size: .82rem;
    font-weight: 700;
    margin: 18px 0 8px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-content p {
    margin-bottom: 18px;
}

.post-content ul,
.post-content ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.post-content blockquote {
    border-left: 2px solid var(--accent-gold);
    padding: 18px 24px;
    margin: 28px 0;
    background: rgba(0, 212, 255, .04);
    border-radius: 0;
    font-style: italic;
    color: var(--text-primary);
    position: relative;
}

.post-content blockquote::before {
    content: '"';
    position: absolute;
    top: -8px;
    left: 16px;
    font-size: 3rem;
    font-family: var(--font-mono);
    color: var(--accent-gold);
    opacity: .25;
    line-height: 1;
}

/* ========== RELATED POSTS ========== */
.related-posts {
    margin-top: 56px;
    padding-top: 36px;
    border-top: 1px solid var(--border-color);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(0, 212, 255, .06);
}

.related-post-card {
    background: var(--bg-card);
    border-radius: 0;
    overflow: hidden;
    border: none;
    transition: all var(--transition);
}

.related-post-card:hover {
    transform: none;
    box-shadow: none;
    background: var(--bg-card-hover);
    outline: 1px solid rgba(0, 212, 255, .35);
    outline-offset: -1px;
    border-color: var(--border-accent);
}

.related-post-card .card-image-link {
    display: block;
    height: 160px;
    overflow: hidden;
    position: relative;
}

/* Scanline overlay on card images */
.related-post-card .card-image-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, .08) 2px,
        rgba(0, 0, 0, .08) 4px
    );
    pointer-events: none;
    z-index: 1;
}

.related-post-card .card-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition), filter var(--transition);
    filter: saturate(.7);
}

.related-post-card:hover .card-image-link img {
    transform: scale(1.05);
    filter: saturate(1);
}

.related-post-card .card-body {
    padding: 16px;
}

.related-post-card .card-category {
    font-family: var(--font-mono);
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-gold);
    margin-bottom: 8px;
    text-shadow: 0 0 6px rgba(0, 212, 255, .3);
}

.related-post-card .card-title {
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}

.related-post-card .card-title a {
    color: var(--text-primary);
}

.related-post-card .card-title a:hover {
    color: var(--accent-gold-light);
    text-shadow: 0 0 6px rgba(0, 212, 255, .3);
}

.related-post-card .card-date {
    font-family: var(--font-mono);
    font-size: .7rem;
    color: var(--text-muted);
    letter-spacing: .5px;
}

/* ========== CATEGORY ARCHIVE ========== */
.archive-header {
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.archive-header h1 {
    font-family: var(--font-mono);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.archive-header h1 span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.archive-header .archive-desc {
    color: var(--text-secondary);
    font-size: .9rem;
    font-family: var(--font-mono);
}

.archive-posts-list .archive-post {
    background: var(--bg-card);
    border-radius: 0;
    padding: 24px 28px;
    margin-bottom: 2px;
    border: 1px solid var(--border-color);
    border-left: 2px solid transparent;
    transition: all var(--transition);
    position: relative;
}

.archive-posts-list .archive-post:hover {
    box-shadow: none;
    border-left-color: var(--accent-gold);
    background: var(--bg-card-hover);
    border-color: rgba(0, 212, 255, .25);
}

.archive-posts-list .archive-post h2 {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: .3px;
}

.archive-posts-list .archive-post h2 a {
    color: var(--text-primary);
}

.archive-posts-list .archive-post h2 a:hover {
    color: var(--accent-gold-light);
    text-shadow: 0 0 8px rgba(0, 212, 255, .3);
}

.archive-posts-list .archive-post .post-excerpt {
    font-size: .9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 10px;
}

.archive-posts-list .read-more {
    font-family: var(--font-mono);
    font-size: .7rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border: 1px solid rgba(0, 212, 255, .2);
    transition: all var(--transition);
}

.archive-posts-list .read-more:hover {
    color: var(--bg-primary);
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    box-shadow: 0 0 12px rgba(0, 212, 255, .4);
    gap: 10px;
}

/* ========== FOOTER ========== */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 48px 0 28px;
    margin-top: auto;
    position: relative;
}

/* Neon top-border gradient on footer */
.site-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-gold);
    opacity: .5;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 36px;
}

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: .78rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 0 8px rgba(0, 212, 255, .3);
}

.footer-col .footer-logo {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    display: inline-block;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-col p {
    font-size: .84rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
    padding-left: 14px;
    position: relative;
}

.footer-col li::before {
    content: '//';
    position: absolute;
    left: 0;
    font-family: var(--font-mono);
    font-size: .68rem;
    color: var(--accent-orange);
    opacity: .5;
    top: 1px;
}

.footer-col a {
    color: var(--text-muted);
    font-size: .84rem;
    transition: color var(--transition), text-shadow var(--transition);
}

.footer-col a:hover {
    color: var(--accent-gold-light);
    text-shadow: 0 0 6px rgba(0, 212, 255, .3);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    font-family: var(--font-mono);
    font-size: .72rem;
    color: var(--text-muted);
    letter-spacing: .5px;
}

.footer-bottom a {
    color: var(--accent-gold);
}

.footer-bottom a:hover {
    text-shadow: 0 0 6px rgba(0, 212, 255, .4);
}

/* ========== 18+ BADGE ========== */
.age-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 45, 85, .1);
    color: #ff6b8a;
    font-family: var(--font-mono);
    font-size: .7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 0;
    border: 1px solid rgba(255, 45, 85, .25);
    margin-top: 12px;
    letter-spacing: 1px;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-card {
    animation: fadeInUp .4s ease both;
}

.category-card:nth-child(2) {
    animation-delay: .08s;
}

.category-card:nth-child(3) {
    animation-delay: .16s;
}

/* Neon pulse on active slider dot */
@keyframes neonPulse {
    0%, 100% {
        box-shadow: 0 0 6px rgba(0, 212, 255, .4), 0 0 16px rgba(0, 212, 255, .2);
    }
    50% {
        box-shadow: 0 0 12px rgba(0, 212, 255, .8), 0 0 28px rgba(0, 212, 255, .3);
    }
}

.slider-dot.active {
    animation: neonPulse 2s ease infinite;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .content-area {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        height: auto;
        padding: 16px;
        gap: 16px;
    }

    .site-branding {
        align-items: center;
        text-align: center;
    }

    .main-nav {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .main-nav ul {
        gap: 4px;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .main-nav a {
        padding: 6px 10px;
        font-size: .72rem;
    }

    .header-search-form {
        margin-left: 0;
        width: 100%;
        max-width: 100%;
        justify-content: space-between;
    }

    .header-search-form .search-field {
        width: 100%;
    }

    .header-search-form .search-field:focus {
        width: 100%;
    }

    .hero-slider {
        height: 340px;
    }

    .hero-slide-content h2 {
        font-size: 1.35rem;
    }

    .hero-slide-inner {
        padding: 24px;
    }

    .slider-nav {
        right: 24px;
        bottom: 16px;
    }

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

    .related-posts-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-inner .footer-logo,
    .footer-column h4 {
        justify-content: center;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .single-post-header h1 {
        font-size: 1.55rem;
    }

    .footer-col li::before {
        display: none;
    }

    .footer-col li {
        padding-left: 0;
    }
}
