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

/* Custom Font Import */
@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 {
    /* Cyberpunk Color Palette */
    --surface-950: #0a0f1f;
    --surface-900: #111a2e;
    --text-high: #e6f1ff;
    --text-dim: #a7b3c9;
    --primary: #25f2ff;
    --primary-700: #11b9c6;
    --secondary: #ff2fd0;
    --secondary-700: #c0199d;
    --accent: #7a2bff;
    --signal: #ffb114;
    --glow: rgba(37, 242, 255, .75);
    --glow2: rgba(255, 47, 208, .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(-50%);
    }
}

@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;
}

/* Futuristic Glitch Button Styles */
.futuristic-btn,
.futuristic-btn::after {
    padding: 16px 20px;
    font-size: 18px;
    font-family: 'SAIBA', 'Arial', sans-serif;
    background: linear-gradient(45deg, transparent 5%, var(--secondary) 5%);
    border: 0;
    color: #fff;
    letter-spacing: 3px;
    line-height: 1;
    box-shadow: 6px 0px 0px var(--primary);
    outline: transparent;
    position: relative;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    border-radius: 0;
    transition: all 0.3s ease;
}

.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 different colors */
.futuristic-btn-orange {
    background: linear-gradient(45deg, transparent 5%, #ff6b35 5%);
    box-shadow: 6px 0px 0px #f7931e;
}

.futuristic-btn-orange::after {
    background: linear-gradient(45deg, transparent 3%, #f7931e 3%, #f7931e 5%, #ff6b35 5%);
    text-shadow: -3px -3px 0px #ffd700, 3px 3px 0px #f7931e;
}

.futuristic-btn-teal {
    background: linear-gradient(45deg, transparent 5%, #00d4aa 5%);
    box-shadow: 6px 0px 0px #00a8cc;
}

.futuristic-btn-teal::after {
    background: linear-gradient(45deg, transparent 3%, #00a8cc 3%, #00a8cc 5%, #00d4aa 5%);
    text-shadow: -3px -3px 0px #00ffff, 3px 3px 0px #00a8cc;
}

.futuristic-btn-purple {
    background: linear-gradient(45deg, transparent 5%, #8b5cf6 5%);
    box-shadow: 6px 0px 0px #a855f7;
}

.futuristic-btn-purple::after {
    background: linear-gradient(45deg, transparent 3%, #a855f7 3%, #a855f7 5%, #8b5cf6 5%);
    text-shadow: -3px -3px 0px #e879f9, 3px 3px 0px #a855f7;
}

@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 */
.ca-address-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

.ca-address-box {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid var(--primary);
    padding: 1.5rem 2rem;
    position: relative;
    max-width: 500px;
    width: 100%;
    transition: all 0.3s ease;

    /* Cyberpunk clip path - same as video with slight modification */
    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%);

    /* Alternative clip path options - uncomment to use:
    
    /* Option 1: Video Style (Currently Active) */
    /* 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%); */

    /* Option 2: Hexagonal */
    /* clip-path: polygon(20% 0%, 80% 0%, 100% 50%, 80% 100%, 20% 100%, 0% 50%); */

    /* Option 3: Octagon */
    /* clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%); */

    /* Option 4: Star */
    /* clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); */

    /* Option 5: Tech Panel */
    /* clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 95% 100%, 5% 100%, 0% 85%); */

    /* Option 6: Fractured Rectangle */
    /* clip-path: polygon(0% 0%, 100% 0%, 100% 20%, 95% 25%, 95% 75%, 100% 80%, 100% 100%, 0% 100%, 0% 80%, 5% 75%, 5% 25%, 0% 20%); */

    /* Option 7: Arrow Shape */
    /* clip-path: polygon(0% 20%, 60% 20%, 60% 0%, 100% 50%, 60% 100%, 60% 80%, 0% 80%); */
    */
}

.ca-address-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary);
    opacity: 0.1;
    clip-path: inherit;
    z-index: -1;
}

.ca-address-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(37, 242, 255, 0.3);
}

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

.ca-label-text {
    color: var(--primary);
    font-size: 0.875rem;
    font-family: 'SAIBA', 'Arial', sans-serif;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-right: 1rem;
    text-shadow: 0 0 10px var(--primary);
}

.ca-label-line {
    flex: 1;
    height: 1px;
    background: var(--primary);
    position: relative;
}

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

.ca-address-text {
    color: #ffffff;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    font-weight: 500;
    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(37, 242, 255, 0.1);
    text-shadow: 0 0 5px var(--primary);
}

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

/* 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 var(--primary);
    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 var(--secondary);
}

.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 var(--primary));
}

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

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

.social-icon-telegram {
    border-color: #0088cc;
    box-shadow: 4px 0px 0px #8b5cf6;
}

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

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

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .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;
}

/* Custom Font for Tagline */
.tagline-font {
    font-family: 'SDGlitch', 'Arial', sans-serif !important;
    font-weight: normal !important;
    letter-spacing: 0.05em !important;
    text-transform: none !important;
}

/* Custom Font for Neon Realm Text */
.neon-realm-font {
    font-family: 'SDGlitch', 'Arial', sans-serif !important;
    font-weight: normal !important;
    letter-spacing: 0.05em !important;
    text-transform: none !important;
    color: #ffffff !important;
}

/* Small Text with White Color and Monospace Font */
.small-text-white {
    color: #ffffff !important;
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace !important;
    font-weight: normal !important;
    letter-spacing: 0.05em !important;
}

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

/* Marquee horizontal with SAIBA font */
.marquee-horizontal span {
    font-family: 'SAIBA', 'Arial', sans-serif !important;
    font-weight: bold !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !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 20s linear infinite;
    display: flex;
    flex-direction: column;
    will-change: transform;
    transform: translateZ(0);
}

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

/* Specific styles for main website marquee */
.h-full.overflow-hidden .marquee-vertical {
    animation: marquee-vertical 20s linear infinite;
    display: flex;
    flex-direction: column;
    will-change: transform;
    transform: translateZ(0);
}

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

/* 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 20s linear infinite !important;
}

/* Ensure marquee animation is not affected by reduced motion */
@media (prefers-reduced-motion: reduce) {
    .h-full.overflow-hidden .marquee-vertical {
        animation: marquee-vertical 20s linear infinite !important;
    }
}

/* 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 */
.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;

    /* 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%);
}

.cyberpunk-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;
}

/* 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);
    }
}

/* Preloader Video 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;
}

/* 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);
    }
}

/* Cyberpunk Image Card - Based on Uiverse.io design */
.marquee-image-card-outer {
    width: 100%;
    height: auto;
    border-radius: 10px;
    padding: 1px;
    background: radial-gradient(circle 230px at 0% 0%, var(--primary), 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 var(--primary);
    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, var(--primary) 4%, var(--text-high), var(--primary));
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 5px var(--primary);
    z-index: 3;
}

.marquee-image-card-line {
    position: absolute;
    background-color: var(--primary);
    opacity: 0.3;
}

.marquee-image-card-line.marquee-topl {
    top: 10%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--primary) 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, var(--primary) 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;
    }
}

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

    .preloader-container {
        gap: 1rem;
    }
}