/* Carbon Fiber Texture & Futuristic Effects */

/* Carbon Fiber Background Pattern */
.carbon-bg {
    background-color: #0a0a0a;
    background-image:
        repeating-linear-gradient(45deg,
            transparent,
            transparent 2px,
            rgba(255, 107, 0, 0.03) 2px,
            rgba(255, 107, 0, 0.03) 4px),
        repeating-linear-gradient(-45deg,
            transparent,
            transparent 2px,
            rgba(255, 107, 0, 0.03) 2px,
            rgba(255, 107, 0, 0.03) 4px),
        linear-gradient(to bottom,
            #0a0a0a 0%,
            #121212 50%,
            #0a0a0a 100%);
}

/* Hexagonal Grid Overlay */
.hex-pattern {
    position: relative;
}

.hex-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(30deg, rgba(255, 107, 0, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(255, 107, 0, 0.05) 87.5%, rgba(255, 107, 0, 0.05)),
        linear-gradient(150deg, rgba(255, 107, 0, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(255, 107, 0, 0.05) 87.5%, rgba(255, 107, 0, 0.05)),
        linear-gradient(30deg, rgba(255, 107, 0, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(255, 107, 0, 0.05) 87.5%, rgba(255, 107, 0, 0.05)),
        linear-gradient(150deg, rgba(255, 107, 0, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(255, 107, 0, 0.05) 87.5%, rgba(255, 107, 0, 0.05)),
        linear-gradient(60deg, rgba(255, 107, 0, 0.03) 25%, transparent 25.5%, transparent 75%, rgba(255, 107, 0, 0.03) 75%, rgba(255, 107, 0, 0.03)),
        linear-gradient(60deg, rgba(255, 107, 0, 0.03) 25%, transparent 25.5%, transparent 75%, rgba(255, 107, 0, 0.03) 75%, rgba(255, 107, 0, 0.03));
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
    pointer-events: none;
    opacity: 0.3;
}

/* Glassmorphism Card */
.glass-card {
    background: rgba(18, 18, 22, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 0, 0.2);
    box-shadow:
        0 8px 32px 0 rgba(0, 0, 0, 0.37),
        inset 0 0 20px rgba(255, 107, 0, 0.05);
}

/* Neon Glow Effect */
.neon-glow {
    box-shadow:
        0 0 5px rgba(255, 107, 0, 0.5),
        0 0 10px rgba(255, 107, 0, 0.3),
        0 0 20px rgba(255, 107, 0, 0.2);
}

.neon-glow-hover {
    transition: all 0.3s ease;
}

.neon-glow-hover:hover {
    box-shadow:
        0 0 10px rgba(255, 107, 0, 0.8),
        0 0 20px rgba(255, 107, 0, 0.6),
        0 0 30px rgba(255, 107, 0, 0.4),
        0 0 40px rgba(255, 107, 0, 0.2);
    transform: translateY(-2px);
}

/* Neon Text Glow */
.neon-text {
    color: #ff6b00;
    text-shadow:
        0 0 5px rgba(255, 107, 0, 0.5),
        0 0 10px rgba(255, 107, 0, 0.3),
        0 0 20px rgba(255, 107, 0, 0.2);
}

/* Animated Gradient Border */
.gradient-border {
    position: relative;
    background: linear-gradient(45deg, #0a0a0a, #121212);
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
            #ff6b00,
            #ff8533,
            #ff6b00,
            #ff8533);
    background-size: 400% 400%;
    border-radius: inherit;
    z-index: -1;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Pulse Animation */
.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow:
            0 0 5px rgba(255, 107, 0, 0.3),
            0 0 10px rgba(255, 107, 0, 0.2);
    }

    50% {
        box-shadow:
            0 0 10px rgba(255, 107, 0, 0.6),
            0 0 20px rgba(255, 107, 0, 0.4),
            0 0 30px rgba(255, 107, 0, 0.2);
    }
}

/* Scan Line Effect */
.scan-lines {
    position: relative;
    overflow: hidden;
}

.scan-lines::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right,
            transparent,
            rgba(255, 107, 0, 0.5),
            transparent);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% {
        top: 0;
    }

    100% {
        top: 100%;
    }
}

/* Holographic Effect */
.holographic {
    background: linear-gradient(135deg,
            rgba(255, 107, 0, 0.1) 0%,
            rgba(0, 128, 255, 0.1) 25%,
            rgba(255, 107, 0, 0.1) 50%,
            rgba(0, 128, 255, 0.1) 75%,
            rgba(255, 107, 0, 0.1) 100%);
    background-size: 200% 200%;
    animation: holographicShift 4s ease infinite;
}

@keyframes holographicShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Cyber Grid Lines */
.cyber-grid {
    background-image:
        linear-gradient(rgba(255, 107, 0, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 0, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Neon Border Utilities */
.border-neon-cyan {
    border-color: rgba(255, 107, 0, 0.5);
}

.border-neon-blue {
    border-color: rgba(0, 128, 255, 0.5);
}

/* Frosted Glass Panel */
.frosted-panel {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 255, 255, 0.15);
}