@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

:root {
    --main-color: #e50914;
    --black: #000;
    --white: #fff;
    --light-bg: #1a1a1a;
    --dark-bg: #141414;
    --red: #E50914;
    --light-color: #181818;
    --box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-transform: capitalize;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    outline: none;
    border: none;
    transition: all .2s linear;
}

body {
    background: var(--dark-bg);
    color: var(--white);
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}

section {
    padding: 3rem 9%;
}

section:nth-child(even) {
    background: var(--light-color);
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem 9%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.heading {
    text-align: center;
    font-size: 4rem;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 4rem;
    padding-top: 2rem;
}

.btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 1rem 3rem;
    background: var(--main-color);
    color: var(--white);
    font-size: 1.7rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #ff0f1a;
    transform: translateY(-3px);
}

header .logo a {
    font-size: 2.5rem;
    color: var(--main-color);
    font-weight: bold;
}

header .navbar a {
    font-size: 1.7rem;
    color: var(--white);
    margin: 0 1rem;
    transition: all 0.3s ease;
}

header .navbar a:hover,
header .navbar a.active {
    color: var(--main-color);
}

header .icons i {
    font-size: 2.5rem;
    color: var(--white);
    cursor: pointer;
    margin-left: 2rem;
    transition: all 0.3s ease;
}

header .icons i:hover {
    color: var(--main-color);
}

header .icons #menu-bars {
    display: none;
}

.home {
    padding: 0;
    margin: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://wallpapercave.com/wp/wp2757874.gif') no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    width: 100vw;
    position: relative;
    overflow-x: hidden;
}

.home .box {
    min-height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    margin: 0;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
}

.home .box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.3));
}

.home .box .content {
    text-align: left;
    max-width: 60rem;
    position: relative;
    z-index: 1;
    padding: 2rem;
    margin-left: 5%;
    background: none;
    border: none;
    backdrop-filter: none;
}

.home .box .content h3 {
    font-size: 5.5rem;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700;
}

.home .box .content p {
    font-size: 1.8rem;
    color: var(--white);
    padding: 1rem 0;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    max-width: 50rem;
}

.home .box .content .btn {
    margin-top: 2rem;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.3);
    padding: 1.2rem 3.5rem;
    font-size: 1.8rem;
}

.anime {
    padding: 5rem;
}

.anime .swiper-slide {
    width: 35rem;
    height: 50rem;
    position: relative;
}

.anime .swiper-slide .box {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 1rem;
}

.anime .swiper-slide .box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.anime .swiper-slide .box .content {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
}

.anime .swiper-slide .box:hover .content {
    bottom: 0;
}

.anime .swiper-slide .box .content h3 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.anime .swiper-slide .box .content p {
    font-size: 1.4rem;
    color: var(--white);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.action {
    padding: 5rem;
}

.action .swiper-slide,
.child .swiper-slide,
.Romance .swiper-slide {
    width: 35rem;
    height: 50rem;
    position: relative;
}

.action .swiper-slide .box,
.child .swiper-slide .box,
.Romance .swiper-slide .box {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 1rem;
}

.action .swiper-slide .box img,
.child .swiper-slide .box img,
.Romance .swiper-slide .box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.action .swiper-slide .box .content,
.child .swiper-slide .box .content,
.Romance .swiper-slide .box .content {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
}

.action .swiper-slide .box:hover .content,
.child .swiper-slide .box:hover .content,
.Romance .swiper-slide .box:hover .content {
    bottom: 0;
}

.child {
    padding: 5rem;
}

.Romance {
    padding: 5rem;
}

.copyright {
    text-align: center;
    padding: 2rem;
    background: var(--black);
    font-size: 1.6rem;
    color: var(--white);
}

.copyright .logo a {
    font-size: 2.5rem;
    color: var(--main-color);
    font-weight: bold;
}

.video-container video {
    width: 100%;
    aspect-ratio: 16/9;
}

.about {
    margin-top: 2rem;
    color: #fff;
}

.about h2 {
    display: inline-flex;
    font-size: 2.4rem;
    font-weight: 500;
    border-bottom: 4px solid var(--red);
    color: #ffffff;
}

.about p {
    display: inline-flex;
    font-size: 2rem;
    color: #ffffff;
    text-align: justify;
    text-decoration: none;
}

.screenshots h2 {
    display: inline-flex;
    font-size: 2.4rem;
    font-weight: 500;
    border-bottom: 4px solid var(--red);
    color: #ffffff;
    margin-top: 1.6rem;
}

.screenshots-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, auto));
    gap: 10px;
    justify-content: center;
    margin: auto;
    width: 100%;
}

.screenshots-content img {
    width: 100%;
    height: 219.94px;
    object-fit: cover;
    margin-top: 1.6rem;
}

.download {
    max-width: 800px;
    margin: auto;
    width: 100%;
    display: grid;
    justify-content: center;
    margin-top: 2rem;
}

.download h2 {
    text-align: center;
    font-size: 2.7rem;
    font-weight: 500;
    margin: 1.6rem 0;
    color: #fff;
}

.downlod-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 2rem;
}

.downlod-links a {
    text-align: center;
    background: var(--red);
    padding: 12px 20px;
    color: #fff;
    letter-spacing: 1px;
    font-size: 500;
}

.downlod-links a:hover {
    background: var(--black);
    color: var(--red);
    transition: 0.3s all linear;
}

/* Media Queries */
@media (max-width: 991px) {
    html {
        font-size: 55%;
    }
    
    header {
        padding: 2rem;
    }
    
    section {
        padding: 3rem 2rem;
    }

    .heading {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    header .icons #menu-bars {
        display: inline-block;
    }
    
    header .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        padding: 1rem 2rem;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: 0.3s ease;
    }
    
    header .navbar.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    header .navbar a {
        display: block;
        margin: 1.5rem 0;
        text-align: center;
        font-size: 1.8rem;
    }

    .home .box .content {
        margin: 0 5%;
        padding: 1rem;
    }
    
    .home .box .content h3 {
        font-size: 4rem;
    }
    
    .home .box .content p {
        font-size: 1.6rem;
        max-width: 100%;
    }

    .anime .swiper-slide,
    .action .swiper-slide,
    .child .swiper-slide,
    .Romance .swiper-slide {
        width: 28rem;
        height: 40rem;
    }

    .swiper-slide .box .content h3 {
        font-size: 1.8rem;
    }

    .swiper-slide .box .content p {
        font-size: 1.4rem;
    }

    .btn {
        padding: 0.8rem 2.5rem;
        font-size: 1.5rem;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 50%;
    }
    
    .heading {
        font-size: 3rem;
        margin-bottom: 2rem;
    }

    header {
        padding: 1.5rem;
    }

    header .logo a {
        font-size: 2.2rem;
    }

    header .icons i {
        font-size: 2rem;
        margin-left: 1.5rem;
    }

    .home .box .content h3 {
        font-size: 3.5rem;
    }
    
    .home .box .content p {
        font-size: 1.4rem;
        line-height: 1.6;
    }

    .anime .swiper-slide,
    .action .swiper-slide,
    .child .swiper-slide,
    .Romance .swiper-slide {
        width: 25rem;
        height: 35rem;
    }

    .swiper-slide .box .content {
        padding: 1.5rem;
    }

    .swiper-slide .box .content h3 {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }

    .swiper-slide .box .content p {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .btn {
        padding: 0.7rem 2rem;
        font-size: 1.4rem;
    }

    .copyright {
        padding: 1.5rem;
        font-size: 1.4rem;
    }

    .copyright .logo a {
        font-size: 2rem;
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 768px) {
    .swiper-pagination {
        bottom: 0 !important;
    }

    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }

    .swiper-pagination-bullet-active {
        background: var(--main-color);
    }

    /* Improve touch targets */
    .btn,
    header .navbar a,
    header .icons i {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Prevent text overflow */
    .swiper-slide .box .content h3,
    .swiper-slide .box .content p {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Improve scrolling */
    body {
        -webkit-overflow-scrolling: touch;
    }
}