/*
Theme Name: Ashishxmani Sonic Void
Theme URI: https://ashishxmani.online
Author: Antigravity AI
Description: A premium, high-impact "Sonic Void" theme for bloggers, featuring neon accents, glitch effects, and a dark cyberpunk aesthetic.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ashishxmani-blog
*/

/* --- Theme Variables --- */
:root {
    --neon-blue: #00f3ff;
    --neon-purple: #bd00ff;
    --neon-lime: #ccff00;
    --hot-pink: #ff0099;
    --space-black: #0a0a0a;
    --void-black: #000000;
    --white-glare: #ffffff;
    --silver: #e5e5e7;
    --heading-glitch: clamp(2.5rem, 8vw, 6rem);
}

/* Base Normalization */
body {
    background-color: var(--void-black);
    color: var(--white-glare);
    font-family: 'Inter', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

/* Glitch Heading Base */
.glitch {
    position: relative;
    font-size: var(--heading-glitch);
    font-family: 'Oswald', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--neon-purple);
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--neon-blue);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% {
        clip-path: inset(20% 0 80% 0);
        transform: translate(-2px, 1px);
    }

    20% {
        clip-path: inset(60% 0 10% 0);
        transform: translate(2px, -1px);
    }

    40% {
        clip-path: inset(40% 0 50% 0);
        transform: translate(-2px, 2px);
    }

    60% {
        clip-path: inset(80% 0 5% 0);
        transform: translate(2px, -2px);
    }

    80% {
        clip-path: inset(10% 0 60% 0);
        transform: translate(-1px, 1px);
    }

    100% {
        clip-path: inset(30% 0 40% 0);
        transform: translate(1px, -1px);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip-path: inset(10% 0 60% 0);
        transform: translate(2px, -1px);
    }

    20% {
        clip-path: inset(30% 0 20% 0);
        transform: translate(-2px, 1px);
    }

    40% {
        clip-path: inset(70% 0 10% 0);
        transform: translate(2px, 2px);
    }

    60% {
        clip-path: inset(20% 0 50% 0);
        transform: translate(-2px, -2px);
    }

    80% {
        clip-path: inset(50% 0 30% 0);
        transform: translate(1px, -1px);
    }

    100% {
        clip-path: inset(0% 0 80% 0);
        transform: translate(-1px, 1px);
    }
}

/* Featured Card Styles */
.blog-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.blog-card:hover {
    border-color: var(--neon-blue);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 243, 255, 0.1);
}