/* Modern CSS Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Properties */
:root {
    --primary: #2a2a2a;
    --secondary: #f0f0f0;
    --accent: #ff3366;
    --accent-1: #452c63;
    --text: #333333;
    --background: #ffffff;
    --gradient-1: linear-gradient(45deg, #ff3366, #ff6b6b);
    --gradient-2: linear-gradient(135deg, #4facfe, #00f2fe);
    --gradient-3:  linear-gradient(319deg, #6a5acd 0%, #c54b8c 37%, #b284be 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
    overflow-x: hidden;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeOut 1s ease-in-out 2s forwards;
}

.loader-text {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    animation: pulse 1s infinite;
    background-color: var(--gradient-3);
}

.loader-progress {
    width: 200px;
    height: 4px;
    background: var(--secondary);
    position: relative;
    overflow: hidden;
}

.loader-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    background: var(--accent-1);
    animation: progress 1s ease-in-out infinite;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 1rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-3);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.cta-button {
    background: var(--gradient-3);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    text-decoration: none;
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 51, 102, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    z-index: 1;
}

.animated-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.animated-title .line {
    display: block;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.5s ease-out forwards;
}

.animated-title .line:nth-child(2) {
    animation-delay: 0.2s;
}

.animated-title .line:nth-child(3) {
    animation-delay: 0.4s;
}

.highlight {
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeIn 0.5s ease-out 0.6s forwards;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: fadeIn 0.5s ease-out 0.8s forwards;
}

.primary-button, .secondary-button {
    padding: 1rem 2rem;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

.primary-button {
    background: var(--gradient-3);
    color: white;
}

.secondary-button {
    border: 2px solid var(--accent-1);
    color: var(--accent-1);
}

.primary-button:hover, .secondary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

/* Floating Books Animation */
.hero-visual {
    position: relative;
    width: 50%;
    height: 100vh;
}

.floating-books {
    position: absolute;
    width: 100%;
    height: 100%;
}

.book {
    position: absolute;
    width: 300px;
    height: 450px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 20px 40px var(--shadow-color);
}

.book-1 {
    top: 20%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.book-2 {
    top: 40%;
    left: 40%;
    animation: float 8s ease-in-out infinite;
}

.book-3 {
    top: 30%;
    left: 70%;
    animation: float 10s ease-in-out infinite;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

/* Featured Section */
.featured-section {
    padding: 8rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-line {
    width: 100px;
    height: 4px;
    background: var(--gradient-1);
    margin: 0 auto;
}

.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.featured-book {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    transition: var(--transition);
}

.featured-book:hover {
    transform: translateY(-10px);
}

.book-cover {
    position: relative;
    overflow: hidden;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.book-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    transition: var(--transition);
}

.featured-book:hover .book-overlay {
    bottom: 0;
}

.featured-book:hover img {
    transform: scale(1.1);
}
/* Bestsellers Section */
.bestsellers-section {
    padding: 8rem 2rem;
}

.book-carousel {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.book-card {
    flex: 1;
    height: 700px;
    width: 1000px;
    perspective: 1000px;
}

.book-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.book-card:hover .book-card-inner {
    transform: rotateY(180deg);
}

.book-card-front, .book-card-back-1, .book-card-back-2, .book-card-back-3{
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 1rem;
    overflow: hidden;
}

.book-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-card-back-1 {
    background: var(--gradient-2);
    color: white;
    transform: rotateY(180deg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.book-card-back-2 {
    background: linear-gradient(135deg, #69351F, #A87C3A, #401);
    color: white;
    transform: rotateY(180deg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.book-card-back-3 {
    background: linear-gradient(135deg, #B53817, #D87B2D, #E5A84B);
    color: white;
    transform: rotateY(180deg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.card-button {
    display: inline-block;
    background: white;
    color: var(--primary);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.card-button:hover {
    background: var(--accent-1);
    color: white;
    transform: translateX(5px);
}


/* Featured Section Styles */
.featured-section {
    padding: 8rem 2rem;
    background: linear-gradient(to bottom, var(--background), var(--gray-light));
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.featured-book {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 2/3;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-book.main {
    grid-column: span 2;
    grid-row: span 2;
}

.featured-book:hover {
    transform: translateY(-10px);
}

.book-cover {
    position: relative;
    width: 100%;
    height: 100%;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-book:hover .book-cover img {
    transform: scale(1.1);
}

.book-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    color: white;
}

.featured-book:hover .book-overlay {
    opacity: 1;
}

.book-content {
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-book:hover .book-content {
    transform: translateY(0);
}

.book-category {
    display: inline-block;
    background: var(--accent-1);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.book-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.main .book-overlay h3 {
    font-size: 2rem;
}

.book-author {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.book-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    color: gold;
}

.rating-text {
    font-size: 0.875rem;
    opacity: 0.8;
}

.book-excerpt {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 0.9;
}

.main .book-excerpt {
    display: block;
}

.read-more {
    display: inline-block;
    background: white;
    color: var(--primary);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more:hover {
    background: var(--accent-1);
    color: white;
    transform: translateX(5px);
}

/* Parallax Section */
.parallax-section {
    height: 60vh;
    background-image: url('stock/gradient.jpg');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.parallax-content {
    color: white;
    text-align: center;
    z-index: 1;
}

.parallax-content h2 {
    font-size: 4rem;
    margin-bottom: 1rem;
}


/* Responsive Styles */
@media (max-width: 1200px) {
    .book-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .book-cover-3d {
        max-width: 400px;
        margin: 0 auto;
    }

    .author-profile-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .author-profile-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .author-stats {
        position: static;
        transform: none;
        margin-top: 2rem;
    }

    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-book.main {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .book-excerpt {
        display: none;
    }
}



/* Split Section */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 60vh;
}

.split-left {
    background: var(--gradient-1);
    color: white;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.split-right {
    background: var(--gradient-2);
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    display: block;
}

/* Authors Section */
.authors-section {
    padding: 8rem 2rem;
}

.authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.author-card {
    text-decoration: none;
    color: var(--text);
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: var(--transition);
}

.author-card:hover {
    transform: translateY(-10px);
}

.author-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.author-card:hover .author-image img {
    transform: scale(1.1);
}

.author-info {
    padding: 2rem;
    text-align: center;
}

.modern-footer {
    background-image: url('stock/gradient.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 4rem 2rem;
    position: relative;
}

.mordern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index:2;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.footer-brand h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-1);
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section a:hover {
    opacity: 1;
    color: var(--accent-1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes pulse {
    50% {
        opacity: 0.5;
    }
}

@keyframes progress {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(200%);
    }
}

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

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* Responsive Design */


/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* Book Details Page Styles */
.book-page {
    background: linear-gradient(to bottom, var(--background), var(--gray-light));
}

.book-hero-wrapper {
    min-height: 100vh;
    padding: 120px 2rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--accent-1));
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.book-hero {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 4rem;
    align-items: center;
}

.book-cover-3d {
    position: relative;
    perspective: 1000px;
    transform-style: preserve-3d;
    animation: bookFloat 6s ease-in-out infinite;
}

.book-cover-3d img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: rotateY(10deg);
    transition: transform 0.5s ease;
}

.book-cover-3d:hover img {
    transform: rotateY(0deg);
}

.book-reflection {
    position: absolute;
    bottom: -50%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), transparent);
    transform: rotateX(180deg) translateY(50%);
    opacity: 0.5;
    filter: blur(5px);
}

.book-info {
    color: white;
}

.book-category {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.book-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.5s ease 0.2s forwards;
}

.book-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.5s ease 0.4s forwards;
}

.author-link {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    position: relative;
}

.author-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.author-link:hover::after {
    width: 100%;
}

.book-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stars {
    color: gold;
}

.book-actions {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: fadeInUp 0.5s ease 0.6s forwards;
}

.book-content {
    max-width: 1200px;
    margin: -100px auto 0;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.book-tabs {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.tab-button {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.2rem;
    padding: 1rem 0;
    cursor: pointer;
    position: relative;
}

.tab-indicator {
    position: absolute;
    bottom: 0;
    height: 2px;
    width: 100px;
    background: var(--accent-1);
    transition: transform 0.3s ease;
}

.synopsis {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px var(--shadow-color);
    margin-bottom: 2rem;
}

.key-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.quotes-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 2rem 0;
    scroll-snap-type: x mandatory;
}

.quote-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    min-width: 300px;
    box-shadow: 0 10px 30px var(--shadow-color);
    scroll-snap-align: start;
}

/* Author Page Styles */
.author-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary), var(--accent-1));
    padding: 120px 2rem 4rem;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.author-hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.author-profile-wrapper {
    display: grid;
    grid-template-columns: 600px 1fr;
    gap: 4rem;
    align-items: center;
}

.author-profile-image {
    position: relative;
}

.author-profile-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.author-stats {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.author-intro {
    color: white;
}

.author-name {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.author-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.5s ease 0.2s forwards;
}

.author-social-links {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: fadeInUp 0.5s ease 0.4s forwards;
}

.social-button {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    transition: var(--transition);
}

.social-button:hover {
    background: white;
    color: var(--primary);
}

.author-content {
    max-width: 1200px;
    margin: -100px auto 0;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.bio-content {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px var(--shadow-color);
    margin-bottom: 4rem;
}

.bio-timeline {
    margin-top: 3rem;
    position: relative;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    padding: 2rem 0;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--accent-1);
}

.year {
    font-weight: bold;
    color: var(--accent-1);
    width: 80px;
}

.books-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin: 2rem 0;
}

.book-showcase-item {
    text-align: center;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.award-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px var(--shadow-color);
    display: flex;
    gap: 2rem;
    align-items: center;
    transition: transform 0.3s ease;
}

.award-item:hover {
    transform: translateY(-10px);
}

.award-icon {
    font-size: 3rem;
}

.interviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.interview-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: transform 0.3s ease;
}

.interview-card:hover {
    transform: translateY(-10px);
}

.interview-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.interview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.interview-card:hover .interview-image img {
    transform: scale(1.1);
}

.interview-content {
    padding: 2rem;
}

.watch-button {
    display: inline-block;
    background: var(--accent-1);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    margin-top: 1rem;
    transition: var(--transition);
}

.watch-button:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

@keyframes bookFloat {
    0%, 100% {
        transform: translateY(0) rotateY(10deg);
    }
    50% {
        transform: translateY(-20px) rotateY(10deg);
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .book-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .book-cover-3d {
        max-width: 400px;
        margin: 0 auto;
    }

    .author-profile-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .author-profile-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .author-stats {
        position: static;
        transform: none;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .book-title {
        font-size: 3rem;
    }

    .book-actions {
        flex-direction: column;
    }

    .key-features {
        grid-template-columns: 1fr;
    }

    .awards-grid {
        grid-template-columns: 1fr;
    }

    .interviews-grid {
        grid-template-columns: 1fr;
    }
}


/* Book Details Page Styles */
.book-page {
    background: linear-gradient(to bottom, var(--background), var(--gray-light));
}

.book-hero-wrapper {
    min-height: 100vh;
    padding: 120px 2rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--accent-1));
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.book-hero {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 4rem;
    align-items: center;
}

.book-cover-3d {
    position: relative;
    perspective: 1000px;
    transform-style: preserve-3d;
    animation: bookFloat 6s ease-in-out infinite;
}

.book-cover-3d img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: rotateY(10deg);
    transition: transform 0.5s ease;
}

.book-cover-3d:hover img {
    transform: rotateY(0deg);
}

.book-reflection {
    position: absolute;
    bottom: -50%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), transparent);
    transform: rotateX(180deg) translateY(50%);
    opacity: 0.5;
    filter: blur(5px);
}

.book-info {
    color: white;
}

.book-category {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.book-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.5s ease 0.2s forwards;
}

.book-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.5s ease 0.4s forwards;
}

.author-link {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    position: relative;
}

.author-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.author-link:hover::after {
    width: 100%;
}

.book-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stars {
    color: gold;
}

.book-actions {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: fadeInUp 0.5s ease 0.6s forwards;
}

.book-content {
    max-width: 1200px;
    margin: -100px auto 0;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.book-tabs {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.tab-button {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.2rem;
    padding: 1rem 0;
    cursor: pointer;
    position: relative;
}

.tab-indicator {
    position: absolute;
    bottom: 0;
    height: 2px;
    width: 100px;
    background: var(--accent-1);
    transition: transform 0.3s ease;
}

.synopsis {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px var(--shadow-color);
    margin-bottom: 2rem;
}

.key-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.quotes-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 2rem 0;
    scroll-snap-type: x mandatory;
}

.quote-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    min-width: 300px;
    box-shadow: 0 10px 30px var(--shadow-color);
    scroll-snap-align: start;
}

/* Author Page Styles */
.author-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary), var(--accent-1));
    padding: 120px 2rem 4rem;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.author-hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.author-profile-wrapper {
    display: grid;
    grid-template-columns: 600px 1fr;
    gap: 4rem;
    align-items: center;
}

.author-profile-image {
    position: relative;
}

.author-profile-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.author-stats {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.author-intro {
    color: white;
}

.author-name {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.author-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.5s ease 0.2s forwards;
}

.author-social-links {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: fadeInUp 0.5s ease 0.4s forwards;
}

.social-button {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    transition: var(--transition);
}

.social-button:hover {
    background: white;
    color: var(--primary);
}

.author-content {
    max-width: 1200px;
    margin: -100px auto 0;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.bio-content {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px var(--shadow-color);
    margin-bottom: 4rem;
}

.bio-timeline {
    margin-top: 3rem;
    position: relative;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    padding: 2rem 0;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--accent-1);
}

.year {
    font-weight: bold;
    color: var(--accent-1);
    width: 80px;
}

.books-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin: 2rem 0;
}

.book-showcase-item {
    text-align: center;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.award-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px var(--shadow-color);
    display: flex;
    gap: 2rem;
    align-items: center;
    transition: transform 0.3s ease;
}

.award-item:hover {
    transform: translateY(-10px);
}

.award-icon {
    font-size: 3rem;
}

.interviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.interview-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: transform 0.3s ease;
}

.interview-card:hover {
    transform: translateY(-10px);
}

.interview-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.interview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.interview-card:hover .interview-image img {
    transform: scale(1.1);
}

.interview-content {
    padding: 2rem;
}

.watch-button {
    display: inline-block;
    background: var(--accent-1);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    margin-top: 1rem;
    transition: var(--transition);
}

.watch-button:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

@keyframes bookFloat {
    0%, 100% {
        transform: translateY(0) rotateY(10deg);
    }
    50% {
        transform: translateY(-20px) rotateY(10deg);
    }
}


/* Responsive Styles */
@media (max-width: 1200px) {
    .book-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .book-cover-3d {
        max-width: 400px;
        margin: 0 auto;
    }

    .author-profile-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .author-profile-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .author-stats {
        position: static;
        transform: none;
        margin-top: 2rem;
    }

    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-book.main {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .book-excerpt {
        display: none;
    }
}

@media (max-width: 768px) {
    .book-title {
        font-size: 3rem;
    }

    .book-actions {
        flex-direction: column;
    }

    .key-features {
        grid-template-columns: 1fr;
    }

    .awards-grid {
        grid-template-columns: 1fr;
    }

    .interviews-grid {
        grid-template-columns: 1fr;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-book.main {
        grid-column: span 1;
    }
    
    .book-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2));
    }
    
    .book-content {
        transform: translateY(0);
    }
}

/* About Page Styles */
.about-page {
    background: linear-gradient(to bottom, var(--background), var(--gray-light));
}

.about-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 2rem 2rem;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('') center/cover;
    opacity: 0.1;
    animation: slowZoom 20s infinite alternate;
}

.about-hero-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}

.about-hero .animated-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.about-hero .hero-subtitle {
    font-size: 1.5rem;
    opacity: 0;
    animation: fadeIn 0.5s ease 0.8s forwards;
}

/* Mission Section */
.mission-section {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

.mission-text {
    max-width: 600px;
}

.large-text {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: var(--primary);
}

.mission-stats {
    display: grid;
    gap: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text);
    font-size: 1.1rem;
}

/* Values Section */
.values-section {
    padding: 8rem 2rem;
    background: var(--gray-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto 0;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    background: var(--primary);
    color: white;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    margin-bottom: 1rem;
}

/* Team Section */
.team-section {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.team-card {
    text-align: center;
}

.team-image {
    width: 250px;
    height: 250px;
    margin: 0 auto 2rem;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
}

.team-image::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid transparent;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent), transparent) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-role {
    color: var(--accent);
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--text);
    line-height: 1.6;
}

/* Journey Section */
.journey-section {
    padding: 8rem 2rem;
    background: var(--gray-light);
}

.timeline {
    max-width: 800px;
    margin: 4rem auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--accent);
}

.timeline-item {
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    transform: translateX(50px);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
    transform: translateX(-50px);
}

.timeline-content {
    width: 45%;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px var(--shadow-color);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -60px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -60px;
}

.year {
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-section {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-text {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-text h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    margin-bottom: 1rem;
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .about-hero .animated-title {
        font-size: 4rem;
    }

    .mission-content {
        grid-template-columns: 1fr;
    }

    .mission-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero .animated-title {
        font-size: 3rem;
    }

    .mission-stats {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 50px);
        margin-left: 50px;
        transform: none;
    }

    .timeline-content::before {
        left: -40px !important;
    }
}
/* Genres Page Styles */
.genres-page {
    background: linear-gradient(to bottom, var(--background), var(--gray-light));
}

.genres-hero {
    min-height: 60vh;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 2rem 4rem;
    text-align: center;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.genres-hero-content {
    color: white;
    max-width: 800px;
}

.genres-hero .animated-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.genres-hero .hero-subtitle {
    font-size: 1.5rem;
    opacity: 0;
    animation: fadeIn 0.5s ease 0.8s forwards;
}

/* Genre Filters */
.genre-filters {
    padding: 2rem;
    margin-top: -50px;
    position: relative;
    z-index: 1;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    background: white;
    padding: 1rem 2rem;
    border-radius: 2rem;
    box-shadow: 0 10px 30px var(--shadow-color);
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.filter-tab {
    background: none;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    color: var(--text);
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.filter-tab.active {
    color: var(--accent);
}

.tab-indicator {
    position: absolute;
    bottom: 0;
    height: 3px;
    width: 100px;
    background: var(--accent);
    transition: transform 0.3s ease;
}

/* Genres Grid */
.genres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.genre-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: transform 0.3s ease;
}

.genre-card:hover {
    transform: translateY(-10px);
}

.genre-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.genre-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.genre-card:hover .genre-image img {
    transform: scale(1.1);
}

.genre-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    color: white;
}

.book-count {
    font-size: 0.875rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    backdrop-filter: blur(5px);
}

.genre-content {
    padding: 2rem;
}

.genre-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.genre-content p {
    color: var(--text);
    margin-bottom: 1.5rem;
}

.popular-books {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.book-thumbnail {
    width: 60px;
    height: 90px;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s ease;
}

.book-thumbnail:hover {
    transform: translateY(-5px);
}

.book-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.explore-button {
    display: inline-block;
    background: var(--accent);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    transition: all 0.3s ease;
}

.explore-button:hover {
    background: var(--primary);
    transform: translateX(5px);
}

/* Genre Spotlight */
.genre-spotlight {
    padding: 8rem 2rem;
    background: var(--gray-light);
}

.spotlight-header {
    text-align: center;
    margin-bottom: 4rem;
}

.spotlight-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px var(--shadow-color);
}

.spotlight-image {
    height: 100%;
    min-height: 400px;
}

.spotlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spotlight-info {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spotlight-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.spotlight-info p {
    margin-bottom: 2rem;
    line-height: 1.6;
}

.spotlight-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.spotlight-stats .stat {
    text-align: center;
}

.spotlight-stats .number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.spotlight-stats .label {
    color: var(--text);
    font-size: 0.875rem;
}

.spotlight-button {
    display: inline-block;
    background: var(--accent);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 2rem;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.spotlight-button:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

/* Animation for Genre Filtering */
.genre-card[data-hidden] {
    display: none;
}

.genre-card {
    animation: fadeIn 0.5s ease forwards;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .spotlight-content {
        grid-template-columns: 1fr;
    }

    .spotlight-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .genres-hero .animated-title {
        font-size: 3rem;
    }

    .filter-tabs {
        flex-direction: column;
        padding: 1rem;
    }

    .genres-grid {
        grid-template-columns: 1fr;
    }

    .spotlight-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .genre-card,
    .genre-card:hover .genre-image img,
    .book-thumbnail,
    .explore-button:hover,
    .spotlight-button:hover {
        transition: none;
        transform: none;
    }
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: var(--transition);
}

@media (max-width: 768px) {
    /* Navigation */
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        padding: 6rem 2rem 2rem;
        transition: right 0.3s ease;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        z-index: 98;
    }

    .nav-links.active {
        right: 0;
    }

    .glass-nav {
        justify-content: space-between;
    }

    .nav-cta {
        display: none;
    }

    /* Hero Sections */
    .hero, .about-hero, .genres-hero {
        padding: 100px 1rem 4rem;
        text-align: center;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .animated-title {
        font-size: 2.5rem !important;
    }

    .hero-subtitle {
        font-size: 1.2rem !important;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-visual {
        display: none;
    }

    /* Featured Books Section */
    .featured-grid {
        grid-template-columns: 1fr !important;
        padding: 1rem;
    }

    .featured-book.main {
        grid-column: span 1 !important;
    }

    .book-content {
        transform: translateY(0) !important;
    }

    .book-overlay {
        opacity: 1 !important;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2)) !important;
    }

    /* Book Details Page */
    .book-hero {
        grid-template-columns: 1fr !important;
        padding: 1rem;
        text-align: center;
    }

    .book-cover-3d {
        max-width: 280px !important;
        margin: 0 auto;
    }

    .book-info {
        text-align: center;
    }

    .book-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .book-meta {
        flex-direction: column;
        gap: 1rem;
    }

    /* Author Page */
    .author-profile-wrapper {
        grid-template-columns: 1fr !important;
        padding: 1rem;
        text-align: center;
    }

    .author-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .author-social-links {
        justify-content: center;
    }

    .timeline-content {
        width: 100% !important;
        margin: 0 !important;
        transform: none !important;
    }

    /* Genres Page */
    .genres-grid {
        grid-template-columns: 1fr !important;
        padding: 1rem;
    }

    .genre-card {
        max-width: 100%;
    }

    .spotlight-content {
        grid-template-columns: 1fr !important;
    }

    .spotlight-info {
        padding: 1.5rem;
    }

    .spotlight-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    /* About Page */
    .mission-content {
        grid-template-columns: 1fr !important;
        padding: 1rem;
    }

    .values-grid {
        grid-template-columns: 1fr !important;
    }

    .team-grid {
        grid-template-columns: 1fr !important;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr !important;
        padding: 1rem;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: 1fr !important;
    }

    /* General Responsive Adjustments */
    .section-title {
        font-size: 2rem !important;
    }

    .section-header {
        padding: 0 1rem;
    }

    /* Touch Optimizations */
    button, 
    .cta-button, 
    .read-more, 
    .explore-button {
        min-height: 44px;
        padding: 0.8rem 1.5rem;
    }

    /* Spacing Adjustments */
    section {
        padding: 4rem 1rem !important;
    }

    .grid {
        gap: 1.5rem !important;
    }

    /* Typography Adjustments */
    p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    h1 {
        font-size: 2.5rem !important;
    }

    h2 {
        font-size: 2rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }
}

/* Small Mobile Devices */
@media (max-width: 375px) {
    .animated-title {
        font-size: 2rem !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
    }

    .book-cover-3d {
        max-width: 220px !important;
    }

    .spotlight-stats {
        grid-template-columns: 1fr !important;
    }
}