    /* RESET */
    @font-face {
    font-family: 'Futured';
    src: url(Futured.TTF);
    }

    * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    }

    body {
    font-family: Inter, Arial, sans-serif;
    background: #0f1113;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    overflow-x: hidden;
    }

    .home-btn {
    color: #C7F42F;
    text-decoration: none;
    font-weight: 700;
    text-shadow: 0 0 10px #0ff, 0 0 20px #0ff; /* glow effect */
    }

    /* CARDS */
    .container {
    width: 94%;
    max-width: 980px;
    margin: 86px auto 48px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 60px;
    }

    .card {
    position: relative;
    height: 220px;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    background: #222;
    display: flex; /*  Enable flexbox */
    align-items: center; /* Center items vertically */
    justify-content: center; /*Center items horizontally */
    }

    .card:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    }

    .background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    object-fit: contain; /* CRITICAL CHANGE: Image shrinks to fit without cropping */
    object-position: center;
    background-color: #000; 
    padding: 0;
    z-index: 0; /* Ensure this is the base layer */
    }

    .backdrop {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
    z-index: -1; 
    }

    .card-content {
    position: absolute;
    left: 18px;
    bottom: 18px;
    right: 18px;
    z-index: 2;
    }

    .card-content h3 {
    font-size: 20px;
    margin-bottom: 6px;
    text-shadow: 0 0 10px #FF0000, 0 0 20px #0ff; /* glow effect */
    }

    .card-content p {
    opacity: 0.85;
    font-size: 13px;
    line-height: 1.25;
    }

    .details {
    display: none;
    }

    /* MODAL */
    .modal {
    display: none;
    position: fixed;
    inset: 0;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.75);
    z-index: 2000;
    }

    .modal.open {
    display: flex;
    }

    .modal-content {
    background: #0f1113;
    color: #fff;
    padding: 18px;
    border-radius: 10px;
    max-width: 820px;
    width: 92%;
    max-height: 80vh;
    overflow: auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    }

    .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    }

    .modal-content h2 {
    font-size: 20px;
    margin: 0;
    }

    .modal-body {
    font-size: 14px;
    line-height: 1.5;
    color: #e6e6e6;
    }

    .modal-close {
    position: absolute;
    right: 12px;
    top: 12px;
    border: 0;
    background: #dd2ff4;
    color: #0b0b0b;
    padding: 6px 10px;
    border-radius: 6px;
    font-family: "Futured";
    font-weight: 700;
    cursor: pointer;
    }

    /* RESPONSIVE */
    @media (max-width: 720px) {
    .card {
    height: 160px;
    }

    .card-content h3 {
    font-size: 16px;
    }

    .navbar {
    padding: 0 12px;
    }

    .sidebar {
    width: 220px;
    }

    #side-overlay {
    background: rgba(0, 0, 0, 0.55);
    }
    }

    .modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}
@media (max-width: 600px) {
    .modal-grid { grid-template-columns: 1fr; }
}
.video-table { width: 100%; border-collapse: collapse; color: white; font-size: 12px; }
.video-table td { padding: 5px; border-bottom: 1px solid #333; }