/* ==========================================================
   QUOTE COLLECTION - MODERN DESIGN SYSTEM & UI/UX STYLES
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Outfit:wght@500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;0,800;0,900;1,400;1,600;1,700&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
    /* Modern Typography System */
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    --font-quote: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-script: 'Caveat', cursive;

    /* Color Palette */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --accent: #f97316;
    --accent-dark: #ea580c;
    --accent-light: #ffedd5;
    
    /* Neutrals */
    --dark: #0f172a;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    
    /* Navigation & Footer */
    --nav-bg: #1e3a8a;
    --nav-bg-end: #2563eb;
    --footer-bg: #0b1329;
    --footer-text: #94a3b8;
    --footer-link: #94a3b8;
    --footer-link-hover: #ffffff;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 35px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    
    /* Radii & Transitions */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Legacy aliases */
    --primary-color: var(--primary);
    --secondary-color: var(--text-secondary);
    --accent-color: var(--accent);
    --light-color: var(--bg-page);
    --dark-color: var(--dark);
    --text-color: var(--text-primary);
    --border-radius: var(--radius);
    --box-shadow: var(--shadow);
}

/* Dark Mode Theme */
body.dark-mode {
    --dark: #f8fafc;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --bg-page: #090d16;
    --bg-card: #131b2e;
    --border-color: #1e293b;
    --nav-bg: #0f172a;
    --nav-bg-end: #1e3a8a;
    --footer-bg: #060911;
    --primary-light: rgba(37, 99, 235, 0.2);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 35px rgba(0, 0, 0, 0.6);
}

/* ==========================================================
   RESET & FOUNDATIONS
   ========================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    line-height: 1.65;
    color: var(--text-primary);
    background-color: var(--bg-page);
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================
   BUTTONS & MICRO-INTERACTIONS
   ========================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #ffffff;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
    white-space: nowrap;
    flex-shrink: 0;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
}

.btn:active {
    transform: translateY(0);
}

.btn-small {
    padding: 8px 18px;
    font-size: 0.84rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.25);
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-small:hover {
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

/* High Contrast Navigation & Secondary Buttons (Fix for All Tags Pill) */
.btn-outline-nav,
.btn-secondary,
.btn-outline {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1.5px solid #cbd5e1 !important;
    font-weight: 600 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
    text-shadow: none !important;
    text-decoration: none !important;
    user-select: none;
}

.btn-outline-nav:hover,
.btn-secondary:hover,
.btn-outline:hover {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28) !important;
    transform: translateY(-1px);
}

[data-theme="dark"] .btn-outline-nav,
[data-theme="dark"] .btn-secondary,
[data-theme="dark"] .btn-outline {
    background: #1e293b !important;
    color: #f8fafc !important;
    border-color: #475569 !important;
}

[data-theme="dark"] .btn-outline-nav:hover,
[data-theme="dark"] .btn-secondary:hover,
[data-theme="dark"] .btn-outline:hover {
    background: #3b82f6 !important;
    color: #ffffff !important;
    border-color: #3b82f6 !important;
}

/* White & Card Studio Accent Buttons (High Contrast WCAG AAA) */
.btn-white,
.btn-light,
.btn-card-maker,
.btn-studio {
    background: #ffffff !important;
    color: #1e3a8a !important;
    border: 1.5px solid #cbd5e1 !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
    text-shadow: none !important;
}

.btn-white i,
.btn-light i,
.btn-card-maker i,
.btn-studio i {
    color: #7c3aed !important;
}

.btn-white:hover,
.btn-light:hover,
.btn-card-maker:hover,
.btn-studio:hover {
    background: #f8fafc !important;
    color: #2563eb !important;
    border-color: #93c5fd !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2) !important;
    transform: translateY(-2px);
}

/* Studio CTA Banner Button */
.studio-cta-btn {
    background: #ffffff !important;
    color: #312e81 !important;
    border: 2px solid #ffffff !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18) !important;
    padding: 15px 34px !important;
    font-size: 1rem !important;
}

.studio-cta-btn i {
    color: #6366f1 !important;
}

.studio-cta-btn:hover {
    background: #f5f3ff !important;
    color: #4338ca !important;
    border-color: #f5f3ff !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25) !important;
    transform: translateY(-2px);
}

/* Favorites Header Action Buttons */
.btn-clear-favs {
    background: rgba(15, 23, 42, 0.6) !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.5) !important;
    font-weight: 600 !important;
    backdrop-filter: blur(8px);
}

.btn-clear-favs i {
    color: #fca5a5 !important;
}

.btn-clear-favs:hover {
    background: #dc2626 !important;
    color: #ffffff !important;
    border-color: #dc2626 !important;
    box-shadow: 0 6px 18px rgba(220, 38, 38, 0.35) !important;
    transform: translateY(-2px);
}

.btn-clear-favs:hover i {
    color: #ffffff !important;
}

/* Dark mode for White & Studio buttons */
.dark-mode .btn-white,
.dark-mode .btn-light,
.dark-mode .btn-card-maker,
.dark-mode .btn-studio,
[data-theme="dark"] .btn-white,
[data-theme="dark"] .btn-light,
[data-theme="dark"] .btn-card-maker,
[data-theme="dark"] .btn-studio {
    background: #1e293b !important;
    color: #f8fafc !important;
    border-color: #475569 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;
}

.dark-mode .btn-white i,
.dark-mode .btn-light i,
.dark-mode .btn-card-maker i,
.dark-mode .btn-studio i,
[data-theme="dark"] .btn-white i,
[data-theme="dark"] .btn-light i,
[data-theme="dark"] .btn-card-maker i,
[data-theme="dark"] .btn-studio i {
    color: #c084fc !important;
}

.dark-mode .btn-white:hover,
.dark-mode .btn-light:hover,
.dark-mode .btn-card-maker:hover,
.dark-mode .btn-studio:hover,
[data-theme="dark"] .btn-white:hover,
[data-theme="dark"] .btn-light:hover,
[data-theme="dark"] .btn-card-maker:hover,
[data-theme="dark"] .btn-studio:hover {
    background: #334155 !important;
    color: #60a5fa !important;
    border-color: #60a5fa !important;
}


/* ==========================================================
   HEADER (TOP BAR FULLY REMOVED, PHONE & EMAIL REMOVED)
   ========================================================== */
.header-top { display: none !important; }

/* ==========================================================
   HEADER (CLEAN SINGLE-ROW WHITE NAVBAR MATCHING REFERENCE)
   ========================================================== */
.header-top { display: none !important; }

.main-header {
    background-color: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Logo */
.logo {
    flex-shrink: 0;
    min-width: max-content;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
}

.logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border-radius: 12px;
    font-family: Georgia, serif;
    font-size: 28px;
    line-height: 1;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
    flex-shrink: 0;
    user-select: none;
    padding-bottom: 2px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    white-space: nowrap;
    min-width: max-content;
}

.logo-text h1 {
    font-family: 'Outfit', sans-serif;
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    line-height: 1.15;
    margin: 0;
    white-space: nowrap;
}

.logo-text .tagline {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.1px;
    display: block;
    margin-top: 2px;
    white-space: nowrap;
}

/* Primary Navigation */
#main-nav {
    display: flex;
    align-items: center;
    flex-shrink: 1;
    min-width: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links li a {
    color: #334155;
    font-weight: 500;
    font-size: 0.81rem;
    padding: 6px 8px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.nav-links li a i:not(.nav-chevron) {
    font-size: 0.88rem;
    opacity: 0.9;
}

.nav-chevron {
    font-size: 0.62rem;
    color: #94a3b8;
    margin-left: 2px;
    transition: transform 0.2s ease;
}

.nav-links li a:hover {
    color: #0284c7;
    background-color: #f0f9ff;
}

.nav-links li a:hover .nav-chevron,
.dropdown:hover .nav-chevron,
.dropdown.active .nav-chevron,
.dropdown.open .nav-chevron {
    transform: rotate(180deg);
    color: #0284c7;
}

/* Active Home Pill */
.nav-pill.active,
.nav-links li a.active {
    background-color: #e0f2fe !important;
    color: #0284c7 !important;
    font-weight: 600 !important;
}

.nav-pill-popular:hover {
    background-color: #fff7ed !important;
    color: #ea580c !important;
}

.dropdown {
    position: relative;
    padding-bottom: 8px;
    margin-bottom: -8px;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    background-color: #ffffff;
    min-width: 250px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.05);
    border-radius: 14px;
    padding: 8px 0;
    z-index: 99999 !important;
    border: 1px solid #e2e8f0;
}

/* Invisible hover bridge connecting trigger link to menu body */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
    background: transparent;
    pointer-events: auto;
}

.dropdown-content a {
    color: #334155 !important;
    padding: 10px 18px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 0.86rem !important;
    font-weight: 500 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s ease !important;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a i {
    width: 18px;
    text-align: center;
    color: #2563eb;
    font-size: 0.9rem;
}

.dropdown-content a:hover {
    background-color: #f0f9ff !important;
    color: #0284c7 !important;
    padding-left: 24px !important;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content,
.dropdown.active .dropdown-content,
.dropdown.open .dropdown-content {
    display: block !important;
}

/* ===========================
   MEGA MENU STYLING
   =========================== */
.mega-dropdown {
    position: static !important;
}

@media screen and (min-width: 993px) {
    .header-container {
        position: relative !important;
    }

    .mega-menu-content {
        display: none;
        position: absolute;
        top: calc(100% - 2px);
        left: 0;
        right: 0;
        background-color: #ffffff;
        box-shadow: 0 24px 50px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.04);
        border-radius: 18px;
        padding: 24px 28px;
        z-index: 99999 !important;
        border: 1px solid #e2e8f0;
        animation: megaFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* Invisible hover bridge connecting trigger link to menu body */
    .mega-menu-content::before {
        content: '';
        position: absolute;
        top: -16px;
        left: 0;
        right: 0;
        height: 16px;
        background: transparent;
        pointer-events: auto;
    }

    .mega-dropdown:hover .mega-menu-content,
    .mega-dropdown:focus-within .mega-menu-content,
    .mega-dropdown.active .mega-menu-content,
    .mega-dropdown.open .mega-menu-content {
        display: block !important;
    }

    .mega-grid {
        display: grid;
        grid-template-columns: 1.1fr 1.1fr 1.15fr 1.25fr;
        gap: 24px;
        align-items: stretch;
    }

    .mega-col {
        display: flex;
        flex-direction: column;
    }

    .mega-col-header {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 12px;
        padding-bottom: 8px;
        border-bottom: 1.5px solid #f1f5f9;
    }

    .mega-col-header i {
        color: #2563eb;
        font-size: 0.95rem;
    }

    .mega-col-header h4 {
        font-size: 0.82rem;
        font-weight: 700;
        color: #1e293b;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin: 0;
    }

    .mega-links {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    .mega-links li a {
        color: #475569 !important;
        padding: 7px 10px !important;
        font-size: 0.86rem !important;
        font-weight: 500 !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        border-radius: 8px !important;
        transition: all 0.18s ease !important;
        text-decoration: none !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        justify-content: flex-start !important;
        width: 100% !important;
    }

    .mega-links li a i {
        color: #64748b;
        font-size: 0.82rem;
        width: 18px;
        text-align: center;
        transition: color 0.18s ease;
    }

    .mega-links li a:hover {
        background-color: #eff6ff !important;
        color: #2563eb !important;
        transform: translateX(4px);
    }

    .mega-links li a:hover i {
        color: #2563eb;
    }

    .mega-links li a.highlight-link {
        background-color: #eff6ff !important;
        color: #2563eb !important;
        font-weight: 600 !important;
    }

    .mega-links li a.highlight-link:hover {
        background-color: #dbeafe !important;
    }

    .mega-spotlight-card {
        background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
        border: 1px solid #dbeafe;
        border-radius: 14px;
        padding: 16px 18px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.05);
    }

    .spotlight-card-guide {
        background: linear-gradient(135deg, #fdf4ff 0%, #fae8ff 100%);
        border-color: #f5d0fe;
    }

    .spotlight-badge {
        display: inline-block;
        align-self: flex-start;
        background: #dbeafe;
        color: #1d4ed8;
        font-size: 0.72rem;
        font-weight: 700;
        padding: 3px 9px;
        border-radius: 50px;
        margin-bottom: 8px;
        text-transform: uppercase;
        letter-spacing: 0.4px;
    }

    .spotlight-card-guide .spotlight-badge {
        background: #f5d0fe;
        color: #a21caf;
    }

    .mega-spotlight-card h5 {
        font-size: 0.98rem;
        font-weight: 700;
        color: #0f172a;
        margin-bottom: 6px;
    }

    .mega-spotlight-card p {
        font-size: 0.82rem;
        color: #64748b;
        line-height: 1.5;
        margin-bottom: 14px;
    }

    .btn-spotlight {
        background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
        color: #ffffff !important;
        font-size: 0.82rem !important;
        font-weight: 600 !important;
        padding: 8px 16px !important;
        border-radius: 50px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        text-decoration: none !important;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
        transition: all 0.2s ease !important;
        width: fit-content !important;
    }

    .spotlight-card-guide .btn-spotlight {
        background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
        box-shadow: 0 4px 12px rgba(147, 51, 234, 0.25);
    }

    .btn-spotlight:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
        color: #ffffff !important;
    }
}

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

/* Header Right: Compact Search Pill, Dark Mode Toggle & Mobile Menu */
.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.header-search-pill form {
    display: flex;
    align-items: center;
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 2px 3px 2px 12px;
    width: 135px;
    transition: width 0.25s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.header-search-pill form:focus-within {
    background-color: #ffffff;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
    width: 180px;
}

.header-search-pill input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.82rem;
    color: #0f172a;
    width: 100%;
    padding: 5px 8px 5px 0;
}

.header-search-pill input::placeholder {
    color: #94a3b8;
}

.header-search-pill button {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #0284c7;
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    flex-shrink: 0;
    transition: transform 0.2s ease, background 0.2s ease;
}

.header-search-pill button:hover {
    background: #0369a1;
    transform: scale(1.08);
}

.theme-toggle,
#favoritesHeaderBtn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    font-size: 0.92rem;
    transition: all 0.2s ease;
    flex-shrink: 0 !important;
    text-decoration: none;
}

/* On desktop, hide duplicate favorites icon since Favorites is already in primary nav bar */
@media screen and (min-width: 993px) {
    #favoritesHeaderBtn {
        display: none !important;
    }
}

.theme-toggle:hover,
#favoritesHeaderBtn:hover {
    background-color: #f0f9ff;
    color: #0284c7;
    border-color: #bae6fd;
    transform: rotate(15deg);
}

.menu-icon {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
}

/* ==========================================================
   FLUID PASTEL HERO SECTION (MATCHING SCREENSHOT)
   ========================================================== */
.hero-fluid {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 45%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
    padding: 4.5rem 0 3.8rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.75);
}

.hero-fluid-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 3.5rem;
}

.hero-fluid-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 2;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.15px;
    margin-bottom: 1.3rem;
}

.badge-star {
    color: #d97706;
    font-size: 0.92rem;
}

.hero-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 3.25rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    letter-spacing: -0.9px;
    margin-bottom: 1.1rem;
}

.gradient-text {
    background: linear-gradient(135deg, #2563eb 0%, #9333ea 70%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-desc {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.65;
    max-width: 530px;
    margin-bottom: 1.75rem;
}

.hero-search-bar {
    width: 100%;
    max-width: 540px;
    margin-bottom: 1.6rem;
}

.hero-search-form {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 50px;
    padding: 5px 6px 5px 20px;
    box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
    border: 1.5px solid #e2e8f0;
    transition: all 0.25s ease;
}

.hero-search-form:focus-within {
    border-color: #0284c7;
    box-shadow: 0 14px 34px -6px rgba(2, 132, 199, 0.2);
}

.hero-search-icon {
    color: #0284c7;
    font-size: 1.1rem;
    margin-right: 12px;
    flex-shrink: 0;
}

.hero-search-form input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.92rem;
    color: #0f172a;
    background: transparent;
    padding: 9px 0;
}

.hero-search-form input::placeholder {
    color: #94a3b8;
}

.hero-search-submit {
    background: #0284c7;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 12px 26px;
    font-weight: 600;
    font-size: 0.93rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.hero-search-submit:hover {
    background: #0369a1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.hero-trending-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.trending-label {
    color: #0f172a;
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 4px;
}

.trending-label i {
    color: #ea580c;
}

.trend-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.trend-pill .pill-icon {
    font-size: 0.95rem;
}

.trend-blue {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.trend-purple {
    background: #faf5ff;
    color: #7e22ce;
    border: 1px solid #e9d5ff;
}

.trend-cyan {
    background: #f0f9ff;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.trend-pink {
    background: #fdf2f8;
    color: #be185d;
    border: 1px solid #fbcfe8;
}

.trend-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Right Hero Visual: Organic Curved Mask + Tilted Card */
.hero-fluid-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
}

.hero-scenic-mask {
    width: 100%;
    height: 380px;
    border-radius: 36px 180px 48px 140px / 48px 140px 54px 180px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.18);
    transform: rotate(1deg);
}

.hero-scenic-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.hero-floating-card-wrapper {
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

.hero-botanical-leaves {
    position: absolute;
    right: -25px;
    top: -35px;
    width: 100px;
    height: 120px;
    z-index: 1;
    pointer-events: none;
}

.leaves-svg {
    width: 100%;
    height: 100%;
    transform: rotate(20deg);
}

.hero-memo-card {
    position: relative;
    z-index: 2;
    background: #fffcf7;
    border-radius: 14px;
    padding: 26px 24px;
    width: 235px;
    box-shadow: 0 25px 45px -10px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.04);
    transform: rotate(-7deg);
    border: 1px solid rgba(226, 232, 240, 0.7);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-memo-card:hover {
    transform: rotate(-4deg) translateY(-4px);
}

.memo-sunburst {
    position: absolute;
    top: -14px;
    left: -14px;
    display: flex;
    gap: 4px;
}

.memo-content {
    text-align: center;
}

.memo-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 1.35rem;
    color: #1e293b;
    margin: 0;
    line-height: 1.25;
}

.memo-sub {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 1.15rem;
    color: #334155;
    margin: 2px 0;
}

.memo-highlight {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-style: italic;
    font-size: 1.45rem;
    color: #0f172a;
    margin: 2px 0;
}

.memo-heart {
    font-size: 0.95rem;
    color: #64748b;
    margin-top: 8px;
    letter-spacing: 2px;
}

/* ==========================================================
   EXPLORE BY CATEGORY (5 HORIZONTAL PASTEL CARDS MATCHING MOCKUP)
   ========================================================== */
.explore-categories-section {
    padding: 3.5rem 0 3rem;
    background: #ffffff;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.explore-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.8rem;
    flex-wrap: wrap;
    gap: 12px;
}

.explore-header-row h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.4px;
    margin: 0;
}

.explore-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.explore-view-all:hover {
    color: #0284c7;
}

.explore-arrow-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e0f2fe;
    color: #0284c7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.explore-view-all:hover .explore-arrow-circle {
    transform: translateX(3px);
    background: #0284c7;
    color: #ffffff;
}

.category-pastel-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.pastel-card {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    border-radius: 18px;
    padding: 16px;
    border: 1.5px solid transparent;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 10px;
    min-height: 155px;
}

.pastel-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.07);
}

.pastel-card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    min-width: 0;
}

.pastel-icon-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.pastel-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pastel-card p {
    font-size: 0.77rem;
    color: #64748b;
    line-height: 1.35;
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pastel-action-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    margin-top: auto;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.pastel-card:hover .pastel-action-circle {
    transform: translateX(4px);
}

.pastel-card-thumb {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    align-self: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.pastel-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.pastel-card:hover .pastel-card-thumb img {
    transform: scale(1.08);
}

/* 5 Card Color Schemes matching Mockup */
/* 1. Love Quotes */
.pastel-love {
    background: #fdf2f8;
    border-color: #fce7f3;
}
.pastel-love .pastel-icon-circle {
    background: #fce7f3;
    color: #ec4899;
}
.pastel-love .pastel-action-circle {
    background: #fce7f3;
    color: #db2777;
}

/* 2. Inspirational */
.pastel-inspirational {
    background: #f0fdf4;
    border-color: #dcfce7;
}
.pastel-inspirational .pastel-icon-circle {
    background: #dcfce7;
    color: #16a34a;
}
.pastel-inspirational .pastel-action-circle {
    background: #dcfce7;
    color: #16a34a;
}

/* 3. Good Morning */
.pastel-morning {
    background: #f0f9ff;
    border-color: #e0f2fe;
}
.pastel-morning .pastel-icon-circle {
    background: #e0f2fe;
    color: #0284c7;
}
.pastel-morning .pastel-action-circle {
    background: #e0f2fe;
    color: #0284c7;
}

/* 4. Birthday */
.pastel-birthday {
    background: #faf5ff;
    border-color: #f3e8ff;
}
.pastel-birthday .pastel-icon-circle {
    background: #f3e8ff;
    color: #9333ea;
}
.pastel-birthday .pastel-action-circle {
    background: #f3e8ff;
    color: #9333ea;
}

/* 5. Humor */
.pastel-humor {
    background: #fff7ed;
    border-color: #ffedd5;
}
.pastel-humor .pastel-icon-circle {
    background: #ffedd5;
    color: #ea580c;
}
.pastel-humor .pastel-action-circle {
    background: #ffedd5;
    color: #ea580c;
}

/* ==========================================================
   STATS BAR
   ========================================================== */
.stats-bar {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 1.8rem 0;
}

.stats-bar .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item .number {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat-item .label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ==========================================================
   SECTION HEADINGS & LABELS
   ========================================================== */
.section-heading {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 5px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.section-heading h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    margin-bottom: 0.6rem;
}

.section-heading p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================
   CATEGORY CARDS
   ========================================================== */
.categories {
    padding: 5.5rem 0;
    background-color: var(--bg-page);
}

.category-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.category-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    opacity: 0;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

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

.card-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.quote-glow { background: rgba(37, 99, 235, 0.1); color: var(--primary); }
.sms-glow { background: rgba(225, 29, 72, 0.1); color: #e11d48; }
.greetings-glow { background: rgba(142, 68, 173, 0.1); color: #8e44ad; }
.humor-glow { background: rgba(234, 88, 12, 0.1); color: var(--accent); }

.category-card:hover .card-icon-wrap {
    transform: scale(1.1) rotate(4deg);
}

.category-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.category-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.category-card:hover .card-link i {
    transform: translateX(4px);
}

/* ==========================================================
   FEATURED & QUOTE CARDS
   ========================================================== */
.featured {
    padding: 5.5rem 0;
    background-color: var(--bg-card);
}

.quote-container,
.quotes-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 350px));
    justify-content: center;
    gap: 20px;
    margin: 2rem auto;
    max-width: 1200px;
    padding: 0 15px;
    width: 100%;
}

.quote-card,
.quote-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.35rem 1.45rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    align-self: stretch;
    max-width: 380px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.quote-card:hover,
.quote-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.quote-badge,
.quote-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    align-self: flex-start;
    background: var(--primary-light);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 0.85rem;
}

.quote-text {
    font-family: var(--font-quote);
    font-size: 1.12rem;
    line-height: 1.68;
    color: var(--text-primary);
    font-style: italic;
    font-weight: 600;
    margin-bottom: 0.9rem;
    flex: 1;
    letter-spacing: -0.15px;
}

.author {
    font-family: var(--font-sans);
    font-weight: 700;
    color: var(--primary);
    font-size: 0.82rem;
    display: block;
    margin-bottom: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Modern Card Media & Layout */
.card-image-wrap {
    position: relative;
    width: calc(100% + 2.9rem);
    margin: -1.35rem -1.45rem 1rem -1.45rem;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-height: 130px;
    height: 130px;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

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

.card-badge {
    position: absolute;
    bottom: 8px;
    left: 12px;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(6px);
    color: #ffffff;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-content-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-keywords-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0.6rem 0 0.4rem;
}

.keyword-pill {
    background-color: var(--bg-page);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.keyword-pill:hover {
    color: var(--primary);
    border-color: var(--primary);
}

/* SEO Keywords Cloud Banner */
.seo-keywords-banner {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.2rem 1.6rem;
    margin: 2rem auto 1rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.keywords-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.keywords-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}

.search-keyword-chip {
    background-color: var(--bg-page);
    border: 1.5px solid var(--border-color);
    color: var(--text-primary);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    line-height: 1.4;
}

.search-keyword-chip i,
.indexable-tag-chip i,
.indexable-tag-link i,
.poster-badge i {
    margin-right: 6px !important;
    font-size: 0.8rem;
    display: inline-block;
    flex-shrink: 0;
}

.search-keyword-chip:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff !important;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

/* Quote Actions (Copy, WhatsApp, Share, Like, Card Studio) */
.quote-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 0.65rem 0.85rem;
    border-top: 1px solid var(--border-color);
    margin-top: 0.8rem;
    gap: 4px 6px;
}

.quote-actions button,
.quote-actions a.maker-quick-link {
    background: transparent;
    border: 1px solid transparent;
    padding: 4px 7px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    transition: var(--transition);
    white-space: nowrap !important;
    text-decoration: none !important;
    line-height: 1.2 !important;
    flex-shrink: 0 !important;
}

.quote-actions button:hover,
.quote-actions a.maker-quick-link:hover {
    background-color: var(--bg-page);
    color: var(--primary);
    border-color: var(--border-color);
}

.quote-actions .maker-quick-link {
    color: #8b5cf6 !important;
}

.quote-actions .maker-quick-link i {
    color: #8b5cf6 !important;
    font-size: 0.82rem;
}

.quote-actions .maker-quick-link:hover {
    background-color: #f5f3ff !important;
    color: #7c3aed !important;
    border-color: #ddd6fe !important;
}

.quote-actions .like-btn {
    margin-left: auto;
}

.whatsapp-btn {
    color: #16a34a !important;
}

.whatsapp-btn:hover {
    background-color: #dcfce7 !important;
    border-color: #86efac !important;
    color: #15803d !important;
}

.like-btn.liked {
    color: #e11d48 !important;
}

.like-btn.liked i {
    font-weight: 900;
    color: #e11d48;
    animation: heartPop 0.35s ease;
}

@keyframes heartPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

/* ==========================================================
   TEXT-ON-IMAGE QUOTE POSTER (PINTEREST / INSTAGRAM / GOOGLE IMAGES STYLE)
   ========================================================== */
.quote-poster-card {
    padding: 0 !important;
    overflow: hidden;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.quote-poster-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.quote-poster {
    position: relative;
    min-height: 320px;
    flex: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.4rem 1.4rem 1.2rem;
    color: #ffffff;
    overflow: hidden;
    isolation: isolate;
}

.poster-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.quote-poster-card:hover .poster-bg-img,
.article-quote-card-wrap:hover .poster-bg-img,
.article-section-poster:hover .poster-bg-img {
    transform: scale(1.05);
}

.poster-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.38) 0%,
        rgba(15, 23, 42, 0.08) 22%,
        rgba(15, 23, 42, 0.35) 48%,
        rgba(15, 23, 42, 0.78) 72%,
        rgba(15, 23, 42, 0.95) 100%
    );
    z-index: 1;
    pointer-events: none;
    transition: background 0.3s ease;
}

.quote-poster-card:hover .poster-overlay,
.article-quote-card-wrap:hover .poster-overlay,
.article-section-poster:hover .poster-overlay {
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.3) 0%,
        rgba(15, 23, 42, 0.05) 22%,
        rgba(15, 23, 42, 0.3) 48%,
        rgba(15, 23, 42, 0.72) 72%,
        rgba(15, 23, 42, 0.92) 100%
    );
}

.poster-top-bar {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 32px;
}

.poster-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.74rem;
    font-weight: 700;
    font-family: var(--font-sans);
    letter-spacing: 0.4px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 65%;
    flex-shrink: 1;
}

.poster-brand {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.88);
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Vertical Poster Inner Block - Seamless Edge-to-Edge Photographic Typography */
.poster-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: auto;
    margin-bottom: 0.8rem;
    padding: 0 0.8rem;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    transition: var(--transition);
}

.article-quote-card-wrap:hover .poster-inner {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform: translateY(-2px);
}

.poster-quote-icon {
    font-size: 2.2rem;
    color: #fbbf24;
    line-height: 1;
    margin-bottom: 0.35rem;
    display: inline-block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.85));
    opacity: 0.95;
}

.poster-quote-text {
    font-family: var(--font-quote);
    font-style: italic;
    font-weight: 600;
    font-size: 1.32rem;
    line-height: 1.55;
    color: #ffffff;
    margin: 0 0 0.9rem 0;
    letter-spacing: -0.2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 4px 22px rgba(0, 0, 0, 0.85);
}

.poster-quote-author {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.82rem;
    color: #fde68a;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    font-style: normal;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    background: transparent;
    border: none;
    padding: 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.poster-quote-author::before {
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    background: #fbbf24;
    opacity: 0.8;
    margin-bottom: 6px;
    border-radius: 2px;
}

.poster-quote-author small {
    display: block;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: none;
    margin-top: 2px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.poster-footer-bar {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.poster-watermark {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.72);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.card-meta-bottom {
    padding: 0.75rem 1.25rem 0.2rem;
    background-color: var(--bg-card);
}

.quote-poster-card .quote-actions {
    background-color: var(--bg-card);
    padding: 0.65rem 0.85rem;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
}

.download-img-btn {
    color: var(--accent) !important;
    font-weight: 700 !important;
}

.download-img-btn:hover {
    background-color: rgba(249, 115, 22, 0.12) !important;
    color: var(--accent-dark) !important;
}

/* Article Section Media as Picture Quote Poster (Horizontal Header) */
.article-section-poster {
    border-radius: var(--radius-lg);
    min-height: 380px;
    margin-bottom: 0.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    padding: 2rem 2.2rem 1.5rem;
}

.article-section-poster .poster-inner {
    max-width: 840px;
    margin: auto auto;
    padding: 1.8rem 2.2rem;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.article-section-poster .poster-quote-text {
    font-size: 1.55rem;
    line-height: 1.55;
    letter-spacing: -0.3px;
}

.article-section-poster .poster-quote-icon {
    font-size: 2.6rem;
    margin-bottom: 0.4rem;
}

.article-section-poster .poster-quote-author {
    font-size: 0.88rem;
    letter-spacing: 2px;
}

/* ==========================================================
   VERTICAL PORTRAIT PICTURE QUOTE CARDS (PINTEREST / INSTAGRAM 4:5 RATIO)
   ========================================================== */
.vertical-poster {
    min-height: 480px;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    padding: 1.5rem 1.25rem 1.25rem;
}

.vertical-poster .poster-inner {
    margin-top: auto;
    margin-bottom: 0.6rem;
    max-width: 100%;
}

.article-quote-stack {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin: 2.2rem 0 3rem;
}

.article-quote-card-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.article-quote-card-wrap:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
    border-color: var(--primary);
}

.article-quote-card-wrap .quote-takeaway {
    padding: 0.85rem 1.15rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    background: var(--bg-page);
    border-top: 1px solid var(--border-color);
    line-height: 1.6;
}

.article-quote-card-wrap .quote-actions {
    background: var(--bg-card);
    padding: 0.85rem 1.15rem;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .article-quote-stack {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .vertical-poster {
        min-height: 420px;
        aspect-ratio: 4 / 5;
        padding: 1.2rem 1rem 1rem;
    }
    .vertical-poster .poster-quote-text {
        font-size: 1.12rem;
        line-height: 1.5;
    }
}

/* ==========================================================
   INNER PAGE HEADERS & FILTERS
   ========================================================== */
.quote-page-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #ffffff;
    padding: 4.5rem 1.5rem;
    text-align: center;
    position: relative;
}

.quote-page-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    letter-spacing: -0.5px;
}

.quote-page-header p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    margin: 0 auto;
}

.quote-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 2.5rem auto 1.5rem;
    max-width: 900px;
}

.filter-btn {
    padding: 9px 22px;
    background-color: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}

.page-quick-filter {
    max-width: 500px;
    margin: 0 auto 2.5rem;
}

.filter-input-wrap {
    display: flex;
    align-items: center;
    background-color: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 8px 18px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.filter-input-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.filter-input-wrap i {
    color: var(--text-secondary);
    margin-right: 12px;
}

.filter-input-wrap input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* Subcategory Container */
.category-section {
    padding: 5rem 0;
}

.category-section:nth-child(even) {
    background-color: var(--bg-card);
}

.subcategory-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.subcategory-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.8rem 1.2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.subcategory-card i {
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.subcategory-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
}

.subcategory-card:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.subcategory-card:hover i,
.subcategory-card:hover h3 {
    color: #ffffff;
}

/* ==========================================================
   PAGINATION
   ========================================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 3.5rem 0 5rem;
}

.pagination a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 1.5px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.pagination a:hover,
.pagination a.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

/* ==========================================================
   SEARCH RESULTS BANNER & EMPTY STATE
   ========================================================== */
.search-results-banner {
    background: linear-gradient(135deg, var(--nav-bg) 0%, var(--nav-bg-end) 100%);
    color: #ffffff;
    padding: 3.5rem 0;
    text-align: center;
}

.search-results-banner h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 8px 0;
}

.empty-state {
    text-align: center;
    padding: 4rem 1rem;
    background-color: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-lg);
    max-width: 650px;
    margin: 0 auto;
}

.empty-icon {
    font-size: 3.5rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* ==========================================================
   FOOTER (NO PHONE, NO EMAIL)
   ========================================================== */
.main-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-widgets {
    padding: 5rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 36px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.2rem;
}

.footer-logo .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
}

.footer-logo h3 {
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 800;
}

.footer-widget h3 {
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.4rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.footer-widget p {
    color: var(--footer-link);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 1.4rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links li a {
    color: var(--footer-link);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links li a i {
    font-size: 0.75rem;
    color: var(--accent);
}

.footer-links li a:hover {
    color: var(--footer-link-hover);
    transform: translateX(4px);
}

.social-links h4 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.social-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-link);
    font-size: 0.95rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--accent);
    color: #ffffff;
    transform: translateY(-3px);
}

.subscribe-input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    overflow: hidden;
    padding: 4px;
    margin-bottom: 8px;
}

.subscribe-input-group input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 10px 16px;
    color: #ffffff;
    font-size: 0.9rem;
}

.subscribe-input-group button {
    background: var(--accent);
    color: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.subscribe-input-group button:hover {
    background: var(--accent-dark);
}

.subscribe-hint {
    font-size: 0.75rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.25);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.88rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

/* ==========================================================
   TOAST NOTIFICATION (UI/UX FEEDBACK)
   ========================================================== */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #0f172a;
    color: #ffffff;
    padding: 14px 24px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    border-left: 4px solid var(--accent);
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 0.95rem;
}

.toast-icon {
    color: #22c55e;
    font-size: 1.2rem;
}

/* ==========================================================
   MODAL DIALOG (SHARE QUOTE)
   ========================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background-color: var(--bg-card);
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transform: scale(0.95);
    transition: var(--transition);
}

.modal-overlay.active .modal-box {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--text-secondary);
    line-height: 1;
}

.modal-body {
    padding: 24px;
}

.share-preview {
    font-style: italic;
    background-color: var(--bg-page);
    padding: 14px 18px;
    border-radius: var(--radius);
    border-left: 3px solid var(--primary);
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.share-buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.social-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: var(--radius);
    border: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.social-share-btn.whatsapp { background-color: #25d366; }
.social-share-btn.twitter { background-color: #0f1419; }
.social-share-btn.facebook { background-color: #1877f2; }
.social-share-btn.telegram { background-color: #229ed9; }

.social-share-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.share-copy-row {
    display: flex;
    gap: 8px;
}

.share-copy-row input {
    flex: 1;
    background-color: var(--bg-page);
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* ==========================================================
   FLOATING BACK TO TOP BUTTON
   ========================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.5);
}

/* ==========================================================
   RESPONSIVE DESIGN (DESKTOP, TABLET & MOBILE)
   ========================================================== */

/* TABLET LANDSCAPE & PORTRAIT (max-width: 1024px) */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .hero h2 {
        font-size: 2.5rem;
    }
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .quotes-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
    .category-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .subcategory-container {
        grid-template-columns: repeat(3, 1fr);
    }
    .article-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .article-sidebar,
    .sidebar-card {
        position: static;
    }
}

@media screen and (min-width: 993px) and (max-width: 1400px) {
    .header-container {
        padding: 6px 12px;
        gap: 6px;
    }
    .logo a {
        gap: 8px;
    }
    .logo-box {
        width: 36px;
        height: 36px;
        font-size: 24px;
        border-radius: 10px;
    }
    .logo-text h1 {
        font-size: 1.1rem;
    }
    .logo-text .tagline {
        display: none;
    }
    .nav-links {
        gap: 1px;
    }
    .nav-links li a {
        padding: 5px 6px;
        font-size: 0.78rem;
        gap: 3px;
    }
    .header-search-pill form {
        width: 120px;
    }
    .header-search-pill form:focus-within {
        width: 160px;
    }
    .header-right {
        gap: 6px;
    }
}

/* MOBILE & TABLETS (max-width: 992px) */
@media screen and (max-width: 992px) {
    body, html {
        overflow-x: hidden;
    }

    .container {
        padding: 0 16px;
    }

    .header-search-pill {
        display: none;
    }

    .menu-icon {
        display: inline-flex;
    }

    .nav-links {
        position: fixed;
        top: 64px;
        left: -100%;
        flex-direction: column;
        background: #ffffff;
        width: 100%;
        height: calc(100vh - 64px);
        padding: 1.2rem;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 9999;
        overflow-y: auto;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        gap: 4px;
    }

    .dark-mode .nav-links {
        background: #0f172a;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    }

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

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #f1f5f9;
    }

    .dark-mode .nav-links li {
        border-bottom-color: #1e293b;
    }

    .nav-links li a {
        padding: 12px 14px;
        font-size: 0.95rem;
        justify-content: space-between;
        width: 100%;
        border-radius: 8px;
    }

    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        border-left: 3px solid #0284c7;
        background: #f8fafc;
        margin: 4px 0 8px 12px;
        border-radius: 0;
    }

    .dark-mode .dropdown-content {
        background: #1e293b;
    }

    .dropdown-content a {
        color: #475569 !important;
        padding: 10px 14px !important;
        font-size: 0.9rem !important;
    }

    .dark-mode .dropdown-content a {
        color: #cbd5e1 !important;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .mega-menu-content {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        border-left: 3px solid #2563eb;
        background: #f8fafc;
        margin: 4px 0 10px 10px;
        padding: 12px 14px;
        border-radius: 8px;
    }

    .dark-mode .mega-menu-content {
        background: #1e293b;
        border-left-color: #38bdf8;
    }

    .dropdown.active .mega-menu-content,
    .dropdown.open .mega-menu-content {
        display: block !important;
    }

    .mega-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .mega-col-header {
        display: flex;
        align-items: center;
        gap: 6px;
        padding-bottom: 4px;
        border-bottom: 1px solid #e2e8f0;
        margin-bottom: 6px;
    }

    .dark-mode .mega-col-header {
        border-bottom-color: #334155;
    }

    .mega-col-header h4 {
        font-size: 0.78rem;
        font-weight: 700;
        color: #64748b;
        text-transform: uppercase;
        letter-spacing: 0.4px;
        margin: 0;
    }

    .dark-mode .mega-col-header h4 {
        color: #94a3b8;
    }

    .mega-col-header i {
        color: #2563eb;
        font-size: 0.8rem;
    }

    .dark-mode .mega-col-header i {
        color: #38bdf8;
    }

    .mega-links {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .mega-links li a {
        color: #334155 !important;
        padding: 8px 10px !important;
        font-size: 0.88rem !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        border-radius: 6px !important;
        border: none !important;
        background: transparent !important;
    }

    .dark-mode .mega-links li a {
        color: #cbd5e1 !important;
    }

    .mega-links li a i {
        color: #2563eb;
        font-size: 0.82rem;
        width: 16px;
    }

    .dark-mode .mega-links li a i {
        color: #38bdf8;
    }

    .mega-spotlight-col {
        display: none !important;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .hero h2 {
        font-size: 1.95rem;
    }

    .hero p {
        font-size: 1.05rem;
    }

    .hero-search {
        max-width: 100%;
    }

    .hero-search-form {
        padding: 4px;
    }

    .hero-search-form input {
        font-size: 0.9rem;
        padding: 10px 12px;
    }

    .hero-search-form button {
        padding: 10px 18px;
        font-size: 0.88rem;
    }

    .stats-bar .container {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .quotes-container {
        grid-template-columns: 1fr;
        padding: 0 10px;
        gap: 16px;
    }

    .category-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .subcategory-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .quote-item.quote-card {
        padding: 1.25rem;
    }

    .quote-actions {
        flex-wrap: wrap;
        gap: 6px;
    }

    .quote-actions button {
        min-height: 38px;
        padding: 6px 10px;
        font-size: 0.78rem;
    }

    .quote-page-header {
        padding: 3rem 1rem;
    }

    .quote-page-header h1 {
        font-size: 1.85rem;
    }

    .article-hero {
        padding: 3rem 1rem 2rem;
    }

    .article-hero-title {
        font-size: 1.85rem;
        line-height: 1.25;
    }

    .article-hero-subtitle {
        font-size: 1.05rem;
    }

    .article-section h2 {
        font-size: 1.5rem;
    }

    .article-quote-block {
        padding: 1.25rem 1rem;
    }

    .article-quote-text {
        font-size: 1.05rem;
        line-height: 1.7;
    }

    .action-steps-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .toc-list {
        grid-template-columns: 1fr;
    }

    .author-bio-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .internal-links-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* TABLETS & MOBILES (max-width: 768px) */
@media screen and (max-width: 768px) {
    .logo-text .tagline {
        display: none !important;
    }
    .logo-box {
        width: 36px;
        height: 36px;
        font-size: 22px;
        border-radius: 10px;
    }
    .logo-text h1 {
        font-size: 1.15rem;
    }
}

/* COMPACT MOBILE PHONES (max-width: 480px) */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .hero-heading {
        font-size: 1.75rem !important;
        line-height: 1.25 !important;
    }

    .hero-desc {
        font-size: 0.92rem !important;
    }

    .hero-fluid {
        padding: 2.2rem 0 2rem !important;
    }

    .hero-scenic-mask {
        height: 220px !important;
    }

    .hero-memo-card {
        width: 180px !important;
        padding: 14px 12px !important;
    }

    .nav-links {
        padding: 1rem 0.85rem !important;
    }

    .dropdown-content a {
        padding: 12px 14px !important;
    }

    .logo h1 {
        font-size: 1.25rem;
    }

    .hero h2 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .hero-tags {
        gap: 6px;
    }

    .hero-tags a {
        font-size: 0.78rem;
        padding: 5px 12px;
    }

    .stat-item .number {
        font-size: 1.6rem;
    }

    .stat-item .label {
        font-size: 0.78rem;
    }

    .quote-page-header h1 {
        font-size: 1.55rem;
    }

    .quote-page-header p {
        font-size: 0.92rem;
    }

    .share-buttons-grid {
        grid-template-columns: 1fr;
    }

    .quote-filters {
        gap: 6px;
        padding: 8px 10px;
        border-radius: var(--radius-md);
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .filter-btn {
        padding: 6px 14px;
        font-size: 0.8rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .subcategory-container {
        grid-template-columns: 1fr;
    }

    .article-hero-title {
        font-size: 1.55rem;
    }

    .article-meta-row {
        gap: 8px;
        font-size: 0.82rem;
    }

    .article-quote-block {
        padding: 1rem 0.85rem;
    }

    .article-quote-text {
        font-size: 0.98rem;
    }

    .quote-actions button {
        padding: 6px 8px;
        font-size: 0.75rem;
    }

    .btn {
        padding: 10px 18px;
        font-size: 0.88rem;
    }

    .toast {
        left: 10px;
        right: 10px;
        transform: translateY(100px);
        max-width: calc(100% - 20px);
        margin: 0 auto;
    }

    .toast.show {
        transform: translateY(0);
    }
}

/* ULTRA-COMPACT SMARTPHONES (max-width: 360px) */
@media screen and (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    .logo-box {
        width: 32px;
        height: 32px;
        font-size: 18px;
        border-radius: 8px;
    }
    .logo-text h1 {
        font-size: 1.05rem;
    }
    .theme-toggle,
    #favoritesHeaderBtn,
    .menu-icon {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    .header-right {
        gap: 4px;
    }
    .hero-heading {
        font-size: 1.55rem !important;
    }
    .hero-memo-card {
        width: 160px !important;
        padding: 12px 10px !important;
    }
}

/* ==========================================================
   TOP RATED & EDITORIAL ARTICLES STYLES
   ========================================================== */
.top-articles-section {
    padding: 6rem 0;
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.article-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.article-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.article-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.article-card:hover .article-thumb {
    transform: scale(1.08);
}

.article-badges {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.badge-volume {
    background: rgba(234, 88, 12, 0.9);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4);
}

.badge-rating {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #facc15;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}

.article-body {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 0.82rem;
}

.article-category-tag {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-read-time {
    color: var(--text-secondary);
    font-weight: 500;
}

.article-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.28rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.article-title a {
    color: var(--text-primary);
    transition: var(--transition);
}

.article-title a:hover {
    color: var(--primary);
}

.article-excerpt {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    flex: 1;
}

.article-keywords-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 1.4rem;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding-top: 1.1rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.article-author-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    min-width: 0;
    flex: 1;
}

.article-author-info i {
    font-size: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
    line-height: 1;
}

.article-author-info span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* ==========================================================
   ARTICLE FULL EDITORIAL VIEW
   ========================================================== */
.article-hero-header {
    padding: 6rem 1.5rem 5rem;
    color: #ffffff;
    text-align: center;
    position: relative;
}

.article-hero-content {
    max-width: 860px;
    margin: 0 auto;
}

.article-badges-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1.4rem;
    flex-wrap: wrap;
}

.badge-time {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.article-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.article-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.8rem;
    line-height: 1.6;
}

.article-hero-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    flex-wrap: wrap;
}

.article-layout {
    display: grid;
    grid-template-columns: 2.4fr 1fr;
    gap: 40px;
    align-items: start;
}

.article-lead-box {
    background: var(--primary-light);
    border-left: 4px solid var(--primary);
    padding: 1.8rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
}

.lead-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-weight: 500;
}

.article-quick-share {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1.2rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.article-quick-share span {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.article-section {
    margin-bottom: 3rem;
}

.article-section h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.article-quote-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 2rem 0;
}

/* Reading Progress Bar */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3.5px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
    z-index: 999999;
    transition: width 0.1s ease-out;
}

.article-quote-block {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.8rem 2.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: var(--transition);
    border-left: 4px solid var(--primary);
}

.article-quote-block:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-left-color: var(--accent);
}

.quote-number {
    position: absolute;
    top: 18px;
    right: 22px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-light);
}

.article-quote-text {
    font-family: var(--font-quote);
    font-size: 1.25rem;
    line-height: 1.65;
    font-style: italic;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    letter-spacing: -0.2px;
}

.article-quote-author {
    font-family: var(--font-sans);
    font-weight: 700;
    color: var(--primary);
    font-size: 0.88rem;
    display: block;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.quote-takeaway {
    background-color: var(--bg-page);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.quote-takeaway strong {
    color: var(--text-primary);
}

.article-tags-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
}

.tags-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-right: 8px;
}

/* Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: sticky;
    top: 90px;
}

.sidebar-widget {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
}

.sidebar-widget h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==============================================================================
   SIDEBAR NEWSLETTER & SUBSCRIBE CARD (DAILY WORDS OF POWER)
   ============================================================================== */
.sidebar-widget.subscribe-card {
    background: linear-gradient(145deg, #ffffff 0%, #f0f7ff 100%);
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-lg, 16px);
    padding: 1.8rem;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.08);
    position: relative;
    overflow: hidden;
}

.sidebar-widget.subscribe-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f97316 0%, #2563eb 100%);
}

.sidebar-widget.subscribe-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.3px;
}

.sidebar-widget.subscribe-card h3 i {
    color: #f97316 !important;
    font-size: 1.15rem;
    filter: drop-shadow(0 2px 4px rgba(249, 115, 22, 0.3));
}

.sidebar-widget.subscribe-card p {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

/* Modern Pill Input Group for Subscribe */
.sidebar-widget.subscribe-card .subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.subscribe-field-group {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 50px;
    padding: 4px 5px 4px 16px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.subscribe-field-group:focus-within {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.subscribe-field-group input[type="email"] {
    flex: 1;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    font-size: 0.92rem;
    color: #1e293b;
    padding: 8px 4px;
    min-width: 0;
    box-shadow: none !important;
}

.subscribe-field-group input[type="email"]::placeholder {
    color: #94a3b8;
    font-size: 0.9rem;
}

.subscribe-field-group button[type="submit"] {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
    color: #ffffff !important;
    border: none !important;
    outline: none !important;
    border-radius: 50px !important;
    padding: 9px 18px !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 3px 10px rgba(249, 115, 22, 0.35) !important;
    white-space: nowrap !important;
    flex-shrink: 0;
    letter-spacing: 0.2px;
}

.subscribe-field-group button[type="submit"]:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.45) !important;
}

.subscribe-field-group button[type="submit"]:active {
    transform: translateY(0);
}

.subscribe-field-group button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.subscribe-card .subscribe-guarantee {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 4px;
    line-height: 1.4;
}

.subscribe-card .subscribe-guarantee i {
    color: #10b981;
    font-size: 0.85rem;
}

.subscribe-alert-msg {
    margin-top: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.84rem;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 8px;
}

.subscribe-alert-msg.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.subscribe-alert-msg.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.sidebar-article-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-article-list li a {
    display: flex;
    gap: 12px;
    align-items: center;
    transition: var(--transition);
}

.sidebar-article-list li a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.sidebar-article-list img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.sidebar-article-list h4 {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.sidebar-article-list .sub-meta {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

/* ==========================================================
   COMPETITOR-GRADE EDITORIAL ARTICLE EXPANSIONS
   ========================================================== */

/* Breadcrumb Navigation */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.breadcrumb-nav a {
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.breadcrumb-nav a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.breadcrumb-nav .separator {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-nav .current {
    color: var(--accent);
    font-weight: 600;
}

/* Article Author Bio Block */
.article-author-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.author-pill-img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
}

/* Table of Contents (TOC) - Modern Card Layout */
.article-toc {
    display: block !important;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.8rem 2rem;
    margin: 2rem 0 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    width: 100%;
    clear: both;
}

.toc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    width: 100%;
}

.toc-header-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(37, 99, 235, 0.04) 100%);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.toc-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 12px 24px;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.toc-list li {
    width: 100%;
    margin: 0;
}

.toc-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.93rem;
    font-weight: 500;
    transition: var(--transition);
    padding: 10px 14px;
    border-radius: var(--radius);
    background: var(--bg-page);
    border: 1px solid var(--border-color);
    width: 100%;
}

.toc-num-pill {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--primary);
    font-size: 0.76rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.toc-list li a:hover {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.06);
    border-color: var(--primary-light);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.toc-list li a i.fa-arrow-right {
    margin-left: auto;
    font-size: 0.85rem;
    color: var(--primary);
    opacity: 0.85;
    transition: var(--transition);
}

.toc-list li a:hover i.fa-arrow-right {
    opacity: 1;
    transform: translateX(3px);
}

/* Section Images & Visuals */
.article-section-media {
    margin: 1.5rem 0 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.article-section-img {
    width: 100%;
    max-height: 420px;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.article-section-media:hover .article-section-img {
    transform: scale(1.02);
}

.section-caption {
    background: var(--bg-card);
    padding: 10px 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Actionable Steps Guide */
.article-action-guide {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(249, 115, 22, 0.05) 100%);
    border: 1.5px solid var(--primary-light);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    margin: 3.5rem 0;
}

.action-guide-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.action-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.action-step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.4rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.action-step-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.action-step-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.action-step-card p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* FAQ Accordion Section */
.article-faq-section {
    margin: 3.5rem 0;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 1.5rem;
}

.faq-accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.2rem 1.6rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.faq-accordion-item:hover {
    border-color: var(--primary);
}

.faq-accordion-item summary {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    outline: none;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-accordion-item summary::-webkit-details-marker {
    display: none;
}

.faq-accordion-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.9rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-accordion-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-answer {
    padding-top: 1rem;
    margin-top: 0.8rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.96rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Contextual Internal Linking Box */
.article-internal-links-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 3.5rem 0 2rem;
    box-shadow: var(--shadow-sm);
}

.internal-links-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.internal-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}

.internal-link-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-page);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.internal-link-card i {
    font-size: 1.2rem;
    color: var(--primary);
}

.internal-link-card:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-3px);
}

.internal-link-card:hover i {
    color: #ffffff;
}

@media screen and (max-width: 992px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
    .article-hero-title {
        font-size: 2.2rem;
    }
    .action-steps-grid {
        grid-template-columns: 1fr;
    }
    .toc-list {
        grid-template-columns: 1fr;
    }
    .article-sidebar,
    .sidebar-card {
        position: static !important;
    }
}

@media screen and (max-width: 768px) {
    .article-hero {
        padding: 3rem 1rem 2rem;
    }
    .article-hero-title {
        font-size: 1.85rem;
    }
    .article-section h2 {
        font-size: 1.45rem;
    }
    .vertical-poster {
        min-height: 420px !important;
        aspect-ratio: 4 / 5 !important;
        padding: 1.2rem 1rem 1rem;
    }
    .poster-quote-text {
        font-size: 1.15rem;
        line-height: 1.5;
    }
    .article-section-poster {
        min-height: 300px;
    }
    .article-section-poster .poster-quote-text {
        font-size: 1.25rem;
    }
}

@media screen and (max-width: 480px) {
    .article-hero-title {
        font-size: 1.55rem;
    }
    .article-quote-block {
        padding: 1.1rem 0.9rem;
    }
    .article-quote-text {
        font-size: 1.05rem;
    }
    .vertical-poster {
        min-height: 380px !important;
        aspect-ratio: 4 / 5 !important;
        padding: 1.1rem 0.9rem 0.9rem;
    }
    .poster-quote-text {
        font-size: 1.05rem;
        line-height: 1.5;
    }
    .poster-quote-author {
        font-size: 0.76rem;
    }
    .poster-quote-icon {
        font-size: 1.6rem;
    }
    .article-section-poster {
        min-height: 270px;
        padding: 1.2rem 1rem;
    }
    .article-section-poster .poster-quote-text {
        font-size: 1.15rem;
    }
}

/* ==========================================================
   HERO FLUID & PASTEL CARDS RESPONSIVE & DARK MODE
   ========================================================== */
@media screen and (max-width: 1200px) {
    .category-pastel-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 992px) {
    .hero-fluid-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-fluid-content {
        align-items: center;
    }

    .hero-heading {
        font-size: 2.8rem;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-search-bar {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-trending-tags {
        justify-content: center;
    }

    .category-pastel-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-scenic-mask {
        height: 320px;
    }

    .hero-floating-card-wrapper {
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

@media screen and (max-width: 640px) {
    .hero-fluid {
        padding: 3rem 0 2.5rem;
    }

    .hero-heading {
        font-size: 2.15rem;
    }

    .hero-search-submit {
        padding: 10px 18px;
        font-size: 0.88rem;
    }

    .category-pastel-grid {
        grid-template-columns: 1fr;
    }

    .explore-header-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-scenic-mask {
        height: 260px;
        border-radius: 24px;
    }

    .hero-memo-card {
        width: 200px;
        padding: 18px 16px;
    }

    .memo-title {
        font-size: 1.15rem;
    }

    .memo-highlight {
        font-size: 1.25rem;
    }
}

/* Dark Mode Overrides */
.dark-mode .main-header {
    background-color: #0f172a;
    border-bottom-color: #1e293b;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.dark-mode .logo-text h1 {
    color: #f8fafc;
}

.dark-mode .logo-text .tagline {
    color: #94a3b8;
}

.dark-mode .nav-links li a {
    color: #cbd5e1;
}

.dark-mode .nav-links li a:hover {
    color: #38bdf8;
    background-color: #1e293b;
}

.dark-mode .nav-pill.active,
.dark-mode .nav-links li a.active {
    background-color: #1e293b !important;
    color: #38bdf8 !important;
}

.dark-mode .dropdown-content {
    background-color: #0f172a;
    border-color: #1e293b;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.dark-mode .dropdown-content a {
    color: #cbd5e1 !important;
    border-bottom-color: #1e293b;
}

.dark-mode .dropdown-content a:hover {
    background-color: #1e293b !important;
    color: #38bdf8 !important;
}

.dark-mode .mega-menu-content {
    background-color: #0f172a;
    border-color: #1e293b;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

.dark-mode .mega-col-header {
    border-bottom-color: #1e293b;
}

.dark-mode .mega-col-header h4 {
    color: #94a3b8;
}

.dark-mode .mega-links li a {
    color: #cbd5e1 !important;
}

.dark-mode .mega-links li a i {
    color: #94a3b8;
}

.dark-mode .mega-links li a:hover {
    background-color: #1e293b !important;
    color: #38bdf8 !important;
}

.dark-mode .mega-links li a:hover i {
    color: #38bdf8;
}

.dark-mode .mega-links li a.highlight-link {
    background-color: #1e293b !important;
    color: #38bdf8 !important;
}

.dark-mode .mega-spotlight-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-color: #334155;
}

.dark-mode .mega-spotlight-card h5 {
    color: #f8fafc;
}

.dark-mode .mega-spotlight-card p {
    color: #94a3b8;
}

.dark-mode .spotlight-badge {
    background: #334155;
    color: #93c5fd;
}

.dark-mode .header-search-pill form {
    background-color: #1e293b;
    border-color: #334155;
}

.dark-mode .header-search-pill input {
    color: #f8fafc;
}

.dark-mode .theme-toggle {
    background-color: #1e293b;
    border-color: #334155;
    color: #f8fafc;
}

.dark-mode .menu-icon {
    background-color: #1e293b;
    border-color: #334155;
    color: #f8fafc;
}

.dark-mode .hero-fluid {
    background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.22) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(147, 51, 234, 0.2) 0%, transparent 45%),
                linear-gradient(135deg, #0b1329 0%, #0f172a 45%, #1e1b4b 100%);
    border-bottom-color: #1e293b;
}

.dark-mode .hero-heading {
    color: #f8fafc;
}

.dark-mode .hero-desc {
    color: #94a3b8;
}

.dark-mode .hero-search-form {
    background-color: #0f172a;
    border-color: #334155;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.dark-mode .hero-search-form input {
    color: #f8fafc;
}

.dark-mode .hero-search-form input::placeholder {
    color: #64748b;
}

.dark-mode .trending-label {
    color: #f8fafc;
}

.dark-mode .hero-memo-card {
    background-color: #1e293b;
    border-color: #334155;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.dark-mode .memo-title,
.dark-mode .memo-sub {
    color: #cbd5e1;
}

.dark-mode .memo-highlight {
    color: #ffffff;
}

.dark-mode .explore-categories-section {
    background-color: #0f172a;
    border-bottom-color: #1e293b;
}

.dark-mode .explore-header-row h2 {
    color: #f8fafc;
}

.dark-mode .explore-view-all {
    color: #94a3b8;
}

.dark-mode .pastel-card {
    background-color: #1e293b;
    border-color: #334155;
}

.dark-mode .pastel-card:hover {
    border-color: #38bdf8;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.dark-mode .pastel-card h3 {
    color: #f8fafc;
}

.dark-mode .pastel-card p {
    color: #94a3b8;
}

/* ==========================================================
   QUOTE & GREETING CARD MAKER STUDIO STYLES
   ========================================================== */
.card-maker-hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f8fafc 100%);
    padding: 3.8rem 1rem 3rem;
    text-align: center;
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.card-maker-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.85rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.6px;
    margin: 12px 0 10px;
}

.card-maker-hero p {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.card-maker-container {
    padding: 3rem 20px 5rem;
}

.maker-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: flex-start;
}

.maker-controls {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.control-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.control-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
}

.control-card h3 i {
    color: #2563eb;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
    flex: 1;
}

.form-group label {
    font-size: 0.84rem;
    font-weight: 600;
    color: #334155;
}

.form-group textarea,
.form-group input[type="text"],
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.92rem;
    color: #0f172a;
    background: #f8fafc;
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-group textarea:focus,
.form-group input[type="text"]:focus,
.form-group select:focus {
    border-color: #0284c7;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-row {
    display: flex;
    gap: 14px;
}

.preset-quotes-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.btn-preset {
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-preset:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

/* Aspect Ratio Selector */
.ratio-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.ratio-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ratio-btn:hover {
    border-color: #93c5fd;
    background: #f0f9ff;
}

.ratio-btn.active {
    border-color: #0284c7;
    background: #f0f9ff;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12);
}

.ratio-icon {
    display: block;
    border: 2px solid #64748b;
    border-radius: 6px;
    margin-bottom: 10px;
}

.square-icon {
    width: 38px;
    height: 38px;
}

.story-icon {
    width: 26px;
    height: 46px;
}

.ratio-btn.active .ratio-icon {
    border-color: #0284c7;
    background: rgba(2, 132, 199, 0.15);
}

.ratio-title {
    font-weight: 700;
    font-size: 0.92rem;
    color: #0f172a;
}

.ratio-sub {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 3px;
}

/* Text Align & Colors */
.align-btn-group {
    display: flex;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    overflow: hidden;
}

.align-btn {
    flex: 1;
    padding: 9px;
    background: #f8fafc;
    border: none;
    cursor: pointer;
    color: #475569;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.align-btn:hover {
    background: #e2e8f0;
}

.align-btn.active {
    background: #0284c7;
    color: #ffffff;
}

.color-picker-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.color-swatch {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.color-swatch:hover,
.color-swatch.active {
    transform: scale(1.15);
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25);
}

#makerCustomColor {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    cursor: pointer;
    padding: 0;
    background: none;
}

/* Background Tabs & Grid */
.bg-category-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 14px;
    padding-bottom: 8px;
}

.bg-tab-btn {
    padding: 6px 14px;
    background: none;
    border: none;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.bg-tab-btn:hover {
    color: #0284c7;
    background: #f0f9ff;
}

.bg-tab-btn.active {
    color: #0284c7;
    background: #e0f2fe;
}

.bg-tab-content {
    display: none;
}

.bg-tab-content.active {
    display: grid;
}

.bg-thumb-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.bg-thumb {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    text-align: center;
}

.bg-thumb img,
.gradient-preview {
    width: 100%;
    height: 64px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.bg-thumb span {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: #475569;
    margin-top: 4px;
}

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

.bg-thumb.active {
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25);
}

/* Preview Panel */
.maker-preview-panel {
    position: sticky;
    top: 85px;
}

.preview-sticky-wrap {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    padding: 16px 18px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    max-height: calc(100vh - 90px);
    overflow-y: auto;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.preview-header h4 {
    font-size: 0.96rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.preview-hint {
    font-size: 0.72rem;
    font-weight: 700;
    color: #0284c7;
    background: #e0f2fe;
    padding: 2px 9px;
    border-radius: 50px;
}

/* Canvas Card Wrapper - Sized to fit comfortably without excessive zoom */
.canvas-wrapper {
    width: 290px;
    height: 290px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    position: relative;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.canvas-wrapper.aspect-story {
    width: 205px;
    height: 364px;
    aspect-ratio: 9 / 16;
}

.canvas-wrapper canvas {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

/* Maker Action Buttons - Compact Grid to ensure all buttons fit on screen */
.maker-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.maker-secondary-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.btn-download-hd {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 18px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
    transition: all 0.2s ease;
    width: 100%;
}

.btn-download-hd:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.45);
}

.btn-whatsapp-share {
    background: #25d366;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 14px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-whatsapp-share:hover {
    background: #1eb956;
    transform: translateY(-2px);
}

.btn-pinterest-share {
    background: #e60023;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 14px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(230, 0, 35, 0.25);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-pinterest-share:hover {
    background: #cc001f;
    transform: translateY(-2px);
}

.btn-copy-msg {
    background: #f8fafc;
    color: #334155;
    border: 1.5px solid #cbd5e1;
    font-weight: 600;
    font-size: 0.84rem;
    padding: 9px 16px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    width: 100%;
}

.btn-copy-msg:hover {
    background: #e2e8f0;
    color: #0f172a;
    border-color: #94a3b8;
}

.maker-features-badge {
    display: flex;
    justify-content: space-around;
    font-size: 0.74rem;
    font-weight: 600;
    color: #64748b;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}

.maker-features-badge i {
    color: #16a34a;
}

/* Gradient Swatches (Reference Matching Double-Ring Design) */
.gradient-swatches-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding: 4px 0 10px;
}

.grad-swatch {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    outline: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
    position: relative;
    padding: 0;
}

.grad-swatch:hover {
    transform: scale(1.12);
    outline-color: #94a3b8;
}

.grad-swatch.active {
    transform: scale(1.15);
    outline: 3px solid #2563eb;
    outline-offset: 2px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

/* Occasion Pills */
.occasions-pills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.occasion-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 15px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    transition: all 0.2s ease;
}

.occasion-pill:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: #eff6ff;
    transform: translateY(-1px);
}

.occasion-pill.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.dark-mode .occasion-pill,
[data-theme="dark"] .occasion-pill {
    background: #1e293b;
    border-color: #475569;
    color: #f8fafc;
}

.dark-mode .occasion-pill:hover,
[data-theme="dark"] .occasion-pill:hover {
    background: #334155;
    border-color: #38bdf8;
    color: #38bdf8;
}

.dark-mode .occasion-pill.active,
[data-theme="dark"] .occasion-pill.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

@media screen and (max-width: 992px) {
    .maker-layout {
        grid-template-columns: 1fr;
    }
    .maker-preview-panel {
        position: static;
        order: -1;
    }
    .canvas-wrapper {
        max-width: 320px;
        margin: 0 auto 14px;
    }
}

@media screen and (max-width: 640px) {
    .card-maker-hero h1 {
        font-size: 2.1rem;
    }
    .form-row {
        flex-direction: column;
    }
    .bg-thumb-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Dark mode for Card Maker */
.dark-mode .card-maker-hero {
    background: linear-gradient(135deg, #0b1329 0%, #0f172a 50%, #1e1b4b 100%);
    border-bottom-color: #1e293b;
}

.dark-mode .card-maker-hero h1 {
    color: #f8fafc;
}

.dark-mode .control-card,
.dark-mode .preview-sticky-wrap {
    background: #0f172a;
    border-color: #1e293b;
}

.dark-mode .control-card h3,
.dark-mode .preview-header h4 {
    color: #f8fafc;
    border-bottom-color: #1e293b;
}

.dark-mode .form-group label {
    color: #cbd5e1;
}

.dark-mode .form-group textarea,
.dark-mode .form-group input[type="text"],
.dark-mode .form-group select {
    background: #1e293b;
    border-color: #334155;
    color: #f8fafc;
}

.dark-mode .ratio-btn {
    background: #1e293b;
    border-color: #334155;
}

.dark-mode .ratio-title {
    color: #f8fafc;
}

.dark-mode .bg-category-tabs {
    border-bottom-color: #1e293b;
}

/* ==========================================================
   AUTHOR HUB DIRECTORY & PROFILE STYLES
   ========================================================== */
.authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 26px;
}

.author-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.author-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
    border-color: #93c5fd;
}

.author-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.author-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    border: 2px solid #ffffff;
    flex-shrink: 0;
    background-color: #f1f5f9;
}

.author-avatar-badge {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    border: 2px solid #ffffff;
    flex-shrink: 0;
}

.author-hero-avatar-badge {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    border: 4px solid #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
    flex-shrink: 0;
}

.author-title-group h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.author-title-group h2 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.author-title-group h2 a:hover {
    color: #2563eb;
}

.author-role {
    font-size: 0.8rem;
    font-weight: 600;
    color: #0284c7;
    display: block;
    margin-top: 2px;
}

.author-years {
    font-size: 0.72rem;
    color: #94a3b8;
    display: block;
}

.author-bio-snippet {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.author-quote-box {
    background: #f8fafc;
    border-left: 3px solid #2563eb;
    border-radius: 0 10px 10px 0;
    padding: 12px 14px;
    margin-bottom: 18px;
    position: relative;
}

.quote-icon-subtle {
    font-size: 0.85rem;
    color: #93c5fd;
    margin-bottom: 4px;
}

.author-quote-snippet {
    font-style: italic;
    font-size: 0.85rem;
    color: #334155;
    line-height: 1.5;
    margin: 0;
}

.author-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.quotes-count-badge {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
}

.quotes-count-badge i {
    color: #2563eb;
}

/* Author Profile Detail Page */
.author-profile-hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f8fafc 100%);
    padding: 4rem 1rem 3.5rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.author-hero-container {
    display: flex;
    align-items: center;
    gap: 32px;
}

.author-hero-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 4px solid #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
    flex-shrink: 0;
    background-color: #f1f5f9;
}

.author-hero-details h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    color: #0f172a;
    margin: 6px 0;
    letter-spacing: -0.5px;
}

.author-hero-role {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0284c7;
    margin-bottom: 10px;
}

.author-hero-role span {
    color: #64748b;
    font-weight: 400;
}

.author-hero-bio {
    font-size: 1rem;
    color: #475569;
    max-width: 750px;
    line-height: 1.6;
    margin-bottom: 18px;
}

.author-meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill-stat {
    padding: 6px 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.pill-stat i {
    color: #2563eb;
    margin-right: 4px;
}

.link-stat {
    background: #2563eb;
    color: #ffffff !important;
    border-color: #2563eb;
    text-decoration: none;
    transition: all 0.2s ease;
}

.link-stat i {
    color: #ffffff;
}

.link-stat:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

@media screen and (max-width: 768px) {
    .author-hero-container {
        flex-direction: column;
        text-align: center;
    }
    .author-meta-pills {
        justify-content: center;
    }
    .author-hero-details h1 {
        font-size: 2rem;
    }
}

/* Dark mode for Author Hub */
.dark-mode .author-card {
    background: #0f172a;
    border-color: #1e293b;
}

.dark-mode .author-title-group h2 {
    color: #f8fafc;
}

.dark-mode .author-bio-snippet {
    color: #94a3b8;
}

.dark-mode .author-quote-box {
    background: #1e293b;
    border-left-color: #38bdf8;
}

.dark-mode .author-quote-snippet {
    color: #cbd5e1;
}

.dark-mode .author-profile-hero {
    background: linear-gradient(135deg, #0b1329 0%, #0f172a 50%, #1e1b4b 100%);
    border-bottom-color: #1e293b;
}

.dark-mode .author-hero-details h1 {
    color: #f8fafc;
}

.dark-mode .author-hero-bio {
    color: #cbd5e1;
}

.dark-mode .pill-stat {
    background: #1e293b;
    border-color: #334155;
    color: #f8fafc;
}

/* ============================================================
   HOLIDAY & FESTIVAL COUNTDOWN BANNER (PILLAR 3)
   ============================================================ */
.holiday-countdown-section {
    margin: 2.5rem 0 3.5rem;
}

.holiday-countdown-card {
    background: linear-gradient(135deg, #eff6ff 0%, #fdf2f8 50%, #f0fdf4 100%);
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 2.5rem 2.2rem;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.05);
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.countdown-main-content h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin: 0.6rem 0 0.8rem;
}

.countdown-desc {
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.countdown-clock {
    display: flex;
    gap: 12px;
    margin-bottom: 1.8rem;
    flex-wrap: wrap;
}

.countdown-unit {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 18px;
    min-width: 76px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.countdown-num {
    display: block;
    font-size: 1.9rem;
    font-weight: 800;
    color: #2563eb;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
}

.countdown-lbl {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 4px;
    display: block;
}

.countdown-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.holiday-sidebar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 1.6rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}

.holiday-sidebar-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.holiday-mini-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.holiday-mini-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    text-decoration: none;
    color: #1e293b;
    transition: var(--transition);
}

.holiday-mini-item:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    transform: translateX(4px);
    color: #2563eb;
}

.holiday-mini-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
}

.holiday-mini-date {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 600;
}

/* ============================================================
   AUTHORS & THINKERS SPOTLIGHT SECTION (PILLAR 3)
   ============================================================ */
.authors-spotlight-section {
    padding: 4.5rem 0 3.5rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.authors-spotlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.8rem;
    margin-top: 2.2rem;
}

.spotlight-author-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2rem 1.6rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.spotlight-author-card:hover {
    transform: translateY(-6px);
    border-color: #93c5fd;
    box-shadow: 0 12px 30px rgba(37,99,235,0.08);
}

.spotlight-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 3px solid #dbeafe;
    box-shadow: 0 4px 12px rgba(37,99,235,0.15);
    margin-bottom: 1rem;
    background-color: #f1f5f9;
}

.spotlight-author-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.spotlight-author-role {
    font-size: 0.8rem;
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 1rem;
}

.spotlight-quote-snippet {
    font-style: italic;
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
    position: relative;
    padding: 0 8px;
}

.spotlight-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 50px;
    background: #eff6ff;
    color: #2563eb;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
}

.spotlight-view-btn:hover {
    background: #2563eb;
    color: #ffffff;
}

/* ============================================================
   LIVE CARD MAKER STUDIO CTA BANNER (PILLAR 1)
   ============================================================ */
.studio-cta-section {
    margin: 3.5rem 0;
}

.studio-cta-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #4338ca 45%, #7c3aed 100%);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    box-shadow: 0 15px 40px rgba(67, 56, 202, 0.25);
    position: relative;
    overflow: hidden;
}

.studio-cta-content {
    max-width: 650px;
    position: relative;
    z-index: 1;
}

.studio-cta-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 0.8rem;
}

.studio-cta-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.8rem;
}

.studio-features-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.studio-feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #f1f5f9;
}

.studio-feature-item i {
    color: #38bdf8;
}

/* Dark mode overrides for new widgets */
.dark-mode .holiday-countdown-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #064e3b 100%);
    border-color: #334155;
}
.dark-mode .countdown-main-content h3 { color: #f8fafc; }
.dark-mode .countdown-desc { color: #cbd5e1; }
.dark-mode .countdown-unit { background: #1e293b; border-color: #334155; }
.dark-mode .countdown-num { color: #60a5fa; }
.dark-mode .countdown-lbl { color: #94a3b8; }
.dark-mode .holiday-sidebar { background: #1e293b; border-color: #334155; }
.dark-mode .holiday-sidebar-title { color: #f8fafc; }
.dark-mode .holiday-mini-item { background: #0f172a; border-color: #334155; color: #f8fafc; }
.dark-mode .holiday-mini-item:hover { background: #1e293b; color: #60a5fa; }
.dark-mode .authors-spotlight-section { background: #0b1329; border-color: #1e293b; }
.dark-mode .spotlight-author-card { background: #0f172a; border-color: #1e293b; }
.dark-mode .spotlight-author-name { color: #f8fafc; }
.dark-mode .spotlight-quote-snippet { color: #cbd5e1; }
.dark-mode .spotlight-view-btn { background: #1e293b; color: #60a5fa; }
.dark-mode .spotlight-view-btn:hover { background: #2563eb; color: #ffffff; }

/* ==========================================================
   CARD MAKER SEO BOTTOM CONTENT SECTION STYLES
   ========================================================== */
.maker-seo-section {
    padding: 4.5rem 0 3.5rem;
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
    margin-top: 2.5rem;
}

.dark-mode .maker-seo-section {
    background-color: #0f172a;
    border-top-color: #1e293b;
}

.maker-seo-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.maker-seo-intro h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.35rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin: 12px 0 16px;
    line-height: 1.25;
}

.dark-mode .maker-seo-intro h2 {
    color: #f8fafc;
}

.maker-seo-intro p {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 12px;
}

.dark-mode .maker-seo-intro p {
    color: #cbd5e1;
}

.maker-seo-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 1.8rem;
    margin-bottom: 3.5rem;
}

.maker-feature-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem 1.8rem;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.maker-feature-card:hover {
    transform: translateY(-4px);
    border-color: #38bdf8;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.dark-mode .maker-feature-card {
    background: #1e293b;
    border-color: #334155;
}

.dark-mode .maker-feature-card:hover {
    border-color: #38bdf8;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.maker-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.maker-feature-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

.dark-mode .maker-feature-card h3 {
    color: #f8fafc;
}

.maker-feature-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.dark-mode .maker-feature-card p {
    color: #94a3b8;
}

.maker-seo-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    margin-bottom: 2rem;
}

.dark-mode .maker-seo-section-title {
    color: #f8fafc;
}

.maker-occasions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
    margin-bottom: 3.5rem;
}

.maker-occasion-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.2rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #1e293b;
    transition: all 0.2s ease;
}

.maker-occasion-item:hover {
    background: #f0f9ff;
    border-color: #38bdf8;
    transform: translateY(-2px);
    color: #0284c7;
}

.dark-mode .maker-occasion-item {
    background: #1e293b;
    border-color: #334155;
    color: #f8fafc;
}

.dark-mode .maker-occasion-item:hover {
    background: #0f172a;
    border-color: #38bdf8;
    color: #38bdf8;
}

.maker-occasion-emoji {
    font-size: 1.6rem;
    line-height: 1;
}

.maker-occasion-info h4 {
    font-size: 0.98rem;
    font-weight: 700;
    margin: 0 0 2px;
}

.maker-occasion-info span {
    font-size: 0.8rem;
    color: #64748b;
}

.dark-mode .maker-occasion-info span {
    color: #94a3b8;
}

.maker-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.maker-step-card {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    padding: 1.8rem;
    position: relative;
}

.dark-mode .maker-step-card {
    background: #1e293b;
    border-color: #475569;
}

.maker-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.maker-step-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.dark-mode .maker-step-card h4 {
    color: #f8fafc;
}

.maker-step-card p {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.dark-mode .maker-step-card p {
    color: #94a3b8;
}

.maker-faqs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.maker-faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.6rem;
}

.dark-mode .maker-faq-item {
    background: #1e293b;
    border-color: #334155;
}

.maker-faq-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.maker-faq-item h4 i {
    color: #2563eb;
    margin-top: 3px;
    font-size: 0.95rem;
}

.dark-mode .maker-faq-item h4 {
    color: #f8fafc;
}

.dark-mode .maker-faq-item h4 i {
    color: #38bdf8;
}

.maker-faq-item p {
    font-size: 0.93rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    padding-left: 24px;
}

.dark-mode .maker-faq-item p {
    color: #cbd5e1;
}

.maker-seo-tags-banner {
    background: #f1f5f9;
    border-radius: 14px;
    padding: 1.5rem 1.8rem;
    margin-top: 2rem;
}

.dark-mode .maker-seo-tags-banner {
    background: #1e293b;
}

.maker-seo-tags-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 10px;
    display: block;
}

.dark-mode .maker-seo-tags-label {
    color: #cbd5e1;
}

.maker-seo-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.maker-seo-tag-chip {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.84rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.maker-seo-tag-chip:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.dark-mode .maker-seo-tag-chip {
    background: #0f172a;
    border-color: #334155;
    color: #cbd5e1;
}

.dark-mode .maker-seo-tag-chip:hover {
    background: #38bdf8;
    border-color: #38bdf8;
    color: #0f172a;
}

/* Responsive adjustments */
@media screen and (max-width: 992px) {
    .holiday-countdown-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }
    .studio-cta-banner {
        flex-direction: column;
        padding: 2.5rem 1.8rem;
        text-align: center;
    }
    .studio-features-row {
        justify-content: center;
    }
    .maker-seo-intro h2 {
        font-size: 1.95rem;
    }
    .maker-faqs-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   GRADIENT POSTER CARDS & INDEXABLE TAG HUB STYLES
   ========================================================== */
.gradient-poster-card {
    padding: 0 !important;
    overflow: hidden;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: var(--radius-lg, 16px);
    transition: var(--transition, all 0.25s cubic-bezier(0.4, 0, 0.2, 1));
}

.gradient-poster-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.gradient-card-canvas {
    position: relative;
    min-height: 320px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.6rem 1.6rem 1.4rem;
    color: #ffffff;
    overflow: hidden;
    isolation: isolate;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.gradient-card-canvas::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.gradient-card-top {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 32px;
}

.gradient-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff !important;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    transition: var(--transition);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 65%;
    flex-shrink: 1;
}

.gradient-tag-pill:hover {
    background: #ffffff;
    color: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gradient-card-brand {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: 0.85;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.gradient-card-body {
    position: relative;
    z-index: 2;
    margin: 1.5rem 0;
}

.gradient-quote-icon {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.8rem;
    display: block;
}

.gradient-quote-text {
    font-size: 1.15rem;
    line-height: 1.6;
    font-weight: 600;
    margin: 0 0 1rem 0;
    font-family: inherit;
    color: #ffffff;
}

.gradient-quote-author {
    display: block;
    font-style: normal;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
}

.gradient-card-footer {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
}

.gradient-card-watermark {
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Indexable Tag & Keyword Links */
.indexable-tag-link {
    cursor: pointer;
    text-decoration: none;
}

.indexable-keyword-link {
    text-decoration: none;
    transition: var(--transition);
}

.indexable-keyword-link:hover {
    background-color: var(--primary) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.indexable-tag-chip {
    text-decoration: none;
    transition: var(--transition);
}

.indexable-tag-chip:hover {
    background: var(--primary) !important;
    color: #ffffff !important;
    border-color: var(--primary) !important;
}

/* TAGS DIRECTORY & TAG PAGE UI */
.tags-hero-banner {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.92) 0%, rgba(15, 23, 42, 0.95) 100%),
                url('../images/quotes/photo-1457369804613-52c61a468e7d.jpg') center/cover;
    color: #ffffff;
    text-align: center;
    padding: 4.5rem 1.5rem;
}

.tags-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.tags-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0 4rem;
}

.tag-hub-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg, 16px);
    padding: 1.6rem 1.4rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: var(--text-primary);
}

.tag-hub-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.tag-hub-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.tag-hub-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary-light, #dbeafe);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.tag-hub-card:hover .tag-hub-icon-wrap {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.05);
}

.tag-hub-count {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

.tag-hub-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
}

.tag-hub-preview {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0 0 1.2rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tag-hub-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    padding-top: 0.8rem;
    border-top: 1px solid var(--border-color);
}

.dark-mode .gradient-poster-card {
    background-color: #1e293b;
    border-color: #334155;
}

.dark-mode .tag-hub-card {
    background-color: #1e293b;
    border-color: #334155;
    color: #f1f5f9;
}

.dark-mode .tag-hub-title {
    color: #f8fafc;
}

.dark-mode .tag-hub-preview {
    color: #94a3b8;
}

.dark-mode .tag-hub-count {
    background: #0f172a;
    color: #cbd5e1;
}

.dark-mode .tag-hub-icon-wrap {
    background: rgba(37, 99, 235, 0.25);
    color: #60a5fa;
}

/* ==========================================================
   BUTTON CONTRAST & ACCESSIBILITY ENHANCEMENTS (WCAG AA+)
   ========================================================== */

/* 1. Quote Card Action Buttons (Save, Pin, Share, Copy, Studio, Like) */
.quote-actions button,
.quote-actions a.maker-quick-link {
    color: #0f172a !important;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    padding: 6px 11px !important;
    border-radius: 6px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.quote-actions button:hover,
.quote-actions a.maker-quick-link:hover {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border-color: #93c5fd !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.18);
}

.quote-actions .download-img-btn {
    color: #c2410c !important;
    background: #fff7ed !important;
    border-color: #fed7aa !important;
}
.quote-actions .download-img-btn i {
    color: #ea580c !important;
}

.quote-actions .download-img-btn:hover {
    background: #ea580c !important;
    color: #ffffff !important;
    border-color: #ea580c !important;
}
.quote-actions .download-img-btn:hover i {
    color: #ffffff !important;
}

.quote-actions .pinterest-btn i {
    color: #e60023 !important;
}
.quote-actions .pinterest-btn:hover {
    background: #e60023 !important;
    color: #ffffff !important;
    border-color: #e60023 !important;
}
.quote-actions .pinterest-btn:hover i {
    color: #ffffff !important;
}

.quote-actions .whatsapp-btn {
    color: #15803d !important;
    background: #f0fdf4 !important;
    border-color: #bbf7d0 !important;
}
.quote-actions .whatsapp-btn i {
    color: #16a34a !important;
}

.quote-actions .whatsapp-btn:hover {
    background: #16a34a !important;
    color: #ffffff !important;
    border-color: #16a34a !important;
}
.quote-actions .whatsapp-btn:hover i {
    color: #ffffff !important;
}

.quote-actions .copy-btn {
    color: #1d4ed8 !important;
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
}
.quote-actions .copy-btn i {
    color: #2563eb !important;
}

.quote-actions .copy-btn:hover {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
}
.quote-actions .copy-btn:hover i {
    color: #ffffff !important;
}

.quote-actions .maker-quick-link {
    color: #6d28d9 !important;
    background: #f5f3ff !important;
    border-color: #ddd6fe !important;
}
.quote-actions .maker-quick-link i {
    color: #7c3aed !important;
}

.quote-actions .maker-quick-link:hover {
    background: #7c3aed !important;
    color: #ffffff !important;
    border-color: #7c3aed !important;
}
.quote-actions .maker-quick-link:hover i {
    color: #ffffff !important;
}

.quote-actions .like-btn {
    color: #b91c1c !important;
    background: #fef2f2 !important;
    border-color: #fecaca !important;
}
.quote-actions .like-btn i {
    color: #ef4444 !important;
}

.quote-actions .like-btn:hover,
.quote-actions .like-btn.liked {
    background: #dc2626 !important;
    color: #ffffff !important;
    border-color: #dc2626 !important;
}
.quote-actions .like-btn:hover i,
.quote-actions .like-btn.liked i {
    color: #ffffff !important;
}

/* Dark Mode Overrides for Quote Actions */
.dark-mode .quote-actions button,
.dark-mode .quote-actions a.maker-quick-link,
[data-theme="dark"] .quote-actions button,
[data-theme="dark"] .quote-actions a.maker-quick-link {
    color: #f8fafc !important;
    background: #1e293b !important;
    border-color: #334155 !important;
}

.dark-mode .quote-actions button:hover,
.dark-mode .quote-actions a.maker-quick-link:hover,
[data-theme="dark"] .quote-actions button:hover,
[data-theme="dark"] .quote-actions a.maker-quick-link:hover {
    background: #334155 !important;
    color: #ffffff !important;
    border-color: #64748b !important;
}

.dark-mode .quote-actions .download-img-btn,
[data-theme="dark"] .quote-actions .download-img-btn {
    color: #fb923c !important;
    background: rgba(234, 88, 12, 0.18) !important;
    border-color: rgba(234, 88, 12, 0.45) !important;
}
.dark-mode .quote-actions .download-img-btn i,
[data-theme="dark"] .quote-actions .download-img-btn i {
    color: #fb923c !important;
}

.dark-mode .quote-actions .whatsapp-btn,
[data-theme="dark"] .quote-actions .whatsapp-btn {
    color: #4ade80 !important;
    background: rgba(22, 163, 74, 0.18) !important;
    border-color: rgba(22, 163, 74, 0.45) !important;
}
.dark-mode .quote-actions .whatsapp-btn i,
[data-theme="dark"] .quote-actions .whatsapp-btn i {
    color: #4ade80 !important;
}

.dark-mode .quote-actions .copy-btn,
[data-theme="dark"] .quote-actions .copy-btn {
    color: #60a5fa !important;
    background: rgba(37, 99, 235, 0.18) !important;
    border-color: rgba(37, 99, 235, 0.45) !important;
}
.dark-mode .quote-actions .copy-btn i,
[data-theme="dark"] .quote-actions .copy-btn i {
    color: #60a5fa !important;
}

.dark-mode .quote-actions .maker-quick-link,
[data-theme="dark"] .quote-actions .maker-quick-link {
    color: #c084fc !important;
    background: rgba(139, 92, 246, 0.18) !important;
    border-color: rgba(139, 92, 246, 0.45) !important;
}
.dark-mode .quote-actions .maker-quick-link i,
[data-theme="dark"] .quote-actions .maker-quick-link i {
    color: #c084fc !important;
}

.dark-mode .quote-actions .like-btn,
[data-theme="dark"] .quote-actions .like-btn {
    color: #f87171 !important;
    background: rgba(220, 38, 38, 0.18) !important;
    border-color: rgba(220, 38, 38, 0.45) !important;
}
.dark-mode .quote-actions .like-btn i,
[data-theme="dark"] .quote-actions .like-btn i {
    color: #f87171 !important;
}

/* 2. Category Filter Buttons Contrast */
.filter-btn {
    color: #1e293b !important;
    background-color: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    font-weight: 600 !important;
}

.filter-btn:hover,
.filter-btn.active {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
}

.dark-mode .filter-btn {
    color: #cbd5e1 !important;
    background-color: #1e293b !important;
    border-color: #334155 !important;
}

.dark-mode .filter-btn:hover,
.dark-mode .filter-btn.active {
    background: #3b82f6 !important;
    color: #ffffff !important;
    border-color: #3b82f6 !important;
}

/* 3. Card Maker Studio Action Buttons */
.btn-copy-msg {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1.5px solid #94a3b8 !important;
    font-weight: 700 !important;
}

.btn-copy-msg:hover {
    background: #f1f5f9 !important;
    border-color: #64748b !important;
    color: #0284c7 !important;
}

.dark-mode .btn-copy-msg {
    background: #1e293b !important;
    color: #f8fafc !important;
    border-color: #475569 !important;
}

.dark-mode .btn-copy-msg:hover {
    background: #334155 !important;
    border-color: #94a3b8 !important;
    color: #38bdf8 !important;
}

/* Ratio selector buttons */
.ratio-btn {
    border: 1.5px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #1e293b !important;
}

.ratio-btn.active {
    border-color: #2563eb !important;
    background: #eff6ff !important;
    color: #1d4ed8 !important;
}

.dark-mode .ratio-btn {
    border-color: #334155 !important;
    background: #1e293b !important;
    color: #f1f5f9 !important;
}

.dark-mode .ratio-btn.active {
    border-color: #38bdf8 !important;
    background: rgba(56, 189, 248, 0.12) !important;
    color: #38bdf8 !important;
}

/* Header theme toggle and favorites buttons high contrast */
.theme-toggle,
#favoritesHeaderBtn {
    border-color: #cbd5e1 !important;
    background-color: #ffffff !important;
    color: #0f172a !important;
}

.theme-toggle:hover,
#favoritesHeaderBtn:hover {
    border-color: #2563eb !important;
    background-color: #eff6ff !important;
    color: #2563eb !important;
}

.dark-mode .theme-toggle,
.dark-mode #favoritesHeaderBtn {
    background-color: #1e293b !important;
    border-color: #475569 !important;
    color: #f8fafc !important;
}

.dark-mode .theme-toggle:hover,
.dark-mode #favoritesHeaderBtn:hover {
    border-color: #38bdf8 !important;
    background-color: #334155 !important;
    color: #38bdf8 !important;
}

/* ==========================================
   PWA INSTALL BANNER & PROMPTS
   ========================================== */
.pwa-install-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    width: calc(100% - 32px);
    max-width: 580px;
    z-index: 10000;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
}

.pwa-install-banner.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.pwa-banner-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 16px 20px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.2), 0 4px 12px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
}

.dark-mode .pwa-banner-card {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.pwa-banner-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.pwa-banner-icon {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.pwa-banner-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pwa-banner-text {
    flex: 1;
    min-width: 0;
}

.pwa-banner-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #2563eb;
    background: #eff6ff;
    padding: 2px 8px;
    border-radius: 50px;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dark-mode .pwa-banner-tag {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
}

.pwa-banner-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2px;
    line-height: 1.25;
}

.dark-mode .pwa-banner-text h4 {
    color: #f8fafc;
}

.pwa-banner-desc {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dark-mode .pwa-banner-desc {
    color: #94a3b8;
}

.pwa-banner-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.btn-pwa-install {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 10px 18px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
    white-space: nowrap;
}

.btn-pwa-install:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45) !important;
}

.btn-pwa-dismiss {
    background: transparent !important;
    color: #64748b !important;
    border: 1px solid #cbd5e1 !important;
    padding: 9px 14px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 0.82rem !important;
}

.dark-mode .btn-pwa-dismiss {
    color: #94a3b8 !important;
    border-color: #475569 !important;
}

.pwa-banner-close {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #0f172a;
    color: #ffffff;
    border: 2px solid #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.pwa-banner-close:hover {
    transform: scale(1.1);
}

@media (max-width: 640px) {
    .pwa-banner-card {
        flex-direction: column;
        align-items: stretch;
        padding: 14px 16px;
        gap: 12px;
    }
    .pwa-banner-desc {
        white-space: normal;
    }
    .pwa-banner-actions {
        width: 100%;
        justify-content: flex-end;
    }
    .btn-pwa-install {
        flex: 1;
        justify-content: center;
    }
}

/* ==========================================
   DAILY QUOTE NOTIFICATION WIDGET
   ========================================== */
.btn-daily-reminder {
    background: #ffffff !important;
    color: #d97706 !important;
    border: 1.5px solid #fde68a !important;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.12) !important;
    font-weight: 700 !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-daily-reminder:hover {
    background: #f59e0b !important;
    color: #ffffff !important;
    border-color: #f59e0b !important;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3) !important;
    transform: translateY(-2px);
}

.btn-daily-reminder.active {
    background: #ecfdf5 !important;
    color: #059669 !important;
    border-color: #a7f3d0 !important;
}

.dark-mode .btn-daily-reminder {
    background: #1e293b !important;
    color: #fbbf24 !important;
    border-color: #78350f !important;
}

.dark-mode .btn-daily-reminder.active {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #34d399 !important;
    border-color: #059669 !important;
}

/* ==========================================
   FAVORITES BADGES & HEART POP ANIMATION
   ========================================== */
.fav-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
    animation: heartPop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dark-mode .fav-badge {
    border-color: #1e293b;
}

.nav-fav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    margin-left: 6px;
    padding: 0 4px;
    line-height: 1;
}

@keyframes heartPop {
    0% { transform: scale(0.4); opacity: 0; }
    70% { transform: scale(1.3); }
    100% { transform: scale(1); opacity: 1; }
}

.like-btn.liked i {
    animation: heartPop 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}