
:root {
    --color-accent: #e5b541;
    --color-accent-hover: #f0c353;
    --color-accent-text: #11161d;
}

.text-accent {
    color: var(--color-accent);
}

.bg-accent {
    background-color: var(--color-accent);
    color: var(--color-accent-text);
}


* {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            min-height: 100vh;
            font-family: Arial, Helvetica, sans-serif;
            background: #0d1117;
            color: #f5f5f5;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        .container {
            width: min(1180px, calc(100% - 40px));
            margin: 0 auto;
        }

      .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    border-bottom: 1px solid #242b35;
    background: rgba(17, 22, 29, .94);
    backdrop-filter: blur(12px);
}

        .header-inner {
            min-height: 72px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 30px;
               background: #000;
        }

        .logo {
            font-size: 24px;
            font-weight: 800;
            letter-spacing: 1px;
        }

        .site-description {
            color: #bec5cf;
            font-size: 15px;
            text-align: right;
        }

        .main-content {
            min-height: calc(100vh - 190px);
        }

        .site-footer {
            padding: 24px 0;
            border-top: 1px solid #242b35;
            color: #808894;
            font-size: 14px;
            text-align: center;
        }

        .footer-main {
            margin-bottom: 10px;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 18px;
            margin-bottom: 12px;
        }

        .footer-links a:hover {
            color: #f5f5f5;
        }

        .tmdb-credit {
            max-width: 760px;
            margin: 0 auto;
            font-size: 12px;
            line-height: 1.5;
            color: #626b77;
        }

        @media (max-width: 600px) {
            .header-inner {
                min-height: 64px;
                align-items: flex-start;
                flex-direction: column;
                justify-content: center;
                gap: 5px;
                padding: 14px 0;
            }

            .site-description {
                font-size: 13px;
                text-align: left;
            }
        }


        .site-header {
    position: relative;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: rgba(10, 10, 12, .96);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    flex-shrink: 0;
}

.logo a {
    display: block;
}

.logo img {
    display: block;
    width: auto;
    max-width: 190px;
    height: 44px;
    object-fit: contain;
}

.header-nav {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-link,
.header-dropdown-button {
    color: rgba(255, 255, 255, .75);
    font-size: .92rem;
    font-weight: 600;
    text-decoration: none;
}

.header-link:hover,
.header-dropdown-button:hover {
    color: #e5b541;
}

.header-dropdown {
    position: relative;
}

.header-dropdown-button {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 27px 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.header-dropdown-arrow {
    position: relative;
    top: -1px;
    font-size: .85rem;
}

.header-dropdown-menu {
    position: absolute;
    top: calc(100% - 6px);
    left: 0;
    width: 350px;
    visibility: hidden;
    opacity: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 16px;
    background: #161619;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
    transform: translateY(8px);
    transition:
        opacity .18s ease,
        visibility .18s ease,
        transform .18s ease;
}

.header-dropdown:hover .header-dropdown-menu,
.header-dropdown:focus-within .header-dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.header-universe-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 12px;
    border-radius: 10px;
}

.header-universe-item:hover {
    background: rgba(255, 255, 255, .045);
}

.header-universe-name {
    color: #fff;
    font-size: .9rem;
    font-weight: 650;
}

.header-universe-links {
    display: flex;
    gap: 7px;
}

.header-universe-links a {
    padding: 5px 9px;
    border: 1px solid rgba(229, 181, 65, .2);
    border-radius: 999px;
    color: #e5b541;
    font-size: .72rem;
    font-weight: 650;
    text-decoration: none;
}

.header-universe-links a:hover {
    border-color: rgba(229, 181, 65, .45);
    background: rgba(229, 181, 65, .1);
    color: #fff;
}

.header-search {
    min-width: 290px;
    display: flex;
    margin-left: auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 999px;
    background: rgba(255, 255, 255, .045);
}

.header-search:focus-within {
    border-color: rgba(229, 181, 65, .45);
}

.header-search input {
    min-width: 0;
    width: 100%;
    padding: 10px 6px 10px 16px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-size: .88rem;
}

.header-search input::placeholder {
    color: rgba(255, 255, 255, .4);
}

.header-search button {
    flex-shrink: 0;
    margin: 4px;
    padding: 7px 14px;
    border: 0;
    border-radius: 999px;
    background: #e5b541;
    color: #111;
    font-size: .78rem;
    font-weight: 750;
    cursor: pointer;
}

.header-search button:hover {
    background: #f0c75c;
}

.header-toggle {
    display: none;
    width: 42px;
    height: 42px;
    margin-left: auto;
    padding: 9px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
}

.header-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #fff;
}

@media (max-width: 991px) {
    .header-inner {
        min-height: 68px;
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .logo img {
        max-width: 165px;
        height: 38px;
    }

    .header-toggle {
        display: block;
    }

    .header-nav {
        display: none;
        width: 100%;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 8px 0 6px;
    }

    .header-nav.is-open {
        display: flex;
    }

    .header-link,
    .header-dropdown-button {
        width: 100%;
        padding: 12px 4px;
        text-align: left;
    }

    .header-dropdown-button {
        justify-content: space-between;
    }

    .header-dropdown-menu {
        position: static;
        width: 100%;
        visibility: visible;
        display: none;
        opacity: 1;
        margin-bottom: 10px;
        box-shadow: none;
        transform: none;
    }

    .header-dropdown.is-open .header-dropdown-menu {
        display: block;
    }

    .header-dropdown:hover .header-dropdown-menu {
        display: none;
    }

    .header-dropdown.is-open:hover .header-dropdown-menu {
        display: block;
    }

    .header-search {
        width: 100%;
        min-width: 0;
        margin-top: 12px;
    }
}

@media (max-width: 480px) {
    .header-universe-item {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .header-universe-links {
        width: 100%;
    }

    .header-universe-links a {
        flex: 1;
        text-align: center;
    }
}