html {
    scroll-behavior: smooth;
}

body {
    margin: 5% 7.5%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #232121;
    color: #ff6b6b;
    background-image: url();
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    background-position: center;
}

header {
    background: rgba(12, 12, 12, 0.85);
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.45s ease;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7), 0 0 24px rgba(255, 0, 0, 0.06) inset;
}

.logo {
    font-size: 30px;
    font-weight: bolder;
    color: #ff6b6b;
    padding: 7.5px 20px;
    background-color: #181818;
    font-variant: small-caps;
    transition: 0.6s;
    border-radius: 30px;
}

.logo:hover,
.N:hover,
header:hover {
    transform: scale(1.1);
}

nav a {
    color: #ff6b6b;
    text-decoration: none;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.55);
    padding: 7.5px 12px;
    border-radius: 20px;
    margin: 0 12px;
    font-weight: 700;
    transition: 0.25s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

nav a:hover {
    background-color: #121212;
}

.search input {
    padding: 14px 28px;
    border: none;
    border-radius: 35px;
    transition: 0.25s;
    background: rgba(255, 255, 255, 0.03);
    color: #ff6b6b;
    outline: none;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
}

.search input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.search input:hover {
    transform: scale(1.1);
}

.N {
    transition: 0.45s;
    display: flex;
    align-items: center;
    gap: 20px;
}

.Characters-list,
.Movies-list,
.Series-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    padding: 50px 75px;
}

.Characters-card,
.Movies-card,
.Series-card {
    background: rgba(18, 18, 18, 0.8);
    border-radius: 15px;
    overflow: hidden;
    transition: 0.45s;
    display: grid;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.Characters-card:hover,
.Movies-card:hover,
.Series-card:hover {
    transform: scale(1.1);
}

.Movies-card img,
.Series-card img,
.Characters-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.Movie-link {
    color: #ff6b6b;
    text-decoration: none;
}

.Movie-link:hover {
    color: #232121;
}

.info {
    padding: 15px;
    text-align: center;
    color: #ff6b6b;
}

.section-title {
    background: rgba(0, 0, 0, 0.7);
    color: #ff6b6b;
    font-size: 28px;
    font-weight: 800;
    padding: 15px 30px;
    margin: 40px 0 10px 0;
    border-radius: 30px;
    width: fit-content;
    font-variant: small-caps;
    transition: 0.3s;
    box-shadow: 0 6px 26px rgba(255, 0, 0, 0.12);
}

.section-title:hover {
    transform: scale(1.1);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #181818;
    min-width: 160px;
    z-index: 1;
    border-radius: 15px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
}

.dropdown-content a {
    color: #ff6b6b;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: 0.6s;
}

.dropdown-content a:hover {
    background-color: #1f1f1f;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(12, 12, 12, 0.9);
    color: #ff6b6b;
    font-size: 24px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    z-index: 999;
    transition: 0.5s;
    border: 1px solid rgba(255, 80, 80, 0.08);
}

.scroll-to-top:hover {
    background: #ff6b6b;
    transform: scale(1.2);
    color: rgba(12, 12, 12, 0.9);
}

footer {
    background: rgba(6, 6, 6, 0.9);
    padding: 25px 10px;
    text-align: center;
    color: #ff6b6b;
    width: 85%;
    margin: 40px auto;
    border-radius: 50px;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 0, 0, 0.06);
}

footer:hover {
    transform: scale(1.1);
}

img {
    width: 30%;
    margin-top: 20px;
    display: inline-block;
    vertical-align: middle;
}

.Movies-details {
    max-width: 600px;
    color: #ff6b6b;
}

.Movies-details p {
    margin-top: 20px;
    width: 50%;
}

.download-links a {
    display: block;
    margin: 10px 0;
    padding: 10px 18px;
    background: rgba(255, 26, 26, 0.95);
    color: rgba(12, 12, 12, 0.9);
    text-decoration: none;
    border-radius: 25px;
    width: fit-content;
    box-shadow: 0 8px 22px rgba(255, 0, 0, 0.12);
}

.download-links-1 {
    margin-top: 20px;
    display: flex;
    gap: 14px;
    align-items: center;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
}

.download-links-1 a {
    scroll-snap-align: center;
    text-decoration: none;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 26, 26, 0.95);
    color: rgba(12, 12, 12, 0.9);
    transition: transform .15s ease, filter .2s ease;
    box-shadow: 0 8px 22px rgba(255, 0, 0, 0.12);

}

@media (min-width:640px) {
    .dl-list {
        flex-wrap: wrap;
        overflow-x: visible
    }
}

.download-links a:hover {
    background: #181818;
    color: #ff6b6b;
}

.download-links-1 a:hover {
    background: #181818;
    color: #ff6b6b;
}

.Movies-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: flex-start;
    background: rgba(18, 18, 18, 0.85);
    border-radius: 50px;
    transition: 0.35s;
    margin-top: 20px;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 0, 0, 0.04);
    padding: 10px;
}

.Movies-container:hover {
    scale: 1.05;
}

.Movies-poster img {
    width: 250px;
    padding: 0;
    margin: 0;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    display: block;
}

.Movies-text {
    color: #ff6b6b;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin-top: 10px;
    background: linear-gradient(180deg, rgba(96, 0, 0, 0.08), rgba(0, 0, 0, 0.5));
    border-radius: 30px;
    font-size: 17.5px;
    height: auto;
    width: 500px;
    padding: 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

.movie-info-list {
    list-style: none;
    padding: 10px;
    margin-top: 10px;
    background: rgba(12, 12, 12, 0.75);
    border-radius: 20px;
    height: auto;
    width: 170px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

.movie-info-list li {
    font-size: 16px;
    margin-left: 10px;
    margin-top: 4px;
}

.Movies-trailer iframe {
    width: 400px;
    height: 225px;
    border-top-right-radius: 50px;
    border: none;
    background: rgba(0, 0, 0, 0.6);
}

.B {
    margin-left: 7.5px;
}

a:focus,
button:focus,
input:focus {
    outline: 2px solid rgba(255, 80, 80, 0.22);
    outline-offset: 2px;
}

h1,
h2,
h3,
h4,
h5 {
    color: #ffb0b0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

p {
    color: rgba(230, 230, 230, 0.95);
    line-height: 1.5;
}

@media (max-width: 1024px) {

    .Characters-list,
    .Movies-list,
    .Series-list {
        padding: 35px 40px;
        gap: 24px;
    }

    .Movies-container {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .Movies-poster img {
        width: 60%;
        border-radius: 20px;
    }

    .Movies-text {
        width: 90%;
        height: auto;
        padding: 15px;
        margin-top: 15px;
    }

    .Movies-trailer iframe {
        width: 90%;
        height: auto;
        border-radius: 20px;
    }

    .movie-info-list {
        width: 90%;
        height: auto;
        margin: 15px auto;
        padding: 10px;
    }
}

@media (max-width: 768px) {
    body {
        margin: 3% 5%;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .N {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .search input {
        width: 100%;
        padding: 10px 20px;
    }
}

@media (max-width: 600px) {
    .Movies-poster img {
        width: 80%;
    }

    .download-links a {
        margin-right: 0;
        width: 90%;
        text-align: center;
    }

    .Movies-text {
        font-size: 14px;
    }

    nav a {
        font-size: 12px;
        padding: 5px;
        margin: 3px 0;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 22px;
    }

    .section-title {
        font-size: 20px;
        padding: 10px 20px;
    }

    nav a {
        font-size: 14px;
        padding: 5px 8px;
    }

    .info {
        font-size: 14px;
    }
}