/* ================= RESET ================= */
* {
    box-sizing: border-box;
}


html, 

body {
    margin: 0;
    padding: 0;
}
body {
    background: #000 !important;
}
/* ================= BASE ================= */
body {
    font-family: Arial, sans-serif;
    background: #000;
    color: #c7c7c7;
}

/* ================= NAV ================= */
.premium-nav {
    position: fixed;
    top: -80px;
    width: 100%;
    text-align: center;
    background: rgba(0,0,0,0.9);
    padding: 15px 0;
    transition: 0.4s;
    z-index: 10000;
}

.premium-nav.show {
    top: 0;
}

.premium-nav a {
    color: #c7c7c7;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
}

.premium-nav a:hover {
    color: #ff6a00;
}

/* ================= HERO ================= */
.hero {
    height: 100vh;
    min-height: 100vh; /* 🔥 Safari fix */

    background: url("images/hero-full.png") center/cover no-repeat;

    display: flex;
    flex-direction: column; /* 🔥 add */
    justify-content: flex-end;
    align-items: center;

    padding-bottom: 4%;
    position: relative;
}

/* bottom dark fade */
.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 45%;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    z-index: 1;
    pointer-events: none; /* 🔥 THIS FIXES CLICK BLOCKING */
}

/* content container */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-bottom: 0; /* 🔥 Safari fix */
}

/* ================= BUTTON ================= */
.hero-btn {
    display: inline-block;
    padding: 14px 38px;
    border: 2px solid #ff6a00;
    color: #ff6a00;
    text-decoration: none;
    background: rgba(0,0,0,0.55);
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;

    position: relative;
    z-index: 10000;
    pointer-events: auto;
}
.hero-btn:hover {
    background: #ff6a00;
    color: #000;
}
.hero {
    padding-bottom: 4%;
}
/* ================= EMBERS ================= */
/* ================= EMBERS ================= */

.ember {
    position: fixed;
    bottom: -10px;
    background: radial-gradient(circle, #ffb347, #ff6a00, #ff0000);
    border-radius: 50%;
    pointer-events: none !important;
    z-index: 5;
    opacity: 0;
    animation: floatUp linear forwards;
}
.ember {
    pointer-events: none !important;
    z-index: 5;
}

@keyframes floatUp {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh);
        opacity: 0;
    }
}

/* ================= BOOK LAYOUT ================= */
.book-row {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 40px;
    max-width: 1000px;
    margin: auto;
}

.book-row.reverse {
    flex-direction: row-reverse;
}

.book-row img {
    width: 280px;
    border-radius: 6px;
}

.book-info {
    max-width: 500px;
}

/* ================= SERIES ================= */
.series-section {
    text-align: center;
    padding: 60px 20px;
    max-width: 800px;
    margin: auto;
}

/* ================= CHARACTERS ================= */
.character-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.character-row div {
    max-width: 260px;
}

.character-row img {
    width: 100%;
    border-radius: 6px;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    .hero {
        padding-bottom: 10%;
    }

    .book-row {
        flex-direction: column;
        text-align: center;
    }

    .book-row img {
        width: 100%;
        max-width: 320px;
    }

    .character-row {
        flex-direction: column;
        align-items: center;
    }

    .character-row img {
        max-width: 320px;
    }
}