* {
    color: rgb(220, 220, 220);
    margin: 0;
    padding: 0;
    font-size: calc(16px + 0.390625vw);
    box-sizing: border-box;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}    

html {
    background: rgb(50, 0, 50);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    scrollbar-color: rgb(255, 85, 85) rgb(50, 0, 50);
    scrollbar-width: thin;
    scroll-snap-type: y mandatory;
    height: 100vh;
    overflow-y: hidden;
}

html::-webkit-scrollbar {
    width: 10px;
}

html::-webkit-scrollbar-track {
    background: rgb(50, 0, 50);
    box-shadow: inset 1px 1px 5px black;
}

html::-webkit-scrollbar-thumb {
    background: linear-gradient(0deg, rgb(255, 85, 85), rgb(200, 50, 50));
    border-radius: 10px;
}

html::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(0deg, rgb(255, 100, 100), rgb(220, 60, 60));
}

html::-webkit-scrollbar-thumb:active {
    background: linear-gradient(0deg, rgb(200, 50, 50), rgb(180, 40, 40));
}

body {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scrollbar-color: rgb(255, 85, 85) rgb(50, 0, 50);
    scrollbar-width: thin;
}

body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    background: rgb(50, 0, 50);
    box-shadow: inset 1px 1px 5px black;
}

body::-webkit-scrollbar-thumb {
    background: linear-gradient(0deg, rgb(255, 85, 85), rgb(200, 50, 50));
    border-radius: 10px;
}

body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(0deg, rgb(255, 100, 100), rgb(220, 60, 60));
}

body::-webkit-scrollbar-thumb:active {
    background: linear-gradient(0deg, rgb(200, 50, 50), rgb(180, 40, 40));
}

section {
    height: 100vh;
    background: radial-gradient(circle, rgb(255, 85, 85) 0%, rgb(255, 147, 41) 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    scroll-snap-align: start;
    overflow: hidden;
}

.page {
    width: 80%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 12px;
    box-sizing: border-box;
    overflow: hidden;
}

.page:has(#genreDropdown) {
    overflow-y: auto;
    justify-content: flex-start;
    padding-top: 20vh;
    padding-bottom: 20vh;
}

.series-details {
    margin-top: 8px;
    margin-bottom: 8px;
    flex-shrink: 1;
}

.series-details p {
    color: rgb(220, 220, 220);
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: calc(13px + 0.390625vw);
    line-height: 1.4;
    margin-bottom: 6px;
}

.series-details p:last-child {
    margin-bottom: 0;
    padding-bottom: 8px;
}

.link-container {
    display: flex;
    justify-content: center;
    gap: 0.6em;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.link-container img {
    width: 40px;
    height: 40px;
    margin: 0 auto;
}

.series-image {
    margin-top: 0;
    display: flex;
    justify-content: center;
    aspect-ratio: 2 / 3;
    max-height: 35vh;
    width: auto;
}

.series-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 2px solid rgb(255, 85, 85);
    background: rgb(50, 0, 50);
    border-radius: 15px;
    box-shadow: 
        0 4px 8px rgba(255, 85, 85, 0.5),
        0 0 15px rgba(255, 85, 85, 0.3);
    transition: transform 0.3s ease;
}

.series-image img:hover {
    transform: scale(1.05);
}

section p img {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    display: block;
}

a {
    color: rgb(255, 147, 41);
    text-decoration: none;
}

a:hover {
    color: rgb(255, 100, 100);
    cursor: pointer;
}

h1 {
    font-size: 3.5rem;
    font-family: 'FoxyScriptRegular', cursive;
    line-height: 1.3;
    color: rgb(255, 147, 41);
}

h2 {
    color: rgb(255, 147, 41);
    font-family: 'FoxyScriptRegular', cursive;
    font-size: calc(84px + 0.390625vw);
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 1;
    margin-bottom: 12px;
}

h2 span.flag {
    font-size: calc(28px + 0.390625vw);
    margin-top: 12px;
}

.footer {
    margin-top: 12px;
}

.footer p {
    color: rgb(220, 220, 220);
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: calc(13px + 0.390625vw);
    line-height: 1.4;
}

#genreDropdown {
    background-color: rgba(50, 0, 50, 0.9);
    color: rgb(220, 220, 220);
    border: 2px solid rgb(255, 85, 85);
    border-radius: 8px;
    padding: 8px 12px;
    font-family: inherit;
    font-size: calc(16px + 0.390625vw);
    cursor: pointer;
    margin-bottom: 1em;
    text-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='rgb(255, 85, 85)' viewBox='0 0 20 20'%3e%3cpath d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    padding-right: 32px;
}

#genreDropdown option {
    background-color: rgb(50, 0, 50);
    color: rgb(220, 220, 220);
    padding: 4px;
}

#genreDescription {
    margin-top: 1em;
    margin-bottom: 1em;
}

#seriesList {
    max-height: 40vh;
    overflow-y: auto;
    margin-top: 1em;
    padding-right: 8px;
    scrollbar-color: rgb(255, 85, 85) rgba(50, 0, 50, 0.9);
    scrollbar-width: thin;
    width: 100%;
}

#seriesList::-webkit-scrollbar {
    width: 6px;
}

#seriesList::-webkit-scrollbar-track {
    background: rgba(50, 0, 50, 0.9);
    border-radius: 3px;
}

#seriesList::-webkit-scrollbar-thumb {
    background: linear-gradient(0deg, rgb(255, 85, 85), rgb(200, 50, 50));
    border-radius: 3px;
}

#seriesList::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(0deg, rgb(255, 100, 100), rgb(220, 60, 60));
}

#seriesList p {
    color: rgb(220, 220, 220);
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: calc(16px + 0.390625vw);
    line-height: 1.4;
    margin-bottom: 8px;
    text-align: left;
    padding: 4px 8px;
    background: rgba(50, 0, 50, 0.5);
    border-radius: 4px;
    border-left: 3px solid rgb(255, 85, 85);
}

#seriesList p:last-child {
    margin-bottom: 0;
}

/* Ico styl - SCALES WITH TEXT (RED THEME) */
#genreDescription p a {
    margin: 0 2px;
    display: inline-block;
    transition: all 0.2s ease;
}

#genreDescription p a img,
#genreDescription p a 🔗 {
    width: 1.2em;
    height: 1.2em;
    vertical-align: middle;
}

/* ICON HOVER EFFECTS (RED THEME) */
#genreDescription p a:hover img,
#genreDescription p a:hover 🔗 {
    filter: brightness(1.2);
    transform: scale(1.1);
}

@font-face {
    font-family: 'FoxyScriptRegular';
    src: url('fonts/FoxyScriptRegular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@media (max-width: 600px) {
    .page {
        width: 95%;
    }

    h1 {
        font-size: 4.5rem;
    }

    h2 {
        font-size: calc(55px + 0.390625vw);
        margin-bottom: 12px;
    }

    h2 span.flag {
        font-size: calc(24px + 0.390625vw);
        margin-top: 20px;
    }

    .h2small {
        font-size: calc(45px + 0.390625vw);
    }

    .series-details p {
        font-size: calc(11px + 0.390625vw);
    }

    .series-details p:last-child {
        padding-bottom: 8px;
    }

    .footer p {
        font-size: calc(11px + 0.390625vw);
    }

    .series-image {
        max-height: 28vh;
    }

    .link-container {
        margin-top: 8px;
        margin-bottom: 10px;
    }

    .series-image {
        margin-top: 12px;
    }

    .link-container img {
        width: 34px;
        height: 34px;
    }

    #genreDropdown {
        font-size: calc(14px + 0.390625vw);
        padding: 6px 10px;
        margin-bottom: 0.8em;
        background-size: 14px;
        padding-right: 28px;
    }

    #seriesList {
        max-height: 35vh;
    }

    #seriesList p {
        font-size: calc(14px + 0.390625vw);
    }

    .page:has(#genreDropdown) {
        padding-top: 15vh;
        padding-bottom: 15vh;
    }
}
