body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Special Elite', system-ui, Courier, monospace;
    margin: 0;
    padding: 20px;
    text-transform: uppercase;
}

.wrapper {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

h1 {
    font-size: 28px;
    margin: 10px 0 0 0;
    letter-spacing: 3px;
    text-align: left;
}

.divider {
    border-bottom: 1px solid #ffffff;
    margin-top: 20px;
    margin-bottom: 30px;
}

.back-link {
    display: inline-block;
    background: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 8px 12px;
    font-size: 11px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.back-link:hover {
    background-color: #ffffff;
    color: #000000;
}

.toc {
    margin-top: 40px;
    margin-left: 40px;
    text-align: left;
}

.toc-title {
    font-weight: bold;
    display: block;
    margin-bottom: 20px;
    letter-spacing: 1px;
    color: #888888;
}

.toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.toc li {
    margin-bottom: 18px;
    text-align: left;
}

.toc a {
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    border-bottom: 1px dashed #ffffff;
}

.toc a:hover {
    background-color: #ffffff;
    color: #000000;
    border-bottom: 1px solid #000000;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    width: 40%;
    margin-top: 30px;
    margin-left: 30px;
}

.gallery-item {
    border: 1px solid #ffffff;
    padding: 15px;
    width: 300px;
    height: 300px;
    position: relative;
}

.gallery-item img {
    width: 250px;
    height: 400px;
    max-height: 270px;
    object-fit: cover;
    margin-left: 23px;
    margin-top: 12px;
}

.caption {
    font-size: 12px;
    color: #cccccc;
    position: absolute;
    bottom: 12px;
    right: 12px;
    font-family: 'Special Elite', monospace;
}


.side-panel {
    width: 280px;
    position: fixed;
    right: 25%;
    bottom: 80px;
    top: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 100;
    pointer-events: none;
}

.side-panel a,
.side-panel img {
    pointer-events: auto;
}

.lmfguy {
    width: auto;
    height: 45vh;
    max-height: 800px;
    object-fit: contain;
    display: block;
    filter: contrast(120%);
}

.warning-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.warning-icons img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: grayscale(100%) invert(1) contrast(1000%);
    opacity: 0.8;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.social-icons img {
    width: 25px;
    height: 25px;
    object-fit: contain;
    filter: grayscale(100%) invert(1) contrast(1000%);
    opacity: 0.8;
}

.social-icons img:hover {
    opacity: 1;
    transform: scale(1.1);
}

.warning-text {
    font-size: 10px;
    line-height: 1.4;
    color: #666666;
    font-family: 'Special Elite', monospace;
    letter-spacing: 0.5px;
}

.video-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.video-item {
    border: 1px solid #ffffff;
    padding: 15px;
    margin-bottom: 30px;
    background-color: #000000;
    position: relative;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.video-ratio-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    margin-bottom: 35px;
}

.video-ratio-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-caption {
    font-size: 12px;
    color: #cccccc;
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-family: 'Special Elite', monospace;
}

.deployment-table {
    width: 50%;
    border-collapse: collapse;
    text-align: left;
}

.deployment-table th {
    font-size: 12px;
    color: #888888;
    padding: 10px 15px;
    border-bottom: 1px solid #ffffff;
    letter-spacing: 1px;
}

.deployment-table td {
    padding: 15px;
    font-size: 14px;
    border-bottom: 1px solid #222222;
    vertical-align: middle;
}

.deployment-table th:last-child {
    padding-left: 30px;
}

.status-btn {
    font-family: 'Special Elite', monospace;
    font-size: 12px;
    text-decoration: none;
    display: inline-block;
    padding: 5px 10px;
    transition: all 0.2s ease;
    color: #ffffff;
}

.status-btn:hover {
    background-color: #ffffff;
    color: #000000;
}

.menu-toggle-btn,
.mobile-nav-overlay {
    display: none;
}

.control-btn {
    position: relative;
    z-index: 10;
    background: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 4px 8px;
    font-family: monospace;
    font-size: 18px;
    letter-spacing: 1px;
    cursor: pointer;
    margin: 0 10px 0 10px;
    transition: all 0.1s ease;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.control-btn,
.control-btn:focus,
.control-btn:active {
  outline: none;
  background: transparent;
  color: #ffffff;
}

.control-btn:hover {
    background: #ffffff;
    color: #000000;
}

.control-btn:active {
    transform: scale(0.9);
}

@media (max-width: 850px) {
    .main-content {
        margin-left: 0;
        margin-right: 0;
        padding: 0 10px;
    }

    .main-header {
        margin-top: 50px !important;
    }

    .side-panel {
        display: none;
    }

    .wrapper {
        flex-direction: column;
        margin-left: 10px;
    }

    .divider {
        width: 80%;
    }

    .gallery-grid {
        width: 30%;
        margin-left: 2%;
    }

    .video-content {
        width: 97%;
    }

    .venue-site {
        display: none;
    }

    .deployment-log {
        border: none;
        padding: 10px 0;
    }

    .deployment-table {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .deployment-table td {
        padding: 8px 0;
        border-bottom: 1px solid #111111;
        text-align: left;
        font-size: 13px;
        line-height: 1.4;
    }

    .status-btn {
        display: block;
        width: 100%;
        padding: 12px;
        border: 0.3px solid #ffffff;
        box-sizing: border-box;
        text-align: center;
        font-size: 13px;
    }

    aside.side-panel.not-main-side-panel {
        display: none !important;
    }

    .toc {
        display: none !important;
    }

    .menu-toggle-btn {
        display: block;
        position: fixed;
        top: 20px;
        left: 20px;
        background: transparent;
        color: #ffffff;
        border: 1px solid #ffffff;
        padding: 8px 12px;
        font-family: monospace;
        font-size: 11px;
        letter-spacing: 1px;
        cursor: pointer;
        z-index: 1000;
        transition: all 0.2s ease;
    }

    .menu-toggle-btn:active {
        background-color: #ffffff;
        color: #000000;
    }

    .mobile-nav-overlay {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        z-index: 2000;
        justify-content: center;
        align-items: center;
        flex-direction: column;

        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .mobile-nav-overlay.is-active {
        opacity: 1;
        pointer-events: auto;
    }

    .menu-close-btn {
        position: absolute;
        top: 20px;
        left: 20px;
        background: transparent;
        color: #888888;
        border: 1px dashed #444444;
        padding: 8px 12px;
        font-family: monospace;
        font-size: 11px;
        cursor: pointer;
    }

    .menu-close-btn:active {
        color: #ffffff;
        border-color: #ffffff;
    }

    .mobile-menu-content {
        width: 90%;
        max-width: 400px;
        text-align: left;
        padding: 20px;
    }

    .menu-subtitle {
        display: block;
        font-family: monospace;
        font-size: 12px;
        color: #555555;
        margin-bottom: 25px;
        letter-spacing: 1px;
    }

    .mobile-links {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .mobile-links a {
        color: #ffffff;
        text-decoration: none;
        font-size: 15px;
        line-height: 1.4;
        border-bottom: 1px solid #111111;
        padding-bottom: 10px;
        transition: color 0.2s ease;
    }

    .mobile-links a:active {
        color: #888888;
    }

    .side-panel {
        position: relative !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        width: 100% !important;
        margin-top: 7vh;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .lmfguy {
        height: 35vh !important;
        max-height: 320px;
        margin-bottom: 3vh !important;
    }
    .control-btn:hover {
    background: transparent;
    color: #ffffff;
    }

    .control-btn.active {
    background: rgb(255, 255, 255) !important;
    color:#000000 !important;
    transform: scale(0.9);
    }

}