@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blood-red: #ff0000;
    --dark-red: #8b0000;
    --crimson: #dc143c;
    --scarlet: #ff2400;
    --deep-red: #4a0000;
    --dark-bg: #0f0000;
    --darker-bg: #050000;
    --grid-color: rgba(255, 0, 0, 0.15);
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--dark-bg);
    color: #fff;
    overflow-x: hidden;
    position: relative;
    animation: bodyGlitch 5s infinite;
}

@keyframes bodyGlitch {
    0%, 96%, 100% { background: var(--dark-bg); }
    97% { background: var(--deep-red); }
    98% { background: var(--dark-bg); }
    99% { background: var(--blood-red); }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, var(--grid-color) 2px, transparent 2px),
        linear-gradient(0deg, var(--grid-color) 2px, transparent 2px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 1;
    animation: gridDistort 3s infinite;
}

@keyframes gridDistort {
    0%, 90%, 100% { 
        transform: skew(0deg); 
        opacity: 1;
    }
    93% { 
        transform: skew(2deg, 1deg); 
        opacity: 0.8;
    }
    96% { 
        transform: skew(-3deg, 2deg); 
        opacity: 0.6;
    }
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(255, 0, 0, 0.03) 0px,
        transparent 2px,
        transparent 4px,
        rgba(255, 0, 0, 0.03) 6px
    );
    pointer-events: none;
    z-index: 9998;
    animation: scanlines 8s linear infinite;
}

@keyframes scanlines {
    0% { transform: translateY(0); }
    100% { transform: translateY(100px); }
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 0, 0, 0.95);
    backdrop-filter: blur(10px) saturate(180%);
    border-bottom: 3px solid var(--blood-red);
    z-index: 1000;
    box-shadow: 
        0 0 40px rgba(255, 0, 0, 0.6),
        0 5px 30px rgba(139, 0, 0, 0.8),
        inset 0 -1px 0 rgba(255, 0, 0, 0.3);
    animation: navGlitch 4s infinite;
}

@keyframes navGlitch {
    0%, 94%, 100% { 
        transform: translateX(0);
        border-bottom-color: var(--blood-red);
    }
    95% { 
        transform: translateX(-3px);
        border-bottom-color: var(--scarlet);
    }
    96% { 
        transform: translateX(3px);
        border-bottom-color: var(--dark-red);
    }
    97% { 
        transform: translateX(-2px);
    }
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--blood-red), var(--scarlet), var(--crimson));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
    position: relative;
    animation: logoGlitch 2s infinite;
    filter: drop-shadow(0 0 15px var(--blood-red));
}

@keyframes logoGlitch {
    0%, 90%, 100% {
        transform: translate(0);
        filter: drop-shadow(0 0 15px var(--blood-red));
    }
    92% {
        transform: translate(-4px, 2px);
        filter: drop-shadow(0 0 25px var(--scarlet)) drop-shadow(4px -2px 0 var(--dark-red));
    }
    94% {
        transform: translate(4px, -2px);
        filter: drop-shadow(0 0 25px var(--crimson)) drop-shadow(-4px 2px 0 var(--blood-red));
    }
    96% {
        transform: translate(-2px, -2px);
    }
}

.logo::before {
    content: 'QUATORMINE';
    position: absolute;
    top: 0;
    left: 0;
    color: var(--blood-red);
    opacity: 0;
    animation: logoGlitchBefore 2s infinite;
}

@keyframes logoGlitchBefore {
    0%, 90%, 100% { opacity: 0; }
    92%, 94% { 
        opacity: 0.7;
        transform: translate(-3px, 0);
    }
}

.logo::after {
    content: 'QUATORMINE';
    position: absolute;
    top: 0;
    left: 0;
    color: var(--scarlet);
    opacity: 0;
    animation: logoGlitchAfter 2s infinite;
}

@keyframes logoGlitchAfter {
    0%, 90%, 100% { opacity: 0; }
    93%, 95% { 
        opacity: 0.7;
        transform: translate(3px, 0);
    }
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blood-red), var(--scarlet));
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--blood-red);
}

.nav-links a:hover {
    color: var(--blood-red);
    text-shadow: 
        0 0 10px var(--blood-red),
        0 0 20px var(--crimson),
        2px 0 0 var(--scarlet),
        -2px 0 0 var(--dark-red);
    animation: linkGlitch 0.3s infinite;
}

@keyframes linkGlitch {
    0%, 90%, 100% { transform: translate(0); }
    30% { transform: translate(-2px, 1px); }
    60% { transform: translate(2px, -1px); }
}

.nav-links a:hover::before {
    width: 100%;
}

.nav-links a.active {
    color: var(--blood-red);
    text-shadow: 0 0 15px var(--blood-red), 0 0 30px var(--crimson);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 2rem;
    margin-top: 80px;
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.3), transparent);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulseBloody 3s ease-in-out infinite;
    filter: blur(40px);
}

@keyframes pulseBloody {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1); 
        opacity: 0.6;
        filter: blur(40px);
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.3); 
        opacity: 0.9;
        filter: blur(60px);
    }
}

.hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 0, 0, 0.1), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 0, 0, 0.15), transparent 50%);
    animation: bloodAmbient 5s ease-in-out infinite;
}

@keyframes bloodAmbient {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.hero-content {
    text-align: center;
    z-index: 3;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--blood-red), var(--scarlet), var(--crimson), var(--dark-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: 5px;
    position: relative;
    animation: titleGlitchExtreme 3s infinite;
}

@keyframes titleGlitchExtreme {
    0%, 85%, 100% { 
        transform: translate(0);
        filter: blur(0);
    }
    87% { 
        transform: translate(-5px, 3px) skew(-2deg);
        filter: blur(1px);
    }
    89% { 
        transform: translate(5px, -3px) skew(2deg);
        filter: blur(1px);
    }
    91% { 
        transform: translate(-3px, -3px) skew(1deg);
    }
    93% { 
        transform: translate(3px, 3px) skew(-1deg);
    }
    95% { 
        transform: translate(-2px, 2px);
    }
}

.hero h1::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--scarlet), var(--blood-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glitchBefore 3s infinite;
    z-index: -1;
}

@keyframes glitchBefore {
    0%, 85%, 100% { 
        transform: translate(0);
        opacity: 0;
    }
    87%, 93% { 
        transform: translate(-8px, 0);
        opacity: 0.8;
    }
}

.hero h1::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--dark-red), var(--crimson));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glitchAfter 3s infinite;
    z-index: -1;
}

@keyframes glitchAfter {
    0%, 85%, 100% { 
        transform: translate(0);
        opacity: 0;
    }
    89%, 95% { 
        transform: translate(8px, 0);
        opacity: 0.8;
    }
}

.hero p {
    font-size: 1.5rem;
    color: #aaa;
    margin-bottom: 3rem;
    letter-spacing: 2px;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: transparent;
    border: 3px solid var(--blood-red);
    color: var(--blood-red);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 20px rgba(255, 0, 0, 0.4),
        inset 0 0 20px rgba(255, 0, 0, 0.1);
    animation: buttonPulse 2s infinite;
}

@keyframes buttonPulse {
    0%, 100% { 
        box-shadow: 
            0 0 20px rgba(255, 0, 0, 0.4),
            inset 0 0 20px rgba(255, 0, 0, 0.1);
    }
    50% { 
        box-shadow: 
            0 0 40px rgba(255, 0, 0, 0.6),
            inset 0 0 30px rgba(255, 0, 0, 0.2);
    }
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--blood-red), var(--scarlet));
    transition: left 0.4s ease;
    z-index: -1;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover {
    color: #fff;
    border-color: var(--scarlet);
    box-shadow: 
        0 0 50px rgba(255, 0, 0, 0.8),
        0 0 100px rgba(255, 0, 0, 0.4),
        inset 0 0 30px rgba(255, 0, 0, 0.3);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    animation: buttonGlitch 0.3s infinite;
}

@keyframes buttonGlitch {
    0%, 90%, 100% { transform: translate(0); }
    30% { transform: translate(-2px, 1px); }
    60% { transform: translate(2px, -1px); }
}

.cta-button:hover::before {
    left: 0;
}

.cta-button:hover::after {
    width: 300px;
    height: 300px;
}

.section {
    min-height: 100vh;
    padding: 8rem 2rem;
    position: relative;
    z-index: 2;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(45deg, var(--blood-red), var(--scarlet), var(--crimson));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
    position: relative;
    animation: sectionTitleGlitch 4s infinite;
    filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.5));
}

@keyframes sectionTitleGlitch {
    0%, 92%, 100% { 
        transform: translate(0) skew(0);
        filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.5));
    }
    94% { 
        transform: translate(-3px, 2px) skew(-1deg);
        filter: drop-shadow(0 0 30px rgba(255, 0, 0, 0.8));
    }
    96% { 
        transform: translate(3px, -2px) skew(1deg);
        filter: drop-shadow(0 0 30px rgba(220, 20, 60, 0.8));
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.service-card {
    background: rgba(15, 0, 0, 0.9);
    border: 2px solid var(--blood-red);
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    clip-path: polygon(
        0 0, 
        calc(100% - 20px) 0, 
        100% 20px, 
        100% calc(100% - 20px), 
        calc(100% - 20px) 100%, 
        20px 100%, 
        0 calc(100% - 20px)
    );
    box-shadow: 
        0 5px 20px rgba(255, 0, 0, 0.2),
        inset 0 0 30px rgba(255, 0, 0, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, var(--blood-red), var(--scarlet), var(--dark-red));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: borderGlitch 3s infinite;
}

@keyframes borderGlitch {
    0%, 90%, 100% { opacity: 0; }
    93%, 97% { opacity: 0.8; }
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 60px rgba(255, 0, 0, 0.5),
        0 0 50px rgba(255, 0, 0, 0.3),
        inset 0 0 50px rgba(255, 0, 0, 0.1);
    border-color: var(--scarlet);
    animation: cardGlitch 0.5s infinite;
}

@keyframes cardGlitch {
    0%, 80%, 100% { transform: translateY(-10px); }
    85% { transform: translateY(-10px) translate(-2px, 1px); }
    90% { transform: translateY(-10px) translate(2px, -1px); }
}

.service-card:hover::before {
    opacity: 1;
    animation: none;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.3), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::after {
    left: 100%;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--blood-red);
    text-shadow: 
        0 0 20px var(--blood-red),
        0 0 40px var(--crimson);
    animation: iconPulse 2s infinite;
}

@keyframes iconPulse {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 10px var(--blood-red));
    }
    50% { 
        transform: scale(1.1);
        filter: drop-shadow(0 0 20px var(--scarlet));
    }
}

.service-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--blood-red);
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    position: relative;
}

.service-card:hover h3 {
    animation: textGlitch 0.3s infinite;
}

@keyframes textGlitch {
    0%, 90%, 100% { transform: translate(0); }
    30% { transform: translate(-1px, 1px); }
    60% { transform: translate(1px, -1px); }
}

.service-card p {
    color: #aaa;
    line-height: 1.8;
    font-size: 1.1rem;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--blood-red);
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(15, 0, 0, 0.9);
    border: 2px solid var(--dark-red);
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 20px rgba(255, 0, 0, 0.1);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 
        0 0 25px rgba(255, 0, 0, 0.6),
        inset 0 0 30px rgba(255, 0, 0, 0.15);
    border-color: var(--blood-red);
    animation: inputGlitch 0.2s;
}

@keyframes inputGlitch {
    0%, 100% { transform: translate(0); }
    25% { transform: translate(-2px, 0); }
    75% { transform: translate(2px, 0); }
}

.form-group textarea {
    resize: vertical;
    min-height: 200px;
}

.submit-button {
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    border: 3px solid var(--blood-red);
    color: var(--blood-red);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 30px rgba(255, 0, 0, 0.3),
        inset 0 0 20px rgba(255, 0, 0, 0.1);
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--dark-red), var(--blood-red), var(--scarlet));
    transition: left 0.4s ease;
    z-index: -1;
}

.submit-button:hover {
    color: #fff;
    border-color: var(--scarlet);
    box-shadow: 
        0 0 50px rgba(255, 0, 0, 0.8),
        0 0 100px rgba(255, 0, 0, 0.4),
        inset 0 0 40px rgba(255, 0, 0, 0.2);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    animation: submitGlitch 0.3s infinite;
}

@keyframes submitGlitch {
    0%, 90%, 100% { transform: translate(0); }
    30% { transform: translate(-3px, 2px); }
    60% { transform: translate(3px, -2px); }
}

.submit-button:hover::before {
    left: 0;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(15, 0, 0, 0.9);
    border: 2px solid var(--dark-red);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 
        0 5px 20px rgba(255, 0, 0, 0.2),
        inset 0 0 20px rgba(255, 0, 0, 0.05);
}

.faq-item:hover {
    border-color: var(--blood-red);
    box-shadow: 
        0 8px 30px rgba(255, 0, 0, 0.3),
        inset 0 0 30px rgba(255, 0, 0, 0.1);
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--blood-red);
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.faq-question:hover {
    background: rgba(255, 0, 0, 0.1);
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    text-shadow: 0 0 10px var(--blood-red);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--scarlet);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 2rem;
    color: #aaa;
    line-height: 1.8;
    font-size: 1.1rem;
    border-top: 1px solid rgba(255, 0, 0, 0.3);
    background: rgba(255, 0, 0, 0.03);
}

footer {
    background: var(--darker-bg);
    border-top: 3px solid var(--blood-red);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 -5px 30px rgba(255, 0, 0, 0.3);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content p {
    color: #aaa;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.footer-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: var(--blood-red);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
}

.footer-links a:hover {
    text-shadow: 
        0 0 15px var(--blood-red),
        0 0 30px var(--crimson);
    color: var(--scarlet);
    animation: footerLinkGlitch 0.3s infinite;
}

@keyframes footerLinkGlitch {
    0%, 90%, 100% { transform: translate(0); }
    30% { transform: translate(-1px, 1px); }
    60% { transform: translate(1px, -1px); }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-links a {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }
    
    .hero {
        padding: 0 1rem;
        margin-top: 120px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }
    
    .section {
        padding: 4rem 1rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    .service-card h3 {
        font-size: 1.4rem;
    }
    
    .contact-container,
    .faq-container {
        padding: 0 1rem;
    }
    
    .form-group label {
        font-size: 0.95rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 1rem;
        padding: 0.8rem;
    }
    
    .submit-button {
        padding: 1.2rem;
        font-size: 1rem;
    }
    
    .faq-question {
        padding: 1.5rem;
        font-size: 1.1rem;
    }
    
    .faq-answer-content {
        padding: 1.5rem;
        font-size: 1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }
    
    .nav-links a {
        font-size: 0.75rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--blood-red) 20%, 
        var(--scarlet) 50%, 
        var(--blood-red) 80%, 
        transparent
    );
    animation: scan 4s linear infinite;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 
        0 0 20px var(--blood-red),
        0 0 40px var(--crimson);
    filter: blur(2px);
}

@keyframes scan {
    0% { 
        top: -5%; 
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% { 
        top: 105%; 
        opacity: 0;
    }
}

/* Effets de corruption supplémentaires */
@keyframes glitchCorruption {
    0%, 100% {
        clip-path: inset(0 0 0 0);
    }
    10% {
        clip-path: inset(10% 0 85% 0);
    }
    20% {
        clip-path: inset(80% 0 10% 0);
    }
    30% {
        clip-path: inset(50% 0 30% 0);
    }
    40% {
        clip-path: inset(20% 0 60% 0);
    }
}

/* Particules rouges flottantes */
.hero::before {
    animation: pulseBloody 3s ease-in-out infinite, float 6s ease-in-out infinite;
}

/* Effet de déchirure */
@keyframes tear {
    0%, 95%, 100% {
        transform: scaleY(1);
    }
    97% {
        transform: scaleY(1.02);
    }
}

.section {
    animation: tear 5s infinite;
}