/* =========================================

   THE COSMIC AWAKENING - STYLES

   Complete Tailwind to CSS Conversion

   ========================================= */



/* ==================== RESET & BASE ==================== */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



html {

    scroll-behavior: smooth;

}



body {

    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

    background-color: #000000;

    color: #ffffff;

    line-height: 1.6;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;

    -moz-osx-font-smoothing: grayscale;

}



img {

    max-width: 100%;

    height: auto;

    display: block;

}



button {

    font-family: inherit;

    border: none;

    background: none;

    cursor: pointer;

}



a {

    text-decoration: none;

    color: inherit;

}



input, textarea {

    font-family: inherit;

}



/* ==================== GOLDEN ACCENT COLOR ==================== */

:root {

    --gold: #d4af37;

    --gold-light: #f4d47c;

    --gold-dark: #b8941f;

}



/* ==================== ANIMATIONS ==================== */

@keyframes glow-pulse {

    0%, 100% {

        opacity: 0.3;

    }

    50% {

        opacity: 0.6;

    }

}



@keyframes float {

    0%, 100% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-20px);

    }

}



@keyframes spin-slow {

    from {

        transform: rotate(0deg);

    }

    to {

        transform: rotate(360deg);

    }

}



@keyframes fade-in-up {

    from {

        opacity: 0;

        transform: translateY(30px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



@keyframes fade-in-left {

    from {

        opacity: 0;

        transform: translateX(-50px);

    }

    to {

        opacity: 1;

        transform: translateX(0);

    }

}



@keyframes fade-in-right {

    from {

        opacity: 0;

        transform: translateX(50px);

    }

    to {

        opacity: 1;

        transform: translateX(0);

    }

}



@keyframes slide-in {

    from {

        opacity: 0;

        transform: translateX(20px);

    }

    to {

        opacity: 1;

        transform: translateX(0);

    }

}



@keyframes ping {

    75%, 100% {

        transform: scale(2);

        opacity: 0;

    }

}



@keyframes spin {

    to {

        transform: rotate(360deg);

    }

}



@keyframes scan-line {

    0% {

        transform: translateY(0);

    }

    100% {

        transform: translateY(300%);

    }

}



.animate-glow-pulse {

    animation: glow-pulse 3s ease-in-out infinite;

}



.animate-float {

    animation: float 6s ease-in-out infinite;

}



.animate-spin-slow {

    animation: spin-slow 60s linear infinite;

}



.animate-fade-in-up {

    animation: fade-in-up 1s ease-out forwards;

}



.animate-fade-in-left {

    animation: fade-in-left 0.8s ease-out forwards;

}



.animate-fade-in-right {

    animation: fade-in-right 0.8s ease-out forwards;

}



.animate-slide-in {

    animation: slide-in 0.6s ease-out forwards;

}



/* ==================== LAYOUT ==================== */

.app-container {

    position: relative;

    min-height: 100vh;

    background-color: #000000;

    color: #ffffff;

    /* keep horizontal overflow hidden to prevent page-level horizontal scroll
       but allow vertical overflow so descendant `position: sticky` elements
       (like the mobile stacked cards) can work correctly */
    /* overflow-x: hidden;
    overflow-y: visible; */

}



.main-content {

    position: relative;

    z-index: 10;

}



.container {

    max-width: 1280px;

    margin: 0 auto;

    padding: 0 1rem;

}



.container-small {

    max-width: 896px;

    margin: 0 auto;

    padding: 0 1rem;

}



@media (min-width: 640px) {

    .container, .container-small {

        padding: 0 1.5rem;

    }

}



.section {

    position: relative;

    padding: 5rem 1rem;

}



@media (min-width: 640px) {

    .section {

        padding: 5rem 1.5rem;

    }

}



/* ==================== STARFIELD BACKGROUND ==================== */

#starfield-canvas {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    pointer-events: none;

    z-index: 0;

}



/* ==================== MANDALA PATTERNS ==================== */

.mandala-patterns {

    position: fixed;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    pointer-events: none;

    opacity: 0.1;

    z-index: 1;

}



.mandala-glow {

    position: absolute;

    width: 384px;

    height: 384px;

}



.mandala-glow-1 {

    top: 5rem;

    right: 5rem;

    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);

}



.mandala-glow-2 {

    bottom: 10rem;

    left: 5rem;

    background: radial-gradient(circle, rgba(100, 149, 237, 0.2) 0%, transparent 70%);

}



.mandala-center {

    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    width: 600px;

    height: 600px;

}



.mandala-svg {

    width: 100%;

    height: 100%;

    animation: spin-slow 60s linear infinite;

}



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

.header {

    position: fixed;

    top: 0;

    left: 0;

    right: 0;

    z-index: 50;

    transition: all 0.3s ease;

    background-color: rgba(0, 0, 0, 0.9);

    backdrop-filter: blur(16px);

    border-bottom: 1px solid rgba(212, 175, 55, 0.2);


}



.header.scrolled {

    background-color: rgba(0, 0, 0, 0.9);

    backdrop-filter: blur(16px);

    border-bottom: 1px solid rgba(212, 175, 55, 0.2);

}



.header-container {

    max-width: 1280px;

    margin: 0 auto;

    padding: 1rem;

}



@media (min-width: 640px) {

    .header-container {

        padding: 1rem 1.5rem;

    }

}



.header-content {

    display: flex;

    align-items: center;

    justify-content: space-between;

}



/* Logo */

.logo-container {

    display: flex;

    align-items: center;

    gap: 0.5rem;

}



@media (min-width: 640px) {

    .logo-container {

        gap: 0.75rem;

    }

}



.logo-icon {

    position: relative;

    width: 2rem;

    height: 2rem;

}



@media (min-width: 640px) {

    .logo-icon {

        width: 2.5rem;

        height: 2.5rem;

    }

}



.logo-svg {

    width: 100%;

    height: 100%;

}



.logo-glow {

    position: absolute;

    inset: 0;

    background-color: rgba(212, 175, 55, 0.2);

    filter: blur(16px);

    border-radius: 50%;

}



.logo-text {

    font-size: 0.875rem;

    letter-spacing: 0.1em;

    color: var(--gold);

}



@media (min-width: 640px) {

    .logo-text {

        font-size: 1.125rem;

    }

}



/* Desktop Navigation */

.desktop-nav {

    display: none;

    align-items: center;

    gap: 1.5rem;

}



@media (min-width: 768px) {

    .desktop-nav {

        display: flex;

    }

}



@media (min-width: 1024px) {

    .desktop-nav {

        gap: 2rem;

    }

}



.nav-link, .nav-button {

    position: relative;

    font-size: 0.875rem;

    letter-spacing: 0.05em;

    color: #d1d5db;

    transition: color 0.3s ease;

    background: none;

    border: none;

    cursor: pointer;

    padding: 0;

    text-align: left;

}



.nav-link:hover, .nav-button:hover {

    color: var(--gold);

}



.nav-underline {

    position: absolute;

    bottom: -0.25rem;

    left: 0;

    width: 0;

    height: 1px;

    background: linear-gradient(to right, var(--gold), var(--gold-light));

    transition: width 0.3s ease;

}



.nav-link:hover .nav-underline,

.nav-button:hover .nav-underline {

    width: 100%;

}



.nav-glow {

    position: absolute;

    inset: 0;

    background-color: rgba(212, 175, 55, 0);

    filter: blur(40px);

    transition: background-color 0.3s ease;

    z-index: -10;

}



.nav-link:hover .nav-glow,

.nav-button:hover .nav-glow {

    background-color: rgba(212, 175, 55, 0.05);

}



/* Mobile Menu Button */

.mobile-menu-btn {

    display: block;

    color: var(--gold);

    padding: 0.5rem;

    transition: color 0.3s ease;

}



@media (min-width: 768px) {

    .mobile-menu-btn {

        display: none;

    }

}



.mobile-menu-btn:hover {

    color: var(--gold-light);

}



.menu-icon {

    width: 1.5rem;

    height: 1.5rem;

}



/* Mobile Navigation */

.mobile-nav {

    display: none;

    flex-direction: column;

    gap: 0.75rem;

    padding-top: 1rem;

    padding-bottom: 0.5rem;

}



@media (min-width: 768px) {

    .mobile-nav {

        display: none !important;

    }

}



.mobile-nav.active {

    display: flex;

}



.mobile-nav-link, .mobile-nav-button {

    text-align: left;

    padding: 0.75rem 1rem;

    border-radius: 0.5rem;

    color: #d1d5db;

    transition: all 0.3s ease;

    letter-spacing: 0.025em;

    background: none;

    border: none;

    cursor: pointer;

    width: 100%;

}



.mobile-nav-link:hover, .mobile-nav-button:hover {

    color: var(--gold);

    background-color: rgba(212, 175, 55, 0.1);

}



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

.hero-section {

    position: relative;

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

}



.hero-video-container {

    position: absolute;

    inset: 0;

}



.hero-video {

    width: 100%;

    height: 100%;

    object-fit: cover;

}



.hero-overlay {

    position: absolute;

    inset: 0;

    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));

}



.video-loader {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background-color: #000000;

    z-index: 20;

}



.video-loader.hidden {

    display: none;

}



.loader-spinner {

    width: 3rem;

    height: 3rem;

    border: 4px solid rgba(212, 175, 55, 0.3);

    border-top-color: var(--gold);

    border-radius: 50%;

    animation: spin 1s linear infinite;

}



.hero-content {

    position: relative;

    z-index: 20;

    text-align: center;

    padding: 0 1.5rem;

    max-width: 56rem;

    margin: 0 auto;

}



.hero-glow {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: -10;

}



.hero-glow::before {

    content: '';

    width: 100%;

    height: 100%;

    filter: blur(100px);

    opacity: 0.3;

    background: radial-gradient(ellipse at center, var(--gold) 0%, transparent 70%);

}



.hero-title {

    font-size: 2.25rem;

    letter-spacing: 0.05em;

    margin-bottom: 1.5rem;

    text-shadow: 0 0 30px rgba(212, 175, 55, 0.8), 

                 0 0 60px rgba(212, 175, 55, 0.4), 

                 0 0 90px rgba(212, 175, 55, 0.2);

}



@media (min-width: 640px) {

    .hero-title {

        font-size: 3rem;

    }

}



@media (min-width: 768px) {

    .hero-title {

        font-size: 4.5rem;

    }

}



.hero-title-accent {

    display: block;

    margin-top: 0.5rem;

    color: var(--gold);

}



.hero-description {

    font-size: 1rem;

    margin-bottom: 2rem;

    color: #e5e7eb;

    max-width: 42rem;

    margin-left: auto;

    margin-right: auto;

    line-height: 1.6;

    letter-spacing: 0.025em;

    padding: 0 1rem;

    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);

}



@media (min-width: 640px) {

    .hero-description {

        font-size: 1.125rem;

        margin-bottom: 3rem;

    }

}



@media (min-width: 768px) {

    .hero-description {

        font-size: 1.25rem;

    }

}



.hero-bottom-gradient {

    position: absolute;

    bottom: 0;

    left: 0;

    right: 0;

    height: 8rem;

    background: linear-gradient(to top, #000000, transparent);

    z-index: 10;

}



/* ==================== BUTTONS ==================== */

.btn-primary {

    position: relative;

    padding: 1rem 2rem;

    background: linear-gradient(to right, var(--gold), var(--gold-light));

    color: #000000;

    border-radius: 0.375rem;

    transition: all 0.3s ease;

    overflow: hidden;

    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5), 0 0 60px rgba(212, 175, 55, 0.2);

}



@media (min-width: 640px) {

    .btn-primary {

        padding: 1.5rem 3rem;

    }

}



.btn-primary:hover {

    background: linear-gradient(to right, var(--gold-light), var(--gold));

    transform: translateY(-2px);

    box-shadow: 0 0 40px rgba(212, 175, 55, 0.6), 0 0 80px rgba(212, 175, 55, 0.3);

}



.btn-text {

    position: relative;

    z-index: 10;

    letter-spacing: 0.05em;

    font-size: 0.875rem;

}



@media (min-width: 640px) {

    .btn-text {

        font-size: 1rem;

    }

}



.btn-shine {

    position: absolute;

    inset: 0;

    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);

    transform: translateX(-100%);

    transition: transform 1s ease;

}



.btn-primary:hover .btn-shine {

    transform: translateX(100%);

}



.btn-outline {

    position: relative;

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 0.5rem;

    padding: 1rem 1.5rem;

    border: 1px solid rgba(212, 175, 55, 0.5);

    color: var(--gold);

    border-radius: 0.375rem;

    transition: all 0.3s ease;

    overflow: hidden;

}



.btn-outline:hover {

    background-color: rgba(212, 175, 55, 0.1);

    border-color: var(--gold);

}



.btn-icon {

    width: 1.25rem;

    height: 1.25rem;

    transition: transform 0.3s ease;

}



.btn-outline:hover .btn-icon {

    transform: rotate(12deg);

}



.btn-outline-shine {

    position: absolute;

    inset: 0;

    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.2), transparent);

    transform: translateX(-100%);

    transition: transform 0.6s ease;

}



.btn-outline:hover .btn-outline-shine {

    transform: translateX(100%);

}



.btn-outline-link {

    display: inline-flex;

    align-items: center;

    gap: 0.5rem;

    padding: 0.75rem 2rem;

    border: 1px solid rgba(212, 175, 55, 0.5);

    border-radius: 0.5rem;

    color: var(--gold);

    transition: all 0.3s ease;

}



.btn-outline-link:hover {

    background-color: rgba(212, 175, 55, 0.1);

    border-color: var(--gold);

}



.btn-outline-link span {

    letter-spacing: 0.05em;

}



.btn-outline-link svg {

    width: 1.25rem;

    height: 1.25rem;

    transition: transform 0.3s ease;

}



.btn-outline-link:hover svg {

    transform: translateX(0.25rem);

}



/* ==================== BOOK PREVIEW SECTION ==================== */

.book-preview-section {

    padding-top: 5rem;

    padding-bottom: 5rem;

}



.book-preview-grid {

    display: grid;

    gap: 3rem;

    align-items: center;

}



@media (min-width: 1024px) {

    .book-preview-grid {

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

        gap: 5rem;

    }

}



/* 3D Book */

.book-3d-container {

    perspective: 1000px;

}



.book-3d-wrapper {

    position: relative;

    width: 100%;

    max-width: 24rem;

    margin: 0 auto;

}



.book-glow-pulse {

    position: absolute;

    inset: -0.5rem;

    background: linear-gradient(to right, rgba(212, 175, 55, 0.3), rgba(244, 212, 124, 0.3));

    border-radius: 0.5rem;

    filter: blur(2rem);

    animation: glow-pulse 3s ease-in-out infinite;

    transition: filter 0.3s ease;

}



.book-3d-wrapper:hover .book-glow-pulse {

    filter: blur(3rem);

}



.book-3d {

    position: relative;

    transform-style: preserve-3d;

    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);

}



.book-3d:hover {

    transform: rotateY(15deg) rotateX(-5deg);

}



.book-front {

    position: relative;

    z-index: 10;

}



.book-cover-img {

    width: 100%;

    border-radius: 0 0.5rem 0.5rem 0;

    box-shadow: 0 25px 50px rgba(212, 175, 55, 0.3);

}



.book-reflection {

    position: absolute;

    inset: 0;

    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.1) 0%, transparent 60%);

    border-radius: 0 0.5rem 0.5rem 0;

    pointer-events: none;

    transition: opacity 0.8s ease;

}



.book-3d:hover .book-reflection {

    opacity: 0.15;

}



.book-lighting {

    position: absolute;

    inset: 0;

    background: linear-gradient(to left, rgba(212, 175, 55, 0) 0%, transparent 100%);

    border-radius: 0 0.5rem 0.5rem 0;

    pointer-events: none;

    transition: background 0.8s ease;

}



.book-3d:hover .book-lighting {

    background: linear-gradient(to left, rgba(212, 175, 55, 0.2) 0%, transparent 40%);

}



.book-spine {

    position: absolute;

    top: 0;

    left: 0;

    width: 2.5rem;

    height: 100%;

    background: linear-gradient(to right, #151515, #2a2520, #1a1816);

    transform-origin: right center;

    transform: rotateY(-90deg);

    transform-style: preserve-3d;

    box-shadow: inset 2px 0 4px rgba(0, 0, 0, 0.5), inset -2px 0 4px rgba(212, 175, 55, 0.1);

    border-radius: 0.125rem 0 0 0.125rem;

    opacity: 0.4;

    transition: opacity 0.6s ease;

}



.book-3d:hover .book-spine {

    opacity: 1;

}



.spine-details {

    height: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 0.5rem;

    padding: 0 0.25rem;

}



.spine-line {

    width: 100%;

    height: 1px;

    background-color: rgba(212, 175, 55, 0.4);

}



.spine-line-small {

    width: 75%;

    background-color: rgba(212, 175, 55, 0.2);

}



.spine-gradient {

    position: absolute;

    inset: 0;

    background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.05), transparent);

    opacity: 0.2;

    transition: opacity 0.8s ease;

}



.book-3d:hover .spine-gradient {

    opacity: 0.6;

}



.book-pages {

    position: absolute;

    top: 0;

    right: 0;

    width: 100%;

    height: 100%;

}



.book-back {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: linear-gradient(to bottom right, #1a1a1a, #0a0a0a);

    border-radius: 0 0.5rem 0.5rem 0;

    transform: translateZ(-38px);

    z-index: -20;

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

}



.book-shadow {

    position: absolute;

    bottom: -0.5rem;

    left: 0;

    right: 0;

    height: 2rem;

    background-color: rgba(0, 0, 0, 0.6);

    filter: blur(2rem);

    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);

}



.book-3d:hover .book-shadow {

    transform: translateX(25px);

    transform: scaleX(1.15);

    opacity: 0.9;

}



.book-ambient-glow {

    position: absolute;

    inset: -1rem;

    background: linear-gradient(to right, rgba(212, 175, 55, 0.2), rgba(244, 212, 124, 0.2));

    border-radius: 0.5rem;

    filter: blur(3rem);

    z-index: -10;

    opacity: 0.2;

    transition: opacity 0.8s ease;

}



.book-3d:hover .book-ambient-glow {

    opacity: 0.5;

}



/* Book Info */

.book-info {

    display: flex;

    flex-direction: column;

    gap: 2rem;

}



.section-title {

    font-size: 2.25rem;

    margin-bottom: 1.5rem;

    letter-spacing: 0.05em;

}



@media (min-width: 768px) {

    .section-title {

        font-size: 3rem;

    }

}



.title-accent {

    display: block;

    margin-top: 0.5rem;

    color: var(--gold);

}



.book-description {

    display: flex;

    flex-direction: column;

    gap: 1rem;

    color: #d1d5db;

    line-height: 1.6;

    font-size: 1.125rem;

}



.book-actions {

    display: flex;

    flex-direction: column;

    gap: 1rem;

}



/* Pre-Order Counter */

.preorder-counter {

    position: relative;

    margin-top: 2rem;

    padding: 1.5rem;

    border-radius: 0.5rem;

    border: 1px solid rgba(212, 175, 55, 0.3);

    background: linear-gradient(to bottom right, #0a0a0f, #0f0f1a);

    box-shadow: 0 0 30px rgba(212, 175, 55, 0.1);

        margin: 2rem auto;

        max-width: 24rem;

}



.counter-content {

    display: flex;

    align-items: center;

    justify-content: space-between;

}



.counter-label {

    font-size: 0.875rem;

    color: #9ca3af;

    text-transform: uppercase;

    letter-spacing: 0.05em;

    margin-bottom: 0.25rem;

}



.counter-value {

    font-size: 2.25rem;

    letter-spacing: 0.05em;

    color: var(--gold);

}



.counter-icon {

    position: relative;

    width: 4rem;

    height: 4rem;

}



.counter-ring {

    width: 100%;

    height: 100%;

    border-radius: 50%;

    border: 2px solid rgba(212, 175, 55, 0.3);

    display: flex;

    align-items: center;

    justify-content: center;

}



.counter-pulse {

    width: 3rem;

    height: 3rem;

    border-radius: 50%;

    background: linear-gradient(to bottom right, var(--gold), var(--gold-light));

    animation: glow-pulse 3s ease-in-out infinite;
    position: absolute;
    top: 8px;
    left: 8px;

}



.counter-glow {

    position: absolute;

    inset: 0;

    border-radius: 50%;

    background-color: rgba(212, 175, 55, 0.2);

    filter: blur(40px);

    animation: glow-pulse 3s ease-in-out infinite;

}



.counter-text {

    font-size: 0.75rem;

    color: #6b7280;

    margin-top: 0.75rem;

    letter-spacing: 0.025em;

}



.counter-bg-pulse {

    position: absolute;

    inset: 0;

    border-radius: 0.5rem;

    background: linear-gradient(to right, rgba(212, 175, 55, 0) 0%, rgba(212, 175, 55, 0.1) 50%, rgba(212, 175, 55, 0) 100%);

    animation: glow-pulse 3s ease-in-out infinite;

    pointer-events: none;

}



/* ==================== SECTIONS COMMON ==================== */

.section-header {

    text-align: center;

    margin-bottom: 4rem;

}



.section-subtitle {

    color: #9ca3af;

    font-size: 1.125rem;

}



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

.reviews-section {

    overflow: hidden;
border-top: 1px solid rgba(212, 175, 55, 0.2);
}



.reviews-carousel-wrapper {

    position: relative;

    width: 100%;

    overflow: hidden;

}



.reviews-carousel {

    display: flex;

    gap: 2rem;

    overflow-x: hidden;

}



.review-card {

    flex-shrink: 0;

    width: 20rem;

}



@media (min-width: 640px) {

    .review-card {

        width: 24rem;

    }

}



.review-card-inner {

    position: relative;

    padding: 2rem;

    border-radius: 0.75rem;

    background: linear-gradient(to bottom right, #0a0a0f, #0f0f1a);

    border: 1px solid rgba(212, 175, 55, 0.2);

    height: 100%;

    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);

}



@media (min-width: 640px) {

    .review-card-inner {

        padding: 2.5rem;

    }

}



.review-card:hover .review-card-inner {

    transform: translateY(-8px) rotateY(5deg);

    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.25);

}



.review-corner-accent {

    position: absolute;

    top: 0;

    left: 0;

    width: 4rem;

    height: 4rem;

    opacity: 0.2;

    transition: opacity 0.3s ease;

}



.review-card:hover .review-corner-accent {

    opacity: 0.4;

}



.review-stars {

    display: flex;

    gap: 0.25rem;

    margin-bottom: 1rem;

}



.review-star {

    width: 1.25rem;

    height: 1.25rem;

    fill: var(--gold);

    color: var(--gold);

}



.review-text {

    color: #d1d5db;

    line-height: 1.6;

    min-height: 7.5rem;

    margin-bottom: 1rem;

}



.review-quote-icon {

    display: inline-block;

    margin-right: 0.5rem;

    width: 1.25rem;

    height: 1.25rem;

    fill: var(--gold);

    color: var(--gold);

}



.review-divider {

    padding-top: 1rem;

    border-top: 1px solid rgba(212, 175, 55, 0.2);

}



.review-name {

    color: #ffffff;

    margin-bottom: 0.25rem;

    transition: color 0.3s ease;

}



.review-card:hover .review-name {

    color: var(--gold-light);

}



.review-title {

    font-size: 0.875rem;

    color: #6b7280;

}



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

.author-grid {

    display: grid;

    gap: 4rem;

    align-items: center;

}



@media (min-width: 768px) {

    .author-grid {

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

    }

}



.author-photo-container {

    position: relative;

    display: flex;

    justify-content: center;

}



.author-photo-wrapper {

    position: relative;

    max-width: 24rem;

    width: 100%;

}



/* Rotating Rings */

.author-ring-container {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: -10;

}



.author-ring-1 {

    width: 120%;

    height: 120%;

    animation: spin-slow 30s linear infinite;

}



.author-ring-2 {

    width: 110%;

    height: 110%;

    animation: spin-slow 40s linear infinite reverse;

}



.ring-svg {

    width: 100%;

    height: 100%;

}



.author-pulse {

    position: absolute;

    width: 100%;

    height: 100%;

    animation: pulse-scale 3s ease-in-out infinite;

}



@keyframes pulse-scale {

    0%, 100% {

        transform: scale(1);

        opacity: 0.3;

    }

    50% {

        transform: scale(1.15);

        opacity: 0.15;

    }

}



.author-pulse::before {

    content: '';

    position: absolute;

    inset: 0;

    border-radius: 50%;

    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);

}



.author-holo-glow {

    position: absolute;

    inset: -1.5rem;

    background: linear-gradient(to right, rgba(212, 175, 55, 0.2), rgba(244, 212, 124, 0.2), rgba(212, 175, 55, 0.2));

    border-radius: 3rem;

    filter: blur(3rem);

    opacity: 0.6;

    animation: glow-pulse 3s ease-in-out infinite;

    transition: filter 0.5s ease;

}



.author-photo-wrapper:hover .author-holo-glow {

    filter: blur(60px);

}



.author-photo-frame {

    position: relative;

}



.author-photo-clip {

    position: relative;

    border-radius: 1.5rem;

    overflow: hidden;

    aspect-ratio: 3 / 4;

    clip-path: polygon(8% 0%, 100% 0%, 100% 92%, 92% 100%, 0% 100%, 0% 8%);

}



.author-img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    border-radius: 1.5rem;

    transform: scale(1.05);

}



.author-reflection {

    position: absolute;

    inset: 0;

    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent, rgba(255, 255, 255, 0.1));

    pointer-events: none;

}



.author-scan-line {

    position: absolute;

    inset: 0;

    background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.3), transparent);

    height: 25%;

    animation: scan-line 3s linear infinite;

}



/* Holo-Frame Corners */

.holo-corners {

    position: absolute;

    inset: 0;

    pointer-events: none;

}



.holo-corner {

    position: absolute;

    width: 5rem;

    height: 5rem;

}



.holo-corner-tl { top: 0; left: 0; }

.holo-corner-tr { top: 0; right: 0; }

.holo-corner-bl { bottom: 0; left: 0; }

.holo-corner-br { bottom: 0; right: 0; }



.holo-corner svg {

    width: 100%;

    height: 100%;

}



/* Author Bio */

.author-bio {

    display: flex;

    flex-direction: column;

    gap: 1.5rem;

}



.author-text {

    display: flex;

    flex-direction: column;

    gap: 1rem;

    color: #d1d5db;

    line-height: 1.6;

    font-size: 1.125rem;

}



.author-name {

    color: var(--gold);

}



.author-social {

    padding-top: 2rem;

}



.social-label {

    font-size: 0.875rem;

    color: #9ca3af;

    text-transform: uppercase;

    letter-spacing: 0.05em;

    margin-bottom: 1rem;

}



.social-links {

    display: flex;

    gap: 1rem;

}



.social-link {

    position: relative;

    width: 3rem;

    height: 3rem;

    border-radius: 50%;

    border: 1px solid rgba(212, 175, 55, 0.3);

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--gold);

    transition: all 0.3s ease;

}



.social-link:hover {

    background-color: rgba(212, 175, 55, 0.1);

    border-color: var(--gold);

    transform: scale(1.1);

}



.social-link svg {

    width: 1.25rem;

    height: 1.25rem;

}



.social-glow {

    position: absolute;

    inset: 0;

    border-radius: 50%;

    background-color: rgba(212, 175, 55, 0);

    filter: blur(40px);

    transition: background-color 0.3s ease;

}



.social-link:hover .social-glow {

    background-color: rgba(212, 175, 55, 0.2);

}



/* ==================== AS SEEN IN SECTION ==================== */

.as-seen-section {

    padding-top: 4rem;

    padding-bottom: 4rem;

    border-top: 1px solid rgba(212, 175, 55, 0.2);

    border-bottom: 1px solid rgba(212, 175, 55, 0.2);

}



.as-seen-label {

    font-size: 0.875rem;

    color: #9ca3af;

    text-transform: uppercase;

    letter-spacing: 0.2em;

}



.logos-carousel-wrapper {

    position: relative;

    overflow: hidden;

}



.logos-carousel {

    display: flex;

    gap: 4rem;

    align-items: center;

    overflow-x: hidden;

}



.logo-item {

    flex-shrink: 0;

    transition: transform 0.3s ease;

    cursor: pointer;

}



.logo-item:hover {

    transform: scale(1.1);

}



.carousel-fade {

    position: absolute;

    top: 0;

    bottom: 0;

    width: 8rem;

    pointer-events: none;

}



.carousel-fade-left {

    left: 0;

    background: linear-gradient(to right, #000000, transparent);

}



.carousel-fade-right {

    right: 0;

    background: linear-gradient(to left, #000000, transparent);

}



/* ==================== WHY PRE-ORDER SECTION ==================== */

.why-preorder-grid {

    display: grid;

    gap: 3rem;

    align-items: flex-start;

    margin-bottom: 3rem;

}



@media (min-width: 768px) {

    .why-preorder-grid {

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

    }

}



.why-preorder-visual {

    position: relative;

}



.preorder-book-container {

    position: relative;

    max-width: 28rem;

    margin: 0 auto;

}



.preorder-book-glow {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

}



.preorder-book-glow::before {

    content: '';

    width: 100%;

    height: 100%;

    background-color: rgba(212, 175, 55, 0.2);

    border-radius: 0.5rem;

    filter: blur(3rem);

    animation: glow-pulse 3s ease-in-out infinite;

}



.preorder-book-img {

    position: relative;

    width: 100%;

    border-radius: 0.5rem;

    /* box-shadow: 0 0 60px rgba(212, 175, 55, 0.4), 0 25px 50px rgba(0, 0, 0, 0.5); */
    filter: drop-shadow(0 0 60px rgba(212, 175, 55, 0.45)) drop-shadow(0 25px 50px rgba(0, 0, 0, 0.55));

}



.why-preorder-benefits {

    display: flex;

    flex-direction: column;

    gap: 2rem;

}



.benefits-list {

    display: flex;

    flex-direction: column;

    gap: 1rem;

}



.benefit-item {

    display: flex;

    align-items: flex-start;

    gap: 1rem;

    transition: all 0.3s ease;

}



.benefit-item:hover {

    transform: translateX(0.25rem);

}



.benefit-check {

    flex-shrink: 0;

    width: 1.5rem;

    height: 1.5rem;

    border-radius: 50%;

    background: linear-gradient(to bottom right, var(--gold), var(--gold-light));

    display: flex;

    align-items: center;

    justify-content: center;

    margin-top: 0.25rem;

    transition: all 0.3s ease;

}



.benefit-item:hover .benefit-check {

    transform: scale(1.1);

    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.5);

}



.benefit-check svg {

    width: 1rem;

    height: 1rem;

    color: #000000;

}



.benefit-item p {

    color: #d1d5db;

    font-size: 1.125rem;

    line-height: 1.6;

    transition: all 0.3s ease;

}



.benefit-item:hover p {

    color: #ffffff;

}



/* Author's Note Box */

.author-note-box {

    position: relative;

    max-width: 64rem;

    margin: 0 auto;

    padding: 2rem;

    border-radius: 0.75rem;

    border: 2px solid rgba(212, 175, 55, 0.5);

    background: linear-gradient(to bottom right, #0a0a0f, #0f0f1a);

    box-shadow: 0 0 40px rgba(212, 175, 55, 0.25), inset 0 0 30px rgba(212, 175, 55, 0.05);

}



.author-note-corners {

    position: absolute;

    inset: 0;

    pointer-events: none;

}



.note-corner {

    position: absolute;

    width: 0.75rem;

    height: 0.75rem;

    background-color: var(--gold);

    border-radius: 50%;

    filter: blur(2px);

}



.note-corner-tl { top: 0; left: 0; }

.note-corner-tr { top: 0; right: 0; }

.note-corner-bl { bottom: 0; left: 0; }

.note-corner-br { bottom: 0; right: 0; }



.author-note-label {

    position: absolute;

    top: -1rem;

    left: 50%;

    transform: translateX(-50%);

    padding: 0 1rem;

    background-color: #000000;

    font-size: 0.875rem;

    color: var(--gold);

    text-transform: uppercase;

    letter-spacing: 0.05em;

    white-space: nowrap;

}



.author-note-text {

    color: #d1d5db;

    line-height: 1.6;

    font-style: italic;

    text-align: center;

    font-size: 1.125rem;

}



.author-note-signature {

    margin-top: 1.5rem;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 0.75rem;

}



.signature-line {

    height: 1px;

    width: 6rem;

}



.signature-line-left {

    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.5), var(--gold));

}



.signature-line-right {

    background: linear-gradient(to left, transparent, rgba(212, 175, 55, 0.5), var(--gold));

}



.signature-name {

    color: var(--gold);

    letter-spacing: 0.05em;

}



.author-note-pulse {

    position: absolute;

    inset: 0;

    border-radius: 0.75rem;

    background: linear-gradient(to right, rgba(212, 175, 55, 0) 0%, rgba(212, 175, 55, 0.1) 50%, rgba(212, 175, 55, 0) 100%);

    animation: glow-pulse 3s ease-in-out infinite;

    pointer-events: none;

}



/* ==================== WHAT TO EXPECT SECTION ==================== */

.expect-grid {

    display: grid;

    gap: 1.5rem;

}



@media (min-width: 640px) {

    .expect-grid {

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

        gap: 2rem;

    }

}



@media (min-width: 1024px) {

    .expect-grid {

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

    }

}



.expect-card {

    position: relative;

    padding: 2rem;

    border-radius: 0.75rem;

    background: linear-gradient(to bottom right, #0a0a0f, #0f0f1a);

    border: 1px solid rgba(212, 175, 55, 0.2);

    overflow: hidden;

    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);

    cursor: pointer;

}



.expect-card:hover {

    transform: translateY(-12px) rotateX(-5deg) rotateY(5deg);

    box-shadow: 0 25px 50px rgba(212, 175, 55, 0.3);

    border-color: rgba(212, 175, 55, 0.4);

}



.expect-icon-wrapper {

    position: relative;

    display: inline-block;

    margin-bottom: 1rem;

}



.expect-icon {

    width: 3.5rem;

    height: 3.5rem;

    border-radius: 0.5rem;

    background: linear-gradient(to bottom right, rgba(212, 175, 55, 0.2), rgba(244, 212, 124, 0.2));

    display: flex;

    align-items: center;

    justify-content: center;

    transition: all 0.3s ease;

}



.expect-card:hover .expect-icon {

    background: linear-gradient(to bottom right, rgba(212, 175, 55, 0.35), rgba(244, 212, 124, 0.35));

    transform: scale(1.1);

}



.expect-icon svg {

    width: 1.75rem;

    height: 1.75rem;

    color: var(--gold);

    transition: transform 0.3s ease;

}



.expect-card:hover .expect-icon svg {

    transform: rotate(15deg) scale(1.1);

}



.expect-icon-glow {

    position: absolute;

    inset: 0;

    background-color: rgba(212, 175, 55, 0.2);

    border-radius: 0.5rem;

    filter: blur(40px);

    opacity: 0;

    transition: opacity 0.3s ease;

}



.expect-card:hover .expect-icon-glow {

    opacity: 1;

}



.expect-title {

    font-size: 1.25rem;

    margin-bottom: 0.5rem;

    transition: color 0.3s ease;

}



.expect-card:hover .expect-title {

    color: var(--gold-light);

}



.expect-description {

    color: #9ca3af;

    line-height: 1.6;

    transition: all 0.3s ease;

}



.expect-card:hover .expect-description {

    color: #d1d5db;

    transform: translateX(4px);

}



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

.faq-accordion {

    display: flex;

    flex-direction: column;

    gap: 1rem;

}



.faq-item {

    border: 1px solid rgba(212, 175, 55, 0.2);

    border-radius: 0.5rem;

    padding: 0 1.5rem;

    background: linear-gradient(to bottom right, #0a0a0f, #0f0f1a);

    box-shadow: 0 0 20px rgba(212, 175, 55, 0.05);

    transition: border-color 0.3s ease;

}



.faq-item:hover {

    border-color: rgba(212, 175, 55, 0.4);

}



.faq-question {

    width: 100%;

    padding: 1.5rem 0;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 1rem;

    cursor: pointer;

    color: #ffffff;

    font-size: 1.125rem;

    text-align: left;

    transition: color 0.3s ease;

}



.faq-question:hover {

    color: var(--gold-light);

}



.faq-icon {

    flex-shrink: 0;

    width: 1.25rem;

    height: 1.25rem;

    color: var(--gold);

    transition: transform 0.3s ease;

}



.faq-item.active .faq-icon {

    transform: rotate(180deg);

}



.faq-answer {

    max-height: 0;

    overflow: hidden;

    transition: max-height 0.3s ease, padding 0.3s ease;

    color: #9ca3af;

    line-height: 1.6;

}



.faq-item.active .faq-answer {

    max-height: 500px;

    padding-bottom: 1.5rem;

}



.faq-cta {

    text-align: center;

    margin-top: 3rem;

}



.faq-cta-text {

    color: #9ca3af;

    margin-bottom: 1rem;

}



.faq-cta-link {

    color: var(--gold);

    text-decoration: underline;

    transition: color 0.3s ease;

}



.faq-cta-link:hover {

    color: var(--gold-light);

}



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

.blog-grid {

    display: grid;

    gap: 1.5rem;

}



@media (min-width: 768px) {

    .blog-grid {

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

        gap: 2rem;

    }

}



@media (min-width: 1024px) {

    .blog-grid {

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

    }

}



.blog-card {

    position: relative;

    border-radius: 0.75rem;

    background: linear-gradient(to bottom right, #0a0a0f, #0f0f1a);

    border: 1px solid rgba(212, 175, 55, 0.2);

    overflow: hidden;

    transition: all 0.3s ease;

}



.blog-card:hover {

    transform: translateY(-8px);

    border-color: rgba(212, 175, 55, 0.5);

}



.blog-thumbnail {

    position: relative;

    height: 12rem;

    overflow: hidden;

}



@media (min-width: 640px) {

    .blog-thumbnail {

        height: 14rem;

    }

}



.blog-thumbnail img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;

}



.blog-card:hover .blog-thumbnail img {

    transform: scale(1.1);

}



.blog-thumbnail-overlay {

    position: absolute;

    inset: 0;

    background: linear-gradient(to top, #0a0a0f, transparent);

}



.blog-content {

    padding: 1.5rem;

    display: flex;

    flex-direction: column;

    gap: 1rem;

}



.blog-meta {

    display: flex;

    align-items: center;

    gap: 1rem;

    font-size: 0.75rem;

    color: #6b7280;

}



.blog-meta-item {

    display: flex;

    align-items: center;

    gap: 0.25rem;

}



.blog-meta-item svg {

    width: 0.75rem;

    height: 0.75rem;

}



.blog-title {

    font-size: 1.125rem;

    letter-spacing: 0.025em;

    transition: color 0.3s ease;

}



@media (min-width: 640px) {

    .blog-title {

        font-size: 1.25rem;

    }

}



.blog-card:hover .blog-title {

    color: var(--gold);

}



.blog-description {

    font-size: 0.875rem;

    color: #9ca3af;

    line-height: 1.6;

    display: -webkit-box;

    -webkit-line-clamp: 3;

    -webkit-box-orient: vertical;

    overflow: hidden;

}



.blog-read-more {

    display: inline-flex;

    align-items: center;

    gap: 0.5rem;

    font-size: 0.875rem;

    color: var(--gold);

    transition: color 0.3s ease;

}



.blog-read-more:hover {

    color: var(--gold-light);

}



.blog-read-more svg {

    width: 1rem;

    height: 1rem;

    transition: transform 0.3s ease;

}



.blog-read-more:hover svg {

    transform: translateX(0.25rem);

}



.blog-view-all {

    text-align: center;

    margin-top: 3rem;

}



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

.newsletter-card {

    position: relative;

    background: linear-gradient(to bottom right, #0a0a0f, #0f0f1a);

    border-radius: 1rem;

    border: 1px solid rgba(212, 175, 55, 0.3);

    padding: 2rem;

    overflow: hidden;
    text-align: center;;

}



@media (min-width: 640px) {

    .newsletter-card {

        padding: 3rem;

    }

}



.newsletter-glow {

    position: absolute;

    inset: -1rem;

    background: linear-gradient(to right, rgba(212, 175, 55, 0.2), rgba(244, 212, 124, 0.2), rgba(212, 175, 55, 0.2));

    border-radius: 2rem;

    filter: blur(3rem);

    opacity: 0.5;

}



.newsletter-decorative {

    position: absolute;

    width: 16rem;

    height: 16rem;

    border-radius: 50%;

    filter: blur(3rem);

}



.newsletter-decorative-1 {

    top: 0;

    right: 0;

    background-color: rgba(212, 175, 55, 0.05);

}



.newsletter-decorative-2 {

    bottom: 0;

    left: 0;

    background-color: rgba(244, 212, 124, 0.05);

}



.newsletter-content {

    position: relative;

    z-index: 10;

}



.newsletter-icon-wrapper {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 4rem;

    height: 4rem;

    margin-bottom: 1.5rem;

    border-radius: 50%;

    background: linear-gradient(to bottom right, rgba(212, 175, 55, 0.2), rgba(244, 212, 124, 0.2));

    border: 1px solid rgba(212, 175, 55, 0.3);

    position: relative;

}



@media (min-width: 640px) {

    .newsletter-icon-wrapper {

        width: 5rem;

        height: 5rem;

    }

}



.newsletter-icon {

    width: 2rem;

    height: 2rem;

    color: var(--gold);

}



@media (min-width: 640px) {

    .newsletter-icon {

        width: 2.5rem;

        height: 2.5rem;

    }

}



.newsletter-icon-ping {

    position: absolute;

    inset: 0;

    border-radius: 50%;

    background-color: rgba(212, 175, 55, 0.2);

    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;

}



.newsletter-description {

    font-size: 1rem;

    color: #9ca3af;

    max-width: 42rem;

    margin: 0 auto 2rem;

    line-height: 1.6;

}



@media (min-width: 640px) {

    .newsletter-description {

        font-size: 1.125rem;

    }

}



.newsletter-benefits {

    display: grid;

    gap: 1rem;

    margin-bottom: 2rem;

}



@media (min-width: 640px) {

    .newsletter-benefits {

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

    }

}



.newsletter-benefit {

    display: flex;

    align-items: center;

    gap: 0.75rem;

    padding: 0.75rem 1rem;

    border-radius: 0.5rem;

    background-color: rgba(212, 175, 55, 0.05);

    border: 1px solid rgba(212, 175, 55, 0.2);

}



.newsletter-benefit svg {

    width: 1.25rem;

    height: 1.25rem;

    color: var(--gold);

    flex-shrink: 0;

}



.newsletter-benefit span {

    font-size: 0.875rem;

    color: #d1d5db;

}



@media (min-width: 640px) {

    .newsletter-benefit span {

        font-size: 1rem;

    }

}



.newsletter-form {

    max-width: 36rem;

    margin: 0 auto;

    display: flex;

    flex-direction: column;

    gap: 0.75rem;

}



@media (min-width: 640px) {

    .newsletter-form {

        flex-direction: row;

        gap: 1rem;

    }

}



.newsletter-input {

    flex: 1;

    background-color: rgba(0, 0, 0, 0.5);

    border: 1px solid rgba(212, 175, 55, 0.3);

    color: #ffffff;

    height: 3rem;

    padding: 0 1rem;

    border-radius: 0.5rem;

    font-size: 1rem;

    transition: border-color 0.3s ease;

}



@media (min-width: 640px) {

    .newsletter-input {

        height: 3.5rem;

        padding: 0 1.5rem;

    }

}



.newsletter-input::placeholder {

    color: #6b7280;

}



.newsletter-input:focus {

    outline: none;

    border-color: var(--gold);

}



.newsletter-btn {

    white-space: nowrap;

}



.newsletter-privacy {

    font-size: 0.75rem;

    color: #6b7280;

    margin-top: 1rem;

    text-align: center;

}



.newsletter-success {

    display: none;

    margin-top: 1.5rem;

    padding: 1rem;

    background-color: rgba(212, 175, 55, 0.1);

    border: 1px solid rgba(212, 175, 55, 0.3);

    border-radius: 0.5rem;

    text-align: center;

}



.newsletter-success.active {

    display: block;

}



.newsletter-success p {

    color: var(--gold);

}



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

.footer {

    position: relative;

    border-top: 1px solid rgba(212, 175, 55, 0.2);

    background: linear-gradient(to bottom, #000000, #0a0a0f);

    padding: 3rem 1rem;

}



@media (min-width: 640px) {

    .footer {

        padding: 3rem 1.5rem;

    }

}



.footer-note {

    text-align: center;

    margin-bottom: 4rem;

    max-width: 48rem;

    margin-left: auto;

    margin-right: auto;

}



.footer-note-divider {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 0.75rem;

    margin-bottom: 1rem;

}



.divider-line {

    height: 1px;

    width: 4rem;

}



.divider-line-left {

    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.5));

}



.divider-line-right {

    background: linear-gradient(to left, transparent, rgba(212, 175, 55, 0.5));

}



.footer-heart {

    width: 1.5rem;

    height: 1.5rem;

    color: var(--gold);

    fill: rgba(212, 175, 55, 0.2);

}



.footer-note-text {

    color: #d1d5db;

    line-height: 1.6;

    font-size: 1.125rem;

    margin-bottom: 1rem;

}



.footer-gratitude {

    color: var(--gold);

    letter-spacing: 0.05em;

}



.footer-signature {

    color: var(--gold-light);

    letter-spacing: 0.05em;

    margin-top: 0.25rem;

}



.footer-book-info {

    text-align: center;

    margin-bottom: 3rem;

}



.footer-book-title {

    font-size: 1.5rem;

    letter-spacing: 0.05em;

    color: var(--gold);

    margin-bottom: 0.5rem;

}



.footer-book-subtitle {

    color: #9ca3af;

}



.footer-book-release {

    color: #6b7280;

    margin-top: 0.5rem;

}



.footer-links {

    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 1.5rem;

    margin-bottom: 3rem;

}



.footer-link {

    position: relative;

    font-size: 0.875rem;

    color: #9ca3af;

    transition: color 0.3s ease;

}



.footer-link:hover {

    color: var(--gold);

}



.footer-link-underline {

    position: absolute;

    bottom: -0.25rem;

    left: 0;

    width: 0;

    height: 1px;

    background-color: var(--gold);

    transition: width 0.3s ease;

}



.footer-link:hover .footer-link-underline {

    width: 100%;

}



.footer-social {

    display: flex;

    justify-content: center;

    gap: 1rem;

    margin-bottom: 3rem;

}



.footer-social-link {

    position: relative;

    width: 2.5rem;

    height: 2.5rem;

    border-radius: 50%;

    border: 1px solid rgba(212, 175, 55, 0.3);

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--gold);

    transition: all 0.3s ease;

}



.footer-social-link:hover {

    background-color: rgba(212, 175, 55, 0.1);

    border-color: var(--gold);

    transform: scale(1.1);

}



.footer-social-link svg {

    width: 1rem;

    height: 1rem;

}



.footer-separator {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 1rem;

    margin-bottom: 2rem;

}



.separator-line {

    height: 1px;

    flex: 1;

    max-width: 24rem;

    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.3));

}



.separator-line:last-child {

    background: linear-gradient(to left, transparent, rgba(212, 175, 55, 0.3));

}



.separator-dot {

    width: 0.5rem;

    height: 0.5rem;

    border-radius: 50%;

    background-color: rgba(212, 175, 55, 0.5);

}



.footer-copyright {

    text-align: center;

    font-size: 0.875rem;

    color: #6b7280;

}



.footer-made-with {

    font-size: 0.75rem;

    margin-top: 0.5rem;

}



/* ==================== MODALS ==================== */

.modal {

    position: fixed;

    inset: 0;

    z-index: 100;

    display: none;

    align-items: center;

    justify-content: center;

    padding: 1rem;

}



.modal.active {

    display: flex;

}



.modal-backdrop {

    position: fixed;

    inset: 0;

    background-color: rgba(0, 0, 0, 0.8);

    backdrop-filter: blur(8px);

}



.modal-container {

    position: relative;

    width: 100%;

    max-width: 48rem;

    max-height: 90vh;

    pointer-events: auto;

}



.modal-container-small {

    max-width: 32rem;

}



.modal-content {

    position: relative;

    background: linear-gradient(to bottom right, #0a0a0f, #0f0f1a);

    border-radius: 1rem;

    border: 2px solid rgba(212, 175, 55, 0.4);

    overflow: hidden;

}



.modal-close {

    position: absolute;

    top: 1rem;

    right: 1rem;

    width: 2rem;

    height: 2rem;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background-color: rgba(255, 255, 255, 0.05);

    color: #9ca3af;

    transition: all 0.2s ease;

    z-index: 10;

}



.modal-close:hover {

    background-color: rgba(255, 255, 255, 0.1);

    color: #ffffff;

}



.modal-close svg {

    width: 1.25rem;

    height: 1.25rem;

}



.modal-scroll {

    max-height: 80vh;

    overflow-y: auto;

    padding: 2rem;

}



@media (min-width: 640px) {

    .modal-scroll {

        padding: 3rem;

    }

}



.modal-title {

    font-size: 1.875rem;

    letter-spacing: 0.025em;

    margin-bottom: 2rem;

    padding-right: 2rem;

}



@media (min-width: 640px) {

    .modal-title {

        font-size: 2.25rem;

    }

}



/* Prologue Modal */

.prologue-text {

    display: flex;

    flex-direction: column;

    gap: 1.5rem;

    color: #d1d5db;

    line-height: 1.8;

    font-size: 1.125rem;

}



.prologue-text em {

    color: var(--gold-light);

    font-style: italic;

}



.prologue-final {

    margin-top: 1rem;

    font-size: 1.25rem;

    text-align: center;

    color: var(--gold);

    font-style: italic;

}



.modal-footer {

    margin-top: 3rem;

    padding-top: 2rem;

    border-top: 1px solid rgba(212, 175, 55, 0.2);

    text-align: center;

}



.modal-footer-text {

    color: #9ca3af;

    margin-bottom: 1.5rem;

}



/* Ebook Modal */

.ebook-modal-content {

    padding: 2rem;

    text-align: center;

}



@media (min-width: 640px) {

    .ebook-modal-content {

        padding: 3rem;

    }

}



.ebook-icon {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 4rem;

    height: 4rem;

    margin-bottom: 1.5rem;

    border-radius: 50%;

    background: linear-gradient(to bottom right, rgba(212, 175, 55, 0.2), rgba(244, 212, 124, 0.2));

    border: 1px solid rgba(212, 175, 55, 0.3);

}



.ebook-icon svg {

    width: 2rem;

    height: 2rem;

    color: var(--gold);

}



.ebook-description {

    color: #9ca3af;

    margin-bottom: 2rem;

}



.ebook-form {

    display: flex;

    flex-direction: column;

    gap: 1rem;

}



.ebook-input {

    padding: 0.75rem 1rem;

    background-color: rgba(0, 0, 0, 0.5);

    border: 1px solid rgba(212, 175, 55, 0.3);

    border-radius: 0.5rem;

    color: #ffffff;

    font-size: 1rem;

    transition: border-color 0.3s ease;

}



.ebook-input::placeholder {

    color: #6b7280;

}



.ebook-input:focus {

    outline: none;

    border-color: var(--gold);

}



.ebook-success {

    display: none;

    margin-top: 1.5rem;

    padding: 1.5rem;

    background-color: rgba(212, 175, 55, 0.1);

    border: 1px solid rgba(212, 175, 55, 0.3);

    border-radius: 0.5rem;

}



.ebook-success.active {

    display: block;

}



.ebook-success-icon {

    font-size: 2rem;

    margin-bottom: 1rem;

}



.ebook-success h3 {

    color: var(--gold);

    margin-bottom: 0.5rem;

}



.ebook-success p {

    color: #9ca3af;

}



/* ==================== EXIT INTENT POPUP ==================== */

.exit-popup {

    position: fixed;

    inset: 0;

    z-index: 100;

    display: none;

    align-items: center;

    justify-content: center;

    padding: 1rem;

    pointer-events: none;

}



.exit-popup.active {

    display: flex;

}



.exit-backdrop {

    position: fixed;

    inset: 0;

    background-color: rgba(0, 0, 0, 0.8);

    backdrop-filter: blur(8px);

    pointer-events: auto;

}



.exit-popup-container {

    position: relative;

    width: 100%;

    max-width: 32rem;

    pointer-events: auto;

}



.exit-popup-glow {

    position: absolute;

    inset: -1rem;

    background: linear-gradient(to right, rgba(212, 175, 55, 0.3), rgba(244, 212, 124, 0.3), rgba(212, 175, 55, 0.3));

    border-radius: 3rem;

    filter: blur(2rem);

}



.exit-popup-card {

    position: relative;

    background: linear-gradient(to bottom right, #0a0a0f, #0f0f1a);

    border-radius: 1rem;

    border: 2px solid rgba(212, 175, 55, 0.4);

    padding: 2rem 2.5rem;

    overflow: hidden;

}



@media (min-width: 640px) {

    .exit-popup-card {

        padding: 2.5rem;

    }

}



.exit-close-btn {

    position: absolute;

    top: 1rem;

    right: 1rem;

    width: 2rem;

    height: 2rem;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background-color: rgba(255, 255, 255, 0.05);

    color: #9ca3af;

    transition: all 0.2s ease;
z-index: 999;
}



.exit-close-btn:hover {

    background-color: rgba(255, 255, 255, 0.1);

    color: #ffffff;

}



.exit-close-btn svg {

    width: 1.25rem;

    height: 1.25rem;

}



.exit-decorative {

    position: absolute;

    width: 12rem;

    height: 12rem;

    border-radius: 50%;

    filter: blur(3rem);

}



.exit-decorative-1 {

    top: 0;

    right: 0;

    background-color: rgba(212, 175, 55, 0.1);

}



.exit-decorative-2 {

    bottom: 0;

    left: 0;

    background-color: rgba(244, 212, 124, 0.1);

}



.exit-content {

    position: relative;

    z-index: 10;

    text-align: center;

}



.exit-icon {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 4rem;

    height: 4rem;

    margin-bottom: 1.5rem;

    border-radius: 50%;

    background: linear-gradient(to bottom right, rgba(212, 175, 55, 0.2), rgba(244, 212, 124, 0.2));

    border: 1px solid rgba(212, 175, 55, 0.3);

}



.exit-icon svg {

    width: 2rem;

    height: 2rem;

    color: var(--gold);

}



.exit-title {

    font-size: 1.5rem;

    margin-bottom: 1rem;

    letter-spacing: 0.025em;

}



@media (min-width: 640px) {

    .exit-title {

        font-size: 1.875rem;

    }

}



.exit-title-accent {

    display: block;

    margin-top: 0.5rem;

    font-size: 1.25rem;

    color: var(--gold);

}



@media (min-width: 640px) {

    .exit-title-accent {

        font-size: 1.5rem;

    }

}



.exit-description {

    font-size: 0.875rem;

    color: #9ca3af;

    margin-bottom: 2rem;

    line-height: 1.6;

    max-width: 28rem;

    margin-left: auto;

    margin-right: auto;

}



@media (min-width: 640px) {

    .exit-description {

        font-size: 1rem;

    }

}



.exit-form {

    display: flex;

    flex-direction: column;

    gap: 1rem;

}



.exit-input-wrapper {

    position: relative;

}



.exit-input-icon {

    position: absolute;

    left: 1rem;

    top: 50%;

    transform: translateY(-50%);

    width: 1.25rem;

    height: 1.25rem;

    color: #6b7280;

    transition: color 0.3s ease;

}



.exit-input-wrapper:focus-within .exit-input-icon {

    color: var(--gold);

}



.exit-input {

    width: 100%;

    background-color: rgba(0, 0, 0, 0.5);

    border: 1px solid rgba(212, 175, 55, 0.3);

    color: #ffffff;

    height: 3rem;

    padding-left: 3rem;

    padding-right: 1rem;

    border-radius: 0.5rem;

    font-size: 1rem;

    transition: border-color 0.3s ease;

}



@media (min-width: 640px) {

    .exit-input {

        height: 3.5rem;

    }

}



.exit-input::placeholder {

    color: #6b7280;

}



.exit-input:focus {

    outline: none;

    border-color: var(--gold);

}



.exit-sparkle {

    margin-left: 0.5rem;

    width: 1.25rem;

    height: 1.25rem;

    transition: transform 0.3s ease;

}



.btn-primary:hover .exit-sparkle {

    transform: rotate(12deg);

}



.exit-privacy {

    font-size: 0.75rem;

    color: #6b7280;

}



.exit-success {

    display: none;

    padding: 2rem 0;

}



.exit-success.active {

    display: block;

}



.exit-success-icon {

    width: 4rem;

    height: 4rem;

    margin: 0 auto 1rem;

    border-radius: 50%;

    background: linear-gradient(to bottom right, var(--gold), var(--gold-light));

    display: flex;

    align-items: center;

    justify-content: center;

}



.exit-success-icon svg {

    width: 2rem;

    height: 2rem;

    color: #000000;

}



.exit-success-title {

    font-size: 1.25rem;

    color: var(--gold);

    margin-bottom: 0.5rem;

}



@media (min-width: 640px) {

    .exit-success-title {

        font-size: 1.5rem;

    }

}



.exit-success-text {

    color: #9ca3af;

}



.exit-border-animation {

    position: absolute;

    inset: 0;

    border-radius: 1rem;

    overflow: hidden;

    pointer-events: none;

}



.exit-border-animation::before {

    content: '';

    position: absolute;

    inset: -100%;

    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.2), transparent);

    animation: spin-slow 4s linear infinite;

}



/* ==================== UTILITY CLASSES ==================== */

.hidden {

    display: none !important;

}



/* ==================== SCROLLBAR STYLING ==================== */

::-webkit-scrollbar {

    width: 8px;

    height: 8px;

}



::-webkit-scrollbar-track {

    background-color: #0a0a0a;

}



::-webkit-scrollbar-thumb {

    background-color: rgba(212, 175, 55, 0.3);

    border-radius: 4px;

}



::-webkit-scrollbar-thumb:hover {

    background-color: rgba(212, 175, 55, 0.5);

}


/* Basic Reset and Card Container */


/* Star Rating Section */
.review-stars {
    margin-bottom: 20px;
}

.review-star {
    /* To make the star emojis look yellow/gold */
    filter: drop-shadow(0 0 1px #ffc107) brightness(1.2); 
    font-size: 18px; /* Adjust size of stars */
}


/* Separator Line */
.review-divider {
    border-top: 1px solid #333; /* Dark, subtle line */
    margin: 25px 0 15px 0;
}

/* Author Info Section */
.review-author-info {
    display: flex;
    align-items: center;
}

.review-author-image-container {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    /* Optional: To achieve the semi-cut off look, though often this is done in the author image itself */
    overflow: hidden;
    border-radius: 50%;
}

.review-author-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-name {
    font-weight: bold;
    margin: 0;
    font-size: 1em;
}

.review-title {
    margin: 0;
    font-size: 0.9em;
    color: #aaa; /* Lighter color for the title */
}

.review-text {
    font-size: 1.15em;
    line-height: 1.6;
    margin-bottom: 20px;
    /* Remove padding-left as the quote is now inline */
}

/* New style for the inline leading quote icon */
.leading-quote-icon {
    font-size: 1.30em; /* Make it significantly larger than the surrounding text */
    font-weight: bold; /* Make it bold if the symbol allows */
    color: #ffc107; /* Yellow/Gold color */
    /* margin-right: 8px; */ /* Space between the icon and the text */
    vertical-align: middle; /* Align it better with the text */
    display: inline-block; /* Allows better control of margin/padding */
    transform: translateY(-0.1em); /* Fine-tune vertical position */
}

.release-section .footer-book-title{
    font-size: 2.5rem;
}

.release-section .footer-book-subtitle{
    font-size: 24px;
}

.release-section .footer-book-release{
    font-size: 18px;
}

.release-section .footer-book-info{
    margin-bottom: 0;
}


@media (max-width: 640px) {
    .release-section .footer-book-title{
    font-size: 1.5rem;
}

.release-section .footer-book-subtitle{
    font-size: 18px;
}

.release-section .footer-book-release{
    font-size: 14px;
}
.woocommerce-checkout .custom-checkout-wrapper {
  display: block; 
}
.woocommerce-checkout .cc-left, .woocommerce-checkout .cc-right {
  width: 100%;
  
}
	.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td{
		  text-align: left;
	}
}

.wc-block-components-checkout-place-order-button{
    background-color: #fff;
}

.close-icon {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px;
    min-height: 18px;
    display: block !important;
    stroke: #d4af37;
    box-sizing: content-box;
}


.woocommerce-order-pay .site-main article,.woocommerce-page.woocommerce-order-received .site-main article{
    margin: 0 auto;
    padding: 40px;
    max-width: 1280px;
}

.woocommerce-page.woocommerce-order-received .site-main article .entry-title{
    display: none;
}

.cart_item td.product-name{
    display: flex;
    align-items: center;
    justify-content: left;
}

.cart_item td.product-name .cc-qty-wrap input{
    width: 80px;
}

.book-price del{
    font-size: 20px;
}

.book-price ins{
    font-size: 25px;
    background:unset;
}

.book-price ins .woocommerce-Price-amount {
    color: #d4af37 !important;
}

.book-price ins .woocommerce-Price-currencySymbol {
    color: #d4af37 !important;
}

.book-price ins bdi {
    color: #d4af37 !important;
}

.book-description ul{
    margin: 0 0 0 3em;
}

.section.what-to-expect-section, .section.why-preorder-section {
            padding: 2rem 1.5rem;
}
.prologue-modal-form{
    padding: 50px;
}
.prologue-modal-form .exit-input{
    padding: 10px 40px;
}


#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #f4d47c;
    color: #000;
    border: none;
    padding: 25px 25px;
    border-radius: 50px;
    font-size: 25px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 999;
    transform: rotate(-90deg);
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}
mark, ins {
    background: unset;
    text-decoration: none;
}

.error-msg {
    color: #ff4d4d;
    font-size: 13px;
    margin-top: -6px;
    margin-bottom: 8px;
}

.contact-input.invalid {
    border-color: #ff4d4d !important;
}



.single-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 30px;
}

.single-title {
    font-size: 36px;
    margin-bottom: 10px;
}

.single-meta {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 30px;
}

.single-body {
    line-height: 1.8;
    font-size: 18px;
    margin-bottom: 40px;
}

.single-share {
    margin: 40px 0;
    font-weight: 600;
    display: flex;
    gap: 15px;
}

.single-tags {
    margin-bottom: 40px;
}

.related-posts {
    margin-top: 60px;
}

.related-grid {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin: 25px 0;
}

.related-item img {
    width: 100%;
    border-radius: 10px;
}

.related-item h4 {
    margin-top: 10px;
    font-size: 18px;
}

@media (max-width: 640px) {

.single-wrapper {
   
    margin: 70px auto;
    
 }
}
.archive-wrapper {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
}

.archive-title {
    font-size: 42px;
        margin-top: 60px;
    text-align: center;
}

.archive-description {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.8;
    text-align: center;
}

.archive-grid {
    display: grid;
    gap: 35px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.archive-card {
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.archive-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
}

.archive-no-thumb {
    height: 220px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.archive-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.archive-post-title {
    font-size: 24px;
}

.archive-meta {
    font-size: 14px;
    opacity: 0.7;
}

.archive-excerpt {
    line-height: 1.6;
}

.archive-readmore {
    margin-top: 10px;
    font-weight: 600;
}

.archive-pagination {
    margin-top: 50px;
    text-align: center;
}

.archive-pagination a,
.archive-pagination span {
    margin: 0 5px;
    font-size: 16px;
}



    /* ===== MOBILE: stacked overlapping effect WITHOUT sticky ===== */
    @media (max-width: 768px) {

       



@layer demo {
  @layer root {
    :root {
      --card-height: 40vi;
      --card-margin: 4vi;
      --card-top-offset: 1rem;
      --outline-width: 0px;
      --hotpink-color: 72.83% 0.197 351.99;
      --lime-color: 86.64% 0.2948272403370167 142.49533888780996;
      --blue-color: 45.2% 0.31321437166460125 264.052020638055;
    }
  }
  
  @layer component {
    .stack-list {
      display: grid;
      grid-template-columns: 1fr;
      container-type: inline-size;
      grid-template-rows: repeat(var(--numcards), var(--card-height));
      gap: var(--card-margin);
      -webkit-margin-after: var(--card-margin);
              margin-block-end: var(--card-margin);
      -webkit-padding-after: calc(var(--numcards) * var(--card-top-offset));
              padding-block-end: calc(var(--numcards) * var(--card-top-offset));
      outline: calc(var(--outline-width) * 10) solid oklch(var(--hotpink-color));
    }
    .stack-list__item {
      position: sticky !important;
      inset-block-start: 0;
      -webkit-padding-before: calc(var(--index) * var(--card-top-offset));
              padding-block-start: calc(var(--index) * var(--card-top-offset));
      outline: var(--outline-width) solid oklch(var(--lime-color));
    }
    .stack-list__item:is(:nth-child(1)) {
      --index: 1;
    }
    .stack-list__item:is(:nth-child(2)) {
      --index: 2;
    }
    .stack-list__item:is(:nth-child(3)) {
      --index: 3;
    }
    .stack-list__item:is(:nth-child(4)) {
      --index: 4;
    }
    .stack-list__item:is(:nth-child(5)) {
      --index: 5;
    }
    .stack-list__item:is(:nth-child(6)) {
      --index: 6;
    }
    .stack-list__item:is(:nth-child(7)) {
      --index: 7;
    }
    .stack-list__item:is(:nth-child(8)) {
      --index: 8;
    }
    @supports (animation-timeline: view()) {
      .stack-list {
        /* --numcards: 8; */
        view-timeline-name: --cards-element-scrolls-in-body;
      }
      .stack-list__item {
        --index0: calc(var(--index) - 1);
        --reverse-index: calc(var(--numcards) - var(--index0));
        --reverse-index0: calc(var(--reverse-index) - 1);
      }
    }

   
    
  @layer motion {
    @supports (animation-timeline: view()) {
      @-webkit-keyframes scale {
        to {
          transform: scale(calc(1.1 - calc(0.1 * var(--reverse-index))));
        }
      }
      @keyframes scale {
        to {
          transform: scale(calc(1.1 - calc(0.1 * var(--reverse-index))));
        }
      }
    }
  }
}
}

    }

#contact-form .contact-input:focus {
       color: #000;
}

/* Ensure the expect/stack parents don't clip the sticky stacking context */
.what-to-expect-section,
.expect-grid,
.stack-cards {
    overflow: visible;
}

.single-wrapper {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    align-items: flex-start;
}

.single-main {
    flex: 1;
    min-width: 0;
}

.single-sidebar {
    width: 300px;
    position: sticky;
    top: 100px;
    height: fit-content;
}

/* Full width hero image */
.single-hero-image img {
    width: 100%;
    height: 450px;
    display: block;
    object-fit: contain;
}

 @media (max-width: 768px) {
    .single-wrapper.container{
            display: block;
    }
    .single-wrapper.container .single-sidebar{
            width: 100%;
    }
 }


 #starfield-canvas, .mandala-patterns, #main-header, #home, #pre-order,.section.reviews-section, .section.release-section.as-seen-section, .section.author-section, .section.why-preorder-section,.section.faq-section, .section.blog-section, #newsletter, #contact,#backToTop{
        overflow-x: hidden;
 }



