/* RESET & CORE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #050505;
    color: #e0e0e0;
    font-family: 'Courier New', Courier, monospace;
    overflow-x: hidden;
    min-height: 100vh;
}

/* NOISE BACKGROUND */
canvas#noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.15;
    /* Subtle grit */
}

/* CONTENT CONTAINER */
.container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* HEADER */
header {
    margin-bottom: 60px;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

h1 {
    font-size: 2.5rem;
    font-weight: bold;
    letter-spacing: -2px;
    text-transform: uppercase;
    color: #fff;
}

.back-link {
    color: #888;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.back-link:hover {
    color: #fff;
    text-decoration: line-through;
}

/* VIDEO LIST */
.video-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    /* For borders */
    background: #333;
    /* Border color */
    border: 1px solid #333;
}

.video-item {
    background: #050505;
    padding: 25px;
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 20px;
    align-items: center;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    color: inherit;
}

.video-item:hover {
    background: #fff;
    color: #000;
}

.video-date {
    font-size: 0.9rem;
    color: #666;
    transition: color 0.2s;
}

.video-item:hover .video-date {
    color: #000;
}

.video-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.video-title {
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.video-desc {
    font-size: 0.9rem;
    color: #888;
    max-width: 600px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
}

.video-item:hover .video-desc {
    color: #333;
}

.video-link-icon {
    font-size: 1.5rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s;
}

.video-item:hover .video-link-icon {
    opacity: 1;
    transform: translateX(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .video-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .video-date {
        font-size: 0.8rem;
    }

    .video-link-icon {
        display: none;
    }
}