/* ================================
   Vibrant Bold Theme - Author Website
   ================================ */

/* CSS Variables */
:root {
    /* Vibrant Color Palette */
    --color-primary: #0066ff;        /* Electric Blue */
    --color-secondary: #ff0066;       /* Hot Pink */
    --color-accent: #00ff66;          /* Neon Green */
    --color-warning: #ffaa00;         /* Bright Orange */
    
    /* Background Colors */
    --color-bg: #ffffff;              /* Pure White */
    --color-bg-secondary: #f8f9ff;    /* Light Blue Tint */
    --color-bg-tertiary: #fff0f5;     /* Light Pink Tint */
    
    /* Text Colors */
    --color-text: #000000;            /* Pure Black */
    --color-text-secondary: #333333;  /* Dark Gray */
    --color-text-light: #666666;      /* Medium Gray */
    
    /* Borders & Shadows */
    --color-border: #e0e0e0;          /* Light Gray */
    --color-border-bold: #0066ff;      /* Electric Blue Border */
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-display: 'Montserrat', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-xxl: 4rem;
    
    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 102, 255, 0.1);
    --shadow-md: 0 8px 16px rgba(0, 102, 255, 0.15);
    --shadow-lg: 0 16px 32px rgba(0, 102, 255, 0.2);
    --shadow-bold: 0 8px 24px rgba(255, 0, 102, 0.3);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Montserrat:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    font-weight: 400;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-lg);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
}

p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: var(--space-md);
    color: var(--color-text-secondary);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Header */
.header {
    background: var(--color-bg);
    border-bottom: 3px solid var(--color-primary);
    padding: var(--space-lg) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--color-primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
}

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--color-bg-secondary) 0%, var(--color-bg-tertiary) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    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><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%230066ff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ff0066" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%2300ff66" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23ffaa00" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

/* ===== ANIMATED PARTICLES ===== */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    animation: particleFloat 6s ease-in-out infinite, particleGlow 3s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.7), 0 0 25px rgba(255, 0, 102, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(1px);
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
    background: linear-gradient(135deg, #ff0066, #ffaa00);
    width: 12px;
    height: 12px;
}

.particle:nth-child(2) {
    top: 30%;
    left: 80%;
    animation-delay: 1s;
    animation-duration: 7s;
    background: linear-gradient(135deg, #00ff66, #0066ff);
    width: 8px;
    height: 8px;
}

.particle:nth-child(3) {
    top: 60%;
    left: 20%;
    animation-delay: 2s;
    animation-duration: 9s;
    background: linear-gradient(135deg, #ffaa00, #ff0066);
    width: 14px;
    height: 14px;
}

.particle:nth-child(4) {
    top: 70%;
    left: 70%;
    animation-delay: 3s;
    animation-duration: 6s;
    background: linear-gradient(135deg, #0066ff, #00ff66);
    width: 9px;
    height: 9px;
}

.particle:nth-child(5) {
    top: 40%;
    left: 50%;
    animation-delay: 4s;
    animation-duration: 8s;
    background: linear-gradient(135deg, #ff0066, #00ff66);
    width: 11px;
    height: 11px;
}

.particle:nth-child(6) {
    top: 80%;
    left: 30%;
    animation-delay: 5s;
    animation-duration: 7s;
    background: linear-gradient(135deg, #00ff66, #ffaa00);
    width: 13px;
    height: 13px;
}

.particle:nth-child(7) {
    top: 10%;
    left: 60%;
    animation-delay: 6s;
    animation-duration: 9s;
    background: linear-gradient(135deg, #ffaa00, #0066ff);
    width: 7px;
    height: 7px;
}

.particle:nth-child(8) {
    top: 50%;
    left: 90%;
    animation-delay: 7s;
    animation-duration: 6s;
    background: linear-gradient(135deg, #0066ff, #ff0066);
    width: 10px;
    height: 10px;
}

.particle:nth-child(9) {
    top: 90%;
    left: 60%;
    animation-delay: 8s;
    animation-duration: 8s;
    background: linear-gradient(135deg, #ff0066, #ffaa00);
    width: 12px;
    height: 12px;
}

.particle:nth-child(10) {
    top: 15%;
    left: 40%;
    animation-delay: 9s;
    animation-duration: 7s;
    background: linear-gradient(135deg, #00ff66, #ff0066);
    width: 8px;
    height: 8px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.author-name {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% { filter: drop-shadow(0 0 10px rgba(0, 102, 255, 0.3)); }
    100% { filter: drop-shadow(0 0 20px rgba(255, 0, 102, 0.4)); }
}

/* ===== NEW ANIMATIONS ===== */
@keyframes particleFloat {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) scale(1) rotate(0deg);
        opacity: 0.9;
        filter: hue-rotate(0deg);
    }
    25% { 
        transform: translateY(-30px) translateX(15px) scale(1.3) rotate(90deg);
        opacity: 1;
        filter: hue-rotate(90deg);
    }
    50% { 
        transform: translateY(-15px) translateX(-20px) scale(0.9) rotate(180deg);
        opacity: 0.8;
        filter: hue-rotate(180deg);
    }
    75% { 
        transform: translateY(-40px) translateX(8px) scale(1.2) rotate(270deg);
        opacity: 1;
        filter: hue-rotate(270deg);
    }
}

@keyframes particleGlow {
    0%, 100% { 
        box-shadow: 0 0 10px rgba(0, 102, 255, 0.6), 0 0 20px rgba(255, 0, 102, 0.4);
    }
    50% { 
        box-shadow: 0 0 20px rgba(0, 102, 255, 0.8), 0 0 30px rgba(255, 0, 102, 0.6), 0 0 40px rgba(0, 255, 102, 0.4);
    }
}

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

@keyframes footerFloat {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) scale(1) rotate(0deg);
        opacity: 0.8;
        filter: hue-rotate(0deg);
    }
    25% { 
        transform: translateY(-15px) translateX(10px) scale(1.1) rotate(90deg);
        opacity: 1;
        filter: hue-rotate(90deg);
    }
    50% { 
        transform: translateY(-8px) translateX(-12px) scale(0.9) rotate(180deg);
        opacity: 0.9;
        filter: hue-rotate(180deg);
    }
    75% { 
        transform: translateY(-20px) translateX(6px) scale(1.05) rotate(270deg);
        opacity: 1;
        filter: hue-rotate(270deg);
    }
}

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

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll-left.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-on-scroll-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll-right.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-on-scroll-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll-scale.animated {
    opacity: 1;
    transform: scale(1);
}

/* ===== BOOK CARD FLIP EFFECTS ===== */
.book-card {
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.book-card:hover {
    transform: translateY(-10px) rotateY(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.book-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(255, 0, 102, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.book-card:hover::before {
    opacity: 1;
}

.book-card-content {
    position: relative;
    z-index: 2;
}

/* ===== GLASSMORPHISM FOOTER ===== */
.footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(255, 0, 102, 0.1));
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
}

/* ===== FOOTER FLOATING ELEMENTS ===== */
.footer-float-element {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: footerFloat 8s ease-in-out infinite;
}

.footer-float-element:nth-child(1) {
    animation-delay: 0s;
}

.footer-float-element:nth-child(2) {
    animation-delay: 2s;
}

.footer-float-element:nth-child(3) {
    animation-delay: 4s;
}

.footer-float-element:nth-child(4) {
    animation-delay: 6s;
}

.footer-float-element:nth-child(5) {
    animation-delay: 8s;
}

/* ===== SMOOTH PAGE TRANSITIONS ===== */
.page-transition {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.page-transition.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* ===== ENHANCED BUTTONS ===== */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

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

.btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.tagline {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
    font-style: italic;
}

.hero-cta {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-xl);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: var(--transition-bounce);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition-smooth);
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-bold);
}

.btn-secondary {
    background: var(--color-bg);
    color: var(--color-primary);
    border: 3px solid var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: var(--space-lg) var(--space-xxl);
    font-size: 1.2rem;
    font-weight: 700;
}

.btn-sm {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
}

/* Sections */
.section {
    padding: var(--space-xxl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-xxl);
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    z-index: -1;
}

.section-title h2 {
    background: var(--color-bg);
    padding: 0 var(--space-lg);
    display: inline-block;
}

/* About Section */
.about-section {
    background: var(--color-bg-secondary);
    border-radius: var(--radius-xl);
    padding: var(--space-xxl);
    margin: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-accent));
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-xxl);
    align-items: center;
}

.author-photo-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.author-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid var(--color-primary);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-bounce);
    position: relative;
}

.author-photo:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: var(--shadow-bold);
    border-color: var(--color-secondary);
}

.author-photo-placeholder {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    color: white;
    border: 6px solid var(--color-primary);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-bounce);
}

.author-photo-placeholder:hover {
    transform: scale(1.05) rotate(-5deg);
    box-shadow: var(--shadow-bold);
    border-color: var(--color-secondary);
}

.bio-content h3 {
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.bio-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

/* Books Section */
.books-section {
    background: var(--color-bg-tertiary);
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.book-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    border: 3px solid transparent;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.book-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.book-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-bold);
}

.book-content {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.book-cover-wrapper {
    position: relative;
    flex-shrink: 0;
    width: 120px;
    height: 180px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-bg-secondary);
    border: 3px solid var(--color-border);
}

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

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

.book-cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    padding: var(--space-sm);
}

.book-info h3 {
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
    font-size: 1.3rem;
}

.book-meta {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
    font-weight: 500;
}

.book-description {
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.book-buy-links {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.book-buy-links .btn {
    font-size: 0.8rem;
    padding: var(--space-xs) var(--space-sm);
}

/* Hobbies Section */
.hobbies-section {
    background: var(--color-bg-secondary);
}

.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.hobby-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 3px solid transparent;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.hobby-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-warning));
}

.hobby-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-bold);
}

.hobby-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    background: linear-gradient(135deg, var(--color-accent), var(--color-warning));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: var(--transition-bounce);
}

.hobby-card:hover .hobby-icon {
    transform: scale(1.1) rotate(10deg);
}

.hobby-card h3 {
    color: var(--color-primary);
    margin-bottom: var(--space-md);
    font-size: 1.4rem;
}

.hobby-card p {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    background: var(--color-bg-tertiary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xxl);
    margin-top: var(--space-xl);
}

.contact-info {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    border: 3px solid var(--color-primary);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    background: var(--color-bg-secondary);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.contact-item:hover {
    background: var(--color-primary);
    color: white;
    transform: translateX(8px);
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-form-wrapper {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    border: 3px solid var(--color-secondary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-group label {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    padding: var(--space-md);
    border: 3px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
    background: var(--color-bg-secondary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-bg);
    box-shadow: var(--shadow-sm);
}

/* Footer */
.footer {
    background: var(--color-text);
    color: white;
    padding: var(--space-xxl) 0 var(--space-lg);
    text-align: center;
}

.footer-content {
    margin-bottom: var(--space-xl);
}

.footer h3 {
    color: white;
    margin-bottom: var(--space-lg);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.social-link {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    transition: var(--transition-bounce);
    border: 3px solid transparent;
}

.social-link:hover {
    background: var(--color-secondary);
    transform: scale(1.1) rotate(10deg);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-bold);
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .nav {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-sm);
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .author-photo,
    .author-photo-placeholder {
        width: 200px;
        height: 200px;
    }
    
    .books-grid {
        grid-template-columns: 1fr;
    }
    
    .book-content {
        flex-direction: column;
        text-align: center;
    }
    
    .book-cover-wrapper {
        width: 150px;
        height: 225px;
        margin: 0 auto;
    }
    
    .hobbies-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: var(--space-xl) 0;
    }
    
    .section {
        padding: var(--space-xl) 0;
    }
    
    .about-section,
    .book-card,
    .hobby-card,
    .contact-info,
    .contact-form-wrapper {
        padding: var(--space-lg);
    }
    
    .btn-lg {
        padding: var(--space-md) var(--space-lg);
        font-size: 1rem;
    }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
