:root {
    --primary: #ff6a00;
    /* Fire Orange */
    --primary-glow: #ff4500;
    --secondary: #c0c0c0;
    --bg-dark: #0a0500;
    /* Darker, slightly warm black */
    --card-bg: rgba(255, 69, 0, 0.05);
    /* Orange-ish card bg */
    --text-white: #e0e0e0;
    --text-muted: #a0a0a0;
    --accent-blue: #2a1400;
    /* Warm dark accent */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Lora', serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: 'Cinzel', serif;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 106, 0, 0.4);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Star/Fire Background */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at center, #2a0a00 0%, #0a0500 100%);
}

.star {
    position: absolute;
    background: linear-gradient(to bottom, #ff9d00, #ff4500);
    border-radius: 50%;
    opacity: 0.6;
    animation: flicker 2s infinite alternate ease-in-out;
    filter: blur(1px);
    box-shadow: 0 0 5px #ff4500;
}

@keyframes flicker {
    0% {
        transform: scale(1);
        opacity: 0.6;
        filter: brightness(1);
    }

    100% {
        transform: scale(1.3);
        opacity: 1;
        filter: brightness(1.5);
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition);
}

.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    position: relative;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.author {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 3rem;
    font-style: italic;
}

.cover-wrapper {
    margin-bottom: 3rem;
}

.book-cover {
    max-width: 300px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.2);
    transition: var(--transition);
}

.book-cover:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 0 60px rgba(255, 106, 0, 0.3);
}

.main-quote {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--secondary);
    font-style: italic;
    padding: 0 20px;
}

/* Mystery Quotes */
.mystery-quotes {
    padding: 100px 0;
}

.mystery-quotes .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.quote-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    text-align: center;
    transition: var(--transition);
}

.quote-card:hover {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.quote-card p {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-white);
}

/* Synopsis Section */
.synopsis {
    padding: 100px 0;
    background: linear-gradient(to bottom, transparent, rgba(30, 42, 74, 0.2), transparent);
}

.synopsis h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.text-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.15rem;
    text-align: center;
}

.text-content p {
    margin-bottom: 1.5rem;
}

.friday-banner {
    margin-top: 3rem;
    padding: 20px;
    background: rgba(212, 175, 55, 0.1);
    border-left: 4px solid var(--primary);
    border-right: 4px solid var(--primary);
    display: inline-block;
    border-radius: 10px;
}

.friday-banner p {
    margin: 0;
    color: var(--primary);
}

/* CTA */
.cta {
    padding: 100px 0;
    text-align: center;
}

.cta-card {
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.1), transparent), var(--card-bg);
    padding: 60px 40px;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.cta h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--primary);
    color: var(--bg-dark);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 50px;
    transition: var(--transition);
    border: 2px solid var(--primary);
}

.btn:hover {
    background: transparent;
    color: var(--primary);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* Author Section */
.author-section {
    padding: 100px 0;
}

.author-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.author-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.author-name {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: var(--text-white);
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .mystery-quotes .container {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .friday-banner {
        display: block;
    }
}