.main-container {
    grid-template-columns: 200px 1fr;
    grid-template-areas:
        "left main"
        "left right";
}

.neuroset-similar {
    display: none;
}

.main-catalog-container {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--line-color);
    min-width: 310px;
}

h1 {
    color: white;
    font-size: calc(1.75rem + 0.5vw);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
    text-align: center;
}

h1 > span {
    font-size: calc(1.5rem + 0.1vw);
    font-weight: 400;
}

.prompt-catalog-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.tool-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    overflow: hidden;
    gap: 10px;
    padding-left: 3%;
    padding-right: 3%;
    margin-bottom: 40px;
}

.ai-tool {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: white;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-width: 150px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.ai-tool:hover {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(100, 255, 218, 0.3);
    box-shadow: 0 8px 32px 0 rgba(100, 255, 218, 0.1);
}

.ai-tool img {
    width: 25px;
    aspect-ratio: 1/1;
}

.ai-tool span {
    font-size: 1.125rem;
    margin-left: 8px;
}

.popular-prompt-container {

}

.popular-prompt-container h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
    text-align: center;
}

.prompts-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    background-color: #0e0c28;
}

.favorite-btn {
    background: none;
    border: none;
    color: #8885b0;
    font-size: 1.5em;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 5px;
    border-radius: 50%;
}

.favorite-btn:hover {
    color: #ff6b6b;
}

.favorite-btn.active {
    color: #ff6b6b;
}

.categories-section {
    margin: 40px 0;
}

.categories-section h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.categories-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 3px;
    background: linear-gradient(90deg, #6e45e2, #88d3ce);
    border-radius: 3px;
}

.categories-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.category-card {
    display: flex;
    align-items: center;
    background-color: #1a183a;
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(106, 69, 226, 0.25);
    border-color: rgba(106, 69, 226, 0.3);
}

.category-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6e45e2, #88d3ce);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.category-icon.gradient-1 {
    background: linear-gradient(135deg, #6e45e2, #88d3ce);
}
.category-icon.gradient-2 {
    background: linear-gradient(135deg, #3494e6, #ec6ead);
}
.category-icon.gradient-3 {
    background: linear-gradient(135deg, #5f4d93, #47cdda);
}
.category-icon.gradient-4 {
    background: linear-gradient(135deg, #2193b0, #6dd5ed);
}

.category-icon img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.category-icon-placeholder {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.category-info {
    flex-grow: 1;
}

.category-name {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.category-description {
    margin: 0;
    font-size: 0.85rem;
    color: #8885b0;
    line-height: 1.4;
}

.library-intro {
    max-width: 1200px;
    margin: 0 auto 40px;
    text-align: center;
}

.library-intro h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0;
}

.intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro-text {
    color: #c5c2e8;
    font-size: 1.125rem;
    max-width: 800px;
    margin-top: 15px;
    line-height: 1.6;
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    width: 100%;
    margin-bottom: 50px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(100, 255, 218, 0.3);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.5rem;
}

.benefit-card h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.benefit-card p {
    color: #c5c2e8;
    font-size: 1rem;
    line-height: 1.5;
}

.prompt-features {
    width: 100%;
}

.prompt-features h3 {
    color: white;
    font-size: 1.5rem;
    margin-top: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
}

.feature-item {
    background: rgba(30, 28, 40, 0.7);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border-color: rgba(100, 255, 218, 0.2);
}

.feature-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #6e45e2, #88d3ce);
    border-radius: 50%;
    color: white;
    font-weight: bold;
    margin-bottom: 10px;
}

.feature-item h4 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 10px;
}

.feature-item p {
    color: #c5c2e8;
    font-size: 0.9375rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .library-intro {
        padding: 30px 15px;
    }
    .intro-text {
        font-size: 1rem;
        padding: 0 10px;
    }
    .prompt-features h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .main-container {
        grid-template-columns: 1fr;
        grid-template-areas:
            "main"
            "left"
            "right";
    }
    .prompts-wrapper {
        gap: 15px;
        padding: 15px;
    }
    .head-container h1 {
        font-size: calc(1.5rem + 0.5vw);
    }
    .head-container span {
        font-size: calc(1.25rem + 0.5vw);
    }
    .categories-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
        padding: 0 10px;
    }

    .category-card {
        padding: 15px;
    }

    .category-icon {
        width: 50px;
        height: 50px;
    }

    .category-icon img {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .prompts-wrapper {
        gap: 15px;
        padding: 10px;
    }
    .ai-tool span {
        font-size: 1rem;
        margin-left: 5px;
    }
    .ai-tool {
        padding: 10px 12px;
        min-width: 120px;
    }
    .ai-tool img {
        width: 20px;
    }
    .categories-container {
        grid-template-columns: 1fr;
    }

    .categories-section h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
}