@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;600;700;800&display=swap');

:root {
    --text-primary: var(--navy);
    --primary: #d946ef;
    --primary-hover: #c026d3;
    --primary-light: rgba(217, 70, 239, 0.1);
    --secondary: #ec4899;
    --navy: #1e1b4b;
    --navy-light: #6b7280;
    --border-color: rgba(217, 70, 239, 0.15);
    --bg-light: #f5f3ff;
    --bg-dark: #0f172a;
    --card-bg-light: rgba(255, 255, 255, 0.7);
    --card-bg-dark: rgba(30, 41, 59, 0.7);
    --text-light: #1e293b;
    --text-dark: #f8fafc;
    --shadow: 0 10px 25px -5px rgba(217, 70, 239, 0.15), 0 8px 10px -6px rgba(217, 70, 239, 0.1);
    --shadow-hover: 0 20px 25px -5px rgba(217, 70, 239, 0.3), 0 8px 10px -6px rgba(217, 70, 239, 0.2);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
}

html, body {
    overflow-x: clip;
}

body {
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    transition: var(--transition);
}

body.fc-dark-mode {
    --text-primary: var(--text-dark);
    background-color: var(--bg-dark);
    color: var(--text-dark);
    --border-color: rgba(255, 255, 255, 0.06);
}



/* =========================================
   Redesigned Hero Section
   ========================================= */

.fc-hero {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #09090b 0%, #1e1b4b 50%, #4a044e 100%);
    padding: 40px 20px 60px;
    text-align: center;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animated Background Orbs */
.fc-hero-background {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.fc-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
}

.fc-orb.orb-1 {
    width: 400px; height: 400px;
    background: rgba(168, 85, 247, 0.4);
    top: -100px; left: -100px;
    animation-delay: 0s;
}

.fc-orb.orb-2 {
    width: 300px; height: 300px;
    background: rgba(99, 102, 241, 0.4);
    bottom: -50px; right: 10%;
    animation-delay: -5s;
}

.fc-orb.orb-3 {
    width: 250px; height: 250px;
    background: rgba(236, 72, 153, 0.3);
    top: 20%; left: 60%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Content Container */
.fc-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Sleek Badge */
.fc-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 99px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #e2e8f0;
    backdrop-filter: blur(12px);
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.fc-hero h1 {
    color: #ffffff;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.fc-hero p {
    color: #cbd5e1;
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    line-height: 1.6;
    max-width: 650px;
    font-weight: 400;
}

.fc-gradient-text {
    background: linear-gradient(135deg, #d946ef 0%, #ec4899 50%, #f43f5e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    display: inline-block;
    filter: drop-shadow(0 4px 10px rgba(217, 70, 239, 0.4));
}
.fc-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Ensure text header and SEO content stay 1100px max */
.fc-hero-content, .fc-seo-content {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* Header */
.fc-main-header {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    z-index: 1000;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

body.fc-dark-mode .fc-main-header {
    background: rgba(18, 18, 18, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.fc-header-container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fc-logo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.fc-logo-link {
    color: #ffffff;
}

.fc-sparkle-icon {
    color: var(--primary);
    font-size: 1.2rem;
}

.fc-nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.fc-nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
}

.fc-nav-links a:hover, .fc-nav-links a.active, .fc-nav-links a.fc-active {
    color: #0024ba !important;
}



.fc-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.fc-theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-primary);
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
}

.fc-theme-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
}

body.fc-dark-mode .fc-theme-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

/* Hero Section */




/* removed duplicate gradient text class */



/* Input Styles */
.fc-input-section { 
    max-width: 1100px;
    margin: 0 auto;
     /* Sticky at very top */
    
    padding: 20px 0;
    margin-top: -10px;
}

.fc-input-section { 
    background: transparent;
}

/* Glassmorphism only when sticky */


/* The outer container that sticks to the top */
.fc-input-container {
    position: relative;
    
    margin: 0 auto;
    max-width: 1100px !important;
    width: 100% !important;
    padding: 0 20px;
    pointer-events: none; /* Let clicks pass through the container margins */
}

/* The actual input box */
.fc-main-input {
    pointer-events: auto; /* Re-enable clicks on the input itself */
    display: block;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 18px 60px 18px 32px; /* padding right for the clear button */
    font-size: 1.5rem;
    color: var(--text-primary);
    background: var(--card-bg-light);
    border: 2px solid rgba(101, 100, 255, 0.4);
    border-radius: 40px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    outline: none;
    transition: var(--transition);
}

.fc-main-input:focus {
    box-shadow: 0 0 0 4px var(--primary-light), 0 10px 30px rgba(0,0,0,0.2);
    border-color: var(--primary);
}

body.fc-dark-mode .fc-main-input {
    background: var(--card-bg-dark);
    color: var(--text-dark);
    border: 2px solid rgba(255,255,255,0.15);
}

.fc-main-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(101, 100, 255, 0.3), 0 10px 30px rgba(0,0,0,0.4);
}







/* The outer container that sticks to the top */
.fc-input-container {
    position: relative;
    
    margin: 0 auto 32px;
    max-width: 1100px !important;
    width: 100% !important;
    padding: 0 20px;
    pointer-events: none; /* Let clicks pass through the container margins */
}

/* The actual input box */
.fc-main-input {
    pointer-events: auto; /* Re-enable clicks on the input itself */
    display: block;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 18px 60px 18px 32px; /* padding right for the clear button */
    font-size: 1.5rem;
    color: var(--text-primary);
    background: var(--card-bg-light);
    border: 2px solid rgba(101, 100, 255, 0.4);
    border-radius: 40px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    outline: none;
    transition: var(--transition);
}

.fc-main-input:focus {
    box-shadow: 0 0 0 4px var(--primary-light), 0 10px 30px rgba(0,0,0,0.2);
    border-color: var(--primary);
}

body.fc-dark-mode .fc-main-input {
    background: var(--card-bg-dark);
    color: var(--text-dark);
    border: 2px solid rgba(255,255,255,0.15);
}

.fc-main-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(101, 100, 255, 0.3), 0 10px 30px rgba(0,0,0,0.4);
}









/* The outer container that sticks to the top */
.fc-input-container {
    position: relative;
    margin: 0 auto 32px;
    max-width: 1100px !important;
    width: 100% !important;
    padding: 0 5px;
    pointer-events: none; /* Let clicks pass through the container margins */
}

/* The actual input box */
.fc-main-input {
    pointer-events: auto; /* Re-enable clicks on the input itself */
    display: block;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 18px 60px 18px 32px; /* padding right for the clear button */
    font-size: 1.5rem;
    color: var(--text-primary);
    background: var(--card-bg-light);
    border: 2px solid rgba(217, 70, 239, 0.4);
    border-radius: 40px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    outline: none;
    transition: var(--transition);
}

.fc-main-input:focus {
    box-shadow: 0 0 0 4px var(--primary-light), 0 10px 30px rgba(0,0,0,0.2);
    border-color: var(--primary);
}

body.fc-dark-mode .fc-main-input {
    background: rgba(30, 41, 59, 0.85); /* Semi-transparent for glassmorphism */
    color: var(--text-dark);
    border: 2px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

body.fc-dark-mode .fc-main-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(217, 70, 239, 0.3), 0 10px 30px rgba(0,0,0,0.4);
}







/* Filter Bar */
.fc-tools-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 768px) {
    .fc-tools-bar {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

.fc-filter-chips {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    flex: 1;
    min-width: 0;
}
.fc-filter-chips::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.fc-filter-chip {
    padding: 8px 18px;
    background: #f1f5f9;
    border: 2px solid rgba(101, 100, 255, 0.3);
    border-radius: 99px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    white-space: nowrap;
}

body.fc-dark-mode .fc-filter-chip {
    background: #1e293b;
    color: var(--text-dark);
}

.fc-filter-chip:hover, .fc-filter-chip.fc-active {
    background: var(--navy);
    color: #ffffff;
    border-color: var(--text-primary);
}

.fc-filter-chip:hover, .fc-filter-chip.fc-active {
    background: #ffffff;
    color: var(--text-primary);
    border-color: #ffffff;
}

.fc-size-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--text-primary);
}

#sizeSlider {
    width: 200px;
    max-width: 40vw; /* Allows shrinking on very small screens */
    accent-color: var(--primary);
}

/* Font Grid */
.fc-font-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.fc-font-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.05);
}

body.fc-dark-mode .fc-font-card {
    background: rgba(30, 30, 35, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.fc-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.fc-font-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fc-card-actions {
    display: flex;
    gap: 8px;
}

.fc-action-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.fc-action-btn:hover {
    background: rgba(101, 100, 255, 0.1);
}

.fc-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.fc-font-output {
    font-size: 1.5rem;
    color: var(--text-primary);
    white-space: pre-wrap;
    word-break: break-word;
    margin-top: 8px;
}

.fc-copy-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: var(--navy);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 10;
}

.fc-copy-badge {
    background: var(--primary);
}

.fc-font-card.copied {
    transform: scale(0.98);
    border-color: #22c55e;
}

.fc-font-card.copied .fc-copy-badge {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
    background: #22c55e;
}

.fc-font-card.copied .fc-font-output {
    opacity: 0.2;
    filter: blur(2px);
}

.fc-font-card:hover {
    border-color: var(--primary);
}

body.fc-dark-mode .fc-font-card:hover {
    border-color: var(--primary);
}

.fc-font-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fc-font-output {
    font-size: 1.5rem;
    white-space: pre-wrap;
    word-break: break-word;
    min-height: 2em;
    color: var(--text-primary);
    transition: var(--transition);
}



.fc-card-actions {
    display: flex;
    gap: 8px;
}

.fc-action-btn {
    background: none;
    border: 2px solid rgba(101, 100, 255, 0.3);
    padding: 8px;
    border-radius: 10px;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition);
}

.fc-action-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.fc-action-btn.fav.fc-active {
    color: #ef4444;
    border-color: #ef4444;
}

.fc-copy-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--navy);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 99px;
    font-size: 0.9rem;
    font-weight: 700;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    z-index: 10;
}

.fc-copy-badge {
    background: var(--primary);
}

.fc-font-card.copied {
    transform: scale(0.98);
    border-color: #22c55e;
}

.fc-font-card.copied .fc-copy-badge {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
    background: #22c55e;
}

.fc-font-card.copied .fc-font-output {
    opacity: 0.2;
    filter: blur(2px);
}


.fc-main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #ff6b6b, var(--accent-color));
}



.fc-footer-links a {
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}




.dot {
    opacity: 0.5;
}

/* Scroll Top */
.fc-scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
}

.fc-scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.fc-scroll-top:hover {
    transform: translateY(-4px);
    background: var(--primary-hover);
}

/* Ad Unit */
.fc-adsense-wrap {
    margin: 40px auto;
    max-width: 960px;
    text-align: center;
}
.fc-ad-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    opacity: 0.5;
    margin-bottom: 6px;
}

/* Load More */
.fc-load-more-container {
    display: flex;
    justify-content: center;
    margin: 40px 0 80px;
}

.fc-btn-load-more {
    padding: 16px 48px;
    background: #ffffff;
    border: 2px solid rgba(101, 100, 255, 0.3);
    border-radius: 99px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

body.fc-dark-mode .fc-btn-load-more {
    background: #1e293b;
    color: #ffffff;
}

.fc-btn-load-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

/* Mobile Menu Styling */
.fc-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.fc-menu-bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
}



/* --- Desktop Dropdown --- */
.fc-nav-dropdown {
    position: relative;
    cursor: pointer;
}

.fc-dropdown-trigger {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.fc-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: #ffffff;
    border: 2px solid rgba(101, 100, 255, 0.3);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    list-style: none;
    padding: 8px 0;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
}

body.fc-dark-mode .fc-dropdown-menu {
    background: #1e293b;
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.fc-nav-dropdown:hover .fc-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fc-dropdown-menu li {
    display: block;
    margin: 0;
}

.fc-dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.fc-dropdown-menu a {
    color: #e2e8f0;
}

.fc-dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary);
}

body.fc-dark-mode .fc-dropdown-menu a:hover {
    background: rgba(255,255,255,0.05);
}

.fc-mobile-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: #ffffff;
    z-index: 2000;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 24px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

body.fc-dark-mode .fc-mobile-drawer {
    background: var(--bg-dark);
}

.fc-mobile-drawer.open {
    transform: translateX(-300px);
}

.fc-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.fc-close-drawer {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

.fc-mobile-nav ul {
    list-style: none;
}

.fc-mobile-nav li {
    margin-bottom: 24px;
}

.fc-mobile-nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    transition: var(--transition);
}

.fc-mobile-nav a:hover, .fc-mobile-nav a.active {
    color: #0024ba !important;
}



.fc-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.fc-drawer-overlay.visible {
    opacity: 1;
    visibility: visible;
}

/* EEAT Section */
.fc-eeat-section {
    margin: 40px 0;
    text-align: left;
}

.fc-eeat-badge {
    display: inline-block;
    background: var(--primary);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.fc-eeat-section h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.fc-eeat-features {
    display: flex;
    gap: 24px;
    margin-top: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
}

/* =====================================================
   STATIC PAGES (About, Privacy, etc.)
   ===================================================== */
.fc-page-content {
    max-width: 800px;
    margin: 60px auto 100px;
    padding: 0 20px;
}

.fc-page-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}



.fc-card-glass {
    background: #ffffff;
    border: 2px solid rgba(101, 100, 255, 0.3);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.02);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

body.fc-dark-mode .fc-card-glass {
    background: #1e293b;
    border-color: rgba(255,255,255,0.05);
    color: #cbd5e1;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

@supports (backdrop-filter: blur(10px)) {
    .fc-card-glass {
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
    body.fc-dark-mode .fc-card-glass {
        background: rgba(30, 41, 59, 0.7);
    }
}

.fc-card-glass h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 40px 0 16px;
    font-weight: 700;
}



.fc-card-glass p {
    margin-bottom: 20px;
}

.fc-card-glass ul {
    margin-bottom: 24px;
    padding-left: 20px;
}

.fc-card-glass li {
    margin-bottom: 12px;
}

/* SEO Content Section */
.fc-seo-content {
    margin-top: 80px;
    padding-top: 80px;
    border-top: 1px solid var(--border-color);
}

.fc-content-image-wrapper {
    margin: 40px 0;
    text-align: center;
}

.fc-content-image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.fc-content-image-wrapper img {
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.fc-guides-section {
    max-width: 1100px;
    margin: 0 auto;
}

.fc-guides-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 32px;
    color: var(--text-primary);
}



.fc-guides-section h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 48px 0 24px;
    color: var(--text-primary);
}



.fc-guides-section p {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.8;
}

.fc-guides-section ul, .fc-guides-section ol {
    margin-bottom: 32px;
    padding-left: 24px;
}

.fc-guides-section li {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.6;
}

/* SEO Grid */
.fc-seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin: 40px 0;
}

.fc-seo-item {
    background: #f8fafc;
    padding: 32px;
    border-radius: 20px;
    border: 2px solid rgba(101, 100, 255, 0.3);
    transition: var(--transition);
}

body.fc-dark-mode .fc-seo-item {
    background: #1e293b;
}

.fc-seo-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.fc-seo-item h3, .fc-seo-item h4 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 1.25rem;
}

/* FAQ Styling */
.fc-faq-section {
    margin-top: 60px;
}

.fc-faq-item {
    background: #ffffff;
    border: 2px solid rgba(101, 100, 255, 0.3);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
}

body.fc-dark-mode .fc-faq-item {
    background: #1e293b;
}

.fc-faq-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}



.fc-faq-item h4::before {
    content: "Q:";
    color: var(--primary);
    font-weight: 800;
}

/* Step Grid */
.fc-step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.fc-step-card {
    position: relative;
    padding: 40px 32px 32px;
    background: #ffffff;
    border: 2px solid rgba(101, 100, 255, 0.3);
    border-radius: 20px;
}

body.fc-dark-mode .fc-step-card {
    background: #1e293b;
}

.fc-step-num {
    position: absolute;
    top: -12px;
    left: 32px;
    background: var(--primary);
    color: #ffffff;
    padding: 4px 16px;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 800;
}

/* =====================================================
   NEW UX FEATURE STYLES
   ===================================================== */

/* --- Toast Notification --- */
.fc-toast-notification {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(16px);
    background: var(--navy);
    color: #fff;
    padding: 12px 24px;
    border-radius: 99px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 9999;
    white-space: nowrap;
    pointer-events: none;
}
.fc-toast-notification.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.fc-toast-notification { background: var(--primary); color: #fff; }
.fc-toast-notification.warning { background: #f59e0b; }
.fc-toast-notification.share   { background: #3b82f6; }

/* --- Input Meta Row (counter + keyboard hint) --- */
.fc-input-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 4px 0;
    min-height: 22px;
}
.fc-input-counter {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    display: none;
    transition: var(--transition);
}
.fc-input-counter.over-limit { color: #ef4444; }
.fc-input-counter.near-limit { color: #f59e0b; }
.fc-keyboard-hint {
    font-size: 0.78rem;
    color: var(--text-primary);
    opacity: 0.6;
    letter-spacing: 0.01em;
}

/* --- First-Visit Banner --- */
.fc-first-visit-banner {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(59,130,246,0.08));
    border: 1px solid rgba(16,185,129,0.3);
    border-radius: 14px;
    padding: 12px 18px;
    margin: 12px 0 0;
    font-size: 0.9rem;
    color: var(--text-primary);
    animation: slideDown 0.4s ease;
}
.fc-first-visit-banner { color: #e2e8f0; }
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fc-dismiss-banner {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 99px;
    padding: 6px 16px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
    flex-shrink: 0;
}
.fc-dismiss-banner:hover { background: var(--primary-hover); }

/* --- Style Search --- */
.fc-style-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}
.fc-search-icon-lbl {
    position: absolute;
    left: 16px;
    font-size: 1rem;
    pointer-events: none;
    z-index: 1;
}
.fc-style-search {
    width: 100%;
    padding: 12px 44px 12px 44px;
    border: 2px solid rgba(101, 100, 255, 0.3);
    border-radius: 14px;
    background: #f8fafc;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    font-weight: 500;
    transition: var(--transition);
}
body.fc-dark-mode .fc-style-search { background: #1e293b; color: #fff; }
.fc-style-search:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(16,185,129,0.12);
}
body.fc-dark-mode .fc-style-search:focus { background: #0f172a; }
.fc-style-search-clear {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    font-size: 1rem;
    color: var(--text-primary);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 50%;
    transition: var(--transition);
}
.fc-style-search-clear:hover { background: rgba(0,0,0,0.06); }

/* --- Platform Presets Row --- */
.fc-platform-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.fc-preset-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}
.fc-platform-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.fc-preset-chip {
    padding: 6px 14px;
    border: 2px solid rgba(101, 100, 255, 0.3);
    border-radius: 99px;
    background: #f1f5f9;
    color: var(--text-primary);
    font-size: 0.82rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
}

body.fc-dark-mode .fc-preset-chip { background: #1e293b; color: var(--text-dark); }
.fc-preset-chip:hover { border-color: var(--primary); color: var(--primary); }
.fc-preset-chip.fc-active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* --- Toolbar Bottom Row --- */
.fc-toolbar-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: nowrap;
}
.fc-copy-all-btn {
    padding: 9px 20px;
    background: #fff;
    border: 2px solid rgba(101, 100, 255, 0.3);
    border-radius: 99px;
    font-size: 0.88rem;
    font-weight: 700;
    font-family: inherit;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    white-space: nowrap;
}

body.fc-dark-mode .fc-copy-all-btn { background: #1e293b; color: #fff; }
.fc-copy-all-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

/* --- Surprise Highlight Animation --- */
@keyframes surprisePulse {
    0%   { box-shadow: 0 0 0 0 rgba(16,185,129,0.6); transform: scale(1); }
    40%  { box-shadow: 0 0 0 16px rgba(16,185,129,0); transform: scale(1.03); }
    100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); transform: scale(1); }
}
.fc-font-card.surprise-highlight {
    animation: surprisePulse 0.7s ease 2;
    border-color: var(--primary) !important;
}

/* --- Sticky Input Shadow --- */


/* --- History Section --- */
.fc-history-section {
    display: none;
    margin-bottom: 48px;
}
.fc-section-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.fc-section-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}
.fc-section-label { color: #e2e8f0; }
.fc-clear-history-btn {
    background: none;
    border: 2px solid rgba(101, 100, 255, 0.3);
    border-radius: 8px;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: inherit;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}
.fc-clear-history-btn:hover { border-color: #ef4444; color: #ef4444; }
.fc-history-grid { margin-bottom: 0; }

/* --- Share Action Button --- */
.fc-action-btn.share:hover { border-color: #3b82f6; color: #3b82f6; }

/* --- No Results State --- */
.fc-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 24px;
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* =====================================================
   RESPONSIVE — MOBILE FRIENDLY
   ===================================================== */

@media (max-width: 768px) {
    /* Navigation */
    .fc-nav-links { display: none; }
    .fc-menu-toggle { display: flex; }

    /* Hero */
    .fc-hero { padding: 40px 20px 60px; }
    .fc-hero h1 { font-size: 2rem; margin-bottom: 16px; }
    .fc-hero p { font-size: 1rem; } 
    
    /* Grid */
    .fc-font-grid { grid-template-columns: 1fr; gap: 16px; }
    .fc-toolbar-top { flex-direction: column; align-items: stretch; }
    .fc-search-container { max-width: none; }
        .fc-filter-bar { padding: 16px; }

    /* Make filter chips scrollable on mobile */
    .fc-filter-chips {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        padding-bottom: 5px;
    }
    .fc-filter-chips::-webkit-scrollbar {
        display: none; /* Safari and Chrome */
    }
}

@media (max-width: 480px) {
    /* Extra small phones */
    .fc-container { padding: 0 24px; }
    .fc-main-input { padding: 14px 20px; font-size: 1.2rem; }
    .fc-hero { padding: 30px 16px 40px; }
    .fc-hero h1 { font-size: 1.5rem; }
}

/* Ensure mobile elements are hidden on desktop */
@media (min-width: 769px) {
    .fc-menu-toggle { display: none !important; }
    .fc-mobile-drawer { display: none !important; }
}

body.fc-dark-mode /* FAQ Section */
.fc-faq-item {
    background: var(--card-bg-dark) !important;
}




/* Additional Redesign Classes */
.fc-logo-text {
    font-weight: 800;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--accent-color), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
    display: inline-block;
    transition: transform 0.3s ease;
}
.fc-logo-link:hover .fc-logo-text {
    transform: scale(1.05);
}

.fc-logo-link {
    color: transparent;
}

.fc-nav-links li a:hover,
.fc-nav-links li a.active,
.fc-dropdown-trigger:hover {
    color: var(--accent-color) !important;
}

.fc-dropdown-trigger {
    transition: all 0.3s ease;
}



@media (max-width: 768px) {
    

}



.fc-footer-links-column a:hover {
    color: var(--accent-color);
    transform: translateX(4px);
}



.fc-logo-image {
    height: 30px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.fc-logo-link:hover .fc-logo-image {
    transform: scale(1.05);
}


.sticky-wrapper {
    position: sticky;
    top: 10px; /* Removed header offset */
    z-index: 990;
    /* no bg needed here */
    padding-top: 10px;
    padding-bottom: 0;
    margin-bottom: 0;
    
}
.sticky-wrapper {
    /* no bg needed here */
    
}

.fc-clear-btn {
    pointer-events: auto;
    position: absolute;
    right: 40px; /* 20px padding from container + 20px inner padding */
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 8px;
    border-radius: 50%;
    display: none;
}
.fc-clear-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}
.fc-clear-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}


/* =========================================
   Redesigned Footer Section
   ========================================= */

.fc-main-footer {
    position: relative;
    background: var(--bg-light);
    padding: 80px 40px 0;
    margin-top: 60px;
}

body.fc-dark-mode .fc-main-footer {
    background: #09090b; /* Deep premium dark */
}

/* Gradient Top Bar */
.fc-footer-gradient-bar {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #c084fc, #818cf8, #38bdf8, #c084fc);
    background-size: 200% auto;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

/* Footer Grid */
.fc-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* Brand Column */
.fc-footer-brand .fc-logo-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.fc-footer-brand .fc-logo-link:hover {
    transform: scale(1.05);
}

/* Headings */
.fc-footer-heading {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #c084fc, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Links Columns */
.fc-footer-links-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fc-footer-links-column a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.7;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
    transform: translateX(0);
}

.fc-footer-links-column a:hover {
    opacity: 1;
    color: #818cf8;
    transform: translateX(6px);
}

/* Bottom Copyright Bar */
.fc-footer-bottom {
    border-top: 1px solid rgba(168, 85, 247, 0.15);
    padding: 24px 0;
    text-align: center;
}

body.fc-dark-mode .fc-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.fc-copyright {
    color: var(--text-primary);
    font-size: 0.9rem;
    opacity: 0.6;
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .fc-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .fc-footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }
    .fc-footer-brand p {
        margin: 0 auto 20px;
    }
}

@media (max-width: 576px) {
    .fc-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .fc-footer-links-column {
        align-items: center;
    }
    .fc-footer-links-column a:hover {
        transform: translateX(0) scale(1.05);
    }
}

.fc-main-footer .fc-container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }

@media (max-width: 768px) {
    .fc-header-container, .fc-main-footer .fc-container {
        padding: 0 24px;
    }
}

/* =========================================
   FANCY TEXTS GENERATOR REBRAND OVERRIDES
   ========================================= */

:root {
    --primary: #0024ba !important;
    --bg-light: #f4f6fa !important;
    --card-bg-light: #f4f6fa !important;
    --text-primary: #0024ba !important;
    --border-color: #0024ba !important;
    --radius: 4px !important;
    --shadow: none !important;
}



/* Header */
.fc-header {
    background: #0024ba !important;
    border: none !important;
    box-shadow: none !important;
    padding: 15px 40px !important;
}
.fc-header a {
    color: white !important;
    font-weight: bold !important;
}
.fc-logo {
    color: white !important;
    fill: white !important;
}
.fc-nav a {
    color: white !important;
}

/* Hide Hero Section visually but keep text for SEO */
.fc-hero {
    display: none !important;
}
.fc-hero-background, .fc-hero-badge {
    display: none !important;
}



.fc-clear-btn {
    display: none !important;
}

/* Hide Filter Bar */
#filter-bar, .fc-filter-bar {
    display: none !important;
}

/* Layout for Output Cards */
.fc-font-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.fc-font-output {
    font-size: 1.5rem;
    text-align: center !important;
    width: 100% !important;
}

/* Hide extra card elements to mimic simple look */
.fc-card-header {
    display: none !important;
}

body.fc-dark-mode {
    --text-primary: #ffffff !important;
}

body.fc-dark-mode .fc-font-output {
    color: #ffffff !important;
}

body.fc-dark-mode .fc-faq-item h4 {
    color: #ffffff !important;
}

body.fc-dark-mode .fc-nav-links a:hover, body.fc-dark-mode .fc-nav-links a.active, body.fc-dark-mode .fc-nav-links a.fc-active {
    color: #8bb4f7 !important;
}

body.fc-dark-mode .fc-mobile-nav a:hover, body.fc-dark-mode .fc-mobile-nav a.active {
    color: #8bb4f7 !important;
}
