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

:root {
    --umbrella-red: #ff0033;
    --blood-red: #8b0000;
    --toxic-green: #00ff41;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --tech-grid: rgba(255, 0, 51, 0.08);
    --glow-red: 0 0 20px rgba(255, 0, 51, 0.8), 0 0 40px rgba(255, 0, 51, 0.4), 0 0 60px rgba(255, 0, 51, 0.2);
    --text-glow: 0 0 10px rgba(255, 0, 51, 0.5);
    --danger-glow: 0 0 30px rgba(255, 0, 51, 1), 0 0 60px rgba(139, 0, 0, 0.8);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--dark-bg);
    color: #e0e0e0;
    overflow-x: hidden;
    line-height: 1.6;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg, var(--tech-grid) 1px, transparent 1px),
        linear-gradient(var(--tech-grid) 1px, transparent 1px),
        radial-gradient(ellipse at 50% 50%, rgba(255, 0, 51, 0.03) 0%, transparent 70%);
    background-size: 30px 30px, 30px 30px, 100% 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

.crt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15) 0px,
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
}

.crt-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.scanlines::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 200%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 0, 51, 0.02) 45%,
        rgba(255, 0, 51, 0.08) 50%,
        rgba(255, 0, 51, 0.02) 55%,
        transparent 100%
    );
    animation: scanline 3s linear infinite;
}

.scanlines::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--umbrella-red), var(--blood-red), var(--umbrella-red), transparent);
    box-shadow: 0 0 20px rgba(255, 0, 51, 1), 0 0 40px rgba(255, 0, 51, 0.8);
    animation: scanlineHorizontal 2s ease-in-out infinite;
}

@keyframes scanline {
    0% { transform: translateY(0); }
    100% { transform: translateY(50%); }
}

@keyframes scanlineHorizontal {
    0%, 100% { opacity: 0.4; transform: scaleX(0.3) translateX(50%); }
    25% { opacity: 0.8; transform: scaleX(0.6) translateX(20%); }
    50% { opacity: 1; transform: scaleX(1) translateX(0%); }
    75% { opacity: 0.8; transform: scaleX(0.6) translateX(-20%); }
}

.glitch {
    position: relative;
}

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

.glitch::before {
    color: #00ffff;
    animation: glitch-1 0.3s infinite linear alternate-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}

.glitch::after {
    color: #ff0033;
    animation: glitch-2 0.3s infinite linear alternate-reverse;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}

@keyframes glitch-1 {
    0% { transform: translateX(-2px); }
    100% { transform: translateX(2px); }
}

@keyframes glitch-2 {
    0% { transform: translateX(2px); }
    100% { transform: translateX(-2px); }
}

.warning-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: repeating-linear-gradient(
        90deg,
        var(--blood-red) 0px,
        var(--umbrella-red) 10px,
        var(--blood-red) 20px
    );
    background-size: 200% 100%;
    color: white;
    text-align: center;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    z-index: 10000;
    text-shadow: 2px 2px 0 #000, -1px -1px 0 #000;
    animation: warningStripes 1s linear infinite;
    border-bottom: 2px solid #000;
    box-shadow: 0 2px 20px rgba(255, 0, 51, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.warning-banner.hidden {
    top: -50px;
}

.banner-close {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 5px 12px;
    font-size: 11px;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.banner-close:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: white;
}

.banner-expand {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: repeating-linear-gradient(
        90deg,
        var(--blood-red) 0px,
        var(--umbrella-red) 10px,
        var(--blood-red) 20px
    );
    background-size: 200% 100%;
    color: white;
    text-align: center;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    z-index: 10000;
    cursor: pointer;
    display: none;
    animation: warningStripes 1s linear infinite;
    border-bottom: 2px solid #000;
}

.banner-expand.show {
    display: block;
}

.banner-expand:hover {
    opacity: 0.9;
}

@keyframes warningStripes {
    0% { background-position: 0 0; }
    100% { background-position: 40px 0; }
}

.warning-banner::before {
    content: '☣ ';
}

.warning-banner::after {
    content: ' ☣';
}

nav {
    position: fixed;
    top: 36px;
    left: 0;
    width: 100%;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.8) 50%, rgba(10, 10, 10, 0) 100%);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 0, 51, 0.1);
}

nav.scrolled {
    background: rgba(5, 5, 5, 0.99);
    padding: 10px 50px;
    box-shadow: 0 2px 30px rgba(255, 0, 51, 0.4), inset 0 -1px 0 rgba(255, 0, 51, 0.3);
    border-bottom: 1px solid rgba(255, 0, 51, 0.3);
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: var(--umbrella-red);
    text-shadow: var(--danger-glow);
    letter-spacing: 5px;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: logoFlicker 4s ease-in-out infinite;
}

@keyframes logoFlicker {
    0%, 100% { opacity: 1; text-shadow: var(--danger-glow); }
    92% { opacity: 1; text-shadow: var(--danger-glow); }
    93% { opacity: 0.8; text-shadow: 0 0 10px rgba(255, 0, 51, 0.5); }
    94% { opacity: 1; text-shadow: var(--danger-glow); }
    96% { opacity: 0.9; text-shadow: 0 0 20px rgba(255, 0, 51, 0.6); }
    97% { opacity: 1; text-shadow: var(--danger-glow); }
}

.logo-icon {
    width: 45px;
    height: 45px;
    border: 2px solid var(--umbrella-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--danger-glow), inset 0 0 20px rgba(255, 0, 51, 0.4);
    animation: logoBreathing 2s ease-in-out infinite;
    position: relative;
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid rgba(255, 0, 51, 0.3);
    border-radius: 50%;
    animation: ringPulse 3s ease-in-out infinite;
}

@keyframes logoBreathing {
    0%, 100% {
        transform: scale(1);
        box-shadow: var(--danger-glow), inset 0 0 20px rgba(255, 0, 51, 0.4);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 0 40px rgba(255, 0, 51, 1), 0 0 80px rgba(255, 0, 51, 0.6), 0 0 120px rgba(139, 0, 0, 0.4), inset 0 0 30px rgba(255, 0, 51, 0.6);
    }
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0; }
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all 0.2s ease;
    position: relative;
    padding: 8px 0;
    font-family: 'Orbitron', sans-serif;
}

.nav-links a::before {
    content: '//';
    position: absolute;
    left: -20px;
    color: var(--umbrella-red);
    opacity: 0;
    transition: all 0.2s ease;
}

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

.nav-links a:hover {
    color: white;
    text-shadow: 0 0 20px rgba(255, 0, 51, 1), 0 0 40px rgba(255, 0, 51, 0.5);
}

.nav-links a:hover::before {
    opacity: 1;
    left: -25px;
}

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

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background:
        radial-gradient(ellipse at center, rgba(255, 0, 51, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(139, 0, 0, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 0, 51, 0.08) 0%, transparent 40%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ff0033' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-logo {
    width: 320px;
    height: 320px;
    border: 4px solid var(--umbrella-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: heroLogoBreathing 3s ease-in-out infinite;
    box-shadow:
        var(--danger-glow),
        inset 0 0 60px rgba(255, 0, 51, 0.3),
        0 0 100px rgba(255, 0, 51, 0.2);
}

@keyframes heroLogoBreathing {
    0%, 100% {
        transform: scale(1);
        box-shadow: var(--danger-glow), inset 0 0 60px rgba(255, 0, 51, 0.3);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 0 60px rgba(255, 0, 51, 1), 0 0 120px rgba(255, 0, 51, 0.6), 0 0 180px rgba(139, 0, 0, 0.3), inset 0 0 80px rgba(255, 0, 51, 0.4);
    }
}

.hero-logo::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    border: 2px solid rgba(255, 0, 51, 0.4);
    border-radius: 50%;
    animation: ringRotate 15s linear infinite;
}

.hero-logo::after {
    content: '';
    position: absolute;
    top: -60px;
    left: -60px;
    right: -60px;
    bottom: -60px;
    border: 1px solid rgba(255, 0, 51, 0.2);
    border-radius: 50%;
    animation: ringRotate 25s linear infinite reverse;
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.umbrella-symbol {
    filter: drop-shadow(0 0 30px rgba(255, 0, 51, 1)) drop-shadow(0 0 60px rgba(255, 0, 51, 0.6)) drop-shadow(0 0 90px rgba(139, 0, 0, 0.4));
    transition: all 0.3s ease;
    animation: symbolPulse 2s ease-in-out infinite;
}

@keyframes symbolPulse {
    0%, 100% { filter: drop-shadow(0 0 30px rgba(255, 0, 51, 1)) drop-shadow(0 0 60px rgba(255, 0, 51, 0.6)); }
    50% { filter: drop-shadow(0 0 50px rgba(255, 0, 51, 1)) drop-shadow(0 0 100px rgba(255, 0, 51, 0.8)) drop-shadow(0 0 150px rgba(139, 0, 0, 0.5)); }
}

.hero-logo:hover .umbrella-symbol {
    filter: drop-shadow(0 0 60px rgba(255, 0, 51, 1)) drop-shadow(0 0 120px rgba(255, 0, 51, 0.8)) drop-shadow(0 0 180px rgba(139, 0, 0, 0.6));
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 52px;
    font-weight: 900;
    color: white;
    margin-top: 40px;
    letter-spacing: 20px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3), 0 0 60px rgba(255, 0, 51, 0.3);
    position: relative;
    animation: titleGlitch 5s ease-in-out infinite;
}

@keyframes titleGlitch {
    0%, 100% { text-shadow: 0 0 30px rgba(255, 255, 255, 0.3), 0 0 60px rgba(255, 0, 51, 0.3); }
    97% { text-shadow: 0 0 30px rgba(255, 255, 255, 0.3), 0 0 60px rgba(255, 0, 51, 0.3); }
    97.5% { text-shadow: -3px 0 30px rgba(0, 255, 255, 0.5), 3px 0 30px rgba(255, 0, 51, 0.5); }
    98% { text-shadow: 0 0 30px rgba(255, 255, 255, 0.3), 0 0 60px rgba(255, 0, 51, 0.3); }
    98.5% { text-shadow: 2px 0 30px rgba(255, 0, 51, 0.5), -2px 0 30px rgba(0, 255, 255, 0.5); }
    99% { text-shadow: 0 0 30px rgba(255, 255, 255, 0.3), 0 0 60px rgba(255, 0, 51, 0.3); }
}

.hero p {
    font-size: 16px;
    color: #666;
    margin-top: 20px;
    letter-spacing: 8px;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
    position: relative;
}

.hero p::before,
.hero p::after {
    content: '—';
    margin: 0 15px;
    color: var(--umbrella-red);
}

.biohazard-divider {
    width: 200px;
    height: 40px;
    margin: 30px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.biohazard-divider::before,
.biohazard-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--umbrella-red), transparent);
}

.biohazard-divider span {
    font-size: 24px;
    color: var(--umbrella-red);
    text-shadow: var(--glow-red);
    animation: bioPulse 1.5s ease-in-out infinite;
}

@keyframes bioPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 11px;
    letter-spacing: 4px;
    color: #555;
    font-family: 'Orbitron', sans-serif;
}

.scroll-indicator .arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid var(--umbrella-red);
    border-bottom: 2px solid var(--umbrella-red);
    transform: rotate(45deg);
    box-shadow: 3px 3px 10px rgba(255, 0, 51, 0.4);
    animation: arrowPulse 1s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% { box-shadow: 3px 3px 10px rgba(255, 0, 51, 0.4); }
    50% { box-shadow: 3px 3px 20px rgba(255, 0, 51, 0.8); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(15px); }
}

.section {
    padding: 100px 50px;
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 38px;
    font-weight: 900;
    color: white;
    text-align: center;
    margin-bottom: 70px;
    letter-spacing: 8px;
    position: relative;
    text-shadow: 0 0 30px rgba(255, 0, 51, 0.3);
}

.section-title::before {
    content: '[ ';
    color: var(--umbrella-red);
}

.section-title::after {
    content: ' ]';
    color: var(--umbrella-red);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--umbrella-red), var(--blood-red), var(--umbrella-red), transparent);
    box-shadow: 0 0 20px rgba(255, 0, 51, 0.8);
}

#about {
    background:
        linear-gradient(180deg, var(--dark-bg) 0%, var(--darker-bg) 50%, var(--dark-bg) 100%),
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 0 L100 50 L50 100 L0 50Z' fill='none' stroke='%23ff0033' stroke-width='0.5' opacity='0.05'/%3E%3C/svg%3E");
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 0, 51, 0.08) 0%, rgba(10, 10, 10, 0.95) 100%);
    border: 1px solid rgba(255, 0, 51, 0.3);
    border-left: 3px solid var(--umbrella-red);
    box-shadow:
        inset 0 0 30px rgba(255, 0, 51, 0.05),
        0 0 30px rgba(255, 0, 51, 0.1);
}

.classified-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--blood-red);
    color: white;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    font-family: 'Orbitron', sans-serif;
    box-shadow: 0 0 10px rgba(139, 0, 0, 0.5);
}

.about-text h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 22px;
    color: var(--umbrella-red);
    margin-bottom: 25px;
    text-shadow: var(--text-glow);
    letter-spacing: 3px;
    position: relative;
    padding-bottom: 10px;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--umbrella-red);
    box-shadow: 0 0 10px rgba(255, 0, 51, 0.8);
}

.about-text p {
    color: #909090;
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 15px;
}

.terminal-display {
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(255, 0, 51, 0.4);
    border-top: 3px solid var(--umbrella-red);
    border-radius: 0 0 5px 5px;
    padding: 30px;
    font-family: 'Courier New', monospace;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 30px rgba(255, 0, 51, 0.2),
        inset 0 0 50px rgba(0, 0, 0, 0.5);
}

.terminal-display::before {
    content: '■ RED QUEEN AI v3.14 // CORPORATE SECURITY SYSTEM';
    display: block;
    color: var(--umbrella-red);
    font-size: 11px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 0, 51, 0.3);
    text-shadow: 0 0 10px rgba(255, 0, 51, 0.8);
    letter-spacing: 1px;
    font-family: 'Orbitron', sans-serif;
}

.terminal-display::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.1) 0px,
        rgba(0, 0, 0, 0.1) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
}

.terminal-line {
    color: var(--toxic-green);
    font-size: 13px;
    margin-bottom: 10px;
    opacity: 0;
    animation: typeLine 0.3s forwards;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
    font-family: 'Courier New', monospace;
}

.terminal-line:nth-child(2) { animation-delay: 0.3s; }
.terminal-line:nth-child(3) { animation-delay: 0.6s; }
.terminal-line:nth-child(4) { animation-delay: 0.9s; }
.terminal-line:nth-child(5) { animation-delay: 1.2s; }
.terminal-line:nth-child(6) { animation-delay: 1.5s; }
.terminal-line:nth-child(7) { animation-delay: 1.8s; }
.terminal-line.warning {
    color: var(--umbrella-red);
    text-shadow: 0 0 10px rgba(255, 0, 51, 0.8);
}

@keyframes typeLine {
    0% { opacity: 0; transform: translateX(-10px); }
    100% { opacity: 1; transform: translateX(0); }
}

.blink {
    animation: blink 1s step-end infinite;
}

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

#projects {
    background:
        var(--darker-bg),
        radial-gradient(ellipse at 50% 0%, rgba(255, 0, 51, 0.05) 0%, transparent 50%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    background: linear-gradient(180deg, rgba(15, 15, 15, 0.95) 0%, rgba(5, 5, 5, 0.98) 100%);
    border: 1px solid rgba(255, 0, 51, 0.2);
    border-top: 2px solid var(--umbrella-red);
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

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

.project-card:hover::before {
    left: 100%;
}

.project-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--umbrella-red), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(255, 0, 51, 0.5);
    box-shadow:
        0 15px 50px rgba(255, 0, 51, 0.3),
        0 0 30px rgba(255, 0, 51, 0.1),
        inset 0 0 30px rgba(255, 0, 51, 0.05);
}

.project-card:hover::after {
    opacity: 1;
}

.project-icon {
    width: 90px;
    height: 90px;
    border: 2px solid var(--umbrella-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 40px;
    color: var(--umbrella-red);
    box-shadow:
        var(--danger-glow),
        inset 0 0 25px rgba(255, 0, 51, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.project-icon::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px dashed rgba(255, 0, 51, 0.3);
    border-radius: 50%;
    animation: iconRotate 20s linear infinite;
}

@keyframes iconRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.offer-letter-modal {
    max-width: 800px;
    width: 95%;
    padding: 0;
    background: linear-gradient(135deg, rgba(20, 0, 0, 0.98) 0%, rgba(5, 5, 5, 0.99) 100%);
    border: 2px solid var(--umbrella-red);
    overflow: visible;
    text-align: center;
}

.offer-header {
    background: linear-gradient(180deg, rgba(139, 0, 0, 0.8) 0%, rgba(10, 5, 5, 0.98) 100%);
    padding: 50px 30px;
    text-align: center;
    border-bottom: 3px solid var(--umbrella-red);
    position: relative;
}

.offer-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--umbrella-red), var(--blood-red), var(--umbrella-red), transparent);
}

.offer-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 32px;
    color: white;
    letter-spacing: 10px;
    margin: 20px 0 10px;
    text-shadow: 0 0 30px rgba(255, 0, 51, 0.6);
}

.offer-header .offer-subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    color: var(--umbrella-red);
    letter-spacing: 6px;
    text-shadow: 0 0 20px rgba(255, 0, 51, 1);
}

.offer-logo {
    margin: 0 auto 20px;
    width: 100px;
    height: 100px;
}

.offer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 25px rgba(255, 0, 51, 1)) drop-shadow(0 0 50px rgba(255, 0, 51, 0.5));
}

.camera-scan-modal {
    max-width: 550px;
    padding: 0;
    background: linear-gradient(135deg, rgba(10, 0, 0, 0.98) 0%, rgba(5, 5, 5, 0.99) 100%);
    border: 2px solid var(--umbrella-red);
    overflow: hidden;
}

.scan-header {
    background: linear-gradient(180deg, rgba(139, 0, 0, 0.6) 0%, rgba(10, 5, 5, 0.98) 100%);
    padding: 25px 30px;
    text-align: center;
    border-bottom: 2px solid var(--umbrella-red);
}

.scan-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    color: var(--umbrella-red);
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(255, 0, 51, 0.8);
    margin: 0;
}

.scan-viewport {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scan-frame {
    width: 220px;
    height: 280px;
    position: relative;
    margin-bottom: 25px;
}

.portrait-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 0, 51, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.head-mesh-container {
    width: 150px;
    height: 180px;
    perspective: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.head-mesh {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: meshRotate 3s linear infinite;
}

@keyframes meshRotate {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.mesh-circle {
    position: absolute;
    border: 1.5px solid var(--umbrella-red);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 0, 51, 0.5), inset 0 0 8px rgba(255, 0, 51, 0.3);
}

.mesh-circle.c1 {
    width: 30px;
    height: 30px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.mesh-circle.c2 {
    width: 60px;
    height: 60px;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
}

.mesh-circle.c3 {
    width: 90px;
    height: 90px;
    top: 55px;
    left: 50%;
    transform: translateX(-50%);
}

.mesh-circle.c4 {
    width: 110px;
    height: 110px;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
}

.mesh-circle.c5 {
    width: 130px;
    height: 130px;
    top: 82px;
    left: 50%;
    transform: translateX(-50%);
}

.mesh-horizontal {
    position: absolute;
    width: 100%;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--umbrella-red), transparent);
    box-shadow: 0 0 8px rgba(255, 0, 51, 0.6);
}

.mesh-horizontal.h1 { top: 20px; }
.mesh-horizontal.h2 { top: 50px; }
.mesh-horizontal.h3 { top: 80px; }
.mesh-horizontal.h4 { top: 110px; }
.mesh-horizontal.h5 { top: 140px; }

.mesh-vertical {
    position: absolute;
    width: 1.5px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--umbrella-red), transparent);
    box-shadow: 0 0 8px rgba(255, 0, 51, 0.6);
    left: 50%;
    transform: translateX(-50%);
}

.mesh-vertical.v1 { transform: translateX(-50%) rotateX(30deg); }
.mesh-vertical.v2 { transform: translateX(-50%) rotateY(15deg); }
.mesh-vertical.v3 { transform: translateX(-50%) rotateY(0deg); }
.mesh-vertical.v4 { transform: translateX(-50%) rotateY(-15deg); }
.mesh-vertical.v5 { transform: translateX(-50%) rotateY(-30deg); }

.portrait-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--umbrella-red), var(--toxic-green), var(--umbrella-red), transparent);
    box-shadow: 0 0 20px rgba(255, 0, 51, 1), 0 0 40px rgba(0, 255, 65, 0.5);
    animation: scanLineMove 2s ease-in-out infinite;
}

@keyframes scanLineMove {
    0% { top: 0; }
    50% { top: calc(100% - 3px); }
    100% { top: 0; }
}

.scan-corner {
    position: absolute;
    width: 25px;
    height: 25px;
    border: 2px solid var(--umbrella-red);
}

.scan-corner.top-left {
    top: -5px;
    left: -5px;
    border-right: none;
    border-bottom: none;
}

.scan-corner.top-right {
    top: -5px;
    right: -5px;
    border-left: none;
    border-bottom: none;
}

.scan-corner.bottom-left {
    bottom: -5px;
    left: -5px;
    border-right: none;
    border-top: none;
}

.scan-corner.bottom-right {
    bottom: -5px;
    right: -5px;
    border-left: none;
    border-top: none;
}

.scan-info {
    width: 100%;
    text-align: center;
}

.scan-status {
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    color: var(--umbrella-red);
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 0, 51, 0.5);
}

.scan-progress {
    width: 100%;
    height: 8px;
    background: rgba(255, 0, 51, 0.1);
    border: 1px solid rgba(255, 0, 51, 0.3);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.scan-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--blood-red), var(--umbrella-red), var(--toxic-green));
    box-shadow: 0 0 15px rgba(255, 0, 51, 0.8);
    transition: width 0.1s linear;
}

.scan-percentage {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--toxic-green);
    text-shadow: 0 0 20px rgba(0, 255, 65, 0.8);
}

.scan-data {
    background: rgba(0, 0, 0, 0.6);
    border-top: 1px solid rgba(255, 0, 51, 0.3);
    padding: 20px 30px;
}

.data-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255, 0, 51, 0.1);
    font-size: 13px;
}

.data-row:last-child {
    border-bottom: none;
}

.data-row span:first-child {
    color: #888;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

.data-value {
    color: var(--umbrella-red);
    font-weight: 700;
}

.data-value.highlight {
    color: var(--toxic-green);
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

@media (max-width: 768px) {
    .camera-scan-modal {
        max-width: 95%;
        margin: 20px;
    }

    .scan-frame {
        width: 180px;
        height: 240px;
    }

    .portrait-icon {
        font-size: 80px;
    }

    .scan-header h2 {
        font-size: 13px;
    }

    .scan-data {
        padding: 15px 20px;
    }

    .data-row {
        font-size: 11px;
    }
}

.offer-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    color: white;
    letter-spacing: 8px;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(255, 0, 51, 0.5);
}

.offer-subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    color: var(--umbrella-red);
    letter-spacing: 5px;
    text-shadow: 0 0 15px rgba(255, 0, 51, 0.8);
}

.offer-body {
    padding: 50px 80px;
}

.offer-date {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(255, 0, 51, 0.3);
}

.offer-to {
    margin-bottom: 35px;
}

.offer-to p {
    font-size: 16px;
    color: #aaa;
}

.offer-email {
    color: var(--toxic-green);
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 18px;
    text-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
}

.offer-content {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 0, 51, 0.2);
    padding: 40px;
    margin-bottom: 30px;
}

.offer-greeting {
    font-size: 18px;
    color: white;
    margin-bottom: 25px;
    font-weight: 700;
}

.offer-text {
    color: #999;
    font-size: 15px;
    line-height: 2;
    margin-bottom: 18px;
}

.offer-details {
    background: rgba(255, 0, 51, 0.05);
    border: 1px solid rgba(255, 0, 51, 0.3);
    padding: 30px;
    margin: 30px 0;
}

.offer-detail-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 0, 51, 0.1);
}

.offer-detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    color: #888;
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    letter-spacing: 2px;
}

.detail-value {
    color: var(--umbrella-red);
    font-weight: 700;
    font-size: 14px;
}

.offer-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 40px;
    padding: 0 20px;
}

.red-queen-sign {
    text-align: left;
}

.ai-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    color: var(--umbrella-red);
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(255, 0, 51, 0.8);
}

.ai-title {
    font-size: 11px;
    color: #666;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.ai-status {
    font-family: 'Courier New', monospace;
    font-size: 11px;
    color: #444;
}

.umbrella-stamp {
    width: 120px;
    height: 120px;
    border: 3px solid var(--umbrella-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--umbrella-red);
    text-shadow: 0 0 20px rgba(255, 0, 51, 0.8);
    transform: rotate(-15deg);
    box-shadow: 0 0 25px rgba(255, 0, 51, 0.5);
    animation: stampPulse 2s ease-in-out infinite;
}

@keyframes stampPulse {
    0%, 100% { box-shadow: 0 0 25px rgba(255, 0, 51, 0.5); }
    50% { box-shadow: 0 0 40px rgba(255, 0, 51, 0.8); }
}

.offer-actions {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 30px 80px 50px;
}

.btn-secondary {
    border-color: #555;
    color: #888;
}

.btn-secondary:hover {
    background: #333;
    border-color: #555;
    color: white;
    box-shadow: 0 0 20px rgba(100, 100, 100, 0.3);
}

.confirmation-success {
    text-align: center;
    padding: 50px 30px;
}

.check-icon {
    width: 80px;
    height: 80px;
    border: 3px solid var(--toxic-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 40px;
    color: var(--toxic-green);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.6);
    animation: successPulse 1s ease-in-out infinite;
}

.confirmation-success h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    color: var(--toxic-green);
    margin-bottom: 30px;
    letter-spacing: 5px;
    text-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
}

.confirm-text {
    color: var(--toxic-green);
    font-family: 'Courier New', monospace;
    font-size: 14px;
    margin-bottom: 12px;
    opacity: 0;
    animation: typeLine 0.3s forwards;
}

.confirm-text:nth-child(2) { animation-delay: 0.2s; }
.confirm-text:nth-child(3) { animation-delay: 0.5s; }
.confirm-text:nth-child(4) { animation-delay: 0.8s; }

.confirm-highlight {
    color: white;
    font-size: 16px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 255, 65, 0.3);
}

@media (max-width: 768px) {
    .offer-header {
        padding: 25px 20px;
    }

    .offer-logo {
        font-size: 40px;
    }

    .offer-header h2 {
        font-size: 18px;
        letter-spacing: 4px;
    }

    .offer-subtitle {
        font-size: 9px;
        letter-spacing: 3px;
    }

    .offer-body {
        padding: 25px 20px;
    }

    .offer-content {
        padding: 20px;
    }

    .offer-details {
        padding: 15px;
    }

    .offer-footer {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .umbrella-stamp {
        transform: rotate(0deg);
    }

    .offer-actions {
        flex-direction: column;
        gap: 15px;
        padding: 0 20px 30px;
    }

    .offer-actions .btn {
        width: 100%;
    }
}

.music-control {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.9), rgba(10, 0, 0, 0.9));
    border: 2px solid var(--umbrella-red);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    box-shadow: 0 0 20px rgba(255, 0, 51, 0.6), 0 0 40px rgba(255, 0, 51, 0.3);
    transition: all 0.3s ease;
}

.music-control:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 0, 51, 0.9), 0 0 60px rgba(255, 0, 51, 0.5);
}

.music-control.playing {
    animation: musicPulse 1.5s ease-in-out infinite;
}

.music-control.playing .music-icon {
    color: var(--toxic-green);
    text-shadow: 0 0 15px rgba(0, 255, 65, 0.8);
}

.music-icon {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
}

.music-status {
    font-family: 'Orbitron', sans-serif;
    font-size: 9px;
    letter-spacing: 1px;
    opacity: 0.8;
}

@keyframes musicPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 0, 51, 0.6), 0 0 40px rgba(255, 0, 51, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 0, 51, 0.9), 0 0 60px rgba(255, 0, 51, 0.5), 0 0 80px rgba(0, 255, 65, 0.3);
    }
}

@media (max-width: 768px) {
    .music-control {
        right: 20px;
        bottom: 20px;
        width: 60px;
        height: 60px;
    }

    .music-icon {
        font-size: 22px;
    }

    .music-status {
        font-size: 8px;
    }
}

.project-card:hover .project-icon {
    box-shadow:
        0 0 50px rgba(255, 0, 51, 1),
        0 0 100px rgba(255, 0, 51, 0.6),
        inset 0 0 30px rgba(255, 0, 51, 0.4);
    transform: scale(1.1);
}

.project-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    color: white;
    margin-bottom: 15px;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(255, 0, 51, 0.2);
}

.project-card p {
    color: #777;
    font-size: 14px;
    line-height: 1.8;
}

.project-tag {
    display: inline-block;
    margin-top: 25px;
    padding: 6px 18px;
    background: rgba(255, 0, 51, 0.1);
    border: 1px solid rgba(255, 0, 51, 0.4);
    color: var(--umbrella-red);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
    transition: all 0.3s ease;
}

.project-card:hover .project-tag {
    background: var(--umbrella-red);
    color: white;
    box-shadow: 0 0 20px rgba(255, 0, 51, 0.5);
}

#news {
    background: var(--dark-bg);
}

#contact {
    background:
        linear-gradient(180deg, var(--darker-bg) 0%, var(--dark-bg) 100%),
        radial-gradient(ellipse at 50% 100%, rgba(255, 0, 51, 0.08) 0%, transparent 50%);
}

.contact-info {
    border-left: 3px solid var(--umbrella-red);
    padding-left: 30px;
}

.contact-info h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 22px;
    color: var(--umbrella-red);
    margin-bottom: 25px;
    letter-spacing: 3px;
    text-shadow: var(--text-glow);
}

.contact-info p {
    color: #909090;
    line-height: 2;
    font-size: 15px;
    margin-bottom: 10px;
}

.contact-info strong {
    color: var(--umbrella-red);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

.btn {
    display: inline-block;
    padding: 15px 45px;
    background: transparent;
    border: 2px solid var(--umbrella-red);
    color: var(--umbrella-red);
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 51, 0.4), rgba(255, 0, 51, 0.6), rgba(255, 0, 51, 0.4), transparent);
    transition: left 0.5s ease;
}

.btn::after {
    content: '[ ';
    margin-right: 5px;
}

.btn span::before {
    content: ' ]';
    margin-left: 5px;
}

.btn:hover {
    background: var(--umbrella-red);
    color: white;
    box-shadow:
        0 0 30px rgba(255, 0, 51, 0.8),
        0 0 60px rgba(255, 0, 51, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.btn:hover::before {
    left: 100%;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: linear-gradient(135deg, rgba(30, 0, 0, 0.98) 0%, rgba(10, 5, 5, 0.99) 100%);
    border: 2px solid var(--umbrella-red);
    border-top: 4px solid var(--umbrella-red);
    padding: 50px;
    max-width: 600px;
    text-align: center;
    position: relative;
    box-shadow:
        0 0 80px rgba(255, 0, 51, 0.6),
        0 0 120px rgba(139, 0, 0, 0.3),
        inset 0 0 60px rgba(255, 0, 51, 0.1);
    animation: modalAppear 0.4s ease, modalPulse 2s ease-in-out infinite;
}

@keyframes modalPulse {
    0%, 100% { box-shadow: 0 0 80px rgba(255, 0, 51, 0.6), 0 0 120px rgba(139, 0, 0, 0.3), inset 0 0 60px rgba(255, 0, 51, 0.1); }
    50% { box-shadow: 0 0 100px rgba(255, 0, 51, 0.8), 0 0 150px rgba(139, 0, 0, 0.4), inset 0 0 80px rgba(255, 0, 51, 0.15); }
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--umbrella-red), var(--blood-red), var(--umbrella-red), transparent);
    box-shadow: 0 0 30px rgba(255, 0, 51, 1);
}

.modal-skull {
    font-size: 90px;
    margin-bottom: 25px;
    animation: skullPulse 0.8s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(255, 0, 51, 1)) drop-shadow(0 0 60px rgba(139, 0, 0, 0.8));
}

@keyframes skullPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 30px rgba(255, 0, 51, 1)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 50px rgba(255, 0, 51, 1)) drop-shadow(0 0 80px rgba(139, 0, 0, 1)); }
}

.modal h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 26px;
    color: var(--umbrella-red);
    margin-bottom: 25px;
    text-shadow: 0 0 30px rgba(255, 0, 51, 0.8);
    letter-spacing: 5px;
    animation: textFlicker 3s ease-in-out infinite;
}

@keyframes textFlicker {
    0%, 100% { opacity: 1; }
    92% { opacity: 1; }
    93% { opacity: 0.8; }
    94% { opacity: 1; }
    96% { opacity: 0.9; }
    97% { opacity: 1; }
}

.modal p {
    color: #bbb;
    line-height: 2;
    margin-bottom: 30px;
    font-size: 15px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 35px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
}

.modal-close:hover {
    color: var(--umbrella-red);
    transform: rotate(90deg) scale(1.2);
    text-shadow: 0 0 20px rgba(255, 0, 51, 1);
}

footer {
    background: var(--darker-bg);
    border-top: 1px solid rgba(255, 0, 51, 0.3);
    padding: 60px 50px 30px;
    position: relative;
    z-index: 1;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--umbrella-red), var(--blood-red), var(--umbrella-red), transparent);
    box-shadow: 0 0 20px rgba(255, 0, 51, 0.5);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
}

.footer-section h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    color: var(--umbrella-red);
    margin-bottom: 25px;
    letter-spacing: 4px;
    text-shadow: 0 0 15px rgba(255, 0, 51, 0.5);
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--umbrella-red);
    box-shadow: 0 0 10px rgba(255, 0, 51, 0.8);
}

.footer-section p,
.footer-section a {
    color: #666;
    font-size: 14px;
    line-height: 2.5;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--umbrella-red);
    text-shadow: 0 0 15px rgba(255, 0, 51, 0.8);
    padding-left: 10px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 50px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 0, 51, 0.1);
    text-align: center;
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 26px;
    color: var(--umbrella-red);
    text-shadow: 0 0 30px rgba(255, 0, 51, 0.6);
    margin-bottom: 20px;
    letter-spacing: 8px;
    animation: logoFlicker 4s ease-in-out infinite;
}

.disclaimer {
    background: rgba(255, 0, 51, 0.05);
    border: 1px solid rgba(255, 0, 51, 0.3);
    border-left: 3px solid var(--umbrella-red);
    padding: 20px 25px;
    margin-top: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.disclaimer p {
    color: #777;
    font-size: 12px;
    text-align: center;
    line-height: 1.9;
    letter-spacing: 1px;
}

.red-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--umbrella-red), var(--blood-red), var(--umbrella-red), transparent);
    margin: 40px 0;
    box-shadow: 0 0 15px rgba(255, 0, 51, 0.3);
}

.copyright {
    color: #444;
    font-size: 11px;
    letter-spacing: 3px;
    font-family: 'Orbitron', sans-serif;
}

.blood-drip {
    position: absolute;
    top: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--umbrella-red) 0%, var(--blood-red) 50%, transparent 100%);
    animation: drip 4s ease-in-out infinite;
    border-radius: 0 0 50% 50%;
}

.blood-drip:nth-child(1) { left: 10%; height: 40px; animation-delay: 0s; }
.blood-drip:nth-child(2) { left: 30%; height: 60px; animation-delay: 1s; }
.blood-drip:nth-child(3) { left: 50%; height: 35px; animation-delay: 2s; }
.blood-drip:nth-child(4) { left: 70%; height: 50px; animation-delay: 0.5s; }
.blood-drip:nth-child(5) { left: 90%; height: 45px; animation-delay: 1.5s; }

@keyframes drip {
    0%, 100% { height: 0; opacity: 0; }
    20% { height: 30px; opacity: 1; }
    80% { height: 50px; opacity: 0.8; }
}

@media (max-width: 768px) {
    .warning-banner {
        font-size: 11px;
        padding: 6px 10px;
    }

    nav {
        top: 30px;
        padding: 10px 20px;
    }

    nav.scrolled {
        padding: 8px 20px;
    }

    .logo {
        font-size: 18px;
        letter-spacing: 3px;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
    }

    .nav-links {
        display: none;
    }

    .hero-logo {
        width: 220px;
        height: 220px;
    }

    .umbrella-symbol {
        width: 140px !important;
        height: 140px !important;
    }

    .hero h1 {
        font-size: 22px;
        letter-spacing: 10px;
    }

    .hero p {
        font-size: 11px;
        letter-spacing: 4px;
    }

    .section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 24px;
        letter-spacing: 4px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        padding: 30px 20px;
    }

    footer {
        padding: 40px 20px 20px;
    }

    .modal {
        padding: 30px 20px;
        margin: 20px;
    }

    .modal h2 {
        font-size: 18px;
    }
}

.recruitment-modal {
    padding: 40px;
    max-width: 550px;
}

.recruitment-modal .modal-content {
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    border: 3px solid var(--toxic-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 40px;
    color: var(--toxic-green);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.6), inset 0 0 20px rgba(0, 255, 65, 0.3);
    animation: successPulse 1s ease-in-out infinite;
}

@keyframes successPulse {
    0%, 100% { box-shadow: 0 0 30px rgba(0, 255, 65, 0.6); }
    50% { box-shadow: 0 0 50px rgba(0, 255, 65, 0.9); }
}

.success-message {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(0, 255, 65, 0.3);
    padding: 25px;
    margin-bottom: 30px;
    text-align: left;
}

.success-line {
    color: var(--toxic-green);
    font-family: 'Courier New', monospace;
    font-size: 13px;
    margin-bottom: 10px;
    opacity: 0;
    animation: typeLine 0.3s forwards;
}

.success-line:nth-child(1) { animation-delay: 0.2s; }
.success-line:nth-child(2) { animation-delay: 0.5s; }
.success-line:nth-child(3) { animation-delay: 0.8s; }
.success-line:nth-child(4) { animation-delay: 1.1s; }

.success-line.highlight {
    color: var(--umbrella-red);
    font-weight: 700;
    text-shadow: 0 0 20px rgba(255, 0, 51, 0.8);
}

.email-form {
    margin-top: 20px;
}

.email-form label {
    display: block;
    color: #aaa;
    font-size: 13px;
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
}

.email-form input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 0, 51, 0.4);
    border-radius: 5px;
    color: white;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.email-form input:focus {
    outline: none;
    border-color: var(--umbrella-red);
    box-shadow: 0 0 20px rgba(255, 0, 51, 0.4);
}

.email-form input::placeholder {
    color: #555;
}

.offer-sent {
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.1), rgba(0, 0, 0, 0.8));
    border: 1px solid var(--toxic-green);
    padding: 30px;
    margin-top: 20px;
}

.offer-view-section {
    margin-top: 30px;
}

.offer-view-section .btn {
    padding: 18px 60px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .recruitment-modal {
        padding: 25px 20px;
        margin: 20px;
    }

    .success-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }

    .recruitment-modal h2 {
        font-size: 18px;
    }

    .success-line {
        font-size: 11px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 11px;
        letter-spacing: 2px;
    }
}

.timeline-section {
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 40px;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.95) 0%, rgba(5, 5, 5, 0.98) 100%);
    border: 1px solid rgba(255, 0, 51, 0.3);
    border-left: 3px solid var(--umbrella-red);
}

.timeline-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    color: var(--umbrella-red);
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 4px;
    text-shadow: 0 0 20px rgba(255, 0, 51, 0.5);
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--umbrella-red), var(--blood-red), var(--umbrella-red));
    box-shadow: 0 0 10px rgba(255, 0, 51, 0.5);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-date {
    position: absolute;
    left: -35px;
    top: 5px;
    width: 50px;
    height: 50px;
    background: var(--darker-bg);
    border: 2px solid var(--umbrella-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--umbrella-red);
    box-shadow: 0 0 15px rgba(255, 0, 51, 0.5), inset 0 0 10px rgba(255, 0, 51, 0.2);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-date {
    transform: scale(1.2);
    box-shadow: 0 0 25px rgba(255, 0, 51, 0.8), inset 0 0 15px rgba(255, 0, 51, 0.4);
}

.timeline-item:nth-child(4) .timeline-date {
    border-color: var(--blood-red);
    color: var(--blood-red);
    animation: criticalPulse 1s ease-in-out infinite;
}

@keyframes criticalPulse {
    0%, 100% { box-shadow: 0 0 15px rgba(139, 0, 0, 0.5); }
    50% { box-shadow: 0 0 30px rgba(139, 0, 0, 1); }
}

.timeline-content {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid rgba(255, 0, 51, 0.2);
    padding: 25px 30px;
    border-radius: 0 5px 5px 0;
    transition: all 0.3s ease;
}

.timeline-content.warning {
    border-left: 3px solid var(--blood-red);
    background: linear-gradient(90deg, rgba(139, 0, 0, 0.1), rgba(10, 10, 10, 0.9));
}

.timeline-content:hover {
    border-color: rgba(255, 0, 51, 0.5);
    box-shadow: 0 0 20px rgba(255, 0, 51, 0.2);
    transform: translateX(10px);
}

.timeline-content h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    color: white;
    margin-bottom: 12px;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(255, 0, 51, 0.3);
}

.timeline-content.warning h4 {
    color: var(--umbrella-red);
}

.timeline-content p {
    color: #888;
    font-size: 14px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .timeline-section {
        padding: 20px;
        margin-top: 40px;
    }

    .timeline-title {
        font-size: 14px;
        letter-spacing: 2px;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-date {
        width: 40px;
        height: 40px;
        left: -25px;
        font-size: 10px;
    }

    .timeline-content {
        padding: 20px;
    }

    .timeline-content h4 {
        font-size: 14px;
    }

    .timeline-content p {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .offer-letter-modal {
        max-width: 95%;
    }

    .offer-header {
        padding: 30px 20px;
    }

    .offer-header h2 {
        font-size: 20px;
        letter-spacing: 5px;
    }

    .offer-logo {
        width: 80px;
        height: 80px;
    }

    .offer-body {
        padding: 30px 20px;
    }

    .offer-content {
        padding: 25px;
    }

    .offer-details {
        padding: 20px;
    }

    .offer-footer {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        text-align: center;
    }

    .umbrella-stamp {
        transform: rotate(0deg);
    }

    .offer-actions {
        flex-direction: column;
        gap: 15px;
        padding: 20px 20px 30px;
    }

    .offer-actions .btn {
        width: 100%;
    }
}