/* =======================================================
   PAGE BACKGROUND
======================================================= */

body {

    margin: 0;

    font-family: Arial, sans-serif;

    color: white;

    overflow-x: hidden;

    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.15) 1px, transparent 2px),
        radial-gradient(circle at 80% 40%, rgba(255,215,0,0.2) 1px, transparent 2px),
        radial-gradient(circle at 50% 80%, rgba(255,200,255,0.15) 1px, transparent 2px),
        black;

    background-size:
        180px 180px,
        240px 240px,
        300px 300px;

    background-attachment: fixed;

    animation:
        pageFade 1.5s ease,
        starsDrift 40s linear infinite;
}

/* =======================================================
   PAGE FADE
======================================================= */

@keyframes pageFade {

    from {

        opacity: 0;
    }

    to {

        opacity: 1;
    }
}

/* =======================================================
   STAR MOVEMENT
======================================================= */

@keyframes starsDrift {

    from {

        background-position:
            0 0,
            0 0,
            0 0;
    }

    to {

        background-position:
            0 -300px,
            0 -500px,
            0 -700px;
    }
}

/* =======================================================
   SPARKLES
======================================================= */

body::before {

    content: "";

    position: fixed;

    top: -10%;
    left: -10%;

    width: 120%;
    height: 120%;

    pointer-events: none;

    background:
        radial-gradient(white 1.5px, transparent 2px),
        radial-gradient(#ffccff 1.5px, transparent 2px),
        radial-gradient(#ccffff 1px, transparent 2px);

    background-size:
        120px 120px,
        200px 200px,
        260px 260px;

    opacity: 0.25;

    z-index: 0;

    animation:
        sparkleFloat 30s linear infinite,
        sparkleTwinkle 3s ease-in-out infinite alternate;
}

/* =======================================================
   SPARKLE FLOAT
======================================================= */

@keyframes sparkleFloat {

    from {

        transform: translateY(0);
    }

    to {

        transform: translateY(-500px);
    }
}

/* =======================================================
   SPARKLE TWINKLE
======================================================= */

@keyframes sparkleTwinkle {

    from {

        opacity: 0.2;
    }

    to {

        opacity: 0.6;
    }
}

/* =======================================================
   NAVBAR
======================================================= */

#navbar {

    position: sticky;

    top: 0;

    background: rgba(0,0,0,0.7);

    backdrop-filter: blur(10px);

    z-index: 1000;
}

.nav-container {

    max-width: 1200px;

    margin: 0 auto;

    padding: 15px 20px;

    display: flex;

    flex-direction: column;

    align-items: center;
}

.logo {

    font-size: 28px;

    font-weight: bold;

    margin-bottom: 10px;
}

.nav-links {

    list-style: none;

    display: flex;

    justify-content: center;

    gap: 25px;

    padding: 0;

    margin: 0;
}

.nav-links a {

    text-decoration: none;

    color: white;

    font-weight: bold;

    padding: 8px 16px;

    border-radius: 8px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.nav-links a:hover {

    background: rgba(255,255,255,0.1);

    color: #ffccff;

    transform: translateY(-2px);
}

/* =======================================================
   MAIN CONTAINER
======================================================= */

#container {

    width: calc(100% - 40px);

    max-width: 1200px;

    min-height: 850px;

    margin: 20px auto;

    padding: 20px;

    position: relative;

    z-index: 5;

    overflow: hidden;

    border-radius: 25px;

    background:
        url("images/navorajpg")
        center top / 96% 80% no-repeat;

    background-position: center 35px;

    box-shadow:
        0 0 40px rgba(0,0,0,0.6);
}

/* =======================================================
   HERO
======================================================= */

#hero {

    position: relative;

    z-index: 10;

    background:
        linear-gradient(
            rgba(0,0,0,0.1),
            rgba(0,0,0,0)
        ),
        url("images/story-bg.png");

    background-size: cover;

    background-position: center 15px;

    background-repeat: no-repeat;

    border-radius: 16px;

    height: 700px;

    display: flex;

    justify-content: center;

    align-items: flex-start;

    text-align: center;
}

.hero-overlay {

    margin-top: 620px;

    position: relative;

    z-index: 20;
}

.hero-content {

    max-width: 700px;

    margin: 0 auto;
}

.hero-text h1 {

    font-size: 42px;

    margin-bottom: 5px;

    text-shadow:
        0 5px 20px rgba(0,0,0,0.9);
}

/* =======================================================
   BUTTONS
======================================================= */

.btn {

    padding: 14px 22px;

    border-radius: 12px;

    background:
        linear-gradient(
            45deg,
            #ffcc00,
            #ff66cc
        );

    color: black;

    font-weight: bold;

    text-decoration: none;

    display: inline-block;

    margin: 5px;

    position: relative;

    z-index: 50;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.btn:hover {

    transform:
        scale(1.08)
        translateY(-3px);

    box-shadow:
        0 0 18px rgba(255,100,255,0.7);
}

/* =======================================================
   BOOKS
======================================================= */

#books {

    text-align: center;

    padding: 50px 0;
}

.book-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 25px;
}

/* =======================================================
   BOOK CARD
======================================================= */
/* =======================================================
   HOMEPAGE BOOK ANIMATION
======================================================= */

.fade-in {

    opacity: 0;

    transform: translateY(60px);

    transition:
        opacity 1.2s ease-out,
        transform 1.2s ease-out;
}

.fade-in.show {

    opacity: 1;

    transform: translateY(0);
}
    box-shadow:
        0 0 30px rgba(255,215,0,0.35);
}
.card-content {

    background: #1a1a22;

    padding: 15px;

    border-radius: 12px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    height: 100%;
}

.card-content img {

    width: 100%;

    height: 300px;

    object-fit: cover;

    transition:
        transform 0.35s ease;

    animation:
        floatBook 5s ease-in-out infinite;
}

.book-card:hover img {

    transform: scale(1.03);
}

/* =======================================================
   BOOK FLOAT
======================================================= */

@keyframes floatBook {

    0% {

        transform: translateY(0px);
    }

    50% {

        transform: translateY(-10px);
    }

    100% {

        transform: translateY(0px);
    }
}

/* =======================================================
   BOOK TITLE
======================================================= */

.book-card h3 {

    color: gold;

    font-size: 24px;

    text-align: center;
}

/* =======================================================
   INTERACTIVE
======================================================= */

#interactive {

    text-align: center;

    padding: 40px 0;
}

/* =======================================================
   FADE IN
======================================================= */

.fade-in {

    opacity: 0;

    transform: translateY(60px);

    transition:
        opacity 1.2s ease-out,
        transform 1.2s ease-out;
}

.fade-in.show {

    opacity: 1;

    transform: translateY(0);
}

/* =======================================================
   ABOUT PAGE
======================================================= */

#about-container {

    width: 1200px;

    margin: 30px auto;

    background: #111;

    border-radius: 25px;

    overflow: hidden;

    position: relative;

    z-index: 5;

    box-shadow:
        0 0 40px rgba(0,0,0,0.6);
}

.about-image {

    width: 100%;

    display: block;
}

.about-content {

    padding: 50px;

    text-align: center;
}

.about-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 30px;

    margin-bottom: 50px;
}

.about-box {

    background: #1d1d2b;

    padding: 35px;

    border-radius: 20px;

    box-shadow:
        0 0 20px rgba(255,215,0,0.1);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.about-box:hover {

    transform: translateY(-8px);

    box-shadow:
        0 0 35px rgba(255,215,0,0.25);
}

.about-box h2 {

    color: gold;

    font-size: 36px;
}

.about-box p {

    font-size: 21px;

    line-height: 1.7;
}

/* =======================================================
   HOME BUTTON
======================================================= */

.home-button {

    position: fixed;

    top: 20px;

    left: 20px;

    padding: 14px 24px;

    border-radius: 14px;

    background:
        linear-gradient(
            45deg,
            #ffcc00,
            #ff66cc
        );

    color: black;

    font-size: 18px;

    font-weight: bold;

    text-decoration: none;

    z-index: 9999;

    box-shadow:
        0 0 18px rgba(255,100,255,0.5);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.home-button:hover {

    transform: scale(1.08);

    box-shadow:
        0 0 28px rgba(255,100,255,0.8);
}

/* =======================================================
   RESPONSIVE
======================================================= */

@media (max-width: 1250px) {

    #about-container,
    #container {

        width: 95%;
    }
}

@media (max-width: 900px) {

    .about-grid,
    .book-grid {

        grid-template-columns: 1fr;
    }

    .about-content {

        padding: 30px;
    }

    .hero-overlay {

        margin-top: 200px;
    }

    .hero-text h1 {

        font-size: 28px;
    }
}
/* =======================================================
   PORTAL EFFECT
======================================================= */

#portal-transition {

    position: fixed;

    top: 50%;
    left: 50%;

    width: 0;
    height: 0;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(180,0,255,0.95) 0%,
            rgba(120,0,255,0.8) 40%,
            rgba(0,0,0,0) 75%
        );

    transform:
        translate(-50%, -50%);

    opacity: 0;

    pointer-events: none;

    z-index: 99999;
}

#portal-transition.active {

    animation:
        portalExpand 1.2s ease forwards;
}

/* =======================================================
   PORTAL ANIMATION
======================================================= */

@keyframes portalExpand {

    0% {

        width: 0;
        height: 0;

        opacity: 0;
    }

    30% {

        opacity: 1;
    }

    100% {

        width: 250vmax;
        height: 250vmax;

        opacity: 0;
    }
}/* =======================================================
   OUR BOOKS PAGE
======================================================= */

#books-container {

    width: calc(100% - 40px);

    max-width: 1400px;

    min-height: 950px;

    margin: 0px auto;

    padding: 20px;

    position: relative;

    z-index: 5;

    overflow: hidden;

    border-radius: 25px;

    background:
        url("images/about-us-bg.png")
        center center / 65% no-repeat;

    box-shadow:
        0 0 40px rgba(0,0,0,0.5);
}

/* =======================================================
   BOOKS SHOWCASE
======================================================= */

#books-showcase {

    width: 100%;

    max-width: 1400px;

    height: 700px;

    margin: 40px auto 20px auto;

    border-radius: 25px;

    background:
        url("images/our-books.png")
        center center / contain no-repeat;

    background-color: transparent;

    position: relative;

    z-index: 10;
}

/* =======================================================
   BOOK BUTTON ROW
======================================================= */

.books-buttons {

    width: 100%;

    max-width: 1200px;

    margin: 0 auto 60px auto;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 40px;

    text-align: center;

    position: relative;

    z-index: 50;
}

/* =======================================================
   BUTTON POSITIONING
======================================================= */

.books-buttons .btn {

    justify-self: center;

    min-width: 170px;
}

/* =======================================================
   RESPONSIVE BOOKS PAGE
======================================================= */

@media (max-width: 900px) {

    .books-buttons {

        grid-template-columns: 1fr 1fr;

        gap: 20px;
    }
}

@media (max-width: 600px) {

    .books-buttons {

        grid-template-columns: 1fr;
    }

    #books-showcase {

        height: 450px;
    }
}
/* =======================================================
   FEATURED BOOKS SECTION
======================================================= */

.featured-books {

    margin-top: 40px;

    text-align: center;
}

.featured-books h2 {

    color: gold;

    font-size: 42px;

    margin-bottom: 40px;

    text-shadow:
        0 0 15px rgba(255,215,0,0.35);
}

/* =======================================================
   BOOK ROW
======================================================= */

.books-row {

    display: flex;

    justify-content: center;

    gap: 30px;

    flex-wrap: wrap;
}

/* =======================================================
   FEATURED BOOK CARD
======================================================= */

.book-card {

    width: 280px;

    background: #1d1d2b;

    border-radius: 20px;

    overflow: hidden;

    box-shadow:
        0 0 20px rgba(255,215,0,0.12);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;

    position: relative;

    z-index: 10;
}

/* =======================================================
   CARD HOVER
======================================================= */

.book-card:hover {

    transform:
        translateY(-12px)
        scale(1.03);

    box-shadow:
        0 0 35px rgba(255,215,0,0.3);
}

/* =======================================================
   FEATURED BOOK IMAGES
======================================================= */

.book-card img {

    width: 100%;

    display: block;

    transition:
        transform 0.4s ease;

    animation:
        floatBook 5s ease-in-out infinite;
}

.book-card:hover img {

    transform: scale(1.04);
}

/* =======================================================
   FLOATING BOOK EFFECT
======================================================= */

@keyframes floatBook {

    0% {

        transform: translateY(0px);
    }

    50% {

        transform: translateY(-10px);
    }

    100% {

        transform: translateY(0px);
    }
}

/* =======================================================
   BOOK TITLE
======================================================= */

.book-card h3 {

    padding: 20px;

    color: gold;

    font-size: 24px;

    text-align: center;

    margin: 0;
}

/* =======================================================
   MOBILE RESPONSIVE
======================================================= */

@media (max-width: 900px) {

    .books-row {

        flex-direction: column;

        align-items: center;
    }

    .book-card {

        width: 90%;

        max-width: 320px;
    }
}
/* =======================================================
   MEET MALEEK PAGE FIX
======================================================= */

#maleek-container {

    width: calc(100% - 40px);

    max-width: 1600px;

    margin: 0px auto;

    padding: 40px;

    position: relative;

    z-index: 5;

    text-align: center;
	top:-110px;

    border-radius: 25px;

    background:
        rgba(0,0,0,0.35);

    backdrop-filter: blur(8px);

    box-shadow:
        0 0 30px rgba(0,0,0,0.5);
}

/* =======================================================
   MALEEK PAGE CONTENT
======================================================= */

#maleek-page {

    width: 100%;

    text-align: center;
}

/* =======================================================
   PAGE TITLE
======================================================= */

.page-title {

    font-size: 54px;

    color: gold;

    margin-bottom: 30px;

    text-shadow:
        0 0 18px rgba(255,215,0,0.35);
}

/* =======================================================
   IMAGE WRAPPER
======================================================= */
.maleek-image-wrapper img {

    width: 100%;

    max-width: 1000px;

    height: auto;

    display: block;

    margin: 0 auto;
}

/* =======================================================
   MALEEK IMAGE
======================================================= */

.maleek-image-wrapper img {

    width: 100%;

    max-width: 1000px;

    height: auto;

    display: block;

    margin: 0 auto;

    border-radius: 20px;

    box-shadow:
        0 0 25px rgba(255,0,255,0.35);

    animation:
        floatBook 5s ease-in-out infinite;
}

/* =======================================================
   QUOTE
======================================================= */

.maleek-quote {

    font-size: 24px;

    margin-top: 20px;

    margin-bottom: 35px;

    color: white;

    text-align: center;
}

/* =======================================================
   MAGIC BUTTON
======================================================= */

.magic-btn {

    margin-top: 10px;
}

/* =======================================================
   MOBILE
======================================================= */

@media (max-width: 900px) {

    #maleek-container {

        padding: 20px;
    }

    .page-title {

        font-size: 36px;
    }

    .maleek-quote {

        font-size: 18px;
    }
}
/* =======================================================
   MEET MALEEK PAGE FIX
======================================================= */

#maleek-container {

    width: calc(100% - 40px);

    max-width: 1600px;

    margin: 40px auto;

    padding: 40px;

    position: relative;

    z-index: 5;

    text-align: center;

    border-radius: 25px;

    background:
        rgba(0,0,0,0.35);

    backdrop-filter: blur(8px);

    box-shadow:
        0 0 30px rgba(0,0,0,0.5);
}

/* =======================================================
   MALEEK PAGE CONTENT
======================================================= */

#maleek-page {

    width: 100%;

    text-align: center;
}

/* =======================================================
   PAGE TITLE
======================================================= */

.page-title {

    font-size: 54px;

    color: gold;

    margin-bottom: 30px;

    text-shadow:
        0 0 18px rgba(255,215,0,0.35);
}

/* =======================================================
   IMAGE WRAPPER
======================================================= */

.maleek-image-wrapper {

    width: 100%;

    display: flex;

    justify-content: center;

    align-items: center;

    margin-bottom: 30px;
}

/* =======================================================
   MALEEK IMAGE
======================================================= */

.maleek-image-wrapper img {

    width: 100%;

    max-width: 1200px;

    height: auto;

    display: block;

    margin: 0 auto;

    border-radius: 20px;

    box-shadow:
        0 0 25px rgba(255,0,255,0.35);

    animation:
        floatBook 5s ease-in-out infinite;
}

/* =======================================================
   QUOTE
======================================================= */

.maleek-quote {

    font-size: 24px;

    margin-top: 20px;

    margin-bottom: 35px;

    color: white;

    text-align: center;
}

/* =======================================================
   MAGIC BUTTON
======================================================= */

.magic-btn {

    margin-top: 10px;
}

/* =======================================================
   MOBILE
======================================================= */

@media (max-width: 900px) {

    #maleek-container {

        padding: 20px;
    }

    .page-title {

        font-size: 36px;
    }

    .maleek-quote {

        font-size: 18px;
    }
}
.first-book .btn {

    margin-top: 1px;
}
/* =======================================================
   TRAILER PAGE
======================================================= */

#trailer-container {

    width: 90%;

    max-width: 1200px;

    margin: 40px auto;

    text-align: center;
}

.trailer-title {

    color: gold;

    font-size: 48px;

    margin-bottom: 30px;
}

#trailer-container video {

    width: 100%;

    border-radius: 25px;

    box-shadow:
        0 0 30px rgba(255,0,255,0.25);
}
/* =======================================================
   UPDATED NAVBAR + SOCIAL MEDIA FIX
======================================================= */

#navbar {

    position: sticky;

    top: 0;

    width: 100%;

    background: rgba(0,0,0,0.78);

    backdrop-filter: blur(10px);

    z-index: 1000;

    box-shadow:
        0 4px 20px rgba(0,0,0,0.5);
}
video{

    width:100%;

    max-width:360px;

    height:auto;

    aspect-ratio:16 / 9;

    object-fit:contain;
}

/* =======================================================
   NAV CONTAINER
======================================================= */

.nav-container {

    max-width: 1450px;

    margin: 0 auto;

    padding: 14px 25px;
    padding-left: 120px;
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}


/* =======================================================
   LOGO
======================================================= */

.logo {

    font-size: 30px;

    font-weight: bold;

    color: white;

    margin: 0;

    white-space: nowrap;

    text-shadow:
        0 0 10px rgba(255,255,255,0.35);
}


/* =======================================================
   NAV LINKS
======================================================= */

.nav-links {

    list-style: none;

    display: flex;

    align-items: center;

    gap: 20px;

    padding: 0;

    margin: 0;
}


.nav-links li {

    list-style: none;
}


.nav-links a {

    text-decoration: none;

    color: white;

    font-size: 17px;

    font-weight: bold;

    padding: 8px 14px;

    border-radius: 10px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


.nav-links a:hover {

    background: rgba(255,255,255,0.12);

    color: #ffd54a;

    transform: translateY(-2px);
}
/* =======================================================
   NAVBAR
======================================================= */

#navbar {

    position: sticky;

    top: 0;

    width: 100%;

    background: rgba(0,0,0,0.82);

    backdrop-filter: blur(10px);

    z-index: 1000;

    box-shadow:
        0 4px 20px rgba(0,0,0,0.5);
}


/* =======================================================
   NAV CONTAINER
======================================================= */

.nav-container {

    max-width: 1600px;

    margin: 0 auto;

    padding: 14px 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 35px;
}


/* =======================================================
   LOGO
======================================================= */

.logo {

    font-size: 30px;

    font-weight: bold;

    color: white;

    margin: 0;

    white-space: nowrap;

    text-shadow:
        0 0 10px rgba(255,255,255,0.35);
}


/* =======================================================
   NAV LINKS
======================================================= */

.nav-links {

    list-style: none;

    display: flex;

    align-items: center;

    gap: 18px;

    padding: 0;

    margin: 0;
}


.nav-links li {

    list-style: none;
}


.nav-links a {

    text-decoration: none;

    color: white;

    font-size: 17px;

    font-weight: bold;

    padding: 8px 14px;

    border-radius: 10px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


.nav-links a:hover {

    background: rgba(255,255,255,0.12);

    color: #ffd54a;

    transform: translateY(-2px);
}


/* =======================================================
   SOCIAL MEDIA
======================================================= */

.social-top {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-left: 15px;
}


/* =======================================================
   SOCIAL BUTTONS
======================================================= */

.social-mini {

    text-decoration: none;

    color: white;

    font-size: 12px;

    font-weight: bold;

    padding: 7px 12px;

    border-radius: 30px;

    border: 2px solid white;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

    box-shadow:
        0 0 10px rgba(0,0,0,0.45);

    white-space: nowrap;
}


/* FACEBOOK */

.facebook {

    background: #1877f2;
}


/* TWITTER / X */

.twitter {

    background: #000000;
}


/* INSTAGRAM */

.instagram {

    background:
        linear-gradient(
        45deg,
        #feda75,
        #fa7e1e,
        #d62976,
        #962fbf,
        #4f5bd5);
}


/* TIKTOK */

.tiktok {

    background: #111111;
}


/* =======================================================
   HOVER EFFECT
======================================================= */

.social-mini:hover {

    transform: scale(1.08);

    box-shadow:
        0 0 18px rgba(255,255,255,0.6);
}


/* =======================================================
   MOBILE
======================================================= */

@media (max-width: 1100px) {

    .nav-container {

        flex-direction: column;

        gap: 15px;
    }

    .nav-links {

        flex-wrap: wrap;

       justify-content: space-between;
    }

    .social-top {

        justify-content: center;

        flex-wrap: wrap;

        margin-left: 0;
    }
}
/* CONTACT SECTION */

.contact-section {

    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;

    background:
    linear-gradient(
    rgba(0,0,0,0.7),
    rgba(0,0,0,0.85));

}

.contact-box {

    background: rgba(0,0,0,0.75);

    padding: 50px;

    border-radius: 25px;

    width: 90%;

    max-width: 600px;

    text-align: center;

    box-shadow:
    0 0 25px rgba(255,215,0,0.5);

}

.contact-box h1 {

    color: gold;

    font-size: 42px;

    margin-bottom: 15px;

}

.subtitle {

    color: white;

    font-size: 18px;

    line-height: 1.6;

    margin-bottom: 30px;

}

.signup-form {

    display: flex;

    flex-direction: column;

    gap: 20px;

}

.signup-form input {

    padding: 15px;

    border: none;

    border-radius: 12px;

    font-size: 16px;

}

.signup-form button {

    background: gold;

    color: black;

    border: none;

    padding: 15px;

    border-radius: 12px;

    font-size: 18px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;

}

.signup-form button:hover {

    transform: scale(1.05);

    background: white;

}

.contact-info {

    margin-top: 35px;

    color: white;

}

.contact-info h2 {

    color: gold;

    margin-bottom: 10px;

}
/* =======================================================
   FINAL MOBILE FIXES
======================================================= */

* {

    box-sizing: border-box;
}

html,
body {

    width: 100%;
    overflow-x: hidden;
}

/* =======================================================
   HERO MOBILE FIX
======================================================= */

@media (max-width: 900px) {

    #hero {

        height: auto;

        min-height: 700px;

        padding-bottom: 40px;

        background-position: center top;
    }

    .hero-overlay {

        margin-top: 420px;
        padding: 20px;
    }

    .hero-content {

        width: 100%;
    }

    .hero-text h1 {

        font-size: 34px;

        line-height: 1.2;
    }

}

/* =======================================================
   SMALL PHONE FIX
======================================================= */

@media (max-width: 600px) {

    #container {

        width: 96%;

        padding: 12px;

        border-radius: 18px;

        background-size: cover;

        background-position: center top;
    }

    #hero {

        min-height: 620px;
    }

    .hero-overlay {

        margin-top: 360px;
    }

    .hero-text h1 {

        font-size: 28px;
    }

    .btn {

        width: 90%;

        max-width: 320px;

        font-size: 16px;

        padding: 14px 16px;
    }

    .nav-container {

        padding: 14px 12px;
    }

    .nav-links {

        justify-content: center;

        gap: 10px;
    }

    .nav-links a {

        font-size: 14px;

        padding: 6px 10px;
    }

    .logo {

        font-size: 24px;

        text-align: center;
    }

    .book-grid {

        grid-template-columns: 1fr;
    }

    .book-card {

        width: 100%;

        max-width: 340px;

        margin: 0 auto;
    }

    .card-content img {

        height: auto;
    }

    h2 {

        font-size: 32px;
    }

    p {

        font-size: 16px;

        line-height: 1.6;
    }

}

/* =======================================================
   EXTRA SMALL DEVICES
======================================================= */

@media (max-width: 420px) {

    .hero-overlay {

        margin-top: 320px;
    }

    .hero-text h1 {

        font-size: 24px;
    }

    .btn {

        font-size: 15px;
    }

    .nav-links {

        gap: 6px;
    }

    .nav-links a {

        font-size: 13px;

        padding: 6px 8px;
    }

}
/* =======================================================
   TRAILER MOBILE FIX
======================================================= */

#trailer-container {

    width: 95%;

    max-width: 900px;

    margin: 100px auto 40px auto;

    padding: 0 10px;

    text-align: center;
}

#trailer-container video {

    width: 100%;

    max-width: 800px;

    height: auto;

    display: block;

    margin: 0 auto;

    border-radius: 20px;
}


/* =======================================================
   MOBILE VIDEO FIX
======================================================= */
@media (max-width: 768px) {

    #trailer-container {

        width: 100%;

        padding: 0 10px;

        margin-top: 90px;
    }

    #trailer-container video {

        width: 100%;

        max-width: 420px;

        height: auto;

        display: block;

        margin: 0 auto;

        border-radius: 20px;
    }

}