/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, transparent 100%);
    display: flex;
    align-items: center;
    padding: 0 40px;
    z-index: 100;
}

.logo {
    font-size: 32px;
    font-weight: bold;
    color: #e50914;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    gap: 40px;
    margin-left: 60px;
}

.nav-item {
    font-size: 20px;
    padding: 10px 20px;
    border-radius: 4px;
    transition: all 0.2s;
    outline: none;
}

.nav-item.active {
    font-weight: bold;
    color: #e50914;
}

/* Main Content */
.main-content {
    padding-top: 100px;
    padding-bottom: 60px;
}

/* Section */
.section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    margin-left: 40px;
    margin-bottom: 20px;
    color: #e5e5e5;
}

/* Search Box */
.search-container {
    position: relative;
}

.search-input {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    background: #333;
    color: #fff;
    width: 300px;
    font-size: 14px;
}

.search-history {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #222;
    border-radius: 4px;
    margin-top: 5px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
}

.search-history-item {
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-history-item:hover,
.search-history-item:focus {
    background: #333;
}

/* Filter Chips */
.filter-chips {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.chip {
    padding: 6px 12px;
    border: none;
    border-radius: 16px;
    background: #333;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.chip:hover,
.chip:focus {
    background: #e50914;
}

.chip.active {
    background: #e50914;
    color: rgba(255,255,255,0.5);
}

/* Loading */
.loading {
    text-align: center;
    padding: 40px;
    font-size: 20px;
    color: #a3a3a3;
}

/* Error message */
.error-message {
    text-align: center;
    padding: 40px;
    color: #e50914;
    font-size: 18px;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px;
    font-size: 20px;
    color: #a3a3a3;
}
