/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #000000;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

/* Container */
.container {
    max-width: 1200px;
    width: 100%;
}

/* Project Groups */
.project-group {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 5rem;
}

.project-group.secondary {
    margin-bottom: 0;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.project-group.secondary:hover {
    opacity: 0.8;
}

/* Project Cards */
.project-card {
    width: 280px;
    height: 280px;
    background-color: #000000;
    border: 1px solid #333333;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #ffffff;
    position: relative;
}

.project-card:hover {
    border-color: #666666;
    transform: scale(1.02);
    /* transform: translateY(-1px); */
}

/*
.project-card:hover .icon {
    transform: scale(1.1);
}
*/

/* Icons */
.icon {
    width: 180px;
    height: 180px;
    object-fit: contain;
    stroke: #ffffff;
    transition: transform 0.3s ease;
}

/* Project Titles */
.project-title {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: lowercase;
}

/* Video Page Styles */
.video-page {
    width: 100%;
    margin: 0 auto;
    padding: 2rem 0;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-footer {
    text-align: center;
    margin-top: 4rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 1rem;
}

.back-link {
    display: inline-block;
    color: #666666;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #ffffff;
}

.channel-link {
    display: inline-block;
    color: #666666;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.channel-link:hover {
    color: #ffffff;
}

.video-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border: 1px solid #333333;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .project-card {
        width: 240px;
        height: 240px;
    }

    .icon {
        width: 140px;
        height: 140px;
    }

    .project-title {
        font-size: 0.9rem;
    }

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

@media (max-width: 768px) {
    .project-group {
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .project-card {
        width: 200px;
        height: 200px;
    }

    .icon {
        width: 120px;
        height: 120px;
    }

    .project-title {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }

    .page-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 1rem;
    }

    .project-card {
        width: 150px;
        height: 150px;
        gap: 1rem;
    }

    .icon {
        width: 50px;
        height: 50px;
    }

    .project-title {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}