* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

body {
    background-color: #1a1a1a;
    color: #e0e0e0;
    line-height: 1.5;
    width: 100%;
    overflow-x: hidden;
}

/* Header */
header {
    background-color: #0f0f0f;
    color: #fff;
    width: 100%;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem;
}

.header-container h1 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.about-link {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.about-link:hover {
    color: #fff;
}

/* Video grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0;
    width: 100%;
    padding: 0;
    margin: 0;
}

/* Video item */
.video-grid .video-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #2a2a2a;
    overflow: hidden;
}

.video-grid .video-item a {
    width: 100%;
    display: block;
    position: relative;
}

.video-grid .video-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.video-grid .video-item .title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* About section */
.about-section {
    width: 100%;
    background: #2a2a2a;
    padding: 2rem 1rem;
}

.about-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
    text-align: center;
}

.about-section p {
    font-size: 0.95rem;
    color: #bbb;
    max-width: 800px;
    margin: 0 auto;
}

/* Footer */
footer {
    text-align: center;
    background-color: #0f0f0f;
    color: #ccc;
    width: 100%;
    padding: 1rem 0;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-grid .video-item img {
        height: 150px;
    }

    .header-container {
        padding: 1rem 0.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .video-grid .video-item img {
        height: 180px;
    }
}

@media (min-width: 1025px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .video-grid .video-item img {
        height: 220px;
    }
}