:root {
    --pink-orange: linear-gradient(90deg, #FF8A00, #E52E71);
    --vibrant-gradient: linear-gradient(135deg, #ff8a8a 0%, #ffc1a1 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Inter', sans-serif; 
    background: #fff; 
    color: #000; 
    line-height: 1.6;
    overflow-x: hidden; /* Prevents side-scrolling during animations */
}

/* --- Transitions & Animations --- */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

@keyframes pageFlip {
    0% {
        transform: rotateY(-30deg) translateX(50px);
        opacity: 0;
    }
    100% {
        transform: rotateY(0deg) translateX(0);
        opacity: 1;
    }
}

/* Preloader Container */
#preloader {
    position: fixed;
    top: 0; 
    left: 0;
    /* Use vw/vh to ensure it locks to the actual screen size */
    width: 100vw; 
    height: 100vh;
    background-color: #202020;
    
    /* Flexbox Centering */
    display: flex;
    justify-content: center;
    align-items: center;
    
    /* Extra insurance for mobile */
    text-align: center;
    box-sizing: border-box;
    
    z-index: 9999;
    transition: opacity 1s ease-out, visibility 1s;
}

/* Ensure the content inside (logo/spinner) doesn't overflow */
#preloader img, 
#preloader .loader-content {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Upscaled Logo */
.pulse-logo {
    width: 280px; /* Significantly bigger */
    height: auto;
    animation: heartBeat 1s infinite ease-in-out;
    display: block;
    margin: 0 auto;
}

/* Branding Wrapper */
.loader-branding {
    margin-top: 30px;
    text-align: center;
}

/* Gradient Main Text */
.loader-text-main {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 8px;
    margin: 0;
    /* Apply Gradient to Text */
    background: linear-gradient(90deg, #FF8A00, #E52E71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Slogan Styling */
.loader-slogan {
    font-family: 'Inter', sans-serif;
    color: #fff;
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 15px;
    opacity: 0.8;
}

/* Enhanced Heartbeat Animation */
@keyframes heartBeat {
    0% { transform: scale(0.98); filter: brightness(0.8); }
    50% { transform: scale(1.05); filter: brightness(1.2); }
    100% { transform: scale(0.98); filter: brightness(0.8); }
}

.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}

/* --- Header --- */
.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background: #fff;
    /* Changed to min-height so it can expand on mobile if needed */
    min-height: 90px; 
    border-bottom: 1px solid #f0f0f0;
    /* Changed from sticky/fixed to relative for natural flow */
    position: relative; 
    z-index: 1000;
    width: 100%;
}

/* Force equal spacing for perfect centering */
.nav-left, .nav-right {
    flex: 1;
    display: flex;
}

.nav-right {
    justify-content: flex-end;
}

/* Logo Fix: Removing the black box background via blend mode */
.header-logo {
    height: 50px;
    width: auto;
    mix-blend-mode: multiply; /* Makes white/black backgrounds blend into the nav */
    filter: brightness(0); /* Optional: makes the logo icon solid black */
}

/* The Animated Center */
.nav-center {
    flex: 2; /* Gives center more priority space */
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 900;
    margin: 0;
    line-height: 1;
    
    /* Animated Gradient */
    background: linear-gradient(90deg, #FF8A00, #E52E71, #FF8A00);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s linear infinite;
}

.brand-slogan {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    margin-top: 5px;
    font-weight: 600;
}

/* The Color Changing Animation */
@keyframes gradientShift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Button Refinement */
.share-btn {
    background: #000;
    color: #0f0f0f;
    border: none;
    padding: 10px 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

.share-btn:hover {
    background: #E52E71;
}

.nav-center { font-family: 'Playfair Display', serif; font-size: 1.8rem; cursor: pointer; }
.share-btn { border: 1.5px solid #000; background: none; padding: 10px 20px; font-weight: 600; cursor: pointer; transition: 0.3s; }
.share-btn:hover { background: #000; color: #fff; }

/* --- Home Layout Blocks --- */
.featured-black { background: #000; color: #fff; padding: 100px 5%; }
.empower-white, .latest-white, .popular-white { background: #fff; color: #000; padding: 150px 5%; position: relative;}

.empower-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Text gets slightly more room */
    gap: 80px;
    align-items: flex-start;
}

/* Typography Enhancements */
.e-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 0.9;
    margin-bottom: 40px;
    letter-spacing: -2px;
}

.e-description-large {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
    color: #111;
    margin-bottom: 30px;
    border-left: 3px solid #FF8A00;
    padding-left: 20px;
}

.e-description-sub {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
    max-width: 90%;
}

.empower-features {
    list-style: none;
    margin-top: 30px;
}

.empower-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.empower-features li::before {
    content: '✓';
    color: #E52E71;
    font-weight: bold;
}

/* Image Composite Design */
.e-image-composite {
    position: relative;
    padding-top: 50px;
}

.main-image-box {
    position: relative;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.main-img {
    width: 100%;
    display: block;
    filter: grayscale(20%);
    transition: 0.5s;
}

.main-img:hover {
    filter: grayscale(0%);
}

.vibrant-overlay-blob {
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: var(--pink-orange);
    filter: blur(60px);
    opacity: 0.4;
    z-index: -1;
}

.floating-card {
    position: absolute;
    top: 0;
    left: -40px;
    background: #000;
    color: #fff;
    padding: 30px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    z-index: 10;
}

.card-stat {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    line-height: 1;
}

.card-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
    color: #aaa;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .empower-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .e-description-large {
        border-left: none;
        border-top: 3px solid #FF8A00;
        padding: 20px 0;
    }
    .floating-card {
        left: 50%;
        transform: translateX(-50%);
        top: -30px;
    }
    .e-image-composite {
        order: -1;
        margin-bottom: 80px;
    }
}

.featured-container, .empower-container, .comm-container { 
    display: flex; 
    align-items: center; 
    gap: 50px; 
    max-width: 1200px;
    margin: 0 auto;
}

.join-trigger-btn {
    position: relative;
    background: var(--pink-orange); /* Uses your vibrant gradient */
    color: #fff;
    padding: 20px 45px;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    
    /* This creates the "Non-Flat" depth */
    box-shadow: 0 10px 30px rgba(229, 46, 113, 0.3); 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy transition */
    
    display: flex;
    align-items: center;
    gap: 15px;
    overflow: hidden;
    z-index: 1;
}

.join-trigger-btn span {
    transition: transform 0.3s ease;
}

/* Hover Effects */
.join-trigger-btn:hover {
    transform: translateY(-5px); /* Lifts the button */
    box-shadow: 0 20px 40px rgba(229, 46, 113, 0.45); /* Shadow grows as it lifts */
}

.join-trigger-btn:hover span {
    transform: translateX(8px); /* Moves the arrow */
}

/* The "Shimmer" Effect (Adds a premium glossy feel) */
.join-trigger-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
    z-index: -1;
}

.join-trigger-btn:hover::after {
    left: 100%;
}

/* Active/Click State */
.join-trigger-btn:active {
    transform: translateY(0); /* Smashes down when clicked */
    box-shadow: 0 5px 15px rgba(229, 46, 113, 0.2);
}

.f-image img { width: 100%; max-width: 600px; border-radius: 4px; }
.f-text h1 { font-family: 'Playfair Display', serif; font-size: 3rem; margin: 20px 0; cursor: pointer; }

.section-header { letter-spacing: 3px; font-weight: bold; border-bottom: 1px solid #eee; padding-bottom: 10px; margin-bottom: 40px; text-transform: uppercase; }

/* Article Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 30px; }
.article-card { border: 1px solid #eee; border-radius: 8px; overflow: hidden; cursor: pointer; transition: 0.3s; background: #fff; }
.article-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.card-img img { width: 100%; height: 250px; object-fit: cover; }
.card-content { padding: 20px; }

/* Story of the Week Block */
.week-bg { 
    height: 500px; 
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('recovery.webp') center/cover; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    color: #fff; 
    cursor: pointer; 
}
.week-content h2 { font-family: 'Playfair Display', serif; font-size: 3.5rem; max-width: 800px; }

/* --- Join/Community Section --- */
.community-white { background: #fafafa; padding: 150px 5%; border-top: 1px solid rgba(0,0,0,0.05); }

.comm-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 40px;
}

/* The Animated Line Form */
.elegant-line-form {
    max-width: 500px;
    margin-bottom: 60px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ccc; /* Default subtle line */
    padding-bottom: 10px;
    transition: all 0.3s ease;
}

.input-wrapper input {
    background: none;
    border: none;
    flex: 1;
    padding: 10px 0;
    font-size: 1.1rem;
    outline: none;
    font-family: 'Inter', sans-serif;
}

/* The Animated Accent Line */
.line-focus {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--pink-orange);
    transition: width 0.4s ease;
}

.input-wrapper:focus-within .line-focus {
    width: 100%;
}

.join-now-btn {
    background: none;
    border: none;
    font-weight: 800;
    letter-spacing: 2px;
    cursor: pointer;
    padding: 10px 0 10px 20px;
    color: #000;
    transition: color 0.3s ease;
}

.join-now-btn:hover {
    color: #E52E71;
}

/* The Star of the Show: Gradient Quote */
.gradient-quote p {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
    background: var(--pink-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    margin: 20px 0;
}

/* Right Side Image Frame */
.comm-image-frame {
    position: relative;
    padding: 20px;
}

.comm-image-frame img {
    width: 100%;
    max-width: 450px;
    display: block;
    box-shadow: 30px 30px 0px -10px #f0f0f0; /* Geometric offset shadow */
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    right: 0;
    background: #000;
    color: #fff;
    padding: 15px 25px;
    font-size: 0.7rem;
    letter-spacing: 3px;
    font-weight: 800;
}

/* Responsive */
@media (max-width: 768px) {
    .comm-title { font-size: 2.5rem; }
    .gradient-quote p { font-size: 2rem; }
}

/* --- Join Section 3.0 --- */
.comm-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 35px;
    max-width: 450px;
}

/* WhatsApp Button */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #25D366; /* WhatsApp Green */
    color: #fff;
    padding: 22px 40px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    margin-bottom: 40px;
}

.whatsapp-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
    background: #20ba5a;
}

.wa-icon {
    width: 24px;
    height: 24px;
}

/* Mini Email Form */
.email-sub-mini {
    display: flex;
    max-width: 400px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 60px;
}

.email-sub-mini input {
    background: none;
    border: none;
    padding: 10px 0;
    flex: 1;
    outline: none;
    font-size: 0.9rem;
}

.email-sub-mini button {
    background: none;
    border: none;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 1px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.email-sub-mini button:hover {
    color: #000;
}

.elegant-line-input { border-bottom: 2px solid #000; display: flex; width: 100%; max-width: 500px; margin: 40px 0; }
.elegant-line-input input { background: none; border: none; padding: 15px 0; width: 100%; outline: none; font-size: 1.1rem; }
.join-now-btn { background: none; border: none; font-weight: bold; cursor: pointer; letter-spacing: 1px; }

.gradient-quote p {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
    background: var(--pink-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

/* --- ARTICLE PAGE (The "Book" Animation) --- */
#article-page {
    display: none;
    perspective: 2000px; /* Depth for 3D flip */
    background: #fcfcfc;
    min-height: 100vh;
}

#article-page.active-page {
    display: block !important;
    animation: pageFlip 1s cubic-bezier(0.15, 0.85, 0.45, 1) forwards;
}

.article-hero {
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 10% 80px;
    color: #fff;
    background-size: cover;
    background-position: center;
    position: relative;
    background-image: var(--vibrant-gradient); /* Fallback */
    z-index: 5;
    text-align: center;
}

.article-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.7));
}

.article-header-content { position: relative; z-index: 2; max-width: 900px; width: 100%;}
.article-header-content h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1.1; margin: 20px 0; text-shadow: 2px 2px 10px rgba(0,0,0,0.3); }

.article-body-container {
    max-width: 850px;
    margin: -100px auto 100px;
    background: #fff;
    padding: 80px 10%;
    color: #111;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    line-height: 2;
    font-size: 1.15rem;
    position: relative;
    z-index: 10;
    border-left: 1px solid rgba(0,0,0,0.05); /* The "spine" */
    transform-origin: left center;
}

.article-interactions {
    text-align: center;
    margin: 30px auto;
    padding: 20px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Vibrant Blobs inside the Story */
.vibrant-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.25;
    border-radius: 50%;
    pointer-events: none;
}
.vibrant-blob.one { background: #FF8A00; top: 10%; right: -100px; }
.vibrant-blob.two { background: #E52E71; bottom: 20%; left: -100px; }

.elegant-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-style: italic;
    margin: 50px 0;
    padding-left: 25px;
    border-left: 4px solid #E52E71;
}

/* --- Progress Bar --- */
#progress-container { position: fixed; top: 0; left: 0; width: 100%; height: 4px; background: transparent; z-index: 1000; }
#progress-bar { height: 100%; background: var(--pink-orange); width: 0%; transition: width 0.1s; }

/* --- Footer --- */
.footer-block { background: #000; padding: 60px 5%; border-top: 1px solid #222; }
.footer-content { display: flex; justify-content: space-between; align-items: center; color: #888; }
.f-logo { font-family: 'Playfair Display', serif; font-size: 2rem; }

.f-socials { display: flex; gap: 30px; margin: 20px 0; }
.social-link { 
    display: flex; align-items: center; gap: 8px; color: #888; text-decoration: none; 
    font-size: 0.75rem; font-weight: 600; letter-spacing: 2px; transition: 0.3s;
}
.social-link:hover { color: #fff; }
.social-icon { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }

/* --- Interactions --- */
.article-interactions { text-align: center; margin: 40px 0; padding-top: 20px; border-top: 1px solid #eee; }
.vote-button { background: #fff; border: 1.5px solid #000; padding: 12px 25px; font-weight: 600; cursor: pointer; transition: 0.3s; }
.vote-button.voted { background: #000; color: #fff; }

.share-actions { margin-top: 50px; padding-top: 30px; border-top: 1px solid #eee; text-align: center; }
.share-btns-row { display: flex; justify-content: center; gap: 15px; margin-top: 5px; }
.share-btn-round { width: 45px; height: 45px; border-radius: 50%; border: 1px solid #eee; background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; }
.share-btn-round:hover { background: #000; color: #fff; transform: translateY(-3px); }

/* --- Mobile --- */
@media (max-width: 768px) {
    .header-nav { flex-direction: column; gap: 15px; }
    .featured-container, .empower-container, .comm-container { flex-direction: column !important; text-align: center; }
    .article-header-content h1 { font-size: 2.5rem; }
    .article-body-container { margin-top: -50px; padding: 40px 8%; }
    .footer-content { flex-direction: column; gap: 30px; text-align: center; }
}

/* Discovery Hub Section */
.discovery-bg {
    background: #0a0a0a; /* Deep black/grey */
    padding: 120px 5%;
    color: #fff;
    text-align: center;
}

.discovery-container {
    max-width: 900px;
    margin: 0 auto;
}

.discovery-content h2 {
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
    margin: 20px 0;
}

.discovery-content p {
    font-size: 1.1rem;
    color: #999;
    margin-bottom: 50px;
    line-height: 1.6;
}

/* Hub Buttons Layout */
.hub-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.hub-btn {
    text-decoration: none;
    color: #fff;
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 25px 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 280px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 4px;
}

.btn-icon {
    font-size: 2rem;
}

.btn-text {
    text-align: left;
}

.btn-text strong {
    display: block;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.btn-text small {
    color: #666;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

/* Hover Effects */
.hub-btn:hover {
    transform: translateY(-10px);
    border-color: var(--pink-orange);
    background: #111;
}

.article-btn:hover {
    box-shadow: 0 15px 30px rgba(255, 138, 0, 0.2);
}

.story-btn:hover {
    box-shadow: 0 15px 30px rgba(229, 46, 113, 0.2);
}

.hub-btn:hover small {
    color: #fff;
}

/* Sub-page Specific Styles */
.archive-header {
    padding: 120px 5% 60px;
    text-align: center;
    background: #fdfdfd;
}

.category-label {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: 800;
    color: #888;
}

.archive-subtitle {
    max-width: 600px;
    margin: 20px auto 0;
    color: #666;
    line-height: 1.6;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    padding: 40px 5% 100px;
}

.article-card {
    border: 1px solid #eee;
    padding: 40px;
    transition: 0.3s ease;
}

.article-card:hover {
    border-color: #FF8A00;
    transform: translateY(-5px);
}

.article-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin: 15px 0;
}

.read-link {
    display: inline-block;
    margin-top: 20px;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: #E52E71;
    text-decoration: none;
}

/* Empty State Styling */
.empty-state-card {
    grid-column: 1 / -1; /* Makes it span the whole width of the grid */
    padding: 80px 20px;
    background: #f9f9f9;
    border: 2px dashed #eee;
    border-radius: 8px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.pulse-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.submission-section {
    padding: 80px 5%;
    background: #fff;
    display: flex;
    justify-content: center;
}


.article-view {
    background-color: #ffffff;
}

.post-header {
    max-width: 800px;
    margin: 80px auto 40px;
    text-align: center;
    padding: 0 20px;
}

.category-tag {
    color: #E52E71;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.post-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin: 20px 0;
    line-height: 1.1;
}

.post-content-wrap {
    max-width: 700px;
    margin: 0 auto 100px;
    padding: 0 20px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
    position: relative; /* For the blobs */
}

/* Ensure Irene's blobs and quotes work here too */
.vibrant-blob {
    position: absolute;
    z-index: -1;
    filter: blur(80px);
    opacity: 0.15;
    width: 300px;
    height: 300px;
}

.vibrant-blob.one { top: 10%; left: -20%; background: #FF8A00; }
.vibrant-blob.two { top: 50%; right: -20%; background: #E52E71; }

.elegant-quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.5rem;
    border-left: 4px solid #000;
    padding-left: 30px;
    margin: 40px 0;
}

/* Content Warning Box */
.content-warning {
    background-color: #fff5f7; /* Very soft pink-blush background */
    border-left: 4px solid #E52E71; /* Your signature pink-orange vibe */
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    box-shadow: 0 4px 15px rgba(229, 46, 113, 0.05);
}

.content-warning strong {
    color: #E52E71;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 5px;
}

/* Make the phone number stand out as a clickable-looking element */
.content-warning b, 
.content-warning strong + br + span {
    font-weight: 800;
    color: #000;
}

/* Background for the whole page */
.journal-theme {
    background-color: #e0e0e0; /* Greyish background to make the white paper pop */
    background-image: radial-gradient(#d1d1d1 1px, transparent 1px);
    background-size: 20px 20px;
}

/* The Paper Effect */
.book-container {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
}

.book-page {
    background: #fff;
    max-width: 850px;
    width: 100%;
    min-height: 80vh;
    padding: 80px 60px;
    position: relative;
    box-shadow: 
        0 1px 1px rgba(0,0,0,0.1), 
        5px 5px 20px rgba(0,0,0,0.2),
        -1px 0px 2px rgba(0,0,0,0.05); /* Slight shadow on left for 'depth' */
    
    /* Subtle paper texture */
    background-image: linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px);
    background-size: 100% 2.5rem; /* Simulates lined paper if you want it */
}

/* Typography */
.handwritten-content {
    font-family: 'Caveat', cursive; /* Legible handwriting */
    font-size: 1.6rem;
    color: #2c3e50;
    line-height: 1.6;
}

.journal-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 10px;
    color: #000;
}

.journal-meta {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 50px;
    color: #888;
}

/* THE CORE REQUEST: Justified Text */
.journal-text {
    text-align: justify;
    text-justify: inter-word; /* Better spacing for readability */
}

/* Fix for images or blobs inside the handwritten text */
.journal-text p {
    margin-bottom: 1.5rem;
}

.journal-text blockquote {
    font-family: 'Inter', sans-serif; /* Keep quotes clean or handwriting? */
    border-left: 3px solid #E52E71;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    font-size: 1.2rem;
}

@keyframes pageFlip {
    0% {
        transform: rotateY(-10deg) translateX(50px);
        opacity: 0;
    }
    100% {
        transform: rotateY(0deg) translateX(0);
        opacity: 1;
    }
}

.book-page {
    animation: pageFlip 0.8s ease-out;
    transform-origin: left;
}

/* MOBILE FIXES - These trigger on phones */
/* --- THE EMERGENCY MOBILE RESET --- */
@media screen and (max-width: 768px) {
    
    /* 1. FORCE THE CONTAINER TO BE WIDE */
    /* This stops the "Thin Strip" issue */
    .form-card, 
    .article-container, 
    .story-content, 
    .form-container,
    main, 
    body {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 20px 15px !important; /* Small side gap so text doesn't touch the edge */
        display: block !important;
        box-sizing: border-box !important;
    }

    /* 2. FIX THE PINK 'NOTE' BOX */
    /* It's squishing because it's trying to be a 'sidebar'. We make it a 'block'. */
    .note-box, 
    [style*="border-left"],
    .warning-note {
        width: 100% !important;
        max-width: 100% !important;
        margin: 20px 0 !important;
        padding: 15px !important;
        display: block !important;
        position: static !important;
        border-left: 5px solid #E52E71 !important;
        background: #fff5f8 !important; /* Light pink background to make it readable */
    }

    /* 3. FIX THE HEADER OVERLAP */
    .header-nav {
        flex-direction: column !important;
        height: auto !important;
        padding: 20px 0 !important;
        gap: 10px !important;
        position: relative !important; /* Stops it from floating over content */
    }

    .nav-center {
        width: 100% !important;
    }

    /* 4. FIX THE BLUE LINK BUTTON */
    .share-btn, 
    .nav-right a {
        display: block !important;
        width: 80% !important;
        margin: 10px auto !important;
        background: #000 !important;
        color: #fff !important; /* Forces it to stay white, not blue */
        text-align: center !important;
        padding: 12px !important;
        text-decoration: none !important;
        border-radius: 4px !important;
    }
    
    /* 5. IMAGE FIX */
    /* Ensure the ghost/shadow image doesn't zoom in too much */
    .hero-image, .ghost-bg {
        background-attachment: scroll !important; /* Better for mobile performance */
        height: 300px !important;
    }
}

/* --- SPECIFIC FIX FOR THE JOURNAL/STORY VIEW --- */
@media screen and (max-width: 768px) {
    
    /* 1. Kill the 'Thin Strip' by resetting the book containers */
    .book-container, 
    .journal-theme main {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        display: block !important;
    }

    /* 2. Make the 'Paper' fill the phone screen */
    .book-page {
        width: 92% !important; /* Forces it wide */
        max-width: 92% !important;
        margin: 15px auto !important;
        padding: 25px 15px !important; /* Breathing room for text */
        border-radius: 5px !important;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
        box-sizing: border-box !important;
    }

    /* 3. Ensure the text isn't squashed */
    .journal-text, 
    .handwritten-content {
        width: 100% !important;
        padding: 0 !important;
        font-size: 1.05rem !important; /* Better for mobile reading */
        line-height: 1.6 !important;
    }

    /* 4. Fix the Title and Meta info */
    .journal-title {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
        margin-bottom: 10px !important;
    }

    .journal-meta {
        font-size: 0.8rem !important;
        margin-bottom: 20px !important;
    }

    /* 5. Fix the Interaction Buttons (Heart/WhatsApp) */
    .article-interactions {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    .share-row {
        justify-content: center !important;
    }
}