:root {
    --bg-color: #0b0c10;
    --card-bg: #1f2833;
    --neon-green: #39ff14;
    --neon-orange: #ff6600;
    --text-color: #ffffff;
    --text-muted: #c5a059; /* Cyberpunk gold accent or muted grey */
    --grey: #a9a9a9;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    min-height: 100vh;
    background: radial-gradient(circle at top, rgba(57,255,20,0.08), transparent 20%), var(--bg-color);
    color: var(--text-color);
    padding-bottom: 60px;
}

.hero-banner {
    background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.95)), url('https://placehold.co/1200x400/111/39ff14?text=Omega-Roll') no-repeat center/cover;
    min-height: 360px;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(57,255,20,0.24);
    margin-bottom: 40px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.36);
}

.hero-banner h1 {
    font-size: clamp(2.6rem, 5vw, 4rem);
    line-height: 1.05;
    margin-bottom: 12px;
    max-width: 720px;
}

.hero-banner p {
    color: var(--neon-green);
    font-size: 1.05rem;
    max-width: 680px;
}

.section-panel {
    background: rgba(14,17,22,0.96);
    padding: 24px;
    border-radius: 18px;
    border: 1px solid rgba(57,255,20,0.15);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    margin-bottom: 30px;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.filter-control,
.search-input {
    background: #0f141b;
    border: 1px solid #222;
    color: #fff;
    border-radius: 14px;
    padding: 12px 14px;
    min-width: 150px;
    transition: 0.2s;
}

.filter-control:focus,
.search-input:focus {
    outline: none;
    border-color: var(--neon-green);
    box-shadow: 0 0 12px rgba(57,255,20,0.16);
}

.anime-card .info {
    min-height: 90px;
}

.anime-card h3 {
    font-size: 14px;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

hr {
    border: none;
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 50px 0;
}

p {
    line-height: 1.7;
    color: var(--text-muted);
}

.search-panel {
    margin-bottom: 30px;
}

.nav a {
    min-height: 24px;
}

@media (max-width: 900px) {
    .filter-row {
        justify-content: stretch;
    }
    .filter-control,
    .search-input {
        min-width: 100%;
    }
    header {
        flex-wrap: wrap;
        align-items: stretch;
        justify-content: center;
        gap: 12px;
        padding: 18px 16px;
    }
    header > div,
    nav {
        width: 100%;
    }
    nav {
        order: 2;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        margin-top: 8px;
    }
    .header-action-btn {
        width: 100%;
        min-width: auto;
        padding: 14px 16px;
        border-radius: 18px;
    }
    .anime-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 18px;
    }
    .anime-card img {
        height: 280px;
    }
    #schedule-panel {
        width: min(100%, 420px);
    }
    .schedule-entry {
        grid-template-columns: 80px 1fr;
        padding: 14px;
    }
}

@media (max-width: 600px) {
    .anime-grid {
        grid-template-columns: 1fr;
    }
    .anime-card img {
        height: 220px;
    }
    header {
        padding: 18px 14px;
    }
    .header-action-btn,
    #schedule-close {
        width: 100%;
    }
    .schedule-entry {
        grid-template-columns: 72px 1fr;
    }
}

/* Navbar */
header {
    background-color: #000000;
    border-bottom: 2px solid var(--neon-green);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
}

.logo {
    color: var(--neon-green);
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 0 10px var(--neon-green);
    text-decoration: none;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 20px;
    font-weight: 600;
    transition: 0.3s;
}

nav a:hover, nav a.active {
    color: var(--neon-green);
    text-shadow: 0 0 5px var(--neon-green);
}

.header-action-btn {
    background: transparent;
    border: 1px solid var(--neon-green);
    color: var(--text-color);
    padding: 12px 18px;
    border-radius: 18px;
    cursor: pointer;
    transition: 0.2s ease;
    font-weight: 700;
    min-width: 120px;
}

.header-action-btn:hover {
    background: var(--neon-green);
    color: #000;
}

.schedule-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
    z-index: 999;
}

.schedule-overlay.open {
    opacity: 1;
    visibility: visible;
}

#schedule-panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(400px, 100%);
    background: #070b10;
    border-left: 1px solid rgba(57,255,20,0.18);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 22px;
    overflow-y: auto;
}

#schedule-panel.open {
    transform: translateX(0);
}

.schedule-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.schedule-panel-header h2 {
    margin: 0;
    font-size: 1.4rem;
}

#schedule-close {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.8rem;
    cursor: pointer;
}

.schedule-loading,
.schedule-empty {
    color: var(--grey);
    padding: 14px 0;
}

.schedule-day-section {
    margin-bottom: 24px;
}

.schedule-day-section h3 {
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: var(--neon-green);
}

.schedule-day-grid {
    display: grid;
    gap: 12px;
}

.schedule-entry {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 12px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.2s ease, background 0.2s ease;
}

.schedule-entry:hover {
    transform: translateX(2px);
    background: rgba(57,255,20,0.12);
}

.schedule-entry img {
    width: 70px;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.schedule-entry div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.schedule-entry strong {
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.schedule-entry small {
    color: var(--grey);
}

.mal-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--neon-green);
    text-decoration: none;
    border: 1px solid rgba(57,255,20,0.3);
    padding: 8px 12px;
    border-radius: 14px;
    transition: background 0.2s ease;
}

.mal-link:hover {
    background: rgba(57,255,20,0.12);
}

.recommendation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.recommendation-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 14px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.recommendation-card:hover {
    transform: translateY(-2px);
    background: rgba(57,255,20,0.12);
}

.recommendation-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
}

.recommendation-card strong {
    font-size: 0.95rem;
}

/* Global Content Wrapper */
.container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

h1, h2, h3 {
    color: #fff;
    margin-bottom: 20px;
}

.neon-title {
    color: var(--neon-green);
    text-shadow: 0 0 5px var(--neon-green);
}

/* Grid for Anime Cards */
.anime-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

/* Anime Card Component */
.anime-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    cursor: pointer;
    border: 1px solid rgba(57,255,20,0.12);
    display: flex;
    flex-direction: column;
}

.anime-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-green);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.4);
}

.anime-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.anime-card .info {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.anime-card h3 {
    font-size: 15px;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.anime-card span {
    font-size: 12px;
    color: var(--neon-green);
}

/* Search Bar Component */
.search-container {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border-radius: 25px;
    border: 2px solid var(--grey);
    background-color: #111;
    color: #fff;
    font-size: 16px;
}

.search-input:focus {
    outline: none;
    border-color: var(--neon-green);
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

.btn {
    padding: 12px 25px;
    background-color: var(--neon-green);
    color: #000;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    background-color: #fff;
    box-shadow: 0 0 15px #fff;
}

.watchlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.85);
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    transition: 0.2s;
}
.watchlist-btn:hover {
    background: var(--neon-green);
    color: #000;
}
.watchlist-btn.saved {
    background: var(--neon-green);
    color: #000;
}