/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6a1b9a;
    --secondary-color: #9c27b0;
    --accent-color: #e1bee7;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #1a1a2e;
    --bg-secondary: #f8f9fa;
    --border-radius: 15px;
    --shadow-light: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-medium: 0 8px 25px rgba(0,0,0,0.15);
    --shadow-heavy: 0 15px 35px rgba(0,0,0,0.2);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #4CA1AF 0%, #265B86 100%);
    min-height: 100vh;
}

/* Enhanced Navbar Styles */
.navbar {
    background: linear-gradient(135deg, #6a1b9a 0%, #9c27b0 100%) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(106, 27, 154, 0.4);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light) !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.navbar-brand i {
    font-size: 2rem;
    color: #ffd93d;
    animation: bookGlow 2s ease-in-out infinite;
}

@keyframes bookGlow {
    0%, 100% { filter: drop-shadow(0 0 5px rgba(255, 217, 61, 0.5)); }
    50% { filter: drop-shadow(0 0 15px rgba(255, 217, 61, 0.8)); }
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem !important;
    margin: 0 0.5rem;
    border-radius: 25px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.navbar-nav .nav-link:hover::before {
    left: 100%;
}

.navbar-nav .nav-link:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.navbar-toggler {
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 10px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.25);
}

/* Hero Section - Enhanced */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.magical-forest {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.forest-trees {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
}

.tree {
    position: absolute;
    bottom: 0;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 200px solid #2d5016;
}

.tree-1 { left: 10%; height: 180px; }
.tree-2 { left: 25%; height: 220px; }
.tree-3 { left: 45%; height: 200px; }
.tree-4 { left: 70%; height: 240px; }
.tree-5 { left: 85%; height: 190px; }

.night-sky {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #16213e 70%, #0f3460 100%);
}

.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #fff;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

.star-1 { top: 15%; left: 20%; animation-delay: 0s; }
.star-2 { top: 25%; left: 80%; animation-delay: 1s; }
.star-3 { top: 35%; left: 40%; animation-delay: 2s; }
.star-4 { top: 45%; left: 70%; animation-delay: 0.5s; }
.star-5 { top: 55%; left: 15%; animation-delay: 1.5s; }
.star-6 { top: 20%; left: 60%; animation-delay: 2.5s; }
.star-7 { top: 30%; left: 85%; animation-delay: 0.8s; }
.star-8 { top: 50%; left: 90%; animation-delay: 1.8s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

.moon {
    position: absolute;
    top: 10%;
    right: 15%;
    width: 60px;
    height: 60px;
    background: #ffd93d;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 217, 61, 0.6);
    animation: moonGlow 4s ease-in-out infinite;
}

@keyframes moonGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 217, 61, 0.6); }
    50% { box-shadow: 0 0 40px rgba(255, 217, 61, 0.8); }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-elements > div {
    position: absolute;
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
    opacity: 0.8;
}

.floating-fairy { top: 20%; left: 10%; animation-delay: 0s; }
.floating-star { top: 30%; right: 15%; animation-delay: 1s; }
.floating-book { top: 60%; left: 20%; animation-delay: 2s; }
.floating-magic { top: 40%; right: 25%; animation-delay: 3s; }
.floating-dragon { top: 70%; right: 10%; animation-delay: 4s; }

.magical-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffd93d;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle-1 { top: 30%; left: 15%; animation-delay: 0s; }
.particle-2 { top: 60%; left: 25%; animation-delay: 1s; }
.particle-3 { top: 40%; left: 75%; animation-delay: 2s; }
.particle-4 { top: 70%; left: 80%; animation-delay: 3s; }
.particle-5 { top: 20%; left: 65%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(-40px) rotate(0deg); }
    75% { transform: translateY(-20px) rotate(-5deg); }
}

/* Hero Content - Enhanced Layout */
.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    padding: 3rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #ffd93d, #ffb347, #ff8a65);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite;
    font-family: 'Playfair Display', serif;
}

@keyframes titleGlow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(255, 217, 61, 0.5)); }
    50% { filter: drop-shadow(0 0 25px rgba(255, 217, 61, 0.8)); }
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: #e1bee7;
    font-weight: 500;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: var(--shadow-medium);
    font-size: 1.1rem;
    border: none;
}

.hero-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.btn-primary {
    background: linear-gradient(135deg, #6a1b9a, #9c27b0);
    color: var(--text-light);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #9c27b0, #6a1b9a);
}

.btn-outline-light {
    background: transparent;
    border: 3px solid var(--text-light);
    color: var(--text-light);
}

.btn-outline-light:hover {
    background: var(--text-light);
    color: var(--primary-color);
}

/* Hero Book Display - Enhanced */
.hero-book-display {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
}

.book-showcase {
    position: relative;
    width: 100%;
    height: 500px;
}

.academy-scene {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.academy-building {
    position: relative;
    width: 300px;
    height: 200px;
}

.academy-towers {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.tower {
    position: absolute;
    bottom: 0;
    width: 40px;
    height: 80px;
    background: linear-gradient(135deg, #4a4a4a, #2d2d2d);
    border-radius: 5px 5px 0 0;
}

.tower-1 { left: 20px; height: 100px; }
.tower-2 { left: 130px; height: 120px; }
.tower-3 { right: 20px; height: 90px; }

.academy-windows {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
}

.window {
    position: absolute;
    width: 15px;
    height: 20px;
    background: #ffd93d;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 217, 61, 0.8);
    animation: windowGlow 3s ease-in-out infinite;
}

.window-1 { left: 30px; top: 10px; animation-delay: 0s; }
.window-2 { left: 80px; top: 15px; animation-delay: 1s; }
.window-3 { left: 140px; top: 8px; animation-delay: 2s; }
.window-4 { right: 80px; top: 12px; animation-delay: 0.5s; }
.window-5 { right: 30px; top: 18px; animation-delay: 1.5s; }

@keyframes windowGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 217, 61, 0.8); }
    50% { box-shadow: 0 0 20px rgba(255, 217, 61, 1); }
}

.academy-entrance {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.entrance-stairs {
    width: 120px;
    height: 20px;
    background: linear-gradient(135deg, #6b6b6b, #4a4a4a);
    border-radius: 5px;
}

.entrance-door {
    width: 40px;
    height: 60px;
    background: linear-gradient(135deg, #8b4513, #654321);
    border-radius: 5px 5px 0 0;
    margin: 0 auto;
}

.book-3d-wrapper {
    perspective: 1000px;
    position: relative;
    z-index: 2;
}

.book-3d {
    transform: rotateY(-15deg) rotateX(10deg);
    transition: var(--transition);
    position: relative;
}

.book-3d:hover {
    transform: rotateY(-5deg) rotateX(5deg) scale(1.05);
}

.featured-book-cover {
    width: 320px;
    height: 420px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow-heavy);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.book-shadow {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 25px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    filter: blur(15px);
}

.book-badge {
    position: absolute;
    top: -25px;
    right: -25px;
    background: linear-gradient(135deg, #6a1b9a, #9c27b0);
    color: var(--text-light);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: var(--shadow-medium);
    animation: pulse 2s infinite;
    font-size: 0.9rem;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-light);
    opacity: 0.8;
    animation: bounce 2s infinite;
    z-index: 3;
}

.scroll-arrow {
    width: 3px;
    height: 40px;
    background: var(--text-light);
    position: relative;
    border-radius: 2px;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 10px;
    height: 10px;
    border-right: 3px solid var(--text-light);
    border-bottom: 3px solid var(--text-light);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-8px); }
}

/* About Section - Enhanced Professional Design */
.about-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #6a1b9a 0%, #9c27b0 50%, #e1bee7 100%);
    position: relative;
    overflow: hidden;
    color: white;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="b" cx="50%" cy="50%"><stop offset="0%" stop-color="rgba(255, 217, 61, 0.1)"/><stop offset="100%" stop-color="rgba(255, 217, 61, 0)"/></radialGradient></defs><circle cx="20" cy="20" r="3" fill="url(%23b)"/><circle cx="80" cy="30" r="2" fill="url(%23b)"/><circle cx="40" cy="70" r="4" fill="url(%23b)"/></svg>');
    opacity: 0.8;
}

.about-section::after {
    content: '✨';
    position: absolute;
    top: 10%;
    right: 10%;
    font-size: 3rem;
    opacity: 0.3;
    animation: float 4s ease-in-out infinite;
}

.about-section .floating-element-1 {
    position: absolute;
    top: 20%;
    left: 5%;
    font-size: 2rem;
    opacity: 0.4;
    animation: float 6s ease-in-out infinite;
}

.about-section .floating-element-2 {
    position: absolute;
    bottom: 20%;
    right: 15%;
    font-size: 1.5rem;
    opacity: 0.3;
    animation: float 5s ease-in-out infinite reverse;
}

.about-content {
    padding-right: 3rem;
    padding-left: 3rem;
    position: relative;
    z-index: 2;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: white;
    opacity: 0.95;
}

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

.section-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffd93d, transparent);
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffd93d;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    text-align: center;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ffd93d, #ffb347);
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(255, 217, 61, 0.4);
}

.about-text .lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffd93d;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--secondary-color);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #ffd93d;
    margin-bottom: 0.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1rem;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 3rem;
    padding-right: 3rem;
    position: relative;
    z-index: 2;
}

.image-container {
    position: relative;
}

.author-photo {
    width: 400px;
    height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    position: relative;
    z-index: 2;
}

.image-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.decoration-circle {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border: 3px solid var(--secondary-color);
    border-radius: 50%;
    opacity: 0.3;
}

.decoration-dots {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 60px;
    height: 60px;
    background-image: radial-gradient(circle, var(--accent-color) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.5;
}

/* Books Section - Enhanced Professional Design */
.books-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #9c27b0 0%, #6a1b9a 50%, #4a148c 100%);
    position: relative;
    overflow: hidden;
    color: white;
}

.books-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="c" cx="50%" cy="50%"><stop offset="0%" stop-color="rgba(255, 217, 61, 0.15)"/><stop offset="100%" stop-color="rgba(255, 217, 61, 0)"/></radialGradient></defs><polygon points="50,10 60,40 90,40 65,60 75,90 50,70 25,90 35,60 10,40 40,40" fill="url(%23c)"/></svg>');
    opacity: 0.6;
}

.books-section::after {
    content: '📚';
    position: absolute;
    top: 15%;
    left: 8%;
    font-size: 2.5rem;
    opacity: 0.3;
    animation: float 5s ease-in-out infinite;
}

.books-section .floating-element-1 {
    position: absolute;
    top: 30%;
    right: 8%;
    font-size: 2rem;
    opacity: 0.4;
    animation: float 4s ease-in-out infinite reverse;
}

.books-section .floating-element-2 {
    position: absolute;
    bottom: 25%;
    left: 12%;
    font-size: 1.8rem;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.book-info {
    padding-right: 3rem;
    padding-left: 3rem;
    position: relative;
    z-index: 2;
}

.book-title {
    font-size: 3rem;
    color: #ffd93d;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Playfair Display', serif;
}

.section-subtitle {
    font-size: 1.3rem;
    color: #e1bee7;
    margin-bottom: 2rem;
    font-weight: 500;
    text-align: center;
}

.book-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.book-genre,
.book-age {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.book-genre:hover,
.book-age:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.book-description p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: white;
    opacity: 0.95;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.feature-item:hover::before {
    left: 100%;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
}

.feature-item i {
    color: #ffd93d;
    font-size: 1.4rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.feature-item span {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.purchase-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.purchase-btn {
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: var(--shadow-medium);
    font-size: 1.1rem;
    border: none;
}

.purchase-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.btn-primary {
    background: linear-gradient(135deg, #6a1b9a, #9c27b0);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #9c27b0, #6a1b9a);
    transform: translateY(-5px);
}

.btn-outline-primary {
    background: transparent;
    border: 3px solid #6a1b9a;
    color: #6a1b9a;
}

.btn-outline-primary:hover {
    background: #6a1b9a;
    color: white;
    transform: translateY(-5px);
}

.book-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 3rem;
    padding-right: 3rem;
    position: relative;
    z-index: 2;
}

.book-showcase-large {
    position: relative;
}

.book-3d-large {
    perspective: 1000px;
}

.book-3d-large .book-cover-large {
    width: 350px;
    height: 450px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow-heavy);
    transform: rotateY(-20deg) rotateX(15deg);
    transition: var(--transition);
}

.book-3d-large:hover .book-cover-large {
    transform: rotateY(-10deg) rotateX(10deg) scale(1.05);
}

.book-shadow-large {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 30px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    filter: blur(15px);
}

.floating-elements-book > div {
    position: absolute;
    font-size: 1.5rem;
    animation: float 4s ease-in-out infinite;
}

.floating-sparkle { top: 20%; left: 10%; animation-delay: 0s; }
.floating-star-book { top: 60%; right: 20%; animation-delay: 1s; }
.floating-heart { top: 40%; left: 20%; animation-delay: 2s; }

/* Reviews Section - Enhanced Professional Design */
.reviews-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #e1bee7 0%, #ce93d8 50%, #ba68c8 100%);
    position: relative;
    overflow: hidden;
    color: white;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="d" cx="50%" cy="50%"><stop offset="0%" stop-color="rgba(255, 217, 61, 0.15)"/><stop offset="100%" stop-color="rgba(255, 217, 61, 0)"/></radialGradient></defs><circle cx="25" cy="25" r="2" fill="url(%23d)"/><circle cx="75" cy="25" r="2" fill="url(%23d)"/><circle cx="50" cy="75" r="2" fill="url(%23d)"/></svg>');
    opacity: 0.6;
}

.reviews-section::after {
    content: '⭐';
    position: absolute;
    top: 10%;
    right: 10%;
    font-size: 3rem;
    opacity: 0.3;
    animation: float 4s ease-in-out infinite;
}

.reviews-section .floating-element-1 {
    position: absolute;
    top: 25%;
    left: 8%;
    font-size: 2rem;
    opacity: 0.4;
    animation: float 5s ease-in-out infinite;
}

.reviews-section .floating-element-2 {
    position: absolute;
    bottom: 20%;
    right: 15%;
    font-size: 1.8rem;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite reverse;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
    gap: 2rem;
    margin-top: 3rem;
    padding-left: 3rem;
    padding-right: 3rem;
    position: relative;
    z-index: 2;
}

.review-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.review-card:hover::before {
    left: 100%;
}

.review-card .quote-mark {
    content: '"';
    position: absolute;
    top: -15px;
    left: 25px;
    font-size: 5rem;
    color: #ffd93d;
    opacity: 0.4;
    font-family: 'Playfair Display', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: #ffd93d;
    background: rgba(255, 255, 255, 0.15);
}

.review-header {
    margin-bottom: 1.5rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    font-size: 2.5rem;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-light);
}

.reviewer-details h4 {
    margin-bottom: 0.8rem;
    color: #ffd93d;
    font-weight: 700;
    font-size: 1.3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.stars {
    color: #ffd93d;
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.review-text {
    font-style: italic;
    line-height: 1.8;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Newsletter Section */
.newsletter-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="e" cx="50%" cy="50%"><stop offset="0%" stop-color="rgba(255, 255, 255, 0.1)"/><stop offset="100%" stop-color="rgba(255, 255, 255, 0)"/></radialGradient></defs><path d="M20,50 Q50,20 80,50 T20,50" fill="url(%23e)"/></svg>');
    opacity: 0.3;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    padding-left: 3rem;
    padding-right: 3rem;
    position: relative;
    z-index: 2;
}

.newsletter-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form .input-group {
    box-shadow: var(--shadow-medium);
    border-radius: 50px;
    overflow: hidden;
}

.newsletter-form .form-control {
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
}

.newsletter-form .btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 0 50px 50px 0;
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="f" cx="50%" cy="50%"><stop offset="0%" stop-color="rgba(106, 76, 147, 0.08)"/><stop offset="100%" stop-color="rgba(106, 76, 147, 0)"/></radialGradient></defs><rect x="20" y="20" width="60" height="60" rx="10" fill="url(%23f)"/></svg>');
    opacity: 0.4;
}

.contact-info {
    padding-right: 3rem;
    padding-left: 3rem;
    position: relative;
    z-index: 2;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 2px solid transparent;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.contact-details h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    color: white;
}

.contact-form {
    padding-left: 3rem;
    padding-right: 3rem;
    position: relative;
    z-index: 2;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    border: 2px solid var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 1rem;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(106, 76, 147, 0.25);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="g" cx="50%" cy="50%"><stop offset="0%" stop-color="rgba(255, 217, 61, 0.1)"/><stop offset="100%" stop-color="rgba(255, 217, 61, 0)"/></radialGradient></defs><polygon points="50,10 60,40 90,40 65,60 75,90 50,70 25,90 35,60 10,40 40,40" fill="url(%23g)"/></svg>');
    opacity: 0.3;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    padding-left: 3rem;
    padding-right: 3rem;
    position: relative;
    z-index: 2;
}

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

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

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

.social-links-footer {
    display: flex;
    gap: 1rem;
}

.social-links-footer a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-links-footer a:hover {
    background: var(--accent-color);
    color: var(--text-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
    padding-left: 3rem;
    padding-right: 3rem;
    position: relative;
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(74, 20, 140, 0.95);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .main-content {
        margin: 1rem;
    }

    .section {
        padding: 2rem 1rem;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-input {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Wolf Howl Animation */
.wolf-howl {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    z-index: 10000;
    animation: howlEffect 2s ease-out;
    pointer-events: none;
}

@keyframes howlEffect {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); }
}

/* Purchase Buttons */
.purchase-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    margin-left: 5px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.purchase-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(45deg, #8e44ad, #9b59b6);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(142, 68, 173, 0.4);
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.3);
    font-family: 'Nunito', sans-serif;
}

.purchase-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(142, 68, 173, 0.6);
    background: linear-gradient(45deg, #9b59b6, #8e44ad);
}

.amazon-btn {
    background: linear-gradient(45deg, #8e44ad, #9b59b6);
    box-shadow: 0 8px 25px rgba(142, 68, 173, 0.4);
}

.amazon-btn:hover {
    background: linear-gradient(45deg, #9b59b6, #8e44ad);
    box-shadow: 0 12px 35px rgba(142, 68, 173, 0.6);
}

.bn-btn {
    background: linear-gradient(45deg, #8e44ad, #9b59b6);
    box-shadow: 0 8px 25px rgba(142, 68, 173, 0.4);
}

.bn-btn:hover {
    background: linear-gradient(45deg, #9b59b6, #8e44ad);
    box-shadow: 0 12px 35px rgba(142, 68, 173, 0.6);
}

.amazon-icon {
    font-size: 1.2rem;
}

.btn-text {
    font-weight: 600;
}

/* Responsive design for purchase buttons */
@media (max-width: 768px) {
    .purchase-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .purchase-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}