/* Global Styles */
:root {
    --red-primary: #DC143C;
    --red-dark: #8B0000;
    --red-light: #FF6B6B;
    --gold: #FFD700;
    --purple: #9370DB;
    --blue: #4169E1;
    --yellow: #FFC107;
    --dark: #1a1a1a;
    --light: #f8f8f8;
    --text-primary: #333;
    --text-light: #666;
    --gradient-red: linear-gradient(135deg, #8B0000 0%, #DC143C 50%, #FF6B6B 100%);
    --gradient-oz: linear-gradient(45deg, #4169E1, #DC143C, #FFC107, #9370DB);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    background: var(--light);
}

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

/* Typography */
h1, h2, h3 {
    font-family: 'Cinzel Decorative', 'Cinzel', serif;
    font-weight: 600;
}

.title-author {
    display: block;
    font-family: 'Crimson Text', serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin-top: 1rem;
    color: var(--gold);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.footer-credits {
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
    margin-top: 0.5rem;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-red);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: var(--gradient-red);
    margin: 1rem auto;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.brick-path {
    display: flex;
    gap: 10px;
}

.brick {
    width: 40px;
    height: 20px;
    background: var(--red-primary);
    border-radius: 3px;
    animation: pulse 1.5s infinite;
}

.brick:nth-child(2) {
    animation-delay: 0.2s;
}

.brick:nth-child(3) {
    animation-delay: 0.4s;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(26, 26, 26, 0.98);
}

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

.logo-text {
    font-family: 'Cinzel Decorative', 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--red-light);
    font-weight: 600;
}

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

.nav-link {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red-primary);
    transition: width 0.3s;
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background: var(--light);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1b1b 100%);
    overflow: hidden;
}

/* Hero with video background */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.7;
    animation: fadeIn 1.5s ease-in;
    object-fit: cover;
}

/* Fallback to GIF when video doesn't load */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/website/red_brick_road.gif?v=2');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.7;
    z-index: -1; /* Behind video */
    /* Smooth loading transition */
    animation: fadeIn 1.5s ease-in;
}

/* Fade in animation for smooth GIF loading */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.7;
    }
}

/* Dark overlay for text readability */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(26, 26, 26, 0.3) 0%, 
        rgba(26, 26, 26, 0.6) 50%, 
        rgba(26, 26, 26, 0.8) 100%);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

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

.floating-key,
.floating-gear,
.floating-moth {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--red-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.floating-key {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-gear {
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

.floating-moth {
    bottom: 30%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) translateX(20px) rotate(120deg);
    }
    66% {
        transform: translateY(20px) translateX(-20px) rotate(240deg);
    }
}

.hero-content {
    text-align: center;
    z-index: 2;
    color: var(--light);
    position: relative;
}

.hero-title {
    margin-bottom: 2rem;
}

.title-line {
    display: block;
    font-size: 2rem;
    font-weight: 300;
    opacity: 0.8;
}

.title-main {
    display: block;
    font-size: 5rem;
    font-weight: 900;
    /* Red fill with teal outline to match book cover */
    color: #DC143C;
    -webkit-text-stroke: 2px #00CED1;
    text-stroke: 2px #00CED1;
    /* Add depth with shadows */
    text-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(220, 20, 60, 0.4);
    margin: 1rem 0;
}

.title-sub {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    /* Match the main title styling */
    font-family: 'Cinzel Decorative', 'Bungee', serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    /* Red fill with teal outline to match book cover */
    color: #DC143C;
    -webkit-text-stroke: 1.5px #00CED1;
    text-stroke: 1.5px #00CED1;
    /* Slightly smaller shadows for subtitle */
    text-shadow: 
        3px 3px 6px rgba(0, 0, 0, 0.8),
        0 0 15px rgba(220, 20, 60, 0.4);
}

.hero-tagline {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-announcement {
    text-align: center;
    margin-top: 1rem;
}

.announcement-badge {
    display: inline-block;
    background: var(--gradient-red);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(220, 20, 60, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(220, 20, 60, 0.8);
    }
}

.hero-announcement p {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gradient-red);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--red-primary);
}

.btn-secondary:hover {
    background: var(--red-primary);
    color: white;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

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

.mouse::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: var(--red-light);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 10px;
    }
    100% {
        opacity: 0;
        top: 30px;
    }
}

/* Story Section */
.story-section {
    padding: 5rem 0;
    background: white;
}

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

.story-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(220, 20, 60, 0.2);
}

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

.story-card h3 {
    color: var(--red-dark);
    margin-bottom: 1rem;
}

/* Characters Section */
.characters-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
}

.character-carousel {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.character-card {
    position: absolute;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    text-align: center;
    opacity: 0;
    transform: translateX(100%) scale(0.8);
    transition: all 0.5s ease;
}

.character-card.active {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.character-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: var(--red-primary);
    background-size: cover;
    background-position: center;
    border: 3px solid var(--red-dark);
    box-shadow: 0 5px 20px rgba(139, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.character-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 30%, rgba(139, 0, 0, 0.2) 100%);
    pointer-events: none;
}

.character-card:hover .character-image {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.5);
    border-color: var(--red-light);
    transition: all 0.3s ease;
}

.pip-image {
    background-image: url('images/characters/pip.png');
}

.jack-image {
    background-image: url('images/characters/jack.png');
}

.tiktok-image {
    background-image: url('images/characters/tiktok.png');
}

.scraps-image {
    background-image: url('images/characters/scraps.png');
}

.billina-image {
    background-image: url('images/characters/billina.png');
}

.character-role {
    color: var(--red-primary);
    font-style: italic;
    margin-bottom: 1rem;
}

.character-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.char-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--red-primary);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
}

.char-btn.active {
    background: var(--red-primary);
    transform: scale(1.2);
}

/* World Section */
.world-section {
    padding: 5rem 0;
    background: var(--dark);
    color: var(--light);
}

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

.location-card {
    height: 300px;
    background: var(--gradient-red);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
    background-size: cover;
    background-position: center;
}

.location-card:nth-child(1) {
    background-image: url('images/locations/convergence.png');
}

.location-card:nth-child(2) {
    background-image: url('images/locations/garden-statues.png');
}

.location-card:nth-child(3) {
    background-image: url('images/locations/prism-plains.png');
}

.location-card:nth-child(4) {
    background-image: url('images/locations/crimson-citadel.png');
}

.location-card:hover {
    transform: scale(1.05);
}

.location-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.7));
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.location-overlay h3 {
    color: var(--light);
    margin-bottom: 0.5rem;
}

.location-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.location-card:hover .location-overlay {
    transform: translateY(0);
}

/* Excerpts Section */
.excerpts-section {
    padding: 5rem 0;
    background: white;
}

.excerpt-viewer {
    max-width: 800px;
    margin: 0 auto;
}

.chapter-select {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.chapter-btn {
    padding: 0.5rem 1.5rem;
    background: transparent;
    border: 2px solid var(--red-primary);
    color: var(--red-primary);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.chapter-btn.active {
    background: var(--red-primary);
    color: white;
}

.excerpt-content {
    background: #f8f8f8;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.excerpt-text {
    font-family: 'Crimson Text', serif;
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 2rem 0;
}

.chapter-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 1rem;
    text-align: center;
}

.teaser-notice {
    background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
    border: 2px solid var(--red-primary);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    text-align: center;
}

.teaser-text {
    font-size: 1rem;
    color: var(--red-dark);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.teaser-notice .btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

/* Media Section */
.media-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
}

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

.media-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.media-card h3 {
    color: var(--red-dark);
    margin-bottom: 1rem;
}

/* Reviews Section */
.reviews-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a0707 0%, #2a0a0a 100%);
    position: relative;
}

.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"><rect x="10" y="10" width="15" height="20" fill="%23ff0000" opacity="0.05"/><rect x="40" y="35" width="15" height="20" fill="%23ff0000" opacity="0.05" transform="rotate(45 47.5 45)"/><rect x="70" y="60" width="15" height="20" fill="%23ff0000" opacity="0.05" transform="rotate(-30 77.5 70)"/></svg>') repeat;
    opacity: 0.3;
}

.reviews-container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

/* Responsive adjustments for Goodreads widget */
@media (max-width: 768px) {
    #goodreads-widget {
        padding: 15px;
    }
    
    #goodreads-widget iframe {
        height: 350px;
    }
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: white;
}

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

.contact-form-container h3,
.contact-info h3 {
    color: var(--red-dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s;
}

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

.form-group textarea {
    resize: vertical;
}

.contact-intro {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Giveaway Section */
.giveaway-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe0e0 100%);
    position: relative;
    overflow: hidden;
}

.giveaway-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(220, 20, 60, 0.05) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.giveaway-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.giveaway-info h3 {
    font-size: 2rem;
    color: var(--red-dark);
    margin-bottom: 1rem;
    font-family: 'Cinzel Decorative', serif;
}

.giveaway-intro {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.giveaway-intro strong {
    color: var(--red-primary);
    font-weight: 600;
}

.giveaway-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.giveaway-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(220, 20, 60, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.giveaway-detail-item:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 20px rgba(220, 20, 60, 0.2);
}

.giveaway-icon {
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-red);
    border-radius: 50%;
    flex-shrink: 0;
}

.giveaway-detail-item h4 {
    font-size: 1.1rem;
    color: var(--red-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.giveaway-detail-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.giveaway-widget-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(220, 20, 60, 0.15);
}

.goodreadsGiveawayWidget {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.3s ease;
}

.goodreadsGiveawayWidget:hover {
    transform: scale(1.02);
}

.goodreadsGiveawayWidgetEnterLink {
    background: var(--gradient-red) !important;
    color: white !important;
    border: none !important;
    padding: 12px 30px !important;
    font-size: 16px !important;
    margin-top: 15px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.goodreadsGiveawayWidgetEnterLink:hover {
    background: var(--gradient-red) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.3) !important;
}

.giveaway-cta {
    text-align: center;
    margin-top: 3rem;
}

.giveaway-tagline {
    font-size: 1.3rem;
    color: var(--red-primary);
    font-style: italic;
    font-family: 'Crimson Text', serif;
}

/* Responsive Design for Giveaway Section */
@media (max-width: 768px) {
    .giveaway-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .giveaway-detail-item {
        flex-direction: column;
        text-align: center;
    }
    
    .giveaway-widget-container {
        padding: 1rem;
    }
    
    .goodreadsGiveawayWidget {
        transform: scale(0.9);
    }
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.contact-icon {
    font-size: 2rem;
    display: block;
    width: 50px;
    text-align: center;
}

.contact-item h4 {
    color: var(--red-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.social-connect {
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
}

.social-connect h4 {
    color: var(--red-dark);
    margin-bottom: 1rem;
}

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

.social-btn {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    font-weight: 500;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.social-btn.twitter {
    background: linear-gradient(135deg, #1DA1F2, #0d8bd9);
}

.social-btn.tiktok {
    background: linear-gradient(135deg, #ff0050, #00f2ea);
}

.social-btn.amazon {
    background: linear-gradient(135deg, #ff9900, #ff6600);
}

.social-btn.email {
    background: linear-gradient(135deg, #4285f4, #0f65ef);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--light);
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    color: var(--red-light);
    margin-bottom: 1rem;
}

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

.footer-section a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--red-light);
}

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

.social-link {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.social-link:hover {
    transform: scale(1.2);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .title-main {
        font-size: 3rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .story-grid,
    .location-grid,
    .media-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .social-buttons {
        grid-template-columns: 1fr;
    }
}

/* Book Cover Matching Typography */
.hero-title, 
.book-title {
    font-family: 'Cinzel Decorative', 'Bungee', serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    /* Red fill like the book cover */
    color: #DC143C;
    /* Teal/cyan outline like the book cover */
    -webkit-text-stroke: 2px #00CED1;
    text-stroke: 2px #00CED1;
    /* Add depth with shadows */
    text-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(220, 20, 60, 0.4);
}

/* Alternative book title style with outline effect */
.book-title-outline {
    font-family: 'Cinzel Decorative', serif;
    font-weight: 900;
    color: var(--red-primary);
    -webkit-text-stroke: 2px #00CED1;
    text-stroke: 2px #00CED1;
    text-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(220, 20, 60, 0.5);
}

/* Author name to match book cover */
.author-name {
    font-family: 'Bungee', 'Poppins', sans-serif;
    font-weight: 400;
    color: #00CED1;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Update navigation to be more bold */
.nav-links a {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Reedsy Badge in Hero Section */
.hero-reedsy-badge {
    margin-top: 1.5rem;
    animation: fadeInUp 1s ease 1.2s both;
}

.reedsy-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
    border: 2px solid var(--gold);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.reedsy-link:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 215, 0, 0.15));
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.reedsy-stars {
    font-size: 1.2rem;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.reedsy-text {
    color: var(--gold);
    font-weight: 500;
    font-size: 0.95rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Reedsy Professional Review Section */
.reedsy-review-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0505 50%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
}

.reedsy-review-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(220, 20, 60, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.reedsy-review-container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.reedsy-review-card {
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.95), rgba(20, 20, 20, 0.98));
    border: 2px solid var(--gold);
    border-radius: 20px;
    padding: 3rem;
    max-width: 800px;
    width: 100%;
    text-align: center;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(255, 215, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.reedsy-rating {
    margin-bottom: 2rem;
}

.reedsy-rating .stars {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.reedsy-rating .rating-text {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.2rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.reedsy-quote {
    font-family: 'Crimson Text', Georgia, serif;
    font-size: 1.6rem;
    font-style: italic;
    color: #f0f0f0;
    line-height: 1.6;
    margin: 1.5rem 0;
    padding: 0 2rem;
    position: relative;
}

.reedsy-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--red-primary);
    position: absolute;
    left: -10px;
    top: -20px;
    opacity: 0.5;
    font-family: Georgia, serif;
}

.reedsy-quote.secondary {
    font-size: 1.3rem;
    color: #ccc;
    border-left: 3px solid var(--red-primary);
    padding-left: 1.5rem;
    margin-left: 2rem;
    text-align: left;
}

.reedsy-quote.secondary::before {
    display: none;
}

.reedsy-reviewer {
    margin: 2rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.reviewer-name {
    display: block;
    font-size: 1.2rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.reviewer-source {
    display: block;
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.reedsy-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.highlight-icon {
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--gradient-red);
    border-radius: 50%;
    flex-shrink: 0;
}

.highlight-item p {
    color: #ddd;
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
}

.reedsy-cta {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--gold), #e6b800);
    color: #000 !important;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.reedsy-cta:hover {
    background: linear-gradient(135deg, #ffe44d, var(--gold));
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.reedsy-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.reedsy-upvote-btn {
    background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
    color: white !important;
    border: 2px solid var(--red-light);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: pulse-glow 2s ease-in-out infinite;
}

.reedsy-upvote-btn:hover {
    background: linear-gradient(135deg, var(--red-light), var(--red-primary));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.5);
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(220, 20, 60, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(220, 20, 60, 0.6);
    }
}

.upvote-help-text {
    color: #aaa;
    font-size: 0.95rem;
    margin-top: 1.5rem;
    font-style: italic;
}

/* Responsive Design for Reedsy Section */
@media (max-width: 768px) {
    .reedsy-review-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .reedsy-quote {
        font-size: 1.3rem;
        padding: 0 1rem;
    }

    .reedsy-quote.secondary {
        margin-left: 0;
        font-size: 1.1rem;
    }

    .reedsy-highlights {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .hero-reedsy-badge {
        margin-top: 1rem;
    }

    .reedsy-link {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem 1.25rem;
    }

    .reedsy-text {
        font-size: 0.85rem;
        text-align: center;
    }
}
