/* Digital Salute - Cyberpunk Military Recruitment Styling */

.cyberpunk-bg {
    background: linear-gradient(135deg, #0F2A44 0%, #2D4A2B 50%, #A01E32 100%);
    background-size: 400% 400%;
    animation: cyberpunkGradient 15s ease infinite;
    position: relative;
}

.cyberpunk-bg::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 191, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(45, 74, 43, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(160, 30, 50, 0.1) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="circuit" patternUnits="userSpaceOnUse" width="50" height="50"><path d="M0 25h25v25h25v-25h25M25 0v25h25v25" stroke="rgba(0,191,255,0.1)" stroke-width="0.5" fill="none"/></pattern></defs><rect width="100" height="100" fill="url(%23circuit)"/></svg>');
    background-size: 200px 200px, 150px 150px, 300px 300px, 100px 100px;
    opacity: 0.3;
    pointer-events: none;
    z-index: -1;
}

@keyframes cyberpunkGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-section {
    background: linear-gradient(135deg, rgba(15, 42, 68, 0.95), rgba(45, 74, 43, 0.95), rgba(160, 30, 50, 0.95));
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(0,191,255,0.2)" opacity="0.8"><animate attributeName="r" values="2;4;2" dur="3s" repeatCount="indefinite"/></circle><circle cx="20" cy="30" r="1" fill="rgba(0,191,255,0.15)"/><circle cx="80" cy="70" r="1.5" fill="rgba(0,191,255,0.15)"/></svg>');
    background-size: 200px 200px;
    animation: float 8s ease-in-out infinite;
    opacity: 0.6;
}

.digital-font {
    font-family: 'Orbitron', 'Exo', monospace;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

.cyber-text {
    font-family: 'Inter', 'Source Sans Pro', sans-serif;
    text-shadow: 0 0 5px rgba(0, 191, 255, 0.3);
}

.digital-glow {
    text-shadow: 
        0 0 5px rgba(0, 191, 255, 0.5),
        0 0 10px rgba(0, 191, 255, 0.3),
        0 0 15px rgba(0, 191, 255, 0.2),
        0 0 20px rgba(0, 191, 255, 0.1);
    animation: digitalPulse 2s ease-in-out infinite alternate;
}

@keyframes digitalPulse {
    from {
        text-shadow: 
            0 0 5px rgba(0, 191, 255, 0.5),
            0 0 10px rgba(0, 191, 255, 0.3);
    }
    to {
        text-shadow: 
            0 0 10px rgba(0, 191, 255, 0.8),
            0 0 20px rgba(0, 191, 255, 0.5),
            0 0 30px rgba(0, 191, 255, 0.3);
    }
}

.cyber-border {
    border-image: linear-gradient(45deg, #00BFFF, #2D4A2B, #A01E32, #00BFFF) 1;
    box-shadow: 
        0 0 10px rgba(0, 191, 255, 0.3),
        inset 0 0 10px rgba(0, 191, 255, 0.1);
}

.holographic {
    background: linear-gradient(45deg, #00BFFF, #00FFFF, #00BFFF);
    background-size: 200% 200%;
    animation: holographicShift 3s ease infinite;
    box-shadow: 
        0 0 20px rgba(0, 191, 255, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

@keyframes holographicShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.virtual-display {
    border: 2px solid #00BFFF;
    box-shadow: 
        0 0 30px rgba(0, 191, 255, 0.4),
        inset 0 0 30px rgba(0, 191, 255, 0.1);
    animation: virtualFlicker 4s ease-in-out infinite;
}

@keyframes virtualFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.9; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(-5px) rotate(-1deg); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-spin-slow {
    animation: spin-slow 6s linear infinite;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 42, 68, 0.3);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #00BFFF, #2D4A2B);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #00FFFF, #45FF45);
}

/* Responsive VR Controls */
@media (max-width: 768px) {
    .digital-glow {
        font-size: 1.5rem;
    }
    
    .cyber-text {
        font-size: 0.9rem;
    }
    
    .holographic {
        transform: scale(0.9);
    }
}

/* Custom button hover effects */
button:hover {
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Circuit board pattern overlay */
.circuit-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><path d="M0 25h50M25 0v50M10 10h30M10 40h30M40 10v30M10 10v30" stroke="rgba(0,191,255,0.1)" stroke-width="0.5" fill="none"/></svg>');
    background-size: 50px 50px;
    opacity: 0.2;
    pointer-events: none;
}