body {
    background-color: #111111;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    background-attachment: fixed;
}

.book-feature-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 7vw - 120px);
    padding: 10vh 5vw;
    box-sizing: border-box;
    background: radial-gradient(circle at 50% 50%, #1c1c1c, #111111 80%);
}

.book-feature-content {
    display: grid;
    grid-template-columns: 4fr 5fr;
    gap: 6vw;
    align-items: center;
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.book-cover-featured {
    perspective: 1500px;
    transition-delay: 0.1s;
    z-index: 10;
}

.book-cover-featured img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow:
        -30px 30px 25px rgba(0, 0, 0, 0.3),
        0px 0px 15px rgba(0, 0, 0, 0.5);
    transform: rotateY(-15deg) rotateX(2deg) scale(1.05);
    transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.book-cover-featured:hover img {
    transform: rotateY(0) rotateX(0);
}

.book-details-featured {
    transition-delay: 0.2s;
}

.featured-eyebrow {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: wheat;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.featured-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 700;
    color: #f5f5f5;
    line-height: 1.1;
    margin: 0 0 35px 0;
}

.featured-description {
    font-family: 'Poppins', sans-serif;
    color: #b0b0b0;
    line-height: 1.8;
    font-size: 1.1rem;
    max-width: 55ch;
    margin-bottom: 50px;
}

.book-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.02);
    padding: 15px;
    border-radius: 8px;
}

.spec-icon {
    width: 32px;
    height: 32px;
    color: wheat;
    flex-shrink: 0;
}

.spec-text h4 {
    font-family: 'Space Grotesk', sans-serif;
    margin: 0 0 4px 0;
    color: #f0f0f0;
    font-weight: 500;
}

.spec-text span {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #888;
}

.featured-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.featured-actions .btn {
    padding: 18px 35px;
    font-size: 1.1rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
}

.featured-actions .btn.btn-primary {
    background-color: wheat;
    color: #1a1a1a;
}

.featured-actions .btn.btn-primary:hover {
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.featured-actions .btn.btn-primary.copied {
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
}

.featured-actions .btn.btn-secondary {
    color: #a0a0a0;
    background-color: transparent;
    border-color: #444;
}

.featured-actions .btn.btn-secondary:hover {
    background-color: #222;
    color: #fff;
    border-color: #555;
}

.featured-actions .btn.btn-secondary.copied {
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
}

.footer-wave-top {
    background-color: #111111;
}

/* PER BOTTONE SOLD OUT*/

.featured-actions .btn.btn-sold-out {
    background-color: rgba(255, 255, 255, 0.05); 
    color: #888; 
    border: 1px solid #333; 
    cursor: not-allowed; 
    font-weight: 400; 
    letter-spacing: 1px;
}

.featured-actions .btn.btn-sold-out:hover {
    background-color: rgba(255, 255, 255, 0.05);
    transform: none;
    box-shadow: none;
    color: #888;
}

/* PER IL SECONDO LIBRO */

.book-feature-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15vh 5vw 10vh 5vw;
    background: radial-gradient(circle at 50% 20%, #1c1c1c, #111111 60%);
}

.section-divider {
    width: 70%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 100px 0;
}

.coming-soon-mode .dynamic-book-cover {
    filter: brightness(0) blur(3px) !important; 
    opacity: 0.8;
}

.coming-soon-mode .book-cover-featured:hover .dynamic-book-cover {
    filter: brightness(0) blur(1px) !important;
    opacity: 1;
}

.coming-soon-mode .featured-title {
    color: transparent;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4); 
    user-select: none;
    cursor: default;
}

.coming-soon-text {
    font-family: 'Space Grotesk', sans-serif;
    color: #555;
    letter-spacing: 2px;
    font-size: 0.9rem;
    border: 1px solid #333;
    padding: 10px 20px;
    border-radius: 4px;
    text-transform: uppercase;
}

@media (max-width: 950px) {
    .book-feature-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .book-cover-featured {
        margin-bottom: 8vh;
        perspective: none;
    }

    .book-cover-featured img {
        transform: none;
        max-width: 320px;
        margin: 0 auto;
    }

    .featured-description {
        margin-left: auto;
        margin-right: auto;
    }

    .featured-actions {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
    }

    .book-specs {
        border-top: none;
        padding-top: 0;
        margin-top: -20px;
    }

    .spec-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 10px;
    }
}