@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Hind Siliguri', sans-serif;
    background: #0b1020;
    color: #ffffff;
    line-height: 1.6;
}

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

button,
input,
select {
    font-family: inherit;
}

.container {
    width: 92%;
    max-width: 1150px;
    margin: auto;
}


/* ================= HEADER ================= */

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

    background: rgba(9, 14, 27, 0.92);
    backdrop-filter: blur(15px);

    border-bottom: 1px solid #202b43;
}

.header-content {
    height: 72px;

    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    margin-right: auto;
}

.logo span {
    color: #ff5b7f;
}

.menu {
    display: flex;
    gap: 25px;
}

.menu a {
    color: #b8c1d5;
    transition: 0.2s;
}

.menu a:hover {
    color: #ffffff;
}

.login-btn {
    background: transparent;
    color: white;

    border: 1px solid #33405d;
    border-radius: 10px;

    padding: 9px 18px;

    cursor: pointer;
}

.login-btn:hover {
    background: #18223a;
}


/* ================= HERO ================= */

.hero {
    min-height: 620px;

    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    align-items: center;

    gap: 70px;
}

.small-title {
    color: #ff7190;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;

    margin-bottom: 10px;
}

.hero h1 {
    font-size: clamp(45px, 7vw, 78px);

    line-height: 1.05;

    margin-bottom: 20px;
}

.hero h1 span {
    background: linear-gradient(
        90deg,
        #ff5b7f,
        #9b7cff
    );

    -webkit-background-clip: text;

    color: transparent;
}

.hero-text > p:not(.small-title) {
    color: #aeb7cb;

    font-size: 19px;

    max-width: 580px;
}

.hero-buttons {
    display: flex;

    gap: 12px;

    margin-top: 30px;
}


/* ================= BUTTON ================= */

.btn {
    display: inline-block;

    border: none;

    border-radius: 11px;

    padding: 12px 23px;

    font-size: 16px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.primary {
    background: linear-gradient(
        90deg,
        #ff5b7f,
        #9475ff
    );

    color: white;
}

.secondary {
    border: 1px solid #303b56;

    color: white;

    background: transparent;
}


/* ================= HERO COMIC ================= */

.hero-image {
    display: flex;

    justify-content: center;

    align-items: center;
}

.comic-cover {
    width: 280px;
    height: 380px;

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;

    border-radius: 20px;

    background:
        radial-gradient(
            circle at 30% 20%,
            #ff7b9a,
            #63418c 48%,
            #161c34 80%
        );

    box-shadow:
        0 35px 80px rgba(0, 0, 0, 0.5);

    transform: rotate(3deg);
}

.comic-cover > div {
    width: 210px;
    height: 285px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    background: #f7e8ca;

    color: #2b2028;

    box-shadow:
        10px 15px 30px rgba(0, 0, 0, 0.35);

    transform: rotate(-6deg);
}

.comic-cover small {
    font-size: 11px;

    letter-spacing: 2px;
}

.comic-cover h2 {
    font-size: 50px;

    margin-top: 15px;
}

.comic-cover h3 {
    font-size: 65px;

    line-height: 0.8;

    color: #e45172;
}

.comic-cover p {
    margin-top: 25px;

    font-size: 15px;
}


/* ================= SECTION ================= */

.section {
    padding: 80px 0;
}

.section-title {
    display: flex;

    justify-content: space-between;

    align-items: end;

    gap: 20px;
}

.section-title h2,
.about h2 {
    font-size: 35px;

    margin-bottom: 20px;
}

.search-box input {
    width: 250px;

    background: #10182b;

    border: 1px solid #293651;

    color: white;

    border-radius: 10px;

    padding: 12px 15px;

    outline: none;
}

.search-box input:focus {
    border-color: #ff5b7f;
}


/* ================= CATEGORY ================= */

.categories {
    display: flex;

    gap: 10px;

    flex-wrap: wrap;

    margin: 10px 0 30px;
}

.categories button {
    border: 1px solid #2d3853;

    background: #11192c;

    color: #c7cfdf;

    padding: 9px 17px;

    border-radius: 10px;

    cursor: pointer;

    transition: 0.2s;
}

.categories button:hover {
    background: #ffffff;

    color: #111827;
}


/* ================= COMIC GRID ================= */

.comic-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.comic-card {
    background: #121a2d;

    border: 1px solid #26324c;

    border-radius: 18px;

    overflow: hidden;

    transition: 0.25s;
}

.comic-card:hover {
    transform: translateY(-5px);

    border-color: #475675;
}


/* ================= COVERS ================= */

.cover {
    height: 230px;

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 30px;

    font-weight: 700;
}

.cover-one {
    background:
        linear-gradient(
            135deg,
            #2d3158,
            #a35d75
        );
}

.cover-two {
    background:
        linear-gradient(
            135deg,
            #29485f,
            #9a674d
        );
}

.cover-three {
    background:
        linear-gradient(
            135deg,
            #3a2d5c,
            #b85c78
        );
}

.cover span {
    text-align: center;
}


/* ================= COMIC INFO ================= */

.comic-info {
    padding: 18px;
}

.comic-info small {
    color: #ff809c;

    font-size: 13px;
}

.comic-info h3 {
    font-size: 21px;

    margin: 5px 0;
}

.comic-info p {
    color: #9da8bd;

    margin-bottom: 15px;
}

.read-btn {
    border: 1px solid #34415d;

    background: transparent;

    color: white;

    border-radius: 9px;

    padding: 9px 17px;

    cursor: pointer;
}

.read-btn:hover {
    background: #ffffff;

    color: #101522;
}

.premium-btn {
    background:
        linear-gradient(
            90deg,
            #ff5b7f,
            #9475ff
        );

    border: none;
}


/* ================= PREMIUM ================= */

.premium {
    padding: 80px 0;

    background:
        linear-gradient(
            100deg,
            #1d1730,
            #28172d
        );
}

.premium-content {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 40px;
}

.premium-content h2 {
    font-size: 40px;

    margin-bottom: 10px;
}

.premium-content > div:first-child p:last-child {
    color: #b4bdcf;

    font-size: 18px;
}

.premium-card {
    min-width: 310px;

    background: #0e1527;

    border: 1px solid #443457;

    border-radius: 18px;

    padding: 25px;
}

.premium-card h3 {
    font-size: 20px;

    margin-bottom: 12px;
}

.premium-card p {
    color: #aeb8cb;

    margin: 5px 0 18px;
}

.price {
    font-size: 40px;

    font-weight: 700;
}

.price span {
    color: #929db3;

    font-size: 15px;

    font-weight: 400;
}


/* ================= ABOUT ================= */

.about {
    min-height: 350px;
}

.about p:not(.small-title) {
    max-width: 700px;

    color: #aab4c9;

    font-size: 17px;
}


/* ================= FOOTER ================= */

footer {
    border-top: 1px solid #202b43;

    padding: 30px 0;

    color: #8995ab;
}

footer h3 {
    color: white;

    font-size: 23px;
}

footer p {
    margin-top: 5px;
}


/* ================= MODAL ================= */

.modal {
    position: fixed;

    inset: 0;

    z-index: 2000;

    display: none;

    justify-content: center;

    align-items: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.75);
}

.modal.show {
    display: flex;
}

.modal-box {
    width: 100%;

    max-width: 430px;

    background: #111a2e;

    border: 1px solid #2d3954;

    border-radius: 18px;

    padding: 28px;

    position: relative;
}

.modal-box h2 {
    margin-bottom: 20px;
}

.modal-box input,
.modal-box select {
    width: 100%;

    padding: 12px 14px;

    margin-bottom: 12px;

    background: #0b1222;

    border: 1px solid #2c3852;

    border-radius: 9px;

    color: white;

    outline: none;
}

.modal-box input:focus,
.modal-box select:focus {
    border-color: #ff5b7f;
}

.close {
    position: absolute;

    right: 15px;

    top: 8px;

    border: none;

    background: transparent;

    color: white;

    font-size: 30px;

    cursor: pointer;
}

.full {
    width: 100%;
}

.modal-price {
    font-size: 30px;

    color: #ff7895;

    margin-bottom: 15px;
}

.payment-info {
    background: #0b1222;

    border-radius: 10px;

    padding: 15px;

    margin-bottom: 15px;

    color: #aeb8ca;
}

.payment-info b {
    color: white;
}

.success {
    color: #69dda0;

    margin-top: 12px;
}


/* ================= MOBILE ================= */

@media (max-width: 850px) {

    .menu {
        display: none;
    }

    .hero {
        padding: 50px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .hero-text > p:not(.small-title) {
        margin: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .comic-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .premium-content {
        flex-direction: column;

        align-items: stretch;
    }

}


@media (max-width: 550px) {

    .header-content {
        height: 65px;
    }

    .logo {
        font-size: 23px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .comic-cover {
        width: 245px;

        height: 330px;
    }

    .comic-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        flex-direction: column;

        align-items: stretch;
    }

    .search-box input {
        width: 100%;
    }

    .premium-content h2 {
        font-size: 32px;
    }

    .premium-card {
        min-width: 0;
    }

}