#home {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    min-height: 100vh;
    font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #ffffff;
    overflow-x: hidden;
}

#header-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding-top: 20px;
    padding-inline: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

#search-form {
    position: relative;
    width: 100%;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, .12);
}

#search-form input[type="search"] {
    width: 100%;
    padding: 10px 12px 10px 36px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 1rem;
    outline: none;
}

#search-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

#search-input:focus {
    box-shadow: 0 0 10px rgb(255, 255, 255);
}

#search-form button {
    background: linear-gradient(135deg, #f15a22, #f99d1c);
    border: none;
    padding: 5px 10px;
    border-radius: 10px;
    color: #fff;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
}

#search-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(241, 90, 34, 0.4);
    background: linear-gradient(135deg, #f99d1c, #f15a22);
}

.header-filtering {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    margin-inline: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.genre-heading {
    font-size: 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    margin-top: 35px;
    padding-left: 5px;
    position: relative;
}

.genre-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: linear-gradient(135deg, #f15a22, #f99d1c);
    border-radius: 2px;
    margin-right: 12px;
}

.genre-buttons {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.genre-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 10px;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    width: 160px;
}

.genre-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    color: #fff;
}

.genre-btn[data-active="true"] {
    background: linear-gradient(135deg, #001c37, #000000);
    border-color: #001c37;
    color: #fff;
    font-weight: 600;
}

.session-id {
    position: absolute;
    top: 20px;
    right: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #a0aec0;
}

#home-face {
    padding: 0 40px;
}

.movie-grid-container {
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .25);
    box-shadow: 0 8px 32px -8px rgba(0, 0, 0, .2);
    margin: 25px;
    padding: 25px;
    border-radius: 12px;

}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;

}

.movie-card {
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    justify-content: start;
}

.movie-card:hover {
    color: rgb(241, 50, 130);
}

.movie-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.movie-card img {
    border-radius: 0.75rem;

    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.movie-card:hover img {
    transform: scale(1.02);
    filter: brightness(0.8);
}

.movie-card div {
    padding: 8px 0px;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.3;
}

.pagination-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 40px;
    border-radius: 25px;
    margin: 20px;
    font-size: 14px;
}

.pagination-nav button {
    background: transparent;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.pagination-nav button:hover {
    background-color: rgb(204, 204, 204, 0.3);
}

.pagination-nav button:disabled {
    background-color: rgb(204, 204, 204, 0.5);
    color: #ffffff;
    opacity: 0.6;
}

.pagination-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 25px;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    min-width: 180px;
}

.header-top {
    flex-direction: column;
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.brand-box {
    margin: 25px;
    background-color: transparent;
    border-top-left-radius: 25px;
    border-bottom-right-radius: 25px;
    display: flex;
    flex-direction: column;
}

.brand-box p {
    margin-bottom: 0px;
    font-size: 30px;
    font-weight: 600;
    color: #fff;
}

.brand-box span {
    justify-content: start;
    display: flex;
    align-items: center;
    font-size: 18px;
    color: #ffffff;
}

.brand-logo {
    height: 40px;
    object-fit: contain;
    display: block;
}