@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&family=Bebas+Neue&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0d0d0d;
    color: #c0c0c0;
    font-family: 'Roboto', sans-serif;
    line-height: 1.5;
    font-weight: 300;
}

/* ===== HEADER ===== */
header {
    background: #1a1a1a;
    border-bottom: 1px solid #2a2a2a;
    padding: 12px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.logo .w {
    color: #dc143c;
}

nav {
    display: flex;
    gap: 40px;
}

nav button {
    background: none;
    border: none;
    color: #808080;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    padding: 6px 0;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Roboto', sans-serif;
}

nav button:hover {
    color: #c0c0c0;
}

nav button.active {
    color: #fff;
    border-bottom: 2px solid #dc143c;
    padding-bottom: 4px;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 30px;
}

/* ===== HOMEPAGE - HERO & TILES ===== */
.hero {
    text-align: center;
    margin-bottom: 80px;
    padding: 60px 20px;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 56px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 16px;
    color: #808080;
    line-height: 1.6;
}

.tiles-section {
    width: 100%;
}

.tiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.tile {
    position: relative;
    aspect-ratio: 1;
    cursor: pointer;
    overflow: hidden;
    border: 1px solid #2a2a2a;
    transition: all 0.3s ease;
}

.tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.1), rgba(0, 0, 0, 0.5));
    transition: all 0.3s ease;
}

.tile:hover .tile-overlay {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.3), rgba(0, 0, 0, 0.7));
}

.tile-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
}

.tile-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.tile-subtitle {
    font-size: 14px;
    color: #c0c0c0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tile:hover .tile-title {
    color: #dc143c;
}

/* ===== PLAYER SECTION ===== */
.player-container {
    margin-bottom: 60px;
}

.video-player-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 25px;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.video-player-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    max-width: 900px;
    margin: 0 auto;
}

.video-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.video-meta {
    display: flex;
    gap: 30px;
    font-size: 12px;
    color: #808080;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-label {
    color: #606060;
}

.meta-value {
    color: #c0c0c0;
}

.action-buttons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.btn {
    padding: 10px 24px;
    border: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.btn-watch {
    background: #dc143c;
    color: #fff;
}

.btn-watch:hover {
    background: #b01030;
    box-shadow: 0 4px 16px rgba(220, 20, 60, 0.4);
}

.btn-watch.watched {
    background: #404040;
    color: #909090;
}

/* ===== CONTENT SECTION ===== */
.content-section {
    margin-top: 80px;
}

.section-header {
    margin-bottom: 25px;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.section-subtitle {
    font-size: 12px;
    color: #606060;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== VIDEO GRID ===== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.video-card {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.video-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #1a1a1a;
    overflow: hidden;
    border: 1px solid #2a2a2a;
}

.video-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.video-card:hover .video-card-thumb img {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.video-card:hover .video-overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.6);
}

.play-btn {
    width: 48px;
    height: 48px;
    background: #dc143c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.video-card:hover .play-btn {
    transform: scale(1);
}

.video-card-info {
    padding: 10px 0;
}

.video-card-title {
    font-size: 11px;
    font-weight: 400;
    color: #c0c0c0;
    line-height: 1.4;
    margin-bottom: 4px;
}

.video-card-date {
    font-size: 10px;
    color: #606060;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.video-card.watched .video-card-title {
    color: #808080;
}

.video-card.watched .video-card-date {
    color: #505050;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #505050;
    grid-column: 1 / -1;
}

.empty-state-text {
    font-size: 14px;
    color: #606060;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #0d0d0d;
}

::-webkit-scrollbar-thumb {
    background: #404040;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #505050;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 12px 15px;
    }

    nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav button {
        font-size: 11px;
    }

    .container {
        padding: 20px 15px;
    }

    .hero-title {
        font-size: 36px;
    }

    .tiles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tile {
        aspect-ratio: auto;
        min-height: 250px;
    }

    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 12px;
    }

    .video-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 18px;
    }
}