/* Add margin to headings to prevent edge touching */
h2, h3, .ai-tools-header, .prompts-header h2 {
    margin-left: 24px;
    margin-right: 24px;
}

@media (max-width: 700px) {
    h2, h3, .ai-tools-header, .prompts-header h2 {
        margin-left: 12px;
        margin-right: 12px;
    }
}
/* Trending Prompt Card Details */
.trending-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #222;
}
.trending-card-desc {
    font-size: 0.98rem;
    color: #555;
    margin-bottom: 8px;
}
.trending-card-prompt {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 10px;
    background: #f7f7fa;
    border-radius: 6px;
    padding: 8px;
}
.trending-card-tags {
    margin-top: 6px;
}
.trending-card-tags span {
    display: inline-block;
    background: #e3e7ff;
    color: #4a4a8a;
    font-size: 0.85rem;
    border-radius: 4px;
    padding: 2px 8px;
    margin-right: 4px;
    margin-bottom: 2px;
}
/* Trending Rows and Cards */
.trending-row {
    margin-bottom: 32px;
}
.trending-row h3 {
    margin-bottom: 16px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #3a3a3a;
}

.trending-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 18px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    align-items: stretch;
}
}

@media (max-width: 1200px) {
    .trending-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 900px) {
    .trending-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .trending-card {
        max-width: 98vw;
        margin: 0 auto 18px auto;
    }
}

@media (max-width: 700px) {
    .trending-cards {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .trending-card {
        max-width: 98vw;
        width: 100%;
        margin: 0 auto 18px auto;
    }
    .trending-row h3 {
        font-size: 1.08rem;
        margin-bottom: 10px;
    }
}

.trending-card img {
    width: 100%;
    max-width: 120px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.trending-card {
    background: #fff;
    border-radius: 10px;
    padding: 18px 12px 12px 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 340px;
    width: 100%;
    margin: 0 auto;
}
.trending-card {
    background: #fff;
    border-radius: 10px;
    padding: 18px 12px 12px 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 340px;
    width: 100%;
    margin: 0 auto;
}
.trending-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.trending-card div {
    font-size: 1.08rem;
    font-weight: 500;
    color: #222;
}
.trending-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}
/* Ensure AI Tools Directory heading stays above hovered cards */
.ai-tools-header {
    position: relative;
    z-index: 10;
    background: inherit;
}
.prompt-card {
    transition: box-shadow 0.2s, transform 0.2s, border 0.2s, background 0.2s;
}
.prompt-card:hover {
    box-shadow: 0 12px 36px rgba(76,201,240,0.18), 0 2px 10px rgba(0,0,0,0.10);
    transform: translateY(-7px) scale(1.025);
    border: 2px solid #4cc9f0;
    background: linear-gradient(120deg, #f5f7ff 80%, #e0f7fa 100%);
    z-index: 2;
}
.ai-tool-card-modern:hover {
    box-shadow: 0 20px 48px rgba(108,99,255,0.25), 0 8px 24px rgba(0,0,0,0.15);
    transform: translateY(-10px) scale(1.045);
    border: 2.5px solid #6c63ff;
    background: linear-gradient(120deg, #f7f7fa 80%, #e0e7ff 100%);
    z-index: 4;
}
/* Modern AI Tool Card Styles (Inspired by attachment) */
.ai-tool-card-modern {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 6px 32px rgba(108,99,255,0.10), 0 2px 10px rgba(0,0,0,0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 260px;
    max-width: 370px;
    margin: 0 auto 18px auto;
    transition: box-shadow 0.2s, transform 0.2s;
}
.ai-tool-header-modern {
    background: linear-gradient(135deg, #6c63ff 60%, #837dff 100%);
    padding: 28px 0 18px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 22px 22px 0 0;
    min-height: 80px;
}
.ai-tool-logo-row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.ai-tool-logo-modern {
    height: 48px;
    width: auto;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 2px;
    margin-bottom: 0;
}
.ai-tool-content-modern {
    padding: 18px 22px 0 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 120px;
}
.ai-tool-title-provider {
    width: 100%;
    margin-bottom: 6px;
}
.ai-tool-title-modern {
    font-size: 1.22rem;
    font-weight: 700;
    color: #2d2d2d;
    margin: 0 0 2px 0;
    line-height: 1.2;
}
.ai-tool-provider-modern {
    font-size: 1.01rem;
    color: #6c63ff;
    font-weight: 500;
    margin-bottom: 6px;
}
.ai-tool-desc-modern {
    color: #444;
    font-size: 0.98rem;
    margin-bottom: 10px;
    line-height: 1.5;
}
.ai-tool-points-modern {
    list-style: none;
    padding: 0;
    margin: 0 0 8px 0;
    width: 100%;
}
.ai-tool-points-modern li {
    display: flex;
    align-items: center;
    font-size: 0.99rem;
    color: #222;
    margin-bottom: 4px;
    font-weight: 500;
}
.ai-tool-check {
    color: #222;
    background: #e0e7ff;
    border-radius: 50%;
    font-size: 1.1em;
    margin-right: 8px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ai-tool-footer-modern {
    background: #f7f7fa;
    border-radius: 0 0 22px 22px;
    padding: 18px 22px 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 56px;
    margin-top: 18px;
}
.ai-tool-type-modern {
    font-size: 1.01rem;
    color: #6c63ff;
    font-weight: 600;
    background: #e0e7ff;
    border-radius: 8px;
    padding: 6px 16px;
    margin-right: 8px;
}
.ai-tool-explore-btn {
    background: #ff6584;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 22px;
    padding: 10px 32px;
    font-size: 1.08rem;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(255,101,132,0.08);
}
.ai-tool-explore-btn:hover {
    background: #ff4d73;
    box-shadow: 0 4px 16px rgba(255,101,132,0.16);
}
@media (max-width: 700px) {
    .ai-tool-card-modern {
        min-width: 0;
        max-width: 98vw;
        border-radius: 14px;
    }
    .ai-tool-header-modern {
        border-radius: 14px 14px 0 0;
        padding: 18px 0 10px 0;
    }
    .ai-tool-footer-modern {
        border-radius: 0 0 14px 14px;
        padding: 12px 10px 12px 10px;
    }
}
@media (max-width: 700px) {
    .mobile-header-icons {
        position: relative;
    }
    #nav-close {
        display: none;
        position: absolute;
        right: 0;
        top: 0;
        z-index: 1100;
    }
    #nav-toggle.hide {
        display: none !important;
    }
    #nav-close.show {
        display: block !important;
    }
}
@media (max-width: 700px) {
    #nav-close {
        display: none !important;
    }
    nav#main-nav.open ~ #nav-close {
        display: block !important;
    }
    nav#main-nav.open ~ #nav-toggle {
        display: none !important;
    }
}
@media (max-width: 700px) {
    .hero {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 18px 6px 18px 6px;
    }
    .hero h1 {
        font-size: 1.4rem;
        text-align: center;
        margin-bottom: 10px;
    }
    .hero p {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 12px;
    }
    .hero .btn {
        margin: 0 auto;
        display: block;
        font-size: 1rem;
        padding: 10px 22px;
    }
}
@media (max-width: 700px) {
    .header-content {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center;
        width: 100%;
        gap: 8px;
    }
    .logo {
        justify-content: center !important;
        align-items: center !important;
        text-align: center;
        width: 100%;
        margin: 0 auto 2px auto;
    }
    .mobile-header-icons {
        justify-content: center !important;
        align-items: center !important;
        width: 100%;
        margin: 0 auto 2px auto;
    }
    #global-search-bar,
    #global-search-bar.active {
        justify-content: center !important;
        align-items: center !important;
        margin: 10px auto !important;
        width: 100%;
        max-width: 400px;
    }
}
@media (max-width: 700px) {
    .mobile-header-icons {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin-bottom: 4px;
    }
    #nav-toggle {
        order: 1;
        margin-right: auto !important;
        margin-left: 0 !important;
        display: block !important;
    }
    #mobile-search-toggle {
        order: 2;
        margin-left: auto !important;
        margin-right: 0 !important;
        display: block !important;
    }
}
@media (max-width: 700px) {
    #global-search-bar {
        display: none !important;
        width: 100%;
        margin: 0;
    }
    #global-search-bar.active {
        display: flex !important;
        width: 100%;
        margin: 10px 0;
    }
    #mobile-search-toggle {
        display: block !important;
    }
}
@media (max-width: 700px) {
    header {
        padding: 6px 0 0 0;
    }
    .header-content {
        padding: 0 0 6px 0;
    }
    #nav-toggle {
        display: block !important;
    }
    nav#main-nav {
        width: 100%;
        display: none;
        background: linear-gradient(135deg, var(--primary), #837dff);
        position: absolute;
        left: 0;
        top: 56px;
        z-index: 1001;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }
    nav#main-nav.open {
        display: block;
    }
    nav#main-nav ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 0;
    }
    nav#main-nav ul li {
        margin: 0;
        width: 100%;
    }
    nav#main-nav ul li a {
        display: block;
        width: 100%;
        padding: 14px 18px;
        border-radius: 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .user-actions {
        margin-top: 6px;
    }
}
/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        max-width: 100vw;
        padding: 0 10px;
    }
    .features {
        flex-direction: column;
        gap: 24px;
    }
    .feature-card {
        width: 100%;
        margin-bottom: 0;
    }
    .prompts-grid, .trending-grid, .ai-tools-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }
}

@media (max-width: 700px) {
    header, .header-content, nav ul, .user-actions {
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100%;
    }
    .header-content {
        gap: 10px;
    }
    nav ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    nav ul li {
        margin: 0 0 8px 0;
    }
    .search-bar {
        width: 100%;
        margin: 10px 0;
        padding: 5px 8px;
    }
    .container {
        padding: 0 4px;
    }
    .features {
        flex-direction: column;
        gap: 16px;
    }
    .feature-card {
        width: 100%;
        margin-bottom: 0;
    }
    .prompts-grid, .trending-grid, .ai-tools-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .prompt-card, .trend-card, .ai-tool-card {
        padding: 12px;
        font-size: 0.98rem;
    }
    .prompt-img, .trend-card img, .ai-tool-card img {
        max-width: 100%;
        height: auto;
        margin-bottom: 8px;
    }
    .modal-content {
        max-width: 98vw;
        max-height: 60vh;
    }
    .close-modal {
        top: 10px;
        right: 16px;
        font-size: 2rem;
    }
    footer .footer-columns {
        flex-direction: column;
        gap: 18px;
    }
    .footer-column {
        width: 100%;
        margin-bottom: 0;
    }
}
/* Modal Popup for Prompt Images */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
}
.modal-content {
    display: block;
    margin: 5vh auto;
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.close-modal {
    position: absolute;
    top: 24px;
    right: 40px;
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 1010;
    text-shadow: 0 2px 8px #000;
}
/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
:root {
    --primary: #6c63ff;
    --secondary: #ff6584;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --gray: #e6e6e6;
    --success: #4cc9f0;
}
body {
    background-color: #f5f7ff;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary), #837dff);
    color: white;
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
}
.logo i {
    margin-right: 10px;
    font-size: 32px;
}
nav ul {
    display: flex;
    list-style: none;
}
nav ul li {
    margin-left: 25px;
}
nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 20px;
}
nav ul li a:hover, 
nav ul li a.active {
    background-color: rgba(255, 255, 255, 0.2);
}
.search-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 5px 15px;
    margin: 0 20px;
}
.search-bar input {
    background: transparent;
    border: none;
    color: white;
    padding: 8px;
    width: 200px;
    outline: none;
}
.search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}
.search-bar button {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
}
.user-actions a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
    font-size: 18px;
}
/* Main Content */
main {
    flex: 1;
    padding: 30px 0;
}
.page {
    display: none;
    animation: fadeIn 0.5s ease;
}
.page.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* Home Page */
.hero {
    background: linear-gradient(rgba(108, 99, 255, 0.9), rgba(108, 99, 255, 0.8)), url('https://images.unsplash.com/photo-1677442135135-416f8aa26a5b?ixlib=rb4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1000&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 20px;
    text-align: center;
    border-radius: 15px;
    margin-bottom: 40px;
}
.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}
.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}
.btn {
    background-color: var(--secondary);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}
.btn:hover {
    background-color: #ff4d73;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}
.feature-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}
.feature-card:hover {
    transform: translateY(-10px);
    z-index: 2;
}
.feature-card i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}
.feature-card h3 {
    margin-bottom: 15px;
    color: var(--dark);
}
/* Trending Page */
.trending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}
.trend-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.trend-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.trend-content {
    padding: 20px;
}
.trend-content h3 {
    margin-bottom: 10px;
    color: var(--dark);
}
.trend-content p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
}
.hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}
.hashtag {
    background-color: #e0e7ff;
    color: var(--primary);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}
/* Prompts Page */
.prompts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.filter-options {
    display: flex;
    gap: 15px;
}
.filter-btn {
    background: white;
    border: 1px solid var(--gray);
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}
.prompts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}
.prompt-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.prompt-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.prompt-content {
    padding: 20px;
}
.prompt-content h3 {
    margin-bottom: 10px;
    color: var(--dark);
}
.prompt-content p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
}
.prompt-text {
    background-color: #f5f7ff;
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    font-family: monospace;
    font-size: 0.9rem;
    border-left: 4px solid var(--primary);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    position: relative;
    min-height: 3.2em;
    max-height: 4.8em;
    transition: max-height 0.2s;
    line-clamp: 3;
}
.prompt-text.expanded {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    max-height: none;
    overflow: visible;
}
.expand-btn {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 0.9rem;
    margin: 0 0 10px 0;
    padding: 0;
    text-decoration: underline;
    display: inline-block;
}
/* AI Tools Page */
.ai-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}
.ai-tool-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}
.ai-tool-header {
    padding: 20px;
    background: linear-gradient(135deg, var(--primary), #837dff);
    color: white;
}
.ai-tool-header h3 {
    margin-bottom: 5px;
}
.ai-tool-body {
    padding: 20px;
    flex-grow: 1;
}
.ai-tool-body p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
}
.ai-tool-features {
    margin: 15px 0;
}
.ai-tool-features li {
    margin-bottom: 8px;
    list-style-type: none;
    display: flex;
    align-items: center;
}
ai-tool-features li i {
    color: var(--success);
    margin-right: 10px;
}
.ai-tool-footer {
    padding: 15px 20px;
    background-color: #f9f9f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* Profile Page */
.profile-header {
    background: linear-gradient(135deg, var(--primary), #837dff);
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: center;
}
.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 15px;
}
.profile-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}
.stat-item {
    text-align: center;
}
.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
}
.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}
.profile-content {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 30px;
}
.profile-sidebar {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.profile-menu {
    list-style: none;
}
.profile-menu li {
    margin-bottom: 15px;
}
.profile-menu a {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}
.profile-menu a i {
    margin-right: 10px;
    color: var(--primary);
}
.profile-menu a:hover, 
.profile-menu a.active {
    color: var(--primary);
}
.profile-main {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
}
.footer-column ul {
    list-style: none;
}
.footer-column ul li {
    margin-bottom: 12px;
}
.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-column ul li a:hover {
    color: var(--primary);
}
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.social-icons a {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.social-icons a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}
.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #ccc;
}
/* Responsive Design */
@media (max-width: 900px) {
    .header-content {
        flex-direction: column;
    }
    nav ul {
        margin: 15px 0;
    }
    .search-bar {
        width: 100%;
        margin: 15px 0;
    }
    .profile-content {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1rem;
    }
}
@media (max-width: 600px) {
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    nav ul li {
        margin: 5px;
    }
    .features {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        margin-bottom: 40px;
        position: relative;
        z-index: 0;
    }
    .profile-stats {
        flex-direction: column;
        gap: 15px;
    }
    .prompts-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .filter-options {
        flex-wrap: wrap;
    }
}
