#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#splash-screen video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Base Styles */
:root {
    --netflix-red: #e50914;
    --netflix-black: #000;
    --netflix-dark: #141414;
    --netflix-light-gray: #b3b3b3;
    --netflix-white: #fff;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--netflix-black);
    color: var(--netflix-white);
    line-height: 1.6;
}

.wrapper {
    width: 100%;
    min-height: 100vh;
    background-color: var(--netflix-dark);
}

a {
    text-decoration: none;
    color: var(--netflix-white);
}

ul {
    list-style: none;
}


/* Header and Navigation */

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 1rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 92%;
    margin: 0 auto;
}

.logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 1px;
}

.logo span {
    color: var(--netflix-red);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    font-size: 1rem;
    transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--netflix-red);
}

.back-button {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.back-button:hover {
    color: var(--netflix-red);
}

.back-icon::before {
    content: "←";
    margin-right: 0.5rem;
}


/* Hero Banner */

.hero-banner {
    height: 80vh;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 3rem;
}

.hero-banner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 4%;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    width: 80%;
    color: var(--netflix-light-gray);
}

.button-group {
    display: flex;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-play {
    background-color: var(--netflix-white);
    color: var(--netflix-black);
    margin-right: 1rem;
}

.btn-play:hover {
    background-color: rgba(255, 255, 255, 0.75);
}

.btn-more {
    background-color: rgba(109, 109, 110, 0.7);
    color: var(--netflix-white);
}

.btn-more:hover {
    background-color: rgba(109, 109, 110, 0.4);
}

.play-icon::before {
    content: "▶";
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

.info-icon::before {
    content: "ℹ";
    margin-right: 0.5rem;
}


/* Content Rows */

.content {
    padding: 0 4%;
}

.row {
    margin-bottom: 3rem;
}

.row h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.memory-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0;
    gap: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--netflix-red) var(--netflix-dark);
}

.memory-slider::-webkit-scrollbar {
    height: 8px;
}

.memory-slider::-webkit-scrollbar-track {
    background: var(--netflix-dark);
}

.memory-slider::-webkit-scrollbar-thumb {
    background-color: var(--netflix-red);
    border-radius: 4px;
}

.memory-item {
    flex: 0 0 auto;
    width: 280px;
    transition: transform 0.3s, z-index 0.3s;
    position: relative;
}

.memory-item:hover {
    transform: scale(1.1);
    z-index: 10;
}

.memory-thumbnail {
    height: 160px;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.play-overlay .play-icon::before {
    font-size: 3rem;
    margin: 0;
}

.memory-item:hover .play-overlay {
    opacity: 1;
}

.memory-info {
    padding: 1rem 0.5rem;
}

.memory-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.memory-info span {
    color: var(--netflix-light-gray);
    font-size: 0.9rem;
}

.memory-brief {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--netflix-light-gray);
    display: none;
}

.memory-item:hover .memory-brief {
    display: block;
}


/* Category Page */

.category-banner {
    background-color: rgba(20, 20, 20, 0.8);
    padding: 4rem 0;
    margin-bottom: 2rem;
}

.category-content {
    width: 92%;
    margin: 0 auto;
}

.category-banner h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-banner p {
    font-size: 1.2rem;
    color: var(--netflix-light-gray);
    max-width: 60%;
}

.memory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.memory-grid .memory-item {
    width: 100%;
}

.memory-grid .memory-info {
    padding: 1rem 0;
}

.memory-grid .memory-brief {
    display: block;
}


/* Watch Video Page */

.watch-body {
    background-color: var(--netflix-black);
}

.watch-header {
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem 0;
    margin-bottom: 0;
}

.video-container {
    width: 100%;
    margin-bottom: 2rem;
}

.video-container video {
    width: 100%;
    max-height: 80vh;
    background-color: var(--netflix-black);
}

.memory-details {
    width: 92%;
    margin: 0 auto 3rem;
}

.details-content {
    background-color: rgba(30, 30, 30, 0.7);
    border-radius: 8px;
    padding: 2rem;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.title-block h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.memory-date {
    color: var(--netflix-light-gray);
}

.love-button {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(229, 9, 20, 0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.love-button:hover,
.love-button.active {
    background-color: var(--netflix-red);
}

.heart-icon::before {
    content: "♥";
    font-size: 1.5rem;
}

.memory-description p {
    font-size: 1.1rem;
    line-height: 1.8;
}


/* Footer */

footer {
    padding: 2rem 0;
    background-color: rgba(0, 0, 0, 0.8);
    text-align: center;
}

.footer-content p {
    color: var(--netflix-light-gray);
    margin-bottom: 0.5rem;
}

.footer-content p:first-child {
    color: var(--netflix-white);
}


/* Responsive Design */

@media screen and (max-width: 1024px) {
    .hero-content {
        width: 60%;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .category-banner p {
        max-width: 80%;
    }
}

@media screen and (max-width: 768px) {
    .hero-content {
        width: 80%;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content p {
        width: 100%;
    }
    .memory-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    .category-banner p {
        max-width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .navbar {
        flex-direction: column;
    }
    nav {
        margin-top: 1rem;
    }
    nav ul {
        overflow-x: auto;
        width: 100%;
        padding-bottom: 0.5rem;
    }
    .hero-banner {
        height: 60vh;
    }
    .hero-content {
        width: 100%;
        padding: 0 1rem 0 1rem;
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .button-group {
        flex-direction: column;
    }
    .btn-play {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    .memory-details {
        width: 100%;
        padding: 0 1rem;
    }
    .detail-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .love-button {
        margin-top: 1rem;
    }
}