/* --- Root Variables & Reset --- */
:root {
    --jinx-red: #8b0000;
    --jinx-dark: #1a0505;
    --jinx-gold: #d4af37;
    --card-bg: #2a0a0a;
    --text-gray: #cccccc;
    --gold-glow: rgba(212, 175, 55, 0.3);
}
body {
    background-color: #0a0101; /* Fallback color */
    /* Deep Maroon to Black Gradient as seen in image */
    background-image: radial-gradient(circle at top, #3a0101 0%, #0a0101 80%);
    background-attachment: fixed;
    min-height: 100vh;
    color: white;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.hero-container {
    /* Container ko transparent rakhein taaki body ka gradient nazar aaye */
    background: transparent;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* Extra Effect: Banner ke peeche ek halka sa aur glow add karne ke liye */
.hero-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 1, 1, 0.2) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
body {
    background: radial-gradient(circle at top, #3a0505 0%, var(--jinx-dark) 100%);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.hero-container {
    padding: 20px;
    max-width: 1400px; /* Thoda wide kiya taaki desktop pe attraction barh jaye */
    margin: 0 auto;
}

/* --- Banner with Realistic Glow --- */
.main-banner {
    width: 100%;
    height: 450px;
    border: 2px solid var(--jinx-gold);
    border-radius: 22px;
    background-size: cover;
    background-position: center;
    position: relative;
    box-shadow: 0 0 50px rgba(139, 0, 0, 0.4), 0 0 20px var(--gold-glow);
    margin-bottom: 40px;
    transition: transform 0.5s ease;
}

/* Glassy border effect on banner */
.main-banner::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 24px;
    background: linear-gradient(45deg, transparent, var(--gold-glow), transparent);
    z-index: -1;
}

/* --- Premium Headers --- */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    padding-bottom: 12px;
}

.section-header h2 {
    font-size: 1.5rem;
    color: var(--jinx-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

.view-all {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
    padding: 4px 12px;
    border-radius: 20px;
}

.view-all:hover { 
    color: var(--jinx-gold);
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--jinx-gold);
}

/* --- Interactive Book Cards --- */
.book-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 10px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.book-card:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: var(--jinx-gold);
    box-shadow: 0 15px 35px rgba(0,0,0,0.8), 0 0 15px rgba(139, 0, 0, 0.3);
}

.book-card img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.6s ease;
}

.book-card:hover img {
    transform: scale(1.1);
}

.book-info h4 {
    font-size: 0.95rem;
    margin: 12px 0 5px;
    font-weight: 500;
    color: #fff;
    text-align: center;
}

/* --- Author Glow Section --- */
.author-card {
    text-align: center;
    transition: 0.3s;
}

.author-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 3px solid var(--jinx-gold);
    object-fit: cover;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.2));
    transition: all 0.4s ease;
}

.author-card:hover .author-img {
    transform: translateY(-8px) rotate(5deg);
    filter: drop-shadow(0 0 15px var(--jinx-gold));
    border-color: #fff;
}

/* --- Premium Modal (Attraction) --- */
.jinx-modal {
    display: none; 
    position: fixed; 
    inset: 0;
    z-index: 9999; 
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(15px);
}

.modal-content {
    background: linear-gradient(145deg, #1a0505, #2a0a0a);
    margin: 3% auto; 
    padding: 40px;
    border: 1px solid rgba(212, 175, 55, 0.4); 
    width: 85%; 
    border-radius: 30px;
    box-shadow: 0 0 100px rgba(139, 0, 0, 0.4);
    position: relative; 
    animation: modalFadeUp 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes modalFadeUp {
    from { transform: translateY(80px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute; 
    right: 25px; 
    top: 20px;
    color: var(--jinx-gold); 
    font-size: 45px; 
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
}

.close-modal:hover { 
    transform: rotate(90deg); 
    color: #fff; 
}

.modal-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 25px; 
    margin-top: 30px;
}

/* --- Footer App Promo --- */
.app-promo {
    background: linear-gradient(135deg, rgba(74, 4, 4, 0.9) 0%, rgba(0, 0, 0, 0.95) 100%);
    padding: 60px;
    text-align: center;
    border-radius: 25px;
    margin-top: 60px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
}

/* --- Utilities --- */
.swiper-button-next, .swiper-button-prev {
    display: none !important; /* Arrows hidden as requested */
}

.swiper {
    padding-bottom: 40px !important;
}
/* --- 1. Custom Side Scroller (Browser & Modal) --- */
/* Pura website ka scrollbar aur modal ka scrollbar gold theme mein */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--jinx-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--jinx-red), var(--jinx-gold));
    border-radius: 10px;
    border: 2px solid var(--jinx-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--jinx-gold);
}

/* Firefox ke liye */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--jinx-gold) var(--jinx-dark);
}

/* --- 2. Modal Scroll Fix --- */
.jinx-modal {
    display: none; 
    position: fixed; 
    inset: 0;
    z-index: 9999; 
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(15px);
    
    /* Scroll fix steps */
    overflow-y: auto; 
    overflow-x: hidden;
    height: 100vh;
}

.modal-content {
    background: linear-gradient(145deg, #1a0505, #2a0a0a);
    margin: 50px auto; /* Top/Bottom margin taaki scroll space miley */
    padding: 40px;
    border: 1px solid rgba(212, 175, 55, 0.4); 
    width: 85%; 
    border-radius: 30px;
    box-shadow: 0 0 100px rgba(139, 0, 0, 0.4);
    position: relative; 
    animation: modalFadeUp 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    
    /* Content height fix */
    min-height: fit-content;
    pointer-events: auto;
}

/* --- 3. Root Variables (In case missing) --- */
:root {
    --jinx-red: #8b0000;
    --jinx-dark: #1a0505;
    --jinx-gold: #d4af37;
    --card-bg: #2a0a0a;
}

/* --- 4. Extra Attraction for Modal Books --- */
.modal-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 25px; 
    margin-top: 30px;
    padding-bottom: 20px; /* Neeche se thori jagah */
}

/* --- 5. Banner Glow Enhancement --- */
.main-banner {
    position: relative;
    box-shadow: 0 0 60px rgba(139, 0, 0, 0.5), inset 0 0 20px rgba(0,0,0,0.6);
    overflow: hidden;
}

/* Banner ke peeche ek extra realistic glow layer */
.hero-container::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 0, 0, 0.3) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}
/* --- Modal Scrollbar (Inside) --- */
/* Sirf modal ke andar wale scrollbar ki styling */
#jinxModal::-webkit-scrollbar {
    width: 6px;
}

#jinxModal::-webkit-scrollbar-track {
    background: transparent;
    margin: 20px 0; /* Upar niche se thori jagah */
}

#jinxModal::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--jinx-red), var(--jinx-gold));
    border-radius: 10px;
}

/* --- Modal Layout Fix --- */
.jinx-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(15px);
    
    /* Yahan se scrolling control hogi */
    overflow-y: scroll; 
    padding: 40px 0;
}

.modal-content {
    background: linear-gradient(145deg, #1a0505, #2a0a0a);
    margin: 0 auto; /* Margin auto taaki center rahe */
    padding: 30px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    width: 80%;
    max-width: 1000px;
    border-radius: 25px;
    position: relative;
    /* Isay fix nahi karna taaki ye scrollable container ke andar move kare */
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

/* View All button attraction */
.view-all {
    background: rgba(212, 175, 55, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid transparent;
    transition: 0.3s;
}

.view-all:hover {
    border-color: var(--jinx-gold);
    box-shadow: 0 0 10px var(--gold-glow);
}
/* --- 1. Realistic Radial Background Gradient --- */
.hero-container { 
    /* radial-gradient upper center se start ho kar deep maroon se pure dark ki taraf jata hai */
    background: transparent; 
    padding: 20px; 
    min-height: 100vh; 
}

/* --- 2. Main Banner & Book Cards with Glowing Frame (Outline) --- */
/* Main banner glowing frame */
.main-banner {
    position: relative;
    width: 100%;
    /* border radius image ke mutabiq */
    border-radius: 20px;
    border: 2px solid var(--jinx-gold);
    box-shadow: 0 0 50px rgba(139, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.2);
    margin-bottom: 30px;
    transition: transform 0.5s ease;
}

/* Glowing border effect on banner like in image_3.png */
.main-banner::after {
    content: '';
    position: absolute;
    /* transparent gold gradient inner frame */
    inset: -3px;
    border-radius: 22px;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    z-index: -1;
}

/* Book Card glowing frame like image_3.png */
.book-card { 
    background: #2a0a0a; 
    border-radius: 12px; 
    padding: 10px; 
    /* reference image frame pattern */
    border: 1px solid rgba(212, 175, 55, 0.1); 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
}

.book-card:hover { 
    border-color: #d4af37; 
    transform: scale(1.05); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

/* --- 3. Headline & Book Text Styling --- */
/* Section Headline style matching image_3.png */
.section-header h2 { 
    color: #d4af37; 
    font-size: 1.4rem; 
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 1px;
    margin: 0;
}

/* Book Title Text style from image_3.png */
.book-info h4 {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 500;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 0;
}
/* --- Realistic Deep Gradient Background --- */
.hero-container { 
    background: radial-gradient(circle at top, #3a0505 0%, #0a0000 100%) !important; 
    padding: 20px; 
    min-height: 100vh; 
}

/* --- Bold Golden Frame Style --- */
.main-banner, .book-card, .category-box {
    border: 2.5px solid #d4af37 !important; /* Bold Outline */
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3), inset 0 0 10px rgba(0,0,0,0.5);
    border-radius: 15px;
    overflow: hidden;
}

/* --- New Featured Categories (Below Banner) --- */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

.category-box {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
    cursor: pointer;
    transition: 0.3s;
}

.category-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5); /* Overlay for text readability */
}

.category-box span {
    position: relative;
    color: #fff;
    font-family: 'Cinzel', serif; /* Image jaisa elegant font */
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.category-box:hover {
    transform: scale(1.02);
    border-color: #fff !important;
}

/* --- Heading Style --- */
.section-header h2 { 
    font-family: 'Cinzel', serif;
    color: #d4af37; 
    font-size: 1.8rem; 
    text-shadow: 0px 0px 10px rgba(212, 175, 55, 0.5);
    margin: 0;
}
.hero-container { 
    /* radial-gradient upper center se start ho kar deep maroon se pure dark ki taraf jata hai */
    background: transparent !important; /* Pure transparent taaki body ka background dikhe */
    padding: 20px; 
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* --- Golden Frames & Borders --- */
.main-banner, .book-card img, .category-box {
    border: 2.5px solid #d4af37 !important; /* Bold Golden Outline */
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
    border-radius: 15px;
}

/* Section Heading Style */
.section-header h2 {
    font-family: 'Cinzel', serif;
    color: #d4af37;
    text-transform: uppercase;
    font-size: 1.8rem;
    letter-spacing: 2px;
}
/* Container layout */
.featured-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 boxes side by side */
    gap: 12px;
    margin: 25px 0;
    padding: 0 5px;
}

/* Individual Category Box */
.category-item {
    height: 80px; /* Precise height as seen in image */
    border: 3px solid #d4af37 !important; /* Bold Golden Frame */
    border-radius: 18px; /* Rounded corners */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    transition: 0.3s ease;
}

/* Dark overlay for text readability */
.category-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* Subtle dark layer */
}

/* Typography */
.category-item span {
    position: relative;
    color: #ffffff;
    font-family: 'Cinzel', serif; /* Elegant serif font */
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

/* Hover Effect */
.category-item:hover {
    transform: scale(1.03);
    border-color: #fff !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .featured-categories {
        grid-template-columns: repeat(2, 1fr); /* 2x2 on tablets */
    }
}
.category-item:hover {
    transform: translateY(-10px) scale(1.05);
    border: 2px solid #d4af37;
    box-shadow: 0 10px 20px rgba(0,0,0,0.8);
}

.author-card:hover .author-img {
    transform: rotate(10deg);
    border-color: #fff;
    box-shadow: 0 0 25px #d4af37;
}

.book-card:hover img {
    transform: scale(1.08) rotateY(10deg);
    border-color: #d4af37;
}

.section-header h2 {
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
    background: linear-gradient(to right, #d4af37, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* Body/Overall Page Settings */
body {
    background: #000000 url('/public/assets/WebsiteImages/body-bg.jpg') no-repeat center top;
    background-size: cover;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.jinxed-page-wrapper {
    width: 100%;
    overflow-x: hidden;
}

/* App Promo Banner */
.promo-section-wrapper {
    padding: 0 15px; /* Side padding for container */
}

.app-promo-banner {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/public/assets/WebsiteImages/promo-bg.jpg') no-repeat center center;
    background-size: cover;
    border: 3px solid #d4af37; /* Consistent gold border */
    border-radius: 40px; /* Highly rounded corners */
    padding: 40px;
    display: flex;
    justify-content: space-between; /* Logos on far ends */
    align-items: center;
    margin: 60px auto;
    max-width: 1200px;
    position: relative;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3); /* Golden subtle glow */
}

/* Common Side Logos */
.banner-logo-side {
    max-height: 80px;
    width: auto;
}

/* Center Content Area */
.promo-content-center {
    flex: 1; /* Occupy remaining space */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Promo Title Text */
.promo-title {
    font-family: 'Cinzel', serif; /* Elegant serif for title */
    color: #d4af37; /* Gold text */
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: 2px;
    margin: 0 0 30px 0;
    text-transform: uppercase;
}

/* App Store Badges */
.store-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.store-badges img {
    height: 50px;
    transition: transform 0.3s ease;
}

.store-badges img:hover {
    transform: scale(1.05); /* Subtle scale on hover */
}

/* Custom Footer */
.custom-footer {
    padding: 80px 0 60px 0;
    text-align: center;
    background-color: transparent;
}

/* Footer Large Text logo */
.footer-logo-text {
    font-family: 'Cinzel', serif;
    color: #d4af37;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: 5px; /* Spaced out letters */
    text-transform: uppercase;
}

/* Footer Links List */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 50px; /* Wide spacing between links */
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: #d4af37; /* Gold hover effect */
}
/* 1. Base Background & Font */
        body { 
            background-color: #0d0202; /* Exact dark figma background */
            color: white; 
            overflow-x: hidden; 
            font-family: 'Poppins', sans-serif;
        }

        /* 2. Main Banner Adjustments */
        .main-banner {
            image-rendering: -webkit-optimize-contrast;
            box-shadow: 0 10px 40px rgba(0,0,0,0.8);
            background-size: cover;
            background-position: center;
            height: 480px; 
            border: 2px solid #d4af37; 
            border-radius: 30px;
            margin-bottom: 40px;
        }

        /* 3. Book & Author Cards */
        .book-card img { 
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
            border: 1.5px solid #d4af37; 
            border-radius: 15px;
        }
        .book-card:hover img { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(212,175,55,0.2); }

        /* 4. 🔥 Figma Promo Banner (Exactly like your screenshot) */
        .promo-section-wrapper { 
            margin: 80px 0; 
            padding: 0 20px; 
        }

        .app-promo-banner {
            /* Live Image Background with Dark Overlay */
            background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('{{ asset('public/assets/WebsiteImages/BG.jpg') }}');
            background-size: cover;
            background-position: center;
            border: 2px solid #d4af37;
            /* Precise Pill Shape from Figma */
            border-radius: 50px; 
            padding: 45px 60px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1150px;
            margin: 0 auto;
            box-shadow: 0 0 30px rgba(212, 175, 55, 0.25);
            position: relative;
        }

        .banner-logo-side { height: 90px; width: auto; object-fit: contain; }

        .promo-content-center { text-align: center; flex: 1; }

        .promo-title {
            font-family: 'Cinzel', serif;
            color: #d4af37;
            font-size: 1.7rem;
            letter-spacing: 3px; /* Premium letter spacing */
            margin-bottom: 30px;
            text-transform: uppercase;
            font-weight: 700;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        }

        .store-badges { display: flex; justify-content: center; gap: 25px; }
        .store-badges img { height: 55px; transition: transform 0.3s ease; }
        .store-badges img:hover { transform: scale(1.08); }

        /* 5. 🔱 Premium Footer (Figma Style) */
        .custom-footer { 
            text-align: center; 
            padding: 100px 0 60px; 
            background: linear-gradient(to top, #1a0505, #0d0202); 
        }
        
        .footer-logo-text {
            font-family: 'Cinzel', serif;
            color: #d4af37;
            font-size: 2.8rem;
            letter-spacing: 8px; /* High spacing like Figma */
            margin-bottom: 45px;
            text-transform: uppercase;
            font-weight: 700;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 60px;
            list-style: none;
            padding: 0;
        }

        .footer-links a {
            color: #e0e0e0;
            text-decoration: none;
            font-size: 1.1rem;
            font-weight: 400;
            letter-spacing: 1px;
            transition: all 0.3s ease;
        }

        .footer-links a:hover { color: #d4af37; letter-spacing: 2px; }

        /* Mobile Fixes */
        @media (max-width: 991px) {
            .app-promo-banner { border-radius: 40px; padding: 40px 20px; flex-direction: column; }
            .banner-logo-side { height: 60px; margin-bottom: 20px; }
            .promo-title { font-size: 1.3rem; letter-spacing: 1px; }
            .footer-logo-text { font-size: 1.8rem; letter-spacing: 4px; }
            .footer-links { gap: 20px; flex-wrap: wrap; }
        }
        /* Promo Banner Styling */
.promo-section-wrapper {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
}

.app-promo-banner {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/public/assets/WebsiteImages/lipbanner.jpg');
    background-size: cover;
    background-position: center;
    border: 2px solid #c5a059;
    border-radius: 50px; /* Capsule shape as per image */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    width: 100%;
    max-width: 1100px;
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.3);
}

.banner-logo-side {
    height: 60px;
    width: auto;
}

.promo-content-center {
    text-align: center;
}

.promo-title {
    color: #c5a059;
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.store-badges {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.store-badges img {
    height: 40px;
    transition: transform 0.3s;
}

.store-badges img:hover {
    transform: scale(1.05);
}

/* Custom Footer Styling */
.custom-footer {
    background: #000;
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
}

.footer-logo-text {
    font-family: 'Cinzel', serif;
    color: #c5a059;
    font-size: 2rem;
    letter-spacing: 5px;
    margin-bottom: 30px;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 0;
}

.footer-links li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 300;
    transition: color 0.3s;
}

.footer-links li a:hover {
    color: #c5a059;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .app-promo-banner {
        flex-direction: column;
        border-radius: 20px;
        padding: 30px 20px;
    }
    .banner-logo-side {
        display: none; /* Mobile pe logos hide kar diye taaki text bada dikhe */
    }
    .promo-title {
        font-size: 1rem;
    }
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}
/* Card Styling */
.book-card-wrapper {
    text-align: center;
}

.book-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1.5px solid rgba(197, 160, 89, 0.4);
    transition: all 0.4s ease;
    height: 260px;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.book-title {
    font-size: 0.9rem;
    margin-top: 12px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

/* Hover Overlay */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.book-card:hover .card-overlay {
    opacity: 1;
}

.book-card:hover .card-img {
    transform: scale(1.1);
    filter: blur(2px);
}

/* --- Horror Antic Button Design --- */
.horror-read-btn {
    background: linear-gradient(145deg, #8e6e2a 0%, #c5a059 50%, #8e6e2a 100%);
    color: #000;
    padding: 12px 25px;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-radius: 5px;
    border: 1px solid #5a411a;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5), inset 0 0 10px rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.horror-read-btn:hover {
    transform: scale(1.1) rotate(-1deg);
    filter: brightness(1.2);
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.8);
    color: #000;
}

/* App Promo Adjustments */
.app-promo-banner {
    border: 2px solid #c5a059;
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.2);
    border-radius: 100px;
}
/* Premium Gold & Horror Theme */
:root {
    --gold: #d4af37;
    --dark-gold: #8a6d3b;
    --blood: #ff0000;
}

.golden-text {
    color: var(--gold) !important;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    font-family: 'Cinzel', serif;
}

.luminous-horror-card {
    position: relative;
    background: radial-gradient(circle at 50% 0%, #2c2c2c 0%, #000 100%);
    width: 260px; /* Bada Size */
    height: 400px;
    border-radius: 2rem;
    border: 1px solid #333;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.8);
}

/* Gold Frame Border */
.card-frame {
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 1.5rem;
    pointer-events: none;
    transition: 0.5s;
}

.luminous-horror-card:hover .card-frame {
    border-color: var(--gold);
    box-shadow: inset 0 0 15px rgba(212, 175, 55, 0.2);
}

/* --- TOGGLE ACTIVE STATE (The Magic) --- */
.luminous-horror-card.active {
    border-color: var(--gold);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.2), 0 0 100px rgba(255, 0, 0, 0.1);
}

.luminous-horror-card.active .slit {
    position: absolute;
    top: 50%; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--blood), var(--gold), transparent);
    box-shadow: 0 0 20px var(--blood);
    z-index: 5;
    animation: slitPulse 2s infinite;
}

@keyframes slitPulse {
    0%, 100% { opacity: 0.8; transform: scaleX(0.9); }
    50% { opacity: 1; transform: scaleX(1.1); }
}

.luminous-horror-card.active .lumen div {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.2) 0%, transparent 70%);
    opacity: 1;
    animation: breathing 3s ease-in-out infinite;
}

@keyframes breathing {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

/* --- COVER & SCANLINE --- */
.book-cover-container {
    height: 260px;
    margin: 10px;
    border-radius: 1.2rem;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.scan-line {
    position: absolute;
    top: -100%; left: 0; width: 100%; height: 20%;
    background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: 0s;
}

.luminous-horror-card.active .scan-line {
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* --- TITLES --- */
.horror-title {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 1rem;
    margin: 15px 10px 5px;
    text-align: center;
    font-weight: 700;
}

/* --- TOGGLE STYLING --- */
.horror-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
}

.status-group {
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-dot {
    width: 6px; height: 6px;
    background: #333;
    border-radius: 50%;
}

.luminous-horror-card.active .status-dot {
    background: var(--blood);
    box-shadow: 0 0 8px var(--blood);
}

.horror-toggle {
    width: 3.5rem; height: 1.6rem;
    background: #111;
    border-radius: 20px;
    position: relative;
    border: 1px solid #444;
    cursor: pointer;
}

.horror-toggle .handle {
    position: absolute;
    top: 2px; left: 2px;
    width: 1.2rem; height: 1.2rem;
    background: var(--dark-gold);
    border-radius: 50%;
    transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.horror-toggle.active .handle {
    transform: translateX(1.8rem);
    background: var(--gold);
    box-shadow: 0 0 15px var(--gold);
}:root {
    --gold: #d4af37;
    --blood: #ff4d4d;
}

/* Container Spacing */
.hero-container { padding: 20px; background: #0a0a0a; }

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 10px 10px;
}

.golden-text {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* Swiper Fix */
.swiper { width: 100%; padding: 20px 0 50px !important; }
.swiper-slide { width: auto !important; }

/* Premium Card Style */
.luminous-horror-card {
    width: 250px;
    height: 400px;
    background: #111;
    border-radius: 20px;
    border: 1px solid #333;
    position: relative;
    transition: 0.5s ease;
}

.luminous-horror-card.active {
    border-color: var(--blood);
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.2);
}

.book-cover-container {
    height: 250px;
    margin: 10px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.horror-img { width: 100%; height: 100%; object-fit: cover; }

/* Status & Toggle Footer */
.horror-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
}

.horror-status { font-size: 0.6rem; color: #666; font-weight: bold; }

.horror-toggle {
    width: 3.5rem; height: 1.6rem;
    background: #000;
    border-radius: 20px;
    position: relative;
    border: 1px solid #444;
    cursor: pointer;
}

.horror-toggle .handle {
    position: absolute;
    top: 2px; left: 2px;
    width: 1.2rem; height: 1.2rem;
    background: #333;
    border-radius: 50%;
    transition: 0.3s;
}

.horror-toggle.active .handle {
    transform: translateX(1.8rem);
    background: var(--blood);
    box-shadow: 0 0 10px var(--blood);
}

/* Authors Premium Look */
.author-card-premium { text-align: center; width: 140px; }
.author-img-wrapper {
    width: 110px; height: 110px;
    margin: 0 auto;
    border-radius: 50%;
    border: 2px solid var(--gold);
    padding: 3px;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}
.author-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.author-name-gold { color: var(--gold); margin-top: 10px; font-family: 'Cinzel', serif; font-size: 0.8rem; }

/* View All Gold */
.view-all-gold {
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.7rem;
    cursor: pointer;
    transition: 0.3s;
}
.view-all-gold:hover { background: var(--gold); color: #000; }
/* Toggle ke peeche wala label hata diya */
.toggle-label {
    display: none !important;
}

/* Toggle Switch Styling - Cleaner Look */
.horror-toggle {
    width: 3.5rem; 
    height: 1.6rem;
    background: #000;
    border-radius: 20px;
    position: relative;
    border: 1px solid #444;
    cursor: pointer;
    overflow: hidden; /* Taaki kuch bahar na nikle */
}

/* Status Text Adjustment */
.status-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.horror-status {
    font-size: 0.65rem;
    color: #8a6d3b;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
}

/* Active State Colors */
.luminous-horror-card.active .horror-status {
    color: #ff4d4d;
    text-shadow: 0 0 5px #ff0000;
}
/* --- Electric Golden Toggle Base --- */
.horror-toggle {
    width: 3.8rem;
    height: 1.8rem;
    background: #000;
    border-radius: 30px;
    position: relative;
    border: 2px solid #333; /* Default dark border */
    cursor: pointer;
    overflow: visible;
    transition: all 0.3s ease;
}

.horror-toggle .handle {
    position: absolute;
    top: 50%;
    left: 4px;
    transform: translateY(-50%);
    width: 1.3rem; 
    height: 1.3rem;
    background: #444; /* Idle state */
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

/* --- THE ELECTRIC BOLD GOLDEN ACTIVE STATE --- */
.horror-toggle.active {
    border-color: #d4af37; /* Gold Border */
    /* Electric Golden Outline Glow */
    box-shadow: 0 0 12px #d4af37, 
                inset 0 0 10px #d4af37,
                0 0 20px rgba(212, 175, 55, 0.4);
    filter: brightness(1.3) contrast(1.1);
}

.horror-toggle.active .handle {
    left: calc(100% - 1.3rem - 4px);
    background: #fff; /* White core for maximum glow */
    /* Intense Golden Electric Spark */
    box-shadow: 0 0 10px #fff, 
                0 0 20px #d4af37, 
                0 0 40px #d4af37,
                0 0 60px rgba(212, 175, 55, 0.6);
    transform: translateY(-50%) scale(1.15);
}

/* Golden Electric Flicker Animation */
.horror-toggle.active {
    animation: goldElectricFlicker 2s infinite alternate;
}

@keyframes goldElectricFlicker {
    0%, 100% { 
        opacity: 1; 
        box-shadow: 0 0 12px #d4af37, inset 0 0 10px #d4af37; 
    }
    30% { 
        opacity: 0.95; 
        box-shadow: 0 0 18px #d4af37, inset 0 0 12px #d4af37; 
    }
    50% { 
        box-shadow: 0 0 10px #d4af37, inset 0 0 8px #d4af37; 
    }
    70% { 
        opacity: 1;
        box-shadow: 0 0 22px #d4af37, inset 0 0 15px #d4af37;
    }
}

/* Card Active Border also turns Gold */
.luminous-horror-card.active {
    border-color: #d4af37 !important;
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.25);
}

.luminous-horror-card.active .horror-status {
    color: #d4af37 !important;
    text-shadow: 0 0 10px #d4af37;
    font-weight: 800;
}















/* 1. Modal Body Grid Fix */
.modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); /* Responsive grid */
    gap: 20px;
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

/* 2. Book Card Premium Styling */
.book-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%; /* Card height fix */
}

.book-card:hover {
    transform: translateY(-5px);
    border-color: #d4af37;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

/* Image Wrapper to handle aspect ratio */
.modal-book-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.book-card img {
    width: 100%;
    height: 180px; /* Fixed height for modal icons */
    object-fit: cover;
    display: block;
}

/* Title Styling - Taaki text na kate */
.book-card h4 {
    color: #fff;
    font-size: 0.85rem;
    margin: 10px 0 0 0;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 2 lines max */
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2;
}

/* Author Card Specifics */
.author-card {
    padding: 15px;
    border-radius: 50%; /* If you want circular for authors */
}

/* Scrollbar Customization (Modal ke liye) */
.modal-grid::-webkit-scrollbar {
    width: 5px;
}
.modal-grid::-webkit-scrollbar-track {
    background: #1a1a1a;
}
.modal-grid::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 10px;
}