body {
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
    padding: 0;
    color: #f0f0f0;
    background-color: #1a1a1a;
    overflow-x: hidden;
}

#bg-video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    opacity: 0.3;
}

.site-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(26, 26, 26, 0.8);
    position: relative;
    z-index: 1;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #ff0000;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 60px;
    height: auto;
    margin-right: 15px;
}

h1 {
    color: #ffff00;
    font-size: 24px;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
}

.nav-item {
    text-decoration: none;
    color: #e0e0e0;
    margin-left: 20px;
    font-weight: bold;
    text-transform: uppercase;
    transition: color 0.3s ease;
    padding: 5px;
    border: 1px solid transparent;
}

.nav-item:hover {
    color: #ff0000;
    border-color: #ff0000;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.propaganda-banner {
    background-color: #333;
    padding: 10px;
    border: 2px solid #ffff00;
    overflow: hidden;
}

.ticker-wrapper {
    white-space: nowrap;
    overflow: hidden;
    border-bottom: 1px dashed #ff0000;
    padding-bottom: 5px;
}

.ticker-text {
    animation: ticker-move 30s linear infinite;
    display: inline-block;
    color: #fff;
    font-size: 18px;
    text-transform: uppercase;
}

.propaganda-video-container {
    margin-top: 10px;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.propaganda-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: grayscale(100%) contrast(1.2);
}

.welcome-message, .ads-section, .employee-stories, .recruitment-form-section {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border: 1px dashed #ff0000;
}

h2 {
    color: #ffff00;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 5px;
    text-transform: uppercase;
}

.ceo-message-container {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.ceo-photo {
    width: 150px;
    height: auto;
    margin-right: 20px;
    border: 2px solid #ff0000;
    filter: brightness(0.8) sepia(0.5);
}

.ad-banner {
    padding: 15px;
    margin-bottom: 15px;
    text-align: center;
    border: 2px solid;
    position: relative;
    animation: flicker-light 5s infinite;
}

.ad-red {
    background-color: rgba(255, 0, 0, 0.2);
    border-color: #ff0000;
}

.ad-yellow {
    background-color: rgba(255, 255, 0, 0.2);
    border-color: #ffff00;
}

.ad-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-top: 10px;
    filter: brightness(0.9);
    position: relative;
}

.ad-image::before {
    content: "MegaCorp™ Watermark";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-20deg);
    color: rgba(255, 255, 255, 0.2);
    font-size: 24px;
    font-weight: bold;
    pointer-events: none;
}

.story-card {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ff0000;
    display: flex;
    align-items: center;
}

.employee-photo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-right: 15px;
    filter: grayscale(100%) brightness(0.7);
}

#recruitment-form .form-group {
    margin-bottom: 15px;
}

#recruitment-form label {
    display: block;
    margin-bottom: 5px;
    color: #ffff00;
}

#recruitment-form input, #recruitment-form select {
    width: 100%;
    padding: 8px;
    background-color: #333;
    border: 1px solid #ff0000;
    color: #e0e0e0;
    font-family: 'Courier New', Courier, monospace;
}

.submit-button {
    background-color: #ff0000;
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
}

.submit-button:hover {
    background-color: #cc0000;
}

.footer {
    text-align: center;
    border-top: 2px solid #ff0000;
    padding-top: 10px;
    margin-top: 20px;
    font-size: 12px;
    color: #999;
}

.forced-link {
    color: #ffff00;
    text-decoration: underline;
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.popup-content {
    background-color: #222;
    padding: 30px;
    border: 5px solid #ff0000;
    text-align: center;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    animation: popup-fadein 0.5s ease-in-out;
}

#audio-prompt-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
#audio-prompt-popup .popup-content {
    background-color: var(--background-color);
    border: 2px solid var(--primary-color);
    padding: 20px;
    text-align: center;
}

.popup-content h2 {
    color: #ffff00;
    border-bottom: 1px solid #ffff00;
    padding-bottom: 10px;
}

.popup-content p {
    margin: 20px 0;
    color: #ffffff;
}

#popup-yes {
    background-color: #ff0000;
    color: #fff;
    padding: 15px 40px;
    border: none;
    font-size: 20px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
}

#ad-popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1010;
}

.website-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #f0f0f0;
    border: 1px solid #333;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    width: 300px;
    max-width: 80%;
    z-index: 1020;
    display: none;
    flex-direction: column;
    border-radius: 5px;
    overflow: hidden;
    pointer-events: auto;
}

.popup-title-bar {
    background-color: #ddd;
    color: #333;
    padding: 8px 10px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ccc;
}

.popup-title {
    font-size: 1em;
}

.popup-close-button {
    background: none;
    border: none;
    color: #666;
    font-size: 1.2em;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.popup-close-button:hover {
    color: #000;
}

.popup-content {
    padding: 15px;
    font-size: 0.9em;
    color: #333;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.popup-action-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 1em;
}

.popup-action-button:hover {
    background-color: #0056b3;
}

.ad-popup {
    border-color: #ff9800;
    box-shadow: 2px 2px 10px rgba(255, 152, 0, 0.5);
}

.ad-popup .popup-title-bar {
    background-color: #ffe0b2;
    color: #ff6f00;
    border-bottom-color: #ffc107;
}

.creepy-stare:hover {
    animation: creepy-stare-anim 2s infinite;
}

@keyframes creepy-stare-anim {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.glitch-text:hover {
    animation: glitch-text 0.5s infinite;
}

@keyframes glitch-text {
    0% {
        transform: translate(0, 0);
        text-shadow: 0.1em 0 0 red, -0.1em 0 0 blue;
    }
    10% {
        transform: translate(-5px, 5px);
        text-shadow: -0.1em 0 0 red, 0.1em 0 0 blue;
    }
    20% {
        transform: translate(-5px, -5px);
    }
    30% {
        transform: translate(5px, 5px);
        text-shadow: 0.1em 0 0 red, -0.1em 0 0 blue;
    }
    40% {
        transform: translate(-5px, 5px);
    }
    50% {
        transform: translate(5px, -5px);
        text-shadow: -0.1em 0 0 red, 0.1em 0 0 blue;
    }
    60% {
        transform: translate(0, 5px);
    }
    70% {
        transform: translate(0, 0);
        text-shadow: 0.1em 0 0 red, -0.1em 0 0 blue;
    }
    100% {
        transform: translate(0, 0);
    }
}

@keyframes flicker-light {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        opacity: 1;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6);
    }
    20%, 24%, 55% {
        opacity: 0.5;
        text-shadow: none;
    }
}

@media screen and (max-width: 768px) {
    .site-wrapper {
        padding: 10px;
    }

    .header {
        flex-direction: column;
        text-align: center;
    }

    .logo-container {
        flex-direction: column;
        margin-bottom: 10px;
    }

    .logo {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .main-nav {
        flex-direction: column;
        width: 100%;
    }

    .nav-item {
        margin: 5px 0;
        border: none;
        width: 100%;
        text-align: center;
    }

    .main-content {
        grid-template-columns: 1fr;
    }

    .ceo-message-container {
        flex-direction: column;
        text-align: center;
    }

    .ceo-photo {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .story-card {
        flex-direction: column;
        text-align: center;
    }

    .employee-photo {
        margin-right: 0;
        margin-bottom: 15px;
    }

    #recruitment-form input, #recruitment-form select {
        box-sizing: border-box;
    }

    .popup-content {
        padding: 20px;
    }

    #intrusive-popup .popup-content, .website-popup {
        width: 90%;
        box-sizing: border-box;
    }
}

@media (hover: none) and (pointer: coarse) {
    body {
        cursor: auto;
    }
}