/* Beautiful CSS for Priyanka Sharma's Author Website */

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

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #e94560;
    --accent-color: #40e0d0;
    --light-color: #f8f9ff;
    --dark-color: #16213e;
    --text-color: #2c3e50;
    --border-color: #e1e8ed;
    --shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    --gradient: linear-gradient(135deg, #40e0d0 0%, #00ff7f 50%, #7fffd4 100%);
    --hero-gradient: linear-gradient(-45deg, #40e0d0, #00ff7f, #20b2aa, #7fffd4, #00ced1, #5f9ea0, #48d1cc);
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
    --cosmic-gradient: linear-gradient(45deg, #0f1a1a, #1a2f2f, #0d1f1f, #0f1a1a);
    --aurora-gradient: linear-gradient(135deg, #40e0d0 0%, #00ff7f 25%, #7fffd4 50%, #20b2aa 75%, #00ced1 100%);
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    scroll-behavior: smooth;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f4f8 50%, #f0f8ff 100%);
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header:hover {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0;
    font-weight: 700;
    transition: all 0.3s ease;
}

.logo:hover h2 {
    transform: scale(1.05);
}

.logo span {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 300;
    font-style: italic;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--cosmic-gradient);
    background-size: 600% 600%;
    animation: gradientShift 20s ease infinite;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

/* Enhanced background layers with cosmic theme */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(64,224,208,0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0,255,127,0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 100%, rgba(127,255,212,0.1) 0%, transparent 60%),
        radial-gradient(circle at 20% 80%, rgba(32,178,170,0.08) 0%, transparent 40%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="white" opacity="0.3"/><circle cx="75" cy="45" r="1" fill="white" opacity="0.4"/><circle cx="50" cy="70" r="1.5" fill="white" opacity="0.35"/><circle cx="90" cy="90" r="1" fill="white" opacity="0.25"/><circle cx="10" cy="60" r="1" fill="white" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    animation: floatBackground 25s ease-in-out infinite;
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.08) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%),
        linear-gradient(135deg, transparent 40%, rgba(255,215,0,0.03) 60%, transparent 80%);
    animation: shimmerOverlay 12s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes floatBackground {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1); 
        opacity: 0.8;
    }
    25% { 
        transform: translateY(-30px) rotate(3deg) scale(1.08); 
        opacity: 1;
    }
    50% { 
        transform: translateY(-15px) rotate(-2deg) scale(1.15); 
        opacity: 0.9;
    }
    75% { 
        transform: translateY(-25px) rotate(1deg) scale(1.05); 
        opacity: 0.95;
    }
}

/* Add magical glow effect */
.hero-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: pulseGlow 6s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes pulseGlow {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.3;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.7;
    }
}

@keyframes shimmerOverlay {
    0%, 100% { 
        opacity: 0.2;
        transform: translateX(-200%) translateY(-200%) rotate(45deg) scale(0.8);
    }
    25% {
        opacity: 0.5;
        transform: translateX(-50%) translateY(-50%) rotate(45deg) scale(1);
    }
    50% { 
        opacity: 0.8;
        transform: translateX(50%) translateY(50%) rotate(45deg) scale(1.2);
    }
    75% {
        opacity: 0.6;
        transform: translateX(150%) translateY(150%) rotate(45deg) scale(1);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
    animation: slideInLeft 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px) translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

.highlight {
    background: linear-gradient(135deg, var(--accent-color) 0%, #ffeaa7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    font-weight: 800;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ffeaa7 100%);
    border-radius: 2px;
    opacity: 0.6;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 300;
    animation: slideInLeft 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: slideInLeft 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.btn::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;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #fd79a8 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.4);
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #fd79a8 0%, var(--secondary-color) 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(233, 69, 96, 0.6);
}

.btn-secondary {
    background: var(--glass-bg);
    color: white;
    border: 2px solid var(--glass-border);
    backdrop-filter: blur(20px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3);
}

.hero-image {
    text-align: center;
    position: relative;
    animation: slideInRight 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px) translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

.author-image {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.author-image:hover {
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.4), 0 0 50px rgba(245, 175, 25, 0.3);
    border-color: var(--accent-color);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent-color), transparent, var(--secondary-color), transparent);
    z-index: -1;
    animation: rotate 8s linear infinite;
    opacity: 0.7;
}

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

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
}

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

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-divider {
    width: 100px;
    height: 3px;
    background: var(--secondary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about {
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(248, 249, 255, 0.95) 0%, rgba(248, 249, 255, 0.9) 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(64,224,208,0.08) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(0,255,127,0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.about::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 60 60"><defs><pattern id="aboutPattern" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="1" fill="rgba(26,26,46,0.05)"/><circle cx="0" cy="0" r="1" fill="rgba(233,69,96,0.03)"/><circle cx="60" cy="60" r="1" fill="rgba(245,175,25,0.03)"/></pattern></defs><rect width="60" height="60" fill="url(%23aboutPattern)"/></svg>');
    opacity: 0.6;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    flex: 1;
    transition: transform 0.3s ease;
}

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

.stat h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-color);
    font-weight: 600;
}

.about-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

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

.author-qualities {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.quality {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.quality i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Featured Book Section */
.featured-book {
    padding: 120px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    position: relative;
    overflow: hidden;
}

.featured-book::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(233,69,96,0.05) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

.featured-book::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(245,175,25,0.05) 0%, transparent 50%);
    animation: rotate 25s linear infinite reverse;
}

.book-showcase {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.book-cover {
    text-align: center;
    position: relative;
}

.book-3d {
    perspective: 1200px;
    display: inline-block;
    position: relative;
}

.book-3d::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, 
        rgba(233,69,96,0.1) 0%, 
        transparent 25%, 
        rgba(245,175,25,0.1) 50%, 
        transparent 75%, 
        rgba(233,69,96,0.1) 100%);
    border-radius: 20px;
    z-index: -1;
    filter: blur(20px);
    animation: pulse 3s ease-in-out infinite;
}

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

.book-3d img {
    width: 320px;
    height: 480px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: rotateY(-15deg) rotateX(5deg);
    position: relative;
}

.book-3d:hover img {
    transform: rotateY(0deg) rotateX(0deg) scale(1.08);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(233, 69, 96, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.book-details h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.book-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-style: italic;
    margin-bottom: 2rem;
}

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

.book-features {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--light-color);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

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

.feature i {
    color: var(--secondary-color);
}

.book-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Coming Soon Section */
.coming-soon {
    padding: 120px 0;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.coming-soon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(64,224,208,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0,255,127,0.08) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

.coming-soon .section-header h2 {
    color: white;
}

.coming-soon .section-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
    margin-top: 1rem;
    font-style: italic;
}

.coming-soon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 4rem;
    justify-content: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.upcoming-book {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.upcoming-book::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.6s ease;
}

.upcoming-book:hover::before {
    left: 100%;
}

.upcoming-book:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.2);
}

.book-cover-placeholder {
    width: 150px;
    height: 225px;
    margin: 0 auto 1.5rem;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.book-cover-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.upcoming-book:hover .book-cover-placeholder img {
    transform: scale(1.05);
}

.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.upcoming-book:hover .coming-soon-overlay {
    opacity: 0.8;
}

.coming-soon-overlay i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
    animation: pulse 2s infinite;
}

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

.book-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
    text-align: center;
}

.book-info .genre {
    color: var(--accent-color);
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.book-info .description {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 0.95rem;
}

.release-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.release-date {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.notify-btn {
    background: transparent;
    color: white;
    border: 2px solid var(--accent-color);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.notify-btn:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,215,0,0.3);
}

.notify-btn i {
    margin-right: 0.5rem;
}

/* Reviews Section */
.reviews {
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(248, 249, 255, 0.95) 0%, rgba(248, 249, 255, 0.9) 100%);
    position: relative;
}

.reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(32,178,170,0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(127,255,212,0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

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

.review-card {
    background: linear-gradient(135deg, #ffffff 0%, rgba(248, 249, 255, 0.8) 100%);
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 1px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

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

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

.review-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 10px 20px rgba(233, 69, 96, 0.1);
    border-color: rgba(233, 69, 96, 0.2);
}

.stars {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.review-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.reviewer strong {
    color: var(--primary-color);
    display: block;
}

.reviewer span {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-methods {
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateX(5px);
}

.contact-method i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    width: 20px;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-form {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.newsletter {
    display: flex;
    margin-top: 1rem;
}

.newsletter input {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 5px 0 0 5px;
}

.newsletter button {
    padding: 0.8rem 1.5rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter button:hover {
    background: #c0392b;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .about-content,
    .book-showcase,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .author-qualities {
        justify-content: center;
    }
    
    .book-features {
        justify-content: center;
    }
    
    .hero-buttons,
    .book-actions {
        justify-content: center;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .author-image {
        width: 280px;
        height: 280px;
    }
    
    .book-3d img {
        width: 280px;
        height: 420px;
    }
    
    .coming-soon-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .upcoming-book {
        padding: 1.5rem;
    }
    
    .release-info {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .author-image {
        width: 250px;
        height: 250px;
    }
    
    .book-3d img {
        width: 250px;
        height: 375px;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
}

/* Selection styling */
::selection {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: white;
}

::-moz-selection {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: white;
}
