* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #1b1e23;
    --bg-secondary: #2c3036;
    --bg-darker: #343a40;
    --text-primary: #e6e8ea;
    --text-secondary: #9fa6a9;
    --accent-copper: #c9a66b;
    --accent-hover: #d1af7d;
    --accent-ruby: #b83e3e;
    --steel: #7f8c8d;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Garamond', serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3 {
    font-family: 'Cinzel', 'Georgia', serif;
    color: var(--accent-copper);
    letter-spacing: 1px;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-copper), transparent);
}

p {
    margin-bottom: 1.2rem;
    font-size: clamp(1rem, 2vw, 1.1rem);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1b1e23 0%, #2c3036 100%);
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(201, 166, 107, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(184, 62, 62, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    align-items: center;
    z-index: 1;
}

.hero-text {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.hero-image {
    display: flex;
    justify-content: center;
    animation: fadeInRight 1s ease-out 0.3s backwards;
}

.book-cover {
    max-width: 100%;
    height: auto;
    max-height: 600px;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(201, 166, 107, 0.1);
    transition: transform 0.5s ease;
}

.book-cover:hover {
    transform: scale(1.05) translateY(-10px);
}

/* Author Section */
.author-section {
    padding: 5rem 2rem;
    background: var(--bg-secondary);
    position: relative;
}

.author-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    align-items: center;
}

.author-photo {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    margin: 0 auto;
    display: block;
}

/* Book Description */
.book-description {
    padding: 5rem 2rem;
    background: var(--bg-primary);
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.blurb {
    text-align: justify;
    font-size: 1.1rem;
    line-height: 1.9;
    text-indent: 2rem;
}

.blurb p:first-child {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent-copper);
    text-indent: 0;
}

/* Reviews Slider */
.reviews {
    padding: 5rem 2rem;
    background: var(--bg-secondary);
    overflow: hidden;
}

.slider-container {
    max-width: 1200px;
    margin: 3rem auto 0;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.slider-track {
    display: flex;
    animation: scroll 40s linear infinite;
    gap: 2rem;
}

.slider-track:hover {
    animation-play-state: paused;
}

.review-card {
    background: var(--bg-darker);
    padding: 2rem;
    border-radius: 12px;
    min-width: 350px;
    max-width: 350px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-left: 4px solid var(--accent-copper);
    position: relative;
    flex-shrink: 0;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 4rem;
    color: var(--accent-copper);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.review-text {
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-350px * 5 - 10rem));
    }
}

/* Availability Section */
.availability {
    padding: 5rem 2rem;
    background: var(--bg-primary);
    text-align: center;
}

.promo-image {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    margin: 2rem auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.availability-text {
    font-size: 1.2rem;
    color: var(--accent-copper);
    font-weight: bold;
    margin-top: 2rem;
}

.cta-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent-copper), var(--accent-ruby));
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(201, 166, 107, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(201, 166, 107, 0.5);
}

/* What's Next Section */
.whats-next {
    padding: 5rem 2rem;
    background: var(--bg-secondary);
    text-align: center;
}

/* Social Media */
.social-section {
    padding: 5rem 2rem;
    background: var(--bg-primary);
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--bg-darker);
    color: var(--accent-copper);
    border-radius: 50%;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-link:hover {
    background: var(--accent-copper);
    color: var(--bg-primary);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(201, 166, 107, 0.4);
}

/* Footer */
footer {
    padding: 2rem;
    background: var(--bg-darker);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .author-container {
        grid-template-columns: 1fr;
    }

    .review-card {
        min-width: 280px;
        max-width: 280px;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-280px * 5 - 10rem));
        }
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {

    .hero,
    .author-section,
    .book-description,
    .reviews,
    .availability,
    .whats-next,
    .social-section {
        padding: 3rem 1rem;
    }

    .blurb {
        text-indent: 1rem;
    }
}

/* Japanese-inspired decorative elements */
.section-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-copper), transparent);
    margin: 2rem auto;
}

/* Subtle pattern overlay */
.pattern-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.02;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, var(--accent-copper) 35px, var(--accent-copper) 36px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, var(--accent-copper) 35px, var(--accent-copper) 36px);
    pointer-events: none;
    z-index: 1;
}
