/* CSS Custom Properties */
:root {
    --primary-blue: #3063b5;
    --primary-blue-dark: #4a80cc;
    --primary-blue-darker: #3a6bb3;
    --primary-blue-rgba: rgba(100, 160, 255, 0.3);
    --primary-blue-rgba-light: rgba(100, 150, 255, 0.2);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #e0e0e0;
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Background Slideshow */
#slideshow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Fixed Navigation */
.fixed-navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(20, 20, 35, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(100, 150, 255, 0.2);
    z-index: 1000;
    padding: 15px 0;
    transition: transform 0.3s ease;
}

.fixed-navigation.nav-hidden {
    transform: translateY(-110%);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.nav-logo h1 {
    font-family: 'Orbitron', 'Exo 2', monospace;
    font-size: 1.8rem;
    color: var(--primary-blue);
    text-shadow: 0 0 20px var(--primary-blue-rgba);
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    width: 36px;
    height: 28px;
    position: relative;
    cursor: pointer;
}

.nav-toggle .bar {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: #e0e0e0;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle .bar:nth-child(1) { top: 3px; }
.nav-toggle .bar:nth-child(2) { top: 12px; }
.nav-toggle .bar:nth-child(3) { top: 21px; }

.nav-toggle.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.active .bar:nth-child(2) { opacity: 0; }
.nav-toggle.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 12px 24px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: block;
}

.nav-link:hover {
    color: var(--primary-blue);
    background: rgba(100, 150, 255, 0.1);
}

.nav-link.active {
    color: var(--primary-blue);
    background: rgba(100, 150, 255, 0.2);
    border: 1px solid rgba(100, 150, 255, 0.3);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 30px 50px;
    position: relative;
    overflow: hidden;
}

/* Hero Banner */
.hero-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.banner-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-slide.active {
    opacity: 1;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(1.0) contrast(1.0);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(20, 20, 35, 0.4) 0%,
        rgba(40, 40, 60, 0.3) 50%,
        rgba(20, 20, 35, 0.5) 100%
    );
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding: 60px 40px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-family: 'Orbitron', 'Exo 2', monospace;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    text-shadow: 
        0 0 20px var(--primary-blue-rgba),
        2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: 700;
    background: rgba(0, 0, 0, 0.4);
    padding: 0 0px;
    border-radius: 12px;
    border: 1px solid rgba(100, 150, 255, 0.3);
    backdrop-filter: blur(5px);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #e0e0e0;
    font-style: italic;
    margin-bottom: 30px;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.3),
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 6px rgba(0, 0, 0, 0.6);
    background: rgba(0, 0, 0, 0.4);
    padding: 15px 25px;
    border-radius: 10px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(3px);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    text-shadow: 
        0 0 8px rgba(255, 255, 255, 0.2),
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 6px rgba(0, 0, 0, 0.6);
    background: rgba(0, 0, 0, 0.4);
    padding: 25px 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(3px);
    color: #e0e0e0;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    color: white;
    text-decoration: none;
    padding: 18px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 25px rgba(100, 160, 255, 0.4),
        0 0 20px rgba(100, 160, 255, 0.3),
        2px 2px 4px rgba(0, 0, 0, 0.6);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue-darker));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(100, 160, 255, 0.4);
}

/* Sections */
.section {
    min-height: 100vh;
    padding: 100px 0;
    display: flex;
    align-items: center;
}

/* Reduce top spacing for contact section */
#contact.section {
    padding-top: 50px; /* 50% of 100px */
}

/* Reduce bottom spacing for author section */
#author.section {
    padding-bottom: 50px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
}

.section-title {
    font-family: 'Orbitron', 'Exo 2', monospace;
    font-size: 2.5rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 0 0 20px var(--primary-blue-rgba);
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 40px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.15);
    padding: 15px 25px;
    border-radius: 8px;
    display: inline-block;
}

/* Author Section */
.author-content {
    background: rgba(20, 20, 35, 0.85);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(100, 150, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    margin: 0 auto;
}

.author-name {
    font-family: 'Orbitron', 'Exo 2', monospace;
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 25px;
    text-align: center;
    text-shadow: 0 0 15px var(--primary-blue-rgba);
}

.author-bio p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
    color: #e0e0e0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    background: rgba(0, 0, 0, 0.1);
    padding: 15px 20px;
    border-radius: 8px;
}

.author-bio em {
    color: var(--primary-blue);
    font-style: italic;
    font-weight: 500;
}

.author-contact {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(100, 150, 255, 0.2);
}

.author-contact p {
    margin-bottom: 0;
    font-size: 1rem;
    text-align: center;
}

.author-email {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
}

.author-email:hover {
    color: #ffffff;
    background: rgba(100, 150, 255, 0.2);
    text-shadow: 0 0 8px var(--primary-blue-rgba);
}

/* Inline email styling for Gmail address */
.email-inline {
    color: var(--primary-blue);
}

/* Center align the Publishing Identity Verification heading in Contact */
#contact h3 {
    text-align: center;
}

/* Book Showcase Layout */
.book-showcase {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    background: rgba(20, 20, 35, 0.85);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(100, 150, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.book-cover-container {
    flex: 0 0 300px;
    position: relative;
}

.book-cover {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid rgba(100, 150, 255, 0.2);
}

.book-cover:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 50px rgba(100, 150, 255, 0.3);
}

.book-description {
    flex: 1;
    min-width: 0;
}

.book-description h3 {
    font-family: 'Orbitron', 'Exo 2', monospace;
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    text-shadow: 0 0 15px var(--primary-blue-rgba);
}

.book-description p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-align: justify;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    background: rgba(0, 0, 0, 0.1);
    padding: 15px 20px;
    border-radius: 8px;
    line-height: 1.7;
}

/* Marketplace Links */
.marketplace-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.marketplace-link {
    background: rgba(20, 20, 35, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(100, 150, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    text-decoration: none;
    color: #e0e0e0;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.marketplace-link:hover {
    background: rgba(20, 20, 35, 0.95);
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(100, 160, 255, 0.2);
}

.marketplace-link h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-family: 'Orbitron', 'Exo 2', monospace;
}

.marketplace-link p {
    font-size: 1rem;
    color: #b0b0b0;
    margin: 0;
}

/* Community Layout */
.community-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: rgba(20, 20, 35, 0.85);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(100, 150, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Make links column ~35% and form ~65% */
.social-panel {
    flex: 0 0 35%;
    min-width: 240px;
}

.form-panel {
    flex: 1 1 65%;
    min-width: 0;
}

.social-panel h3,
.form-panel h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-family: 'Orbitron', 'Exo 2', monospace;
}

.social-panel p,
.form-panel p {
    margin-bottom: 20px;
    color: #b0b0b0;
    font-size: 1rem;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.15);
    padding: 10px 15px;
    border-radius: 6px;
}

/* Social Links */
.social-links-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: rgba(40, 40, 60, 0.6);
    border: 1px solid rgba(100, 150, 255, 0.2);
    border-radius: 10px;
    text-decoration: none;
    color: #e0e0e0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 44px;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.social-link:hover {
    background: rgba(40, 40, 60, 0.8);
    border-color: var(--primary-blue);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-link:hover::before {
    width: 100%;
    opacity: 0.1;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: var(--primary-blue);
    transition: all 0.3s ease;
    margin-right: 15px;
}

.social-link:hover .social-icon {
    color: #ffffff;
    transform: scale(1.1);
}

/* MailerLite Embedded Form Styling */
.ml-embedded {
    background: rgba(40, 40, 60, 0.8) !important;
    border: 1px solid rgba(100, 150, 255, 0.3) !important;
    border-radius: 12px !important;
    padding: 12px !important;
    backdrop-filter: blur(10px) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.ml-embedded * {
    background: transparent !important;
    color: #e0e0e0 !important;
}

.ml-embedded h2,
.ml-embedded .ml-form-embedTitle {
    color: var(--primary-blue) !important;
    font-family: 'Orbitron', 'Exo 2', monospace !important;
    font-weight: 600 !important;
    font-size: 1.2rem !important;
    margin-bottom: 12px !important;
}

.ml-embedded p,
.ml-embedded .ml-form-embedDescription {
    color: #b0b0b0 !important;
    font-size: 0.9rem !important;
    margin-bottom: 15px !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-align: left !important;
}

/* Ensure the first descriptive line sits flush left */
.ml-embedded .ml-form-embedDescription:first-child,
.ml-embedded .ml-form-embedContent > p:first-child {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.ml-embedded input[type="text"],
.ml-embedded input[type="email"],
.ml-embedded .ml-form-fieldRow input {
    background: rgba(40, 40, 60, 0.8) !important;
    border: 1px solid rgba(100, 150, 255, 0.3) !important;
    border-radius: 6px !important;
    color: #e0e0e0 !important;
    padding: 10px 12px !important;
    font-size: 0.95rem !important;
    width: 100% !important;
    height: 40px !important;
    transition: all 0.3s ease !important;
}

.ml-embedded input[type="text"]:focus,
.ml-embedded input[type="email"]:focus,
.ml-embedded .ml-form-fieldRow input:focus {
    outline: none !important;
    border-color: var(--primary-blue) !important;
    box-shadow: 0 0 10px var(--primary-blue-rgba) !important;
}

.ml-embedded input[type="text"]::placeholder,
.ml-embedded input[type="email"]::placeholder,
.ml-embedded .ml-form-fieldRow input::placeholder {
    color: #888 !important;
    opacity: 1 !important;
}

.ml-embedded label,
.ml-embedded .ml-form-label {
    color: var(--primary-blue) !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.ml-embedded button[type="submit"],
.ml-embedded .ml-form-submitButton {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark)) !important;
    border: none !important;
    border-radius: 6px !important;
    color: white !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    padding: 12px !important;
    width: 100% !important;
    height: 44px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.ml-embedded button[type="submit"]:hover,
.ml-embedded .ml-form-submitButton:hover {
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue-darker)) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px var(--primary-blue-rgba) !important;
}

.ml-embedded .ml-form-fieldRow {
    margin-bottom: 10px !important;
}

.ml-embedded .ml-form-fieldRow:last-of-type {
    margin-bottom: 8px !important;
}

.ml-embedded .ml-form-errorMessage,
.ml-embedded .ml-form-successMessage {
    background: rgba(244, 67, 54, 0.2) !important;
    border: 1px solid #f44336 !important;
    color: #f44336 !important;
    padding: 10px !important;
    border-radius: 6px !important;
    margin-top: 15px !important;
    text-align: center !important;
    font-weight: 500 !important;
}

.ml-embedded .ml-form-successMessage {
    background: rgba(76, 175, 80, 0.2) !important;
    border: 1px solid #4caf50 !important;
    color: #4caf50 !important;
}

/* Ensure MailerLite success state has inner padding and doesn't hug edges */
.ml-embedded .ml-form-successContent {
    background: rgba(20, 20, 35, 0.85) !important;
    border: 1px solid rgba(100, 150, 255, 0.2) !important;
    border-radius: 12px !important;
    padding: 16px !important;
    box-sizing: border-box !important;
}

/* Ensure form content also has inner padding and doesn't hug right edge */
/* Keep inner wrappers lean to avoid cumulative padding */
.ml-embedded .ml-form-embedContainer,
.ml-embedded .ml-form-embedWrapper,
.ml-embedded .ml-form-embedContent,
.ml-embedded .ml-form-formContent {
    padding: 8px 8px 4px 8px !important;
    box-sizing: border-box !important;
}

/* MailerLite embed body should have no padding/margin */
.ml-embedded .ml-form-embedBody {
    padding: 0 !important;
    margin: 0 !important;
}

/* Remove extra bottom space from last content element */
.ml-embedded .ml-form-embedContent > :last-child,
.ml-embedded .ml-form-formContent > :last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* News Feed */
.news-container {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 15px;
    background: rgba(20, 20, 35, 0.85);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(100, 150, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.news-container::-webkit-scrollbar {
    width: 8px;
}

.news-container::-webkit-scrollbar-track {
    background: rgba(40, 40, 60, 0.3);
    border-radius: 4px;
}

.news-container::-webkit-scrollbar-thumb {
    background: rgba(100, 150, 255, 0.5);
    border-radius: 4px;
}

.news-container::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 150, 255, 0.7);
}

.news-item {
    background: rgba(40, 40, 60, 0.6);
    border: 1px solid rgba(100, 150, 255, 0.2);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.news-item:hover {
    background: rgba(40, 40, 60, 0.8);
    border-color: rgba(100, 150, 255, 0.4);
    transform: translateY(-3px);
}

.news-item h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-family: 'Orbitron', 'Exo 2', monospace;
}

.news-item .date {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.news-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

.news-item a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.news-item a:hover {
    text-decoration: underline;
}

.news-tag {
    display: inline-block;
    background: var(--primary-blue-rgba-light);
    color: var(--primary-blue);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-right: 10px;
    margin-top: 10px;
}

.news-title {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-family: 'Orbitron', 'Exo 2', monospace;
}

.news-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.news-link:hover {
    text-decoration: underline;
}

/* Form Message */
.form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid #4caf50;
    color: #4caf50;
}

.form-message.error {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid #f44336;
    color: #f44336;
}

.form-message.info {
    background: rgba(33, 150, 243, 0.2);
    border: 1px solid #2196F3;
    color: #2196F3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .nav-menu {
        gap: 6px;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-link {
        padding: 8px 12px;
        font-size: 0.9rem;
        line-height: 1.1;
    }
    
    .fixed-navigation {
        padding: 10px 0;
    }

    .nav-toggle {
        display: block;
        align-self: flex-end;
        margin: 6px 0 8px 0;
    }

    .nav-menu.expanded {
        max-height: 320px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-content {
        padding: 40px 25px;
    }
    
    .book-showcase {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        padding: 30px;
    }
    
    .book-cover-container {
        flex: none;
        max-width: 250px;
    }
    
    .community-layout {
        flex-direction: column;
        gap: 30px;
        padding: 30px;
    }
    
    .social-panel,
    .form-panel {
        flex: none;
        min-width: auto;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .section {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .book-cover-container {
        max-width: 200px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}