/* SIRADIŞ NEON DARK DESIGN EXTRAS */

/* Glitch Effect for Headings */
.glitch {
    position: relative;
    color: var(--neon-green);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--neon-cyan);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--neon-pink);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(31px, 9999px, 94px, 0); }
    20% { clip: rect(60px, 9999px, 40px, 0); }
    40% { clip: rect(35px, 9999px, 23px, 0); }
    60% { clip: rect(98px, 9999px, 83px, 0); }
    80% { clip: rect(15px, 9999px, 65px, 0); }
    100% { clip: rect(70px, 9999px, 5px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(65px, 9999px, 74px, 0); }
    20% { clip: rect(34px, 9999px, 90px, 0); }
    40% { clip: rect(80px, 9999px, 10px, 0); }
    60% { clip: rect(50px, 9999px, 45px, 0); }
    80% { clip: rect(20px, 9999px, 100px, 0); }
    100% { clip: rect(90px, 9999px, 30px, 0); }
}

/* Neon Border Animation */
.neon-border {
    position: relative;
    background: var(--bg-card);
    padding: 2rem;
}

.neon-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-image: linear-gradient(45deg, var(--neon-green), var(--neon-cyan), var(--neon-purple), var(--neon-pink)) 1;
    animation: borderRotate 4s linear infinite;
}

@keyframes borderRotate {
    0% { border-image-source: linear-gradient(0deg, var(--neon-green), var(--neon-cyan), var(--neon-purple)); }
    25% { border-image-source: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple), var(--neon-pink)); }
    50% { border-image-source: linear-gradient(180deg, var(--neon-purple), var(--neon-pink), var(--neon-green)); }
    75% { border-image-source: linear-gradient(270deg, var(--neon-pink), var(--neon-green), var(--neon-cyan)); }
    100% { border-image-source: linear-gradient(360deg, var(--neon-green), var(--neon-cyan), var(--neon-purple)); }
}

/* Asymmetric Shapes */
.shape-pentagon {
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.shape-hexagon {
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.shape-arrow {
    clip-path: polygon(0 0, 75% 0%, 100% 50%, 75% 100%, 0 100%, 25% 50%);
}

.shape-diagonal {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
}

/* Scanline Effect */
.scanlines {
    position: relative;
    overflow: hidden;
}

.scanlines::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 255, 136, 0.03) 0px,
        rgba(0, 255, 136, 0.03) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    animation: scanline 8s linear infinite;
}

@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* Holographic Card */
.holographic {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(0, 255, 136, 0.1) 0%, 
        rgba(0, 217, 255, 0.1) 25%,
        rgba(168, 85, 247, 0.1) 50%,
        rgba(255, 0, 255, 0.1) 75%,
        rgba(0, 255, 136, 0.1) 100%
    );
    background-size: 200% 200%;
    animation: holographicShift 5s ease infinite;
}

@keyframes holographicShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Neon Pulse */
.neon-pulse {
    animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.5), 0 0 40px rgba(0, 255, 136, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 255, 136, 0.8), 0 0 60px rgba(0, 255, 136, 0.5), 0 0 90px rgba(0, 255, 136, 0.3);
    }
}

/* Matrix Rain Effect */
.matrix-bg {
    position: relative;
    overflow: hidden;
}

.matrix-bg::after {
    content: '01010101 11001100 01110111 10101010';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: var(--neon-green);
    opacity: 0.1;
    white-space: nowrap;
    animation: matrixRain 10s linear infinite;
}

@keyframes matrixRain {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* Bold Typography */
.text-neon {
    color: var(--neon-green);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5), 0 0 20px rgba(0, 255, 136, 0.3);
}

.text-neon-purple {
    color: var(--neon-purple);
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5), 0 0 20px rgba(168, 85, 247, 0.3);
}

.text-neon-cyan {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5), 0 0 20px rgba(0, 217, 255, 0.3);
}

.text-brutal {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.1;
}

/* Grid Overlay */
.grid-overlay {
    position: relative;
}

.grid-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

/* Cyber Button Variants */
.btn-cyber {
    position: relative;
    background: transparent;
    border: 2px solid var(--neon-green);
    color: var(--neon-green);
    font-weight: 800;
    padding: 1rem 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 95% 100%, 0 100%);
    transition: all 0.3s;
}

.btn-cyber::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--neon-green);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.btn-cyber:hover {
    color: var(--bg-primary);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.btn-cyber:hover::before {
    opacity: 1;
}

/* Diagonal Divider */
.diagonal-divider {
    position: relative;
    margin: 4rem 0;
}

.diagonal-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-green), var(--neon-cyan), transparent);
    transform: translateY(-50%) skewY(-2deg);
}

/* Icon Glow */
.icon-glow {
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.5));
    transition: filter 0.3s;
}

.icon-glow:hover {
    filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.8));
}

/* Brutal Shadow */
.shadow-brutal {
    box-shadow: 8px 8px 0 rgba(0, 255, 136, 0.3);
    transition: all 0.3s;
}

.shadow-brutal:hover {
    transform: translate(4px, 4px);
    box-shadow: 4px 4px 0 rgba(0, 255, 136, 0.3);
}

/* Neon Underline */
.neon-underline {
    position: relative;
    display: inline-block;
}

.neon-underline::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-cyan));
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}
