:root {
    --gold: #ffd33f;
    --gold-light: #ffe98a;
    --gold-dark: #c79c15;

    --bg: #0f0c08;
    --bg-secondary: #1a140d;
    --bg-card: #21180f;

    --cream: #f4f0e7;
    --muted: #d8d1c4;

    --border: rgba(255, 211, 63, .15);

    --shadow:
        0 0 20px rgba(255, 211, 63, .15);

    --shadow-hover:
        0 0 40px rgba(255, 211, 63, .35);

    --transition: .4s ease;
}

/* ==================================================
   COMBINED HERO + SERIES SECTION
================================================== */

.hero-series-section {
    position: relative;
    padding-top: 120px;
    padding-bottom: 60px;
    
    /* PUT YOUR SINGLE COMBINED BACKGROUND IMAGE HERE */
    background: url('../images/Top\ website\ image.jpg') no-repeat center / cover; 
}

.hero-series-section::before {
    display: none !important;
}

.hero-image{
    margin-top: 100px;
}

.hero-series-section .container:nth-child(2) {
    margin-top: 80px; 
}

/* ==================================================
   HERO SECTION
================================================== */

.main-book-para {
    -webkit-text-stroke: 1px #fff;
    color: #000;
    font-size: 24px;
    font-weight: 700;
}

.character-section {
    background: var(--bg-card);
}

.gold-label {

    color: var(--gold);

    letter-spacing: 2px;

    text-transform: uppercase;

    font-size: .85rem;
}

.hero-title {

    font-size: 4.5rem;

    line-height: 1.1;

    margin: 20px 0;
}

.hero-title-g {
    font-size: 5.5rem;

    line-height: 1.1;

    margin: 20px 0;
}

.hero-text {

    font-size: 1.15rem;

    max-width: 1050px;

    display: flex;

    gap: 10px;

}

.hero-buttons {

    display: flex;

    gap: 15px;

    flex-wrap: wrap;

    margin-top: 35px;
}

.hero-book {

    max-width: 300px;

    border-radius: 25px;

    animation: floatBook 5s ease-in-out infinite;

    filter:
        drop-shadow(0 0 30px rgba(255, 211, 63, .35));
}

@keyframes floatBook {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }

}

@media(max-width:991px) {

    .hero-title {
        font-size: 3rem;
    }

    .hero-section {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

}

/* ==================================================
   STATS SECTION
================================================== */

.stats-section {

    padding: 80px 0;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat-box {

    background: rgba(255, 255, 255, .02);

    border: 1px solid var(--border);

    padding: 40px 20px;

    border-radius: 20px;

    transition: var(--transition);
}

.stat-box:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow-hover);
}

.stat-box h2 {

    color: var(--gold);

    font-size: 3rem;
}

/* =========================================================
   BOOK CARD FOR MAIN PAGE
   ====================================================*/

.book-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    height: 100%;

    display: grid;
    grid-template-rows:
        auto 90px 1fr auto;
}

.book-image img {
    border: 10px solid var(--bg-card);
    border-radius: 24px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-heading {
    padding: 20px 25px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.book-heading h4 {
    color: var(--gold);
    text-align: center;
    margin: 0;
    line-height: 1.4;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-description {
    padding: 0 25px;
    min-height: 140px;
    margin-top: 30px;
}

.book-description p {
    text-align: center;
    color: var(--muted);
    margin: 0;
}

.book-buttons {
    padding: 20px 25px 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ==================================================
   COMING SOON BUTTON
================================================== */
.book-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 25px 25px;
}

.coming-soon-btn {
    display: flex;
    justify-content: center;
    padding: 8px;
    position: relative;
    cursor: default;
    user-select: none;
    pointer-events: none;
}

/* Breathing glow — contained inside button */
.csb-glow {
    position: absolute;
    inset: -6px;
    border-radius: 58px;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(255, 211, 63, .1) 0%, transparent 65%);
    animation: csbBreathe 3s ease-in-out infinite;
}

@keyframes csbBreathe {

    0%,
    100% {
        opacity: .4;
        transform: scale(0.95);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Floating particles inside button */
.csb-particles {
    position: absolute;
    inset: 0;
    border-radius: 50px;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.csb-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 211, 63, .6);
    animation: csbFloat 3s ease-in-out infinite;
    opacity: 0;
}

@keyframes csbFloat {
    0% {
        transform: translateY(100%) scale(0);
        opacity: 0;
    }

    20% {
        opacity: .8;
        transform: translateY(60%) scale(1);
    }

    80% {
        opacity: .8;
        transform: translateY(-20%) scale(1);
    }

    100% {
        transform: translateY(-60%) scale(0);
        opacity: 0;
    }
}

/* Content — centered */
.csb-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 2;
    padding: 16px 44px;
    background: rgba(255, 211, 63, .06);
    border: 1px solid rgba(255, 211, 63, .18);
    border-radius: 50px;
}

.csb-text {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 40%, var(--gold) 60%, var(--gold-dark) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: csbShimmer 3s ease-in-out infinite;
    text-align: center;
}

@keyframes csbShimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.csb-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 211, 63, .6);
    animation: csbDotPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

.csb-dot:last-child {
    animation-delay: 1s;
}

@keyframes csbDotPulse {

    0%,
    100% {
        box-shadow: 0 0 8px rgba(255, 211, 63, .6);
        opacity: .6;
    }

    50% {
        box-shadow: 0 0 14px rgba(255, 211, 63, 1);
        opacity: 1;
    }
}

/* ==================================================
   TIMELINE
================================================== */

.timeline {

    display: flex;

    justify-content: space-between;

    gap: 20px;

    flex-wrap: wrap;
}

.timeline-item {

    flex: 1;

    min-width: 180px;

    text-align: center;

    background: var(--bg-card);

    border: 1px solid var(--border);

    padding: 30px 20px;

    border-radius: 20px;

    position: relative;

    transition: var(--transition);
}

.timeline-item:hover {

    box-shadow: var(--shadow-hover);

    transform: translateY(-8px);
}

/* ==================================================
   CHARACTER CARDS
================================================== */

.character-card {

    background: var(--bg-card);

    border: 1px solid var(--border);

    border-radius: 24px;

    text-align: center;

    padding: 30px;

    transition: var(--transition);

    height: 100%;
}

.character-card:hover {

    transform: translateY(-10px);

    box-shadow: var(--shadow-hover);
}

.character-card img {

    width: 140px;

    height: 140px;

    object-fit: cover;

    border-radius: 50%;

    border: 3px solid var(--gold);

    margin-bottom: 20px;
}

.character-card h4 {
    color: var(--gold);
}

/* ==================================================
   AUTHOR SECTION
================================================== */

.author-section {

    padding: 120px 0;

    background: url('../images/Background_Main_About_Author.jpg') no-repeat center / cover;
}

/* ==================================================
   REVIEWS SECTION
================================================== */

.review-card {

    background: var(--bg-card);

    border: 1px solid var(--border);

    border-radius: 20px;

    padding: 35px;

    transition: var(--transition);

    height: 100%;

    color: var(--gold);

    font-size: 1.1rem;
}

.review-card:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow-hover);
}

.review-card p {

    margin-top: 15px;
}

/* ==================================================
   RESOURCES SECTION
================================================== */

.resource-card {

    background: var(--bg-card);

    border: 1px solid var(--border);

    border-radius: 20px;

    text-align: center;

    padding: 40px;

    font-weight: 600;

    transition: var(--transition);
}

.resource-card:hover {

    background: rgba(255, 211, 63, .08);

    transform: translateY(-8px);

    box-shadow: var(--shadow-hover);
}

/* ==================================================
   NEWSLETTER SECTION
================================================== */

.newsletter-section {

    padding: 120px 0;

    text-align: center;

    background: url('../images/Background_Main_Book.jpg') no-repeat center / cover;
}

.newsletter-form {

    max-width: 700px;

    margin: auto;

    display: flex;

    gap: 15px;

    flex-wrap: wrap;

    justify-content: center;
}

.newsletter-form input {

    flex: 1;

    min-width: 250px;

    background: #241a11;

    border: 1px solid var(--border);

    color: white;

    padding: 15px 20px;

    border-radius: 50px;
}

.newsletter-form input:focus {

    outline: none;

    border-color: var(--gold);
}

/* ==================================================
   MOBILE RESPONSIVE
================================================== */

@media(max-width:576px) {

    .hero-title {
        font-size: 2.3rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .book-card img {
        height: 280px;
    }

    .timeline-item {
        min-width: 100%;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }

}

/* ==================================================
   AGE_RANGE & STAT_INLINE
================================================== */

.age-range {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.age-range h2 {
    margin: 0;
}

.age-range span {
    font-size: 2rem;
    color: #ffd33f;
    font-weight: 700;
}

.stat-inline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.stat-inline h2 {
    margin: 0;
}

.coming-soon-box {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: #1a140d;
    border: 1px dashed rgba(255, 211, 63, .4);
    border-radius: 20px;

    color: #ffd33f;
    font-weight: 600;
    font-size: 1.1rem;

    margin-bottom: 15px;
}

/* ==================================================
   ACTIVITIES GRID
================================================== */

.activities-alt {
    background: rgba(255, 255, 255, .02);
    padding: 80px 0;
}

.adventure-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;

}

.adventure-grid .row .col-lg-2 {
    margin-top: 20px;

}


.activity-card {
    flex: 1;
    max-width: 220px;
    min-height: 170px;

    background: #1a140d;

    border: 1px solid rgba(255, 211, 63, .15);

    border-radius: 25px;

    padding: 35px;

    text-align: center;

    transition: .4s;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(255, 211, 63, .25);
}

.activity-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.activity-card h3 {
    font-family: 'Cinzel', serif;
    color: #ece8e1;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    margin: 0;
    line-height: 1.4;
}

.more-adventures-title {
    font-family: 'Cinzel', serif;
    font-size: 52px;
    font-weight: 700;
    color: #ece8e1;
    text-align: center;
    margin-bottom: 50px;
}

/* Desktop */
.adventure-grid {
    width: 100%;
}

.adventure-grid .row {
    justify-content: center;
    row-gap: 20px;
}

.activity-icon img {
    max-width: 100%;
    height: auto;
}

/* Large tablets */
@media (max-width: 992px) {

    .more-adventures-title {
        font-size: 40px;
        margin-bottom: 40px;
    }

    .adventure-grid .row {
        justify-content: center;
    }

    .adventure-grid .col-lg-2 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }

    .activity-card {
        max-width: 100%;
    }
}

/* Tablets */
@media (max-width: 768px) {

    .more-adventures-title {
        font-size: 32px;
        margin-bottom: 35px;
    }

    .adventure-grid .col-lg-2 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .activity-card {
        min-height: 180px;
        padding: 25px;
    }

    .activity-icon {
        font-size: 3rem;
        margin-bottom: 15px;
    }

    .activity-card h3 {
        font-size: 14px;
    }
}

/* Mobile */
@media (max-width: 576px) {

    .more-adventures-title {
        font-size: 26px;
        line-height: 1.3;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .adventure-grid .col-lg-2 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .activity-card {
        max-width: 320px;
        margin: 0 auto;
        min-height: 170px;
        padding: 25px 20px;
    }

    .activity-icon img {
        width: 70px;
    }

    .activity-card h3 {
        font-size: 13px;
        line-height: 1.4;
    }
}