/* LINX - Cyberpunk Cat Website */
/* Custom CSS Variables & Keyframes */

/* Gaming Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;500;600;700&family=Share+Tech+Mono&display=swap');

/* Custom Font Import - Keep existing for compatibility */
@font-face {
    font-family: 'Sefa';
    src: url('../font/Sefa (TTF).ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SAIBA';
    src: url('../font/SAIBA-45.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SDGlitch';
    src: url('../font/SDGlitch_Demo.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    /* ZORB Color Palette - Battle Ready Theme */
    --surface-950: #0a0a0a;
    --surface-900: #1a1a1a;
    --text-high: #ffffff;
    --text-dim: #cccccc;

    /* ZORB Primary Colors */
    --zorb-primary: #ff6b35;
    /* Orange - Battle Energy */
    --zorb-primary-700: #e55a2b;
    --zorb-secondary: #ffd700;
    /* Gold - Victory */
    --zorb-secondary-700: #ccaa00;
    --zorb-accent: #ff1744;
    /* Red - Power */
    --zorb-accent-700: #d50000;
    --zorb-signal: #00e676;
    /* Green - Success */
    --zorb-signal-700: #00c853;

    /* Legacy Support */
    --primary: var(--zorb-primary);
    --primary-700: var(--zorb-primary-700);
    --secondary: var(--zorb-secondary);
    --secondary-700: var(--zorb-secondary-700);
    --accent: var(--zorb-accent);
    --signal: var(--zorb-signal);

    /* Glow Effects */
    --glow: rgba(255, 107, 53, .75);
    --glow2: rgba(255, 215, 0, .55);
    --glow3: rgba(255, 23, 68, .65);
    --glow4: rgba(0, 230, 118, .55);
}

/* Keyframes Animations */
@keyframes scanline {
    0% {
        transform: translateY(-100vh);
    }

    100% {
        transform: translateY(100vh);
    }
}

@keyframes glitch {

    0%,
    100% {
        clip-path: inset(40% 0 61% 0);
        transform: skew(0.15deg);
    }

    20% {
        clip-path: inset(92% 0 1% 0);
        transform: skew(0.25deg);
    }

    40% {
        clip-path: inset(43% 0 1% 0);
        transform: skew(0.1deg);
    }

    60% {
        clip-path: inset(25% 0 58% 0);
        transform: skew(0.4deg);
    }

    80% {
        clip-path: inset(54% 0 7% 0);
        transform: skew(0.2deg);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px var(--glow), 0 0 40px var(--glow);
    }

    50% {
        box-shadow: 0 0 30px var(--glow), 0 0 60px var(--glow);
    }
}

@keyframes pulse-glow2 {

    0%,
    100% {
        box-shadow: 0 0 20px var(--glow2), 0 0 40px var(--glow2);
    }

    50% {
        box-shadow: 0 0 30px var(--glow2), 0 0 60px var(--glow2);
    }
}

@keyframes pulse-orange {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 107, 53, 0.6), 0 0 40px rgba(255, 107, 53, 0.6);
    }

    50% {
        box-shadow: 0 0 30px rgba(255, 107, 53, 0.8), 0 0 60px rgba(255, 107, 53, 0.8);
    }
}

@keyframes pulse-teal {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 212, 170, 0.6), 0 0 40px rgba(0, 212, 170, 0.6);
    }

    50% {
        box-shadow: 0 0 30px rgba(0, 212, 170, 0.8), 0 0 60px rgba(0, 212, 170, 0.8);
    }
}

@keyframes pulse-purple {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.6), 0 0 40px rgba(139, 92, 246, 0.6);
    }

    50% {
        box-shadow: 0 0 30px rgba(139, 92, 246, 0.8), 0 0 60px rgba(139, 92, 246, 0.8);
    }
}

@keyframes marquee-vertical {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-100%);
    }
}

/* Ensure seamless infinite marquee animation */
.cyberpunk-marquee-container {
    overflow: hidden;
    position: relative;
    height: 100%;
}

.cyberpunk-marquee-container .marquee-vertical {
    animation: marquee-vertical 40s linear infinite;
    animation-fill-mode: both;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    will-change: transform;
    transform: translateZ(0);
    display: flex;
    flex-direction: column;
    height: auto;
}

@keyframes marquee-horizontal {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Alternative marquee animation for better compatibility */
@keyframes marquee-horizontal-alt {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fade-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes neon-pulse {

    0%,
    100% {
        text-shadow:
            0 0 5px var(--primary),
            0 0 10px var(--primary),
            0 0 15px var(--primary),
            0 0 20px var(--primary),
            0 0 35px var(--primary),
            0 0 40px var(--primary),
            0 0 50px var(--primary),
            0 0 60px var(--primary),
            0 0 80px var(--primary),
            0 0 100px var(--primary);
        filter:
            drop-shadow(0 0 5px var(--primary)) drop-shadow(0 0 10px var(--primary)) drop-shadow(0 0 15px var(--primary)) drop-shadow(0 0 20px var(--primary)) drop-shadow(0 0 35px var(--primary)) drop-shadow(0 0 40px var(--primary)) drop-shadow(0 0 50px var(--primary)) drop-shadow(0 0 60px var(--primary)) drop-shadow(0 0 80px var(--primary)) drop-shadow(0 0 100px var(--primary)) brightness(1.2) contrast(1.1);
    }

    50% {
        text-shadow:
            0 0 2px var(--primary),
            0 0 5px var(--primary),
            0 0 8px var(--primary),
            0 0 12px var(--primary),
            0 0 18px var(--primary),
            0 0 22px var(--primary),
            0 0 30px var(--primary),
            0 0 40px var(--primary),
            0 0 50px var(--primary),
            0 0 60px var(--primary);
        filter:
            drop-shadow(0 0 2px var(--primary)) drop-shadow(0 0 5px var(--primary)) drop-shadow(0 0 8px var(--primary)) drop-shadow(0 0 12px var(--primary)) drop-shadow(0 0 18px var(--primary)) drop-shadow(0 0 22px var(--primary)) drop-shadow(0 0 30px var(--primary)) drop-shadow(0 0 40px var(--primary)) drop-shadow(0 0 50px var(--primary)) drop-shadow(0 0 60px var(--primary)) brightness(1.1) contrast(1.05);
    }
}

@keyframes neon-flicker {

    0%,
    18%,
    22%,
    25%,
    53%,
    57%,
    100% {
        text-shadow:
            0 0 5px var(--primary),
            0 0 10px var(--primary),
            0 0 15px var(--primary),
            0 0 20px var(--primary),
            0 0 35px var(--primary),
            0 0 40px var(--primary),
            0 0 50px var(--primary),
            0 0 60px var(--primary),
            0 0 80px var(--primary),
            0 0 100px var(--primary);
        filter: brightness(1.3) contrast(1.2);
    }

    20%,
    24%,
    55% {
        text-shadow:
            0 0 1px var(--primary),
            0 0 2px var(--primary),
            0 0 3px var(--primary);
        filter: brightness(0.8) contrast(0.9);
    }
}

/* Animation Classes */
.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: scanline 8s linear infinite;
    pointer-events: none;
    z-index: 10;
}

.glitch-text {
    position: relative;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: glitch 3s infinite;
}

.glitch-text::before {
    color: var(--primary);
    z-index: -1;
    animation-delay: 0.1s;
}

.glitch-text::after {
    color: var(--secondary);
    z-index: -2;
    animation-delay: 0.2s;
}

.pulse-cyan {
    animation: pulse-glow 2s ease-in-out infinite;
}

.pulse-magenta {
    animation: pulse-glow2 2s ease-in-out infinite;
}

.pulse-orange {
    animation: pulse-orange 2s ease-in-out infinite;
}

.pulse-teal {
    animation: pulse-teal 2s ease-in-out infinite;
}

.pulse-purple {
    animation: pulse-purple 2s ease-in-out infinite;
}

/* Gaming Button Styles - Consistent with Cards */
.futuristic-btn,
.futuristic-btn::after {
    padding: 16px 20px;
    font-size: 18px;
    font-family: 'Rajdhani', 'Arial', sans-serif;
    font-weight: 600;
    background: linear-gradient(135deg,
            rgba(10, 15, 31, 0.9) 0%,
            rgba(17, 26, 46, 0.95) 50%,
            rgba(10, 15, 31, 0.9) 100%);
    border: 2px solid #ffd700;
    color: #fff;
    letter-spacing: 2px;
    line-height: 1;
    box-shadow:
        0 0 20px rgba(255, 215, 0, 0.3),
        inset 0 0 20px rgba(255, 215, 0, 0.1);
    outline: transparent;
    position: relative;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    border-radius: 0;
    transition: all 0.3s ease;

    /* Same square shape with cyberpunk corners as cards */
    clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 95% 100%, 5% 100%, 0% 85%);
}

.futuristic-btn::after {
    --slice-0: inset(50% 50% 50% 50%);
    --slice-1: inset(80% -6px 0 0);
    --slice-2: inset(50% -6px 30% 0);
    --slice-3: inset(10% -6px 85% 0);
    --slice-4: inset(40% -6px 43% 0);
    --slice-5: inset(80% -6px 5% 0);
    content: attr(data-hover);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 3%, var(--primary) 3%, var(--primary) 5%, var(--secondary) 5%);
    text-shadow: -3px -3px 0px var(--signal), 3px 3px 0px var(--primary);
    clip-path: var(--slice-0);
    padding: 16px 20px;
    font-size: 18px;
    font-family: 'SAIBA', 'Arial', sans-serif;
    letter-spacing: 3px;
    line-height: 1;
}

.futuristic-btn:hover::after {
    animation: 1s glitch;
    animation-timing-function: steps(2, end);
}

/* Button variants with consistent styling */
.futuristic-btn-orange {
    border-color: #ffd700;
    box-shadow:
        0 0 20px rgba(255, 215, 0, 0.4),
        inset 0 0 20px rgba(255, 215, 0, 0.15);
}

.futuristic-btn-orange::after {
    background: #ffd700;
    text-shadow: -3px -3px 0px #ffd700, 3px 3px 0px #ffd700;
}

.futuristic-btn-teal {
    border-color: #ffd700;
    box-shadow:
        0 0 20px rgba(255, 215, 0, 0.4),
        inset 0 0 20px rgba(255, 215, 0, 0.15);
}

.futuristic-btn-teal::after {
    background: #ffd700;
    text-shadow: -3px -3px 0px #ffd700, 3px 3px 0px #ffd700;
}

.futuristic-btn-purple {
    border-color: #ffd700;
    box-shadow:
        0 0 20px rgba(255, 215, 0, 0.4),
        inset 0 0 20px rgba(255, 215, 0, 0.15);
}

.futuristic-btn-purple::after {
    background: #ffd700;
    text-shadow: -3px -3px 0px #ffd700, 3px 3px 0px #ffd700;
}

@keyframes glitch {
    0% {
        clip-path: var(--slice-1);
        transform: translate(-20px, -10px);
    }

    10% {
        clip-path: var(--slice-3);
        transform: translate(10px, 10px);
    }

    20% {
        clip-path: var(--slice-1);
        transform: translate(-10px, 10px);
    }

    30% {
        clip-path: var(--slice-3);
        transform: translate(0px, 5px);
    }

    40% {
        clip-path: var(--slice-2);
        transform: translate(-5px, 0px);
    }

    50% {
        clip-path: var(--slice-3);
        transform: translate(5px, 0px);
    }

    60% {
        clip-path: var(--slice-4);
        transform: translate(5px, 10px);
    }

    70% {
        clip-path: var(--slice-2);
        transform: translate(-10px, 10px);
    }

    80% {
        clip-path: var(--slice-5);
        transform: translate(20px, -10px);
    }

    90% {
        clip-path: var(--slice-1);
        transform: translate(-10px, 0px);
    }

    100% {
        clip-path: var(--slice-1);
        transform: translate(0);
    }
}

/* CA Address Container Styles - New Hexagonal Design */
.ca-address-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

.ca-address-box {
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(20, 20, 20, 0.95) 50%,
            rgba(0, 0, 0, 0.9) 100%);
    border: 2px solid #ffd700;
    padding: 1.5rem 2rem;
    position: relative;
    max-width: 500px;
    width: 100%;
    transition: all 0.3s ease;
    border-radius: 0;

    /* Same square shape with cyberpunk corners as video frame */
    clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 95% 100%, 5% 100%, 0% 85%);

    /* Simple yellow glow like logotext */
    box-shadow:
        0 0 15px rgba(255, 215, 0, 0.4),
        inset 0 0 15px rgba(255, 215, 0, 0.1);
}

.ca-address-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffd700;
    clip-path: inherit;
    z-index: -1;
    opacity: 0.1;
}



.ca-address-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
}

.ca-address-label {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    position: relative;
}

.ca-label-text {
    color: #ffd700;
    font-size: 0.875rem;
    font-family: 'Orbitron', 'Arial', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-right: 1rem;
    text-shadow: 0 0 10px #ffd700, 0 0 20px #ffd700;
}

.ca-label-line {
    flex: 1;
    height: 1px;
    background: #ffd700;
    position: relative;
}

.ca-label-line::after {
    content: '';
    position: absolute;
    right: 0;
    top: -2px;
    width: 4px;
    height: 4px;
    background: #ffd700;
    border-radius: 50%;
    box-shadow: 0 0 8px #ffd700;
}

.ca-address-text {
    color: #ffffff;
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 1px;
    word-break: break-all;
    line-height: 1.4;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
}

.ca-address-text:hover {
    background: rgba(255, 215, 0, 0.1);
    text-shadow: 0 0 5px #ffd700;
}

/* ======================================== */
/* ZORB STICKY FOOTER - CARD DESIGN */
/* ======================================== */

/* Sticky Footer Container */
footer {
    position: sticky !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 100 !important;
    margin-top: auto !important;
}

/* Footer Card Container */
.footer-card-container {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px 20px 0 0;
    padding: 2rem;
    margin: 0 1rem 0 1rem;
    box-shadow:
        0 -8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.footer-card-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            var(--zorb-primary) 0%,
            var(--zorb-secondary) 25%,
            var(--zorb-accent) 50%,
            var(--zorb-signal) 75%,
            var(--zorb-primary) 100%);
    background-size: 300% 100%;
    animation: footer-glow-flow 3s ease infinite;
}

@keyframes footer-glow-flow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Footer CTA Section */
.footer-cta-section {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.footer-cta-section .futuristic-btn {
    margin: 0.25rem;
    position: relative;
    z-index: 11;
}

/* Footer Bottom Row Layout */
.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

/* Social Media Icons Styles - Footer */
.social-icons-container-footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

/* Footer Copyright */
.footer-copyright {
    flex: 1;
    /* text-align: l; */
}

.social-icon,
.social-icon::after {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, transparent 5%, rgba(0, 0, 0, 0.8) 5%);
    border: 2px solid #ffd700;
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 4px 0px 0px #ffd700;
}

.social-icon::after {
    --slice-0: inset(50% 50% 50% 50%);
    --slice-1: inset(80% -6px 0 0);
    --slice-2: inset(50% -6px 30% 0);
    --slice-3: inset(10% -6px 85% 0);
    --slice-4: inset(40% -6px 43% 0);
    --slice-5: inset(80% -6px 5% 0);
    content: attr(data-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 3%, var(--secondary) 3%, var(--secondary) 5%, rgba(0, 0, 0, 0.8) 5%);
    text-shadow: -2px -2px 0px var(--accent), 2px 2px 0px var(--secondary);
    clip-path: var(--slice-0);
    font-size: 8px;
    font-weight: bold;
    letter-spacing: 1px;
    color: white;
    border-radius: 8px;
}

.social-icon:hover::after {
    animation: 1s glitch;
    animation-timing-function: steps(2, end);
}

.social-icon-img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    /* Make icons white */
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.social-icon:hover .social-icon-img {
    filter: brightness(0) invert(1) drop-shadow(0 0 8px #ffd700);
}

/* Individual icon color variants */
.social-icon-x {
    border-color: #ffd700;
    box-shadow: 4px 0px 0px #ffd700;
}

.social-icon-x::after {
    background: linear-gradient(45deg, transparent 3%, #ffd700 3%, #ffd700 5%, rgba(0, 0, 0, 0.8) 5%);
    text-shadow: -2px -2px 0px #ffd700, 2px 2px 0px #ffd700;
}

.social-icon-telegram {
    border-color: #ffd700;
    box-shadow: 4px 0px 0px #ffd700;
}

.social-icon-telegram::after {
    background: linear-gradient(45deg, transparent 3%, #ffd700 3%, #ffd700 5%, rgba(0, 0, 0, 0.8) 5%);
    text-shadow: -2px -2px 0px #ffd700, 2px 2px 0px #ffd700;
}

.social-icon-dex {
    border-color: #ffd700;
    box-shadow: 4px 0px 0px #ffd700;
}

.social-icon-dex::after {
    background: linear-gradient(45deg, transparent 3%, #ffd700 3%, #ffd700 5%, rgba(0, 0, 0, 0.8) 5%);
    text-shadow: -2px -2px 0px #ffd700, 2px 2px 0px #ffd700;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-cta-section {
        padding: 0.5rem 0;
        margin-bottom: 1.5rem;
    }

    .footer-cta-section .flex {
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer-cta-section .futuristic-btn {
        padding: 12px 16px;
        font-size: 16px;
    }

    .footer-bottom-row {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .social-icons-container-footer {
        gap: 0.75rem;
    }

    .footer-copyright {
        text-align: center;
    }

    .social-icon,
    .social-icon::after {
        width: 40px;
        height: 40px;
    }

    .social-icon-img {
        width: 20px;
        height: 20px;
    }

    .social-icon::after {
        font-size: 6px;
    }
}

/* Neon Glow Effect for Images */
.neon-glow {
    filter:
        drop-shadow(0 0 5px var(--primary)) drop-shadow(0 0 10px var(--primary)) drop-shadow(0 0 15px var(--primary)) drop-shadow(0 0 20px var(--primary)) drop-shadow(0 0 35px var(--primary)) drop-shadow(0 0 40px var(--primary)) drop-shadow(0 0 50px var(--primary)) drop-shadow(0 0 60px var(--primary)) drop-shadow(0 0 80px var(--primary)) drop-shadow(0 0 100px var(--primary)) brightness(1.2) contrast(1.1);
    animation: neon-pulse 2s ease-in-out infinite;
}

/* Gaming Font for Tagline */
.tagline-font {
    font-family: 'Orbitron', 'Arial', sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    text-shadow: 0 0 20px #ffd700, 0 0 40px #ffd700 !important;
}

/* Gaming Font for Neon Realm Text */
.neon-realm-font {
    font-family: 'Orbitron', 'Arial', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    text-shadow: 0 0 15px #ffd700, 0 0 30px #ffd700 !important;
}

/* Gaming Text with White Color and Tech Font */
.small-text-white {
    color: #ffffff !important;
    font-family: 'Rajdhani', 'Arial', sans-serif !important;
    font-weight: 400 !important;
    letter-spacing: 0.05em !important;
    font-size: 1.1rem !important;
}

/* Gaming Marquee text */
.marquee-card-text {
    font-family: 'Orbitron', 'Arial', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
}

/* Gaming Marquee horizontal */
.marquee-horizontal span {
    font-family: 'Orbitron', 'Arial', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: #ffd700 !important;
    text-shadow: 0 0 10px #ffd700, 0 0 20px #ffd700 !important;
}

/* Strong Neon Text Effects */
.text-neon-primary {
    color: var(--primary);
    text-shadow:
        0 0 5px var(--primary),
        0 0 10px var(--primary),
        0 0 15px var(--primary),
        0 0 20px var(--primary),
        0 0 35px var(--primary),
        0 0 40px var(--primary),
        0 0 50px var(--primary),
        0 0 60px var(--primary),
        0 0 80px var(--primary),
        0 0 100px var(--primary);
    animation: neon-pulse 2s ease-in-out infinite;
    filter: brightness(1.2) contrast(1.1);
}

.text-neon-secondary {
    color: var(--secondary);
    text-shadow:
        0 0 5px var(--secondary),
        0 0 10px var(--secondary),
        0 0 15px var(--secondary),
        0 0 20px var(--secondary),
        0 0 35px var(--secondary),
        0 0 40px var(--secondary),
        0 0 50px var(--secondary),
        0 0 60px var(--secondary),
        0 0 80px var(--secondary),
        0 0 100px var(--secondary);
    animation: neon-pulse 2s ease-in-out infinite;
    filter: brightness(1.2) contrast(1.1);
}

.text-neon-flicker {
    color: var(--primary);
    text-shadow:
        0 0 5px var(--primary),
        0 0 10px var(--primary),
        0 0 15px var(--primary),
        0 0 20px var(--primary),
        0 0 35px var(--primary),
        0 0 40px var(--primary),
        0 0 50px var(--primary),
        0 0 60px var(--primary),
        0 0 80px var(--primary),
        0 0 100px var(--primary);
    animation: neon-flicker 1.5s infinite;
    filter: brightness(1.3) contrast(1.2);
}

.marquee-vertical {
    animation: marquee-vertical 40s linear infinite;
    display: flex;
    flex-direction: column;
    will-change: transform;
    transform: translateZ(0);
    animation-fill-mode: both;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.marquee-content {
    display: flex;
    flex-direction: column;
}

/* Specific styles for main website marquee */
.h-full.overflow-hidden .marquee-vertical {
    animation: marquee-vertical 40s linear infinite;
    display: flex;
    flex-direction: column;
    will-change: transform;
    transform: translateZ(0);
    animation-fill-mode: both;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.h-full.overflow-hidden .marquee-vertical img {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
    display: block;
}

/* Ensure seamless marquee spacing */
.cyberpunk-marquee-container .marquee-vertical>div {
    margin-bottom: 1rem;
    flex-shrink: 0;
    position: relative;
}

.cyberpunk-marquee-container .marquee-vertical>div:last-child {
    margin-bottom: 0;
    /* No margin on last item for seamless loop */
}

/* Ensure smooth image display */
.cyberpunk-marquee-container .marquee-vertical img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: none;
    border-radius: inherit;
}

/* Ensure marquee container works properly */
.h-full.overflow-hidden {
    position: relative;
    overflow: hidden !important;
}

.marquee-horizontal {
    animation: marquee-horizontal 20s linear infinite;
    will-change: transform;
    transform: translateZ(0);
}

/* Force horizontal marquee animation */
.marquee-horizontal {
    animation: marquee-horizontal 20s linear infinite !important;
}

/* Ensure horizontal marquee container works properly */
.overflow-hidden .marquee-horizontal {
    animation: marquee-horizontal 20s linear infinite !important;
    will-change: transform;
    transform: translateZ(0);
}

/* Footer marquee specific styles */
footer .marquee-horizontal {
    animation: marquee-horizontal 20s linear infinite !important;
    will-change: transform;
    transform: translateZ(0);
    display: flex;
    gap: 2rem;
    white-space: nowrap;
}

footer .overflow-hidden {
    overflow: hidden !important;
}

/* Typing Effect - JavaScript Controlled */
.typing-text,
.typing-text-delayed {
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    /* Animation will be controlled by JavaScript */
}

/* Ensure typing effect works with Tailwind */
.typing-text,
.typing-text-delayed {
    overflow: hidden !important;
    white-space: nowrap !important;
    display: block !important;
    max-width: 100% !important;
    width: 100% !important;
    text-overflow: ellipsis !important;
}

/* Prevent layout shift for hero section */
.text-lg.md\:text-xl.typing-text {
    max-width: 100% !important;
    width: 100% !important;
    display: block !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
}

/* Typing text container with fixed dimensions */
.max-w-2xl {
    width: 100% !important;
    max-width: 42rem !important;
    /* 672px - equivalent to max-w-2xl */
    margin: 0 auto !important;
    overflow: hidden !important;
}

/* Typing text with fixed width to prevent layout shift */
.typing-text {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    white-space: normal !important;
    /* Allow text wrapping */
    text-overflow: clip !important;
    /* Remove ellipsis for wrapped text */
    box-sizing: border-box !important;
    display: block !important;
    word-wrap: break-word !important;
    /* Break long words if needed */
    line-height: 1.6 !important;
    /* Better line spacing */
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {

    .scanline,
    .glitch-text::before,
    .glitch-text::after,
    .pulse-cyan,
    .pulse-magenta,
    .pulse-orange,
    .pulse-teal,
    .pulse-purple,
    .marquee-vertical,
    .marquee-horizontal,
    .text-neon-primary,
    .text-neon-secondary,
    .text-neon-flicker,
    .neon-glow,
    .typing-text,
    .typing-text-delayed {
        animation: none;
        border-right: none;
        width: 100%;
    }
}

/* Force marquee animation to work */
.h-full.overflow-hidden .marquee-vertical {
    animation: marquee-vertical 40s linear infinite !important;
    animation-fill-mode: both !important;
    animation-iteration-count: infinite !important;
    animation-timing-function: linear !important;
    animation-delay: 0s !important;
    animation-play-state: running !important;
}

/* Ensure marquee animation is not affected by reduced motion */
@media (prefers-reduced-motion: reduce) {
    .h-full.overflow-hidden .marquee-vertical {
        animation: marquee-vertical 40s linear infinite !important;
        animation-fill-mode: both !important;
        animation-iteration-count: infinite !important;
        animation-timing-function: linear !important;
        animation-delay: 0s !important;
        animation-play-state: running !important;
    }
}

/* Additional seamless marquee optimization */
.cyberpunk-marquee-container {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.cyberpunk-marquee-container .marquee-vertical {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    animation-play-state: running;
    animation-delay: 0s;
}

/* Ensure perfect seamless loop */
.cyberpunk-marquee-container .marquee-vertical::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: transparent;
}

/* Smooth transition for seamless loop */
.cyberpunk-marquee-container .marquee-vertical {
    transition: none;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}

/* Z-index management */
.z-5 {
    z-index: 5;
}

.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

.z-50 {
    z-index: 50;
}

/* Utility Classes */
.fade-in {
    animation: fade-in 0.5s ease-in-out;
}

.fade-out {
    animation: fade-out 0.5s ease-in-out;
}

/* Background Overlay */
.bg-overlay {
    background: linear-gradient(135deg,
            rgba(10, 15, 31, 0.3) 0%,
            rgba(17, 26, 46, 0.4) 50%,
            rgba(10, 15, 31, 0.3) 100%);
}

/* Glass Effect */
.glass {
    background: rgba(17, 26, 46, 0.3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 242, 255, 0.2);
}

/* Enhanced Glass Effect for Cards */
.glass.rounded-lg {
    background: rgba(17, 26, 46, 0.4);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(37, 242, 255, 0.3);
    box-shadow: 0 8px 32px rgba(37, 242, 255, 0.1);
}

/* Marquee Background Overlay */
.marquee-background {
    background: linear-gradient(135deg,
            rgba(17, 26, 46, 0.2) 0%,
            rgba(10, 15, 31, 0.3) 50%,
            rgba(17, 26, 46, 0.2) 100%);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    /* border-left: 1px solid rgba(37, 242, 255, 0.2); */
}

/* Clean Marquee Container */
.cyberpunk-marquee-container {
    position: relative;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    overflow: hidden;
}

/* Hide scrollbar but keep functionality */
.cyberpunk-marquee-container::-webkit-scrollbar {
    display: none;
}

.cyberpunk-marquee-container {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* Hide scrollbar globally but keep functionality */
body::-webkit-scrollbar {
    display: none;
}

body {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* Hide scrollbar for all elements */
*::-webkit-scrollbar {
    display: none;
}

* {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}



/* Cyberpunk Clip Path Borders */
.cyberpunk-clip-border {
    position: relative;
    background: linear-gradient(135deg,
            rgba(10, 15, 31, 0.9) 0%,
            rgba(17, 26, 46, 0.95) 50%,
            rgba(10, 15, 31, 0.9) 100%);
    border: 2px solid var(--primary);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

/* Advanced Cyberpunk Video Frame - New Square Design */
.cyberpunk-video-frame {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg,
            rgba(10, 15, 31, 0.9) 0%,
            rgba(17, 26, 46, 0.95) 50%,
            rgba(10, 15, 31, 0.9) 100%);
    padding: 1rem;
    animation: cyberpunk-video-glow 4s infinite ease-in-out;
    border: 2px solid #ffd700;
    border-radius: 0;

    /* Square shape with cyberpunk corners */
    clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 95% 100%, 5% 100%, 0% 85%);

    /* Consistent with website theme */
    box-shadow:
        0 0 20px rgba(255, 215, 0, 0.3),
        inset 0 0 20px rgba(255, 215, 0, 0.1);
}

.cyberpunk-video-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
            var(--zorb-primary) 0%,
            var(--zorb-secondary) 25%,
            var(--zorb-accent) 50%,
            var(--zorb-signal) 75%,
            var(--zorb-primary) 100%);
    background-size: 300% 300%;
    animation: video-border-flow 3s ease infinite;
    clip-path: inherit;
    z-index: -1;
    opacity: 0.7;
}

@keyframes video-border-flow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ======================================== */
/* CYBERPUNK GRID CARDS - VIDEO SECTION */
/* ======================================== */

.cyberpunk-card-grid {
    position: relative;
    width: 100%;
    height: auto;
    background: linear-gradient(135deg,
            rgba(10, 15, 31, 0.9) 0%,
            rgba(17, 26, 46, 0.95) 50%,
            rgba(10, 15, 31, 0.9) 100%);
    border: 2px solid #ffd700;
    border-radius: 0;
    transition: all 0.3s ease;
    overflow: hidden;

    /* Same square shape with cyberpunk corners as other cards */
    clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 95% 100%, 5% 100%, 0% 85%);

    /* Consistent with website theme */
    box-shadow:
        0 0 20px rgba(255, 215, 0, 0.3),
        inset 0 0 20px rgba(255, 215, 0, 0.1);
}

.cyberpunk-card-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
            var(--zorb-primary) 0%,
            var(--zorb-secondary) 25%,
            var(--zorb-accent) 50%,
            var(--zorb-signal) 75%,
            var(--zorb-primary) 100%);
    background-size: 300% 300%;
    animation: card-border-flow 3s ease infinite;
    clip-path: inherit;
    z-index: -1;
    opacity: 0.7;
}

.cyberpunk-card-grid:hover {
    transform: translateY(-5px);
    box-shadow:
        0 0 30px rgba(255, 215, 0, 0.5),
        inset 0 0 30px rgba(255, 215, 0, 0.2);
}

.cyberpunk-card-content {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    clip-path: inherit;
}

.cyberpunk-card-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.cyberpunk-card-grid:hover .cyberpunk-card-content img {
    transform: scale(1.05);
}

.cyberpunk-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 1.5rem;
    color: white;
    z-index: 2;
}

.cyberpunk-card-overlay h3 {
    font-family: 'Orbitron', 'Arial', sans-serif;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffd700;
    text-shadow: 0 0 10px #ffd700, 0 0 20px #ffd700;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.cyberpunk-card-overlay p {
    font-family: 'Rajdhani', 'Arial', sans-serif;
    font-size: 0.9rem;
    color: var(--text-dim);
    letter-spacing: 0.05em;
    font-weight: 400;
}

@keyframes card-border-flow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


/* Tech nodes for corners */
.cyberpunk-tech-node {
    position: absolute;
    background-color: var(--primary);
    box-shadow: 0 0 8px var(--primary), 0 0 16px var(--primary);
    z-index: 10;
    width: 12px;
    height: 12px;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
    animation: cyberpunk-node-blink 2s infinite;
}

.cyberpunk-tech-node-top-left {
    top: -1px;
    left: -1px;
    transform: rotate(0deg);
    animation-delay: 0.2s;
}

.cyberpunk-tech-node-top-right {
    top: -1px;
    right: -1px;
    transform: rotate(90deg);
    animation-delay: 0.5s;
}

.cyberpunk-tech-node-bottom-left {
    bottom: -1px;
    left: -1px;
    transform: rotate(270deg);
    animation-delay: 0.8s;
}

.cyberpunk-tech-node-bottom-right {
    bottom: -1px;
    right: -1px;
    transform: rotate(180deg);
    animation-delay: 1.1s;
}

/* Video content container */
.cyberpunk-video-content {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
    clip-path: inherit;
}

.cyberpunk-video-content video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    filter: hue-rotate(5deg) contrast(1.05) brightness(1.02);
    animation: cyberpunk-video-glitch 8s infinite;
}

/* Glitch effect for video */
.cyberpunk-video-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(37, 242, 255, 0.1) 25%,
            transparent 50%,
            rgba(255, 47, 208, 0.1) 75%,
            transparent 100%);
    z-index: 2;
    pointer-events: none;
    animation: cyberpunk-scanline-glitch 3s linear infinite;
}

.cyberpunk-video-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(0deg, transparent 0%, rgba(37, 242, 255, 0.05) 50%, transparent 100%),
        linear-gradient(90deg, transparent 0%, rgba(255, 47, 208, 0.03) 50%, transparent 100%);
    z-index: 3;
    pointer-events: none;
    animation: cyberpunk-grid-glitch 4s linear infinite;
}

/* Cyberpunk overlay for video */
.cyberpunk-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 1rem;
    text-shadow: 0 0 5px var(--primary);
    pointer-events: none;
    z-index: 5;
}

.cyberpunk-video-overlay h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.1rem;
    margin-bottom: 0.25rem;
}

.cyberpunk-video-overlay p {
    font-size: 0.7rem;
    color: var(--text-dim);
    font-family: 'Courier New', monospace;
}

/* Hexagonal Cyberpunk Border */
.cyberpunk-hex-border {
    clip-path: polygon(20% 0%, 80% 0%, 100% 50%, 80% 100%, 20% 100%, 0% 50%);
    position: relative;
    background: linear-gradient(135deg,
            rgba(10, 15, 31, 0.9) 0%,
            rgba(17, 26, 46, 0.95) 50%,
            rgba(10, 15, 31, 0.9) 100%);
    border: 3px solid var(--primary);
    box-shadow:
        0 0 30px rgba(37, 242, 255, 0.5),
        inset 0 0 30px rgba(37, 242, 255, 0.1);
    animation: cyberpunk-hex-pulse 2s ease-in-out infinite;
}

.cyberpunk-hex-border::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg,
            var(--primary),
            var(--secondary),
            var(--accent),
            var(--signal),
            var(--primary));
    clip-path: polygon(20% 0%, 80% 0%, 100% 50%, 80% 100%, 20% 100%, 0% 50%);
    z-index: -1;
    animation: cyberpunk-hex-rotate 3s linear infinite;
}

/* Diamond Cyberpunk Border */
.cyberpunk-diamond-border {
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    position: relative;
    background: linear-gradient(135deg,
            rgba(10, 15, 31, 0.9) 0%,
            rgba(17, 26, 46, 0.95) 50%,
            rgba(10, 15, 31, 0.9) 100%);
    border: 2px solid var(--secondary);
    box-shadow:
        0 0 25px rgba(255, 47, 208, 0.6),
        inset 0 0 25px rgba(255, 47, 208, 0.1);
    animation: cyberpunk-diamond-glow 2.5s ease-in-out infinite;
}

.cyberpunk-diamond-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
            var(--secondary),
            var(--primary),
            var(--accent),
            var(--secondary));
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    z-index: -1;
    animation: cyberpunk-diamond-rotate 4s linear infinite;
}

/* Octagon Cyberpunk Border */
.cyberpunk-octagon-border {
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    position: relative;
    background: linear-gradient(135deg,
            rgba(10, 15, 31, 0.9) 0%,
            rgba(17, 26, 46, 0.95) 50%,
            rgba(10, 15, 31, 0.9) 100%);
    border: 2px solid var(--accent);
    box-shadow:
        0 0 35px rgba(122, 43, 255, 0.5),
        inset 0 0 35px rgba(122, 43, 255, 0.1);
    animation: cyberpunk-octagon-pulse 3s ease-in-out infinite;
}

.cyberpunk-octagon-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
            var(--accent),
            var(--primary),
            var(--secondary),
            var(--signal),
            var(--accent));
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    z-index: -1;
    animation: cyberpunk-octagon-rotate 5s linear infinite;
}

/* Star Cyberpunk Border */
.cyberpunk-star-border {
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    position: relative;
    background: linear-gradient(135deg,
            rgba(10, 15, 31, 0.9) 0%,
            rgba(17, 26, 46, 0.95) 50%,
            rgba(10, 15, 31, 0.9) 100%);
    border: 2px solid var(--signal);
    box-shadow:
        0 0 40px rgba(255, 177, 20, 0.6),
        inset 0 0 40px rgba(255, 177, 20, 0.1);
    animation: cyberpunk-star-twinkle 2s ease-in-out infinite;
}

.cyberpunk-star-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
            var(--signal),
            var(--primary),
            var(--secondary),
            var(--accent),
            var(--signal));
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    z-index: -1;
    animation: cyberpunk-star-rotate 6s linear infinite;
}

/* Animated Keyframes for Cyberpunk Borders */
@keyframes cyberpunk-hex-pulse {

    0%,
    100% {
        box-shadow:
            0 0 30px rgba(37, 242, 255, 0.5),
            inset 0 0 30px rgba(37, 242, 255, 0.1);
    }

    50% {
        box-shadow:
            0 0 50px rgba(37, 242, 255, 0.8),
            inset 0 0 50px rgba(37, 242, 255, 0.2);
    }
}

@keyframes cyberpunk-hex-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes cyberpunk-diamond-glow {

    0%,
    100% {
        box-shadow:
            0 0 25px rgba(255, 47, 208, 0.6),
            inset 0 0 25px rgba(255, 47, 208, 0.1);
    }

    50% {
        box-shadow:
            0 0 45px rgba(255, 47, 208, 0.9),
            inset 0 0 45px rgba(255, 47, 208, 0.2);
    }
}

@keyframes cyberpunk-diamond-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes cyberpunk-octagon-pulse {

    0%,
    100% {
        box-shadow:
            0 0 35px rgba(122, 43, 255, 0.5),
            inset 0 0 35px rgba(122, 43, 255, 0.1);
    }

    50% {
        box-shadow:
            0 0 55px rgba(122, 43, 255, 0.8),
            inset 0 0 55px rgba(122, 43, 255, 0.2);
    }
}

@keyframes cyberpunk-octagon-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes cyberpunk-star-twinkle {

    0%,
    100% {
        box-shadow:
            0 0 40px rgba(255, 177, 20, 0.6),
            inset 0 0 40px rgba(255, 177, 20, 0.1);
    }

    50% {
        box-shadow:
            0 0 60px rgba(255, 177, 20, 0.9),
            inset 0 0 60px rgba(255, 177, 20, 0.2);
    }
}

@keyframes cyberpunk-star-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Advanced Cyberpunk Video Frame Animations */
@keyframes cyberpunk-video-glow {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(37, 242, 255, 0.4);
    }

    50% {
        box-shadow: 0 0 30px rgba(255, 47, 208, 0.8);
    }
}

@keyframes cyberpunk-node-blink {

    0%,
    40%,
    80%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50%,
    90% {
        opacity: 0.6;
        transform: scale(0.9);
    }
}

/* Universal Glitch Effect for All Elements - Same as Button */
.universal-glitch {
    position: relative;
    transition: all 0.3s ease;
}

.universal-glitch::before,
.universal-glitch::after {
    --slice-0: inset(50% 50% 50% 50%);
    --slice-1: inset(80% -6px 0 0);
    --slice-2: inset(50% -6px 30% 0);
    --slice-3: inset(10% -6px 85% 0);
    --slice-4: inset(40% -6px 43% 0);
    --slice-5: inset(80% -6px 5% 0);
    content: attr(data-hover);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 3%, var(--primary) 3%, var(--primary) 5%, var(--secondary) 5%);
    text-shadow: -3px -3px 0px var(--signal), 3px 3px 0px var(--primary);
    clip-path: var(--slice-0);
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.universal-glitch::before {
    color: var(--primary);
    animation-delay: 0.1s;
}

.universal-glitch::after {
    color: var(--secondary);
    animation-delay: 0.2s;
}

.universal-glitch:hover::before,
.universal-glitch:hover::after {
    opacity: 1;
    animation: 1s glitch;
    animation-timing-function: steps(2, end);
}



/* Cyberpunk Glitch Effects */
@keyframes cyberpunk-video-glitch {

    0%,
    90%,
    100% {
        transform: translateX(0);
        filter: hue-rotate(5deg) contrast(1.05) brightness(1.02);
    }

    10% {
        transform: translateX(-2px);
        filter: hue-rotate(10deg) contrast(1.1) brightness(1.05) saturate(1.2);
    }

    20% {
        transform: translateX(2px);
        filter: hue-rotate(-5deg) contrast(0.95) brightness(0.98) saturate(0.8);
    }

    30% {
        transform: translateX(-1px);
        filter: hue-rotate(15deg) contrast(1.15) brightness(1.08) saturate(1.3);
    }

    40% {
        transform: translateX(1px);
        filter: hue-rotate(-10deg) contrast(0.9) brightness(0.95) saturate(0.7);
    }

    50% {
        transform: translateX(0);
        filter: hue-rotate(5deg) contrast(1.05) brightness(1.02);
    }
}

@keyframes cyberpunk-scanline-glitch {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

@keyframes cyberpunk-grid-glitch {

    0%,
    100% {
        opacity: 0;
        transform: scale(1);
    }

    25% {
        opacity: 0.3;
        transform: scale(1.02);
    }

    50% {
        opacity: 0.1;
        transform: scale(0.98);
    }

    75% {
        opacity: 0.4;
        transform: scale(1.01);
    }
}

/* ======================================== */
/* ZORB PRELOADER - MARQUEE HORIZONTAL */
/* ======================================== */

/* Preloader Full Viewport */
#preloader {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    overflow: hidden !important;
    z-index: 9999 !important;
    background: linear-gradient(135deg,
            var(--surface-950) 0%,
            var(--surface-900) 50%,
            var(--surface-950) 100%);
}

/* Preloader Marquee Container */
.preloader-marquee-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Preloader Marquee Track */
.preloader-marquee-track {
    display: flex;
    animation: preloader-marquee-scroll 15s linear infinite;
    will-change: transform;
    gap: 2rem;
}

/* Preloader Card */
.preloader-card {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.preloader-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.preloader-card:hover img {
    opacity: 1;
}

/* Preloader Progress Overlay */
.preloader-progress-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 2rem;
    z-index: 10;
}

/* Preloader Logo */
.preloader-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    text-align: center;
}

.preloader-logo img {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 0 20px var(--zorb-primary));
}

/* Preloader Progress Bar */
.preloader-progress-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.preloader-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.preloader-progress-fill {
    height: 100%;
    background: linear-gradient(90deg,
            var(--zorb-primary) 0%,
            var(--zorb-secondary) 50%,
            var(--zorb-accent) 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--zorb-primary);
}

.preloader-progress-text {
    margin-top: 1rem;
    color: var(--text-high);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    text-align: center;
    text-shadow: 0 0 10px var(--zorb-primary);
}

/* Marquee Animation */
@keyframes preloader-marquee-scroll {
    0% {
        transform: translateX(100vw);
    }

    100% {
        transform: translateX(-100vw);
    }
}

/* Responsive Preloader */
@media (max-width: 768px) {
    .preloader-card {
        width: 150px;
        height: 150px;
    }

    .preloader-logo img {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .preloader-card {
        width: 120px;
        height: 120px;
    }

    .preloader-logo img {
        max-width: 200px;
    }
}

/* Preloader Container */
.preloader-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    width: 90%;
}

/* Preloader Video Container */
.preloader-video-container {
    position: relative;
    width: 300px;
    height: 300px;
    /* 1:1 aspect ratio (square) */
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(20, 20, 40, 0.95) 100%);
    border: 2px solid var(--primary);
    box-shadow:
        0 0 30px rgba(0, 255, 255, 0.4),
        inset 0 0 30px rgba(0, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: container-glow 2s ease-in-out infinite alternate;
}

/* Preloader Video Frame with Cyberpunk Clip Path */
.preloader-video-frame {
    position: relative;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg,
            rgba(10, 15, 31, 0.9) 0%,
            rgba(17, 26, 46, 0.95) 50%,
            rgba(10, 15, 31, 0.9) 100%);
    padding: 1rem;
    animation: cyberpunk-video-glow 4s infinite ease-in-out;

    /* Complex fractured tech-like clip path */
    clip-path: polygon(2% 0%, 98% 0%, 100% 2%, 100% 15%, 95% 20%, 95% 80%, 100% 85%, 100% 98%, 98% 100%, 2% 100%, 0% 98%, 0% 15%, 5% 10%, 5% 90%, 0% 85%);
}

.preloader-video-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    z-index: -1;
    animation: cyberpunk-video-glow 4s infinite ease-in-out;
    clip-path: inherit;
}

.preloader-video-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;

    border-radius: 12px;
    z-index: -1;
    opacity: 0.7;
    animation: border-pulse 3s ease-in-out infinite;
}

.preloader-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensures video is not cropped */
    opacity: 0.9;
    background: #000;
    /* Black background for letterboxing if needed */
    display: block;
    position: relative;
    z-index: 2;
    filter: hue-rotate(5deg) contrast(1.05) brightness(1.02);
    animation: cyberpunk-video-glitch 8s infinite;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(0, 255, 255, 0.1) 0%,
            rgba(139, 92, 246, 0.1) 50%,
            rgba(255, 107, 53, 0.1) 100%);
    pointer-events: none;
}

/* Preloader Content */
.preloader-content {
    text-align: center;
    z-index: 10;
}

/* Clean Cyberpunk Progress Bar */
.cyberpunk-progress-container {
    text-align: center;
    z-index: 10;
    margin-top: 2rem;
    width: 100%;
    max-width: 400px;
}

.cyberpunk-progress-bar {
    position: relative;
    width: 100%;
    height: 20px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--primary);
    border-radius: 0;
    display: flex;
    gap: 1px;
    padding: 1px;
    box-shadow: 0 0 10px rgba(37, 242, 255, 0.2);
}

/* Individual progress segments */
.cyberpunk-progress-segment {
    flex: 1;
    height: 100%;
    background: transparent;
    border: 1px solid rgba(37, 242, 255, 0.3);
    opacity: 0.3;
    transition: all 0.3s ease;
}

.cyberpunk-progress-segment.active {
    opacity: 1;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
    border-color: var(--primary);
    animation: segment-activate 0.3s ease-out;
}

.cyberpunk-progress-text {
    margin-top: 0.5rem;
    color: var(--primary);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    font-weight: bold;
    text-shadow: 0 0 5px var(--primary);
}

.cyberpunk-progress-label {
    margin-top: 0.5rem;
    color: var(--text-dim);
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}

/* Animations */
@keyframes container-glow {
    0% {
        box-shadow:
            0 0 30px rgba(0, 255, 255, 0.4),
            inset 0 0 30px rgba(0, 255, 255, 0.1);
    }

    100% {
        box-shadow:
            0 0 50px rgba(0, 255, 255, 0.6),
            inset 0 0 50px rgba(0, 255, 255, 0.2);
    }
}

@keyframes border-pulse {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        opacity: 0.5;
    }
}

/* Simple segment activation animation */
@keyframes segment-activate {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ======================================== */
/* FRESH CARD DESIGNS - ZORB THEME */
/* ======================================== */

/* Modern Glass Card - Primary Design */
.modern-glass-card {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.05) 50%,
            rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid #ffd700;
    position: relative;
    margin-bottom: 1.5rem;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.modern-glass-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Neon Border Card - Secondary Design */
.neon-border-card {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(45deg,
            #ffd700 0%,
            #ffd700 25%,
            #ffd700 50%,
            #ffd700 75%,
            #ffd700 100%);
    background-size: 300% 300%;
    animation: neon-border-flow 3s ease infinite;
    position: relative;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border: 2px solid #ffd700;
}

@keyframes neon-border-flow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Floating Card - Tertiary Design */
.floating-card {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(25px);
    border: 2px solid #ffd700;
    position: relative;
    margin-bottom: 1.5rem;
    overflow: hidden;
    box-shadow:
        0 20px 40px rgba(255, 215, 0, 0.1),
        0 1px 2px rgba(255, 215, 0, 0.05),
        inset 0 1px 0 rgba(255, 215, 0, 0.2);
    animation: floating-card-float 6s ease-in-out infinite;
}

@keyframes floating-card-float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Card Inner Content */
.card-inner {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.6) 100%);
    display: block;
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.card-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.card-inner:hover img {
    opacity: 1;
    transform: scale(1.05);
}

/* Card Glow Effect */
.card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: #ffd700;
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-glass-card:hover .card-glow,
.neon-border-card:hover .card-glow,
.floating-card:hover .card-glow {
    opacity: 0.7;
}

/* Card Content Overlay */
.card-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1rem;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    z-index: 2;
}

/* Legacy Card Support */
.marquee-image-card-outer {
    width: 100%;
    height: auto;
    border-radius: 10px;
    padding: 1px;
    background: radial-gradient(circle 230px at 0% 0%, #ffd700, var(--surface-950));
    position: relative;
    margin-bottom: 1rem;
    overflow: hidden;
}

.marquee-image-card-dot {
    width: 5px;
    aspect-ratio: 1;
    position: absolute;
    background-color: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    border-radius: 100px;
    z-index: 2;
    right: 10%;
    top: 10%;
    animation: marquee-dot-move 6s linear infinite;
}

@keyframes marquee-dot-move {

    0%,
    100% {
        top: 10%;
        right: 10%;
    }

    25% {
        top: 10%;
        right: calc(100% - 35px);
    }

    50% {
        top: calc(100% - 30px);
        right: calc(100% - 35px);
    }

    75% {
        top: calc(100% - 30px);
        right: 10%;
    }
}

.marquee-image-card {
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 9px;
    border: solid 1px #ffd700;
    background: radial-gradient(circle 280px at 0% 0%, var(--surface-900), var(--surface-950));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-direction: column;
    color: var(--text-high);
    overflow: hidden;
}

.marquee-image-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    opacity: 0.9;
    filter: hue-rotate(5deg) contrast(1.05) brightness(1.02);
}

.marquee-image-card-ray {
    width: 220px;
    height: 45px;
    border-radius: 100px;
    position: absolute;
    background-color: var(--primary);
    opacity: 0.3;
    box-shadow: 0 0 50px var(--primary);
    filter: blur(10px);
    transform-origin: 10%;
    top: 0%;
    left: 0;
    transform: rotate(40deg);
    z-index: 1;
}

.marquee-image-card .marquee-card-text {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-weight: bold;
    font-size: 0.8rem;
    background: linear-gradient(45deg, #ffd700 4%, var(--text-high), #ffd700);
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 5px #ffd700;
    z-index: 3;
}

.marquee-image-card-line {
    position: absolute;
    background-color: #ffd700;
    opacity: 0.3;
}

.marquee-image-card-line.marquee-topl {
    top: 10%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, #ffd700 30%, var(--surface-900) 70%);
}

.marquee-image-card-line.marquee-bottoml {
    bottom: 10%;
    left: 0;
    right: 0;
    height: 1px;
}

.marquee-image-card-line.marquee-leftl {
    left: 10%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, #ffd700 30%, var(--surface-900) 70%);
}

.marquee-image-card-line.marquee-rightl {
    right: 10%;
    top: 0;
    bottom: 0;
    width: 1px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .preloader-video-container {
        width: 250px;
        height: 250px;
        /* Maintain 1:1 aspect ratio */
    }

    .preloader-container {
        gap: 1.5rem;
    }

    /* Cards maintain 1:1 aspect ratio on all devices */
}

@media (max-width: 480px) {
    .preloader-video-container {
        width: 200px;
        height: 200px;
        /* Maintain 1:1 aspect ratio */
    }

    .preloader-container {
        gap: 1rem;
    }

    /* Cards maintain 1:1 aspect ratio on all devices */
}