/* =========================================
   PromptNI Global
========================================= */

:root {
    --promptni-primary: #6c63ff;
    --promptni-primary-dark: #5548e8;
    --promptni-text: #202124;
    --promptni-muted: #6b7280;
    --promptni-border: #e8e8ef;
    --promptni-bg: #f8f9fc;
    --promptni-white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--promptni-text);
    background: var(--promptni-white);

    line-height: 1.6;
}

a {
    text-decoration: none;
}


/* =========================================
   Navbar
========================================= */

.promptni-navbar {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--promptni-border);
    backdrop-filter: blur(10px);
}

.promptni-logo {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.7px;
}

.logo-prompt {
    color: var(--promptni-text);
}

.logo-ni {
    color: var(--promptni-primary);
}

.promptni-navbar .nav-link {
    color: #4b5563;
    font-weight: 500;
    padding: 8px 14px !important;
}

.promptni-navbar .nav-link:hover,
.promptni-navbar .nav-link.active {
    color: var(--promptni-primary);
}

.btn-promptni {
    background: var(--promptni-primary);
    color: #fff;
    border-radius: 9px;
    padding: 9px 18px;
    font-weight: 600;
    border: none;
}

.btn-promptni:hover {
    background: var(--promptni-primary-dark);
    color: #fff;
}


/* =========================================
   Footer
========================================= */

.promptni-footer {
    background: #11131a;
    color: #d7d9df;
    padding: 60px 0 25px;
    margin-top: 70px;
}

.footer-logo {
    display: inline-block;
}

.footer-logo .logo-prompt {
    color: #fff;
}

.footer-description {
    max-width: 470px;
    color: #9ca3af;
    line-height: 1.8;
}

.footer-title {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #9ca3af;
    transition: 0.2s ease;
}

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

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

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    background: #1d2029;
    border-radius: 8px;

    transition: 0.2s ease;
}

.footer-social a:hover {
    background: var(--promptni-primary);
}

.footer-divider {
    border-color: #292c35;
    margin: 40px 0 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #8b919e;
    font-size: 14px;
}


/* =========================================
   Responsive
========================================= */

@media (max-width: 991px) {

    .promptni-navbar .navbar-collapse {
        padding: 15px 0;
    }

    .promptni-navbar .nav-link {
        padding-left: 0 !important;
    }

}

@media (max-width: 575px) {

    .promptni-footer {
        padding: 45px 0 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 5px;
    }

}


/* =========================================
   Homepage Hero
========================================= */

.promptni-hero {
    padding: 90px 0 80px;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(108, 99, 255, 0.10),
            transparent 45%
        ),
        #ffffff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 7px 14px;

    background: #f1efff;
    color: var(--promptni-primary);

    border-radius: 50px;

    font-size: 14px;
    font-weight: 600;

    margin-bottom: 20px;
}

.promptni-hero h1 {
    max-width: 850px;
    margin: auto;

    font-size: clamp(38px, 6vw, 64px);

    font-weight: 800;
    letter-spacing: -2px;

    line-height: 1.08;
}

.hero-highlight {
    color: var(--promptni-primary);
}

.hero-description {
    max-width: 680px;

    margin: 22px auto 0;

    font-size: 18px;
    color: var(--promptni-muted);

    line-height: 1.8;
}


/* =========================================
   Hero Search
========================================= */

.hero-search {
    max-width: 700px;

    margin: 35px auto 0;

    position: relative;
}

.hero-search input {
    width: 100%;

    height: 60px;

    padding: 0 150px 0 22px;

    border: 1px solid var(--promptni-border);

    border-radius: 12px;

    font-size: 16px;

    outline: none;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.05);
}

.hero-search input:focus {
    border-color: var(--promptni-primary);

    box-shadow:
        0 8px 30px rgba(108, 99, 255, 0.12);
}

.hero-search button {
    position: absolute;

    right: 7px;
    top: 7px;

    height: 46px;

    padding: 0 22px;

    border: 0;

    border-radius: 9px;

    background: var(--promptni-primary);

    color: #fff;

    font-weight: 600;
}


/* =========================================
   Section
========================================= */

.promptni-section {
    padding: 75px 0;
}

.section-heading {
    margin-bottom: 35px;
}

.section-heading h2 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.8px;
}

.section-heading p {
    color: var(--promptni-muted);
    margin-top: 7px;
}


/* =========================================
   Category Cards
========================================= */

.category-card {
    display: flex;

    align-items: center;

    gap: 15px;

    padding: 20px;

    background: #fff;

    border: 1px solid var(--promptni-border);

    border-radius: 13px;

    color: var(--promptni-text);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.category-card:hover {
    color: var(--promptni-text);

    transform: translateY(-3px);

    border-color: rgba(108, 99, 255, 0.35);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.07);
}

.category-icon {
    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f1efff;

    color: var(--promptni-primary);

    border-radius: 11px;

    font-size: 21px;
}

.category-card h3 {
    margin: 0;

    font-size: 16px;
    font-weight: 700;
}

.category-card span {
    display: inline-block;

    margin-top: 4px;

    color: var(--promptni-muted);

    font-size: 13px;
}


/* =========================================
   Prompt Cards
========================================= */

.prompt-card {
    background: #fff;

    border: 1px solid var(--promptni-border);

    border-radius: 15px;

    overflow: hidden;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.prompt-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.08);
}

.prompt-card-image {
    /* height: 210px; */

    background: #f3f4f8;

    overflow: hidden;
}

.prompt-card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}

.prompt-card-body {
    padding: 20px;
}

.prompt-category {
    display: inline-block;

    background: #f1efff;

    color: var(--promptni-primary);

    padding: 5px 9px;

    border-radius: 6px;

    font-size: 11px;

    font-weight: 700;
}

.prompt-card-title {
    margin: 13px 0 8px;

    font-size: 18px;

    font-weight: 750;

    line-height: 1.35;
}

.prompt-card-text {
    color: var(--promptni-muted);

    font-size: 14px;

    line-height: 1.65;

    margin-bottom: 20px;
}

.prompt-card-footer {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;
}

.btn-view-prompt {
    color: var(--promptni-primary);

    font-size: 14px;

    font-weight: 700;
}

.btn-view-prompt:hover {
    color: var(--promptni-primary-dark);
}

.copy-prompt-btn {
    width: 38px;
    height: 38px;

    border: 1px solid var(--promptni-border);

    background: #fff;

    color: #555;

    border-radius: 8px;

    display: flex;

    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition: 0.2s ease;
}

.copy-prompt-btn:hover {
    color: var(--promptni-primary);

    border-color: var(--promptni-primary);
}


/* =========================================
   View All
========================================= */

.section-action {
    text-align: center;

    margin-top: 40px;
}

.btn-outline-promptni {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 11px 20px;

    border: 1px solid var(--promptni-primary);

    color: var(--promptni-primary);

    border-radius: 9px;

    font-weight: 600;
}

.btn-outline-promptni:hover {
    background: var(--promptni-primary);

    color: #fff;
}


/* =========================================
   Responsive
========================================= */

@media (max-width: 575px) {

    .promptni-hero {
        padding: 65px 0;
    }

    .promptni-hero h1 {
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-search input {
        padding-right: 20px;
    }

    .hero-search button {
        position: static;

        width: 100%;

        margin-top: 10px;

        height: 50px;
    }

    .promptni-section {
        padding: 55px 0;
    }

}

/* ========================================
   ALL PROMPTS PAGE
======================================== */

.prompts-page {
    background: var(--promptni-bg);
    min-height: 70vh;
}


/* PAGE HEADER */

.prompts-header {
    padding: 70px 0 45px;
    background: var(--promptni-white);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 15px;
    border-radius: 50px;
    background: rgba(108, 99, 255, 0.09);
    color: var(--promptni-primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 18px;
}

.page-title {
    margin: 0;
    font-size: 44px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--promptni-text);
}

.page-description {
    max-width: 680px;
    margin: 18px auto 0;
    color: var(--promptni-muted);
    font-size: 17px;
    line-height: 1.7;
}


/* FILTER */

.prompt-filter-section {
    padding: 0 0 45px;
    background: var(--promptni-white);
}

.prompt-filter-box {
    padding: 25px;
    border: 1px solid var(--promptni-border);
    border-radius: 18px;
    background: var(--promptni-white);
    box-shadow: 0 8px 30px rgba(30, 30, 60, 0.06);
}

.filter-label {
    display: block;
    margin-bottom: 8px;
    color: var(--promptni-text);
    font-size: 14px;
    font-weight: 600;
}

.search-input-wrapper {
    position: relative;
}

.search-input-wrapper i {
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 2;
    transform: translateY(-50%);
    color: var(--promptni-muted);
}

.search-input-wrapper .form-control {
    padding-left: 45px;
}

.prompt-filter-box .form-control,
.prompt-filter-box .form-select {
    min-height: 48px;
    border: 1px solid var(--promptni-border);
    border-radius: 10px;
    box-shadow: none;
}

.prompt-filter-box .form-control:focus,
.prompt-filter-box .form-select:focus {
    border-color: var(--promptni-primary);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.10);
}

.btn-filter {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 10px;
    background: var(--promptni-primary);
    color: var(--promptni-white);
    font-size: 15px;
    font-weight: 600;
    transition: 0.2s ease;
}

.btn-filter:hover {
    background: var(--promptni-primary-dark);
    color: var(--promptni-white);
    transform: translateY(-1px);
}


/* RESULTS */

.all-prompts-section {
    padding: 20px 0 80px;
}

.prompts-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.prompts-result-header h2 {
    margin: 0 0 5px;
    color: var(--promptni-text);
    font-size: 27px;
    font-weight: 750;
}

.prompts-result-header p {
    margin: 0;
    color: var(--promptni-muted);
    font-size: 15px;
}

.prompt-count {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 50px;
    background: var(--promptni-white);
    border: 1px solid var(--promptni-border);
    color: var(--promptni-muted);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}


/* EMPTY STATE */

.prompt-empty-state {
    padding: 70px 20px;
    text-align: center;
    background: var(--promptni-white);
    border: 1px solid var(--promptni-border);
    border-radius: 18px;
}

.empty-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(108, 99, 255, 0.09);
    color: var(--promptni-primary);
    font-size: 26px;
}

.prompt-empty-state h3 {
    margin-bottom: 10px;
    color: var(--promptni-text);
    font-size: 23px;
    font-weight: 700;
}

.prompt-empty-state p {
    max-width: 500px;
    margin: 0 auto 25px;
    color: var(--promptni-muted);
    line-height: 1.7;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 10px;
    background: var(--promptni-primary);
    color: var(--promptni-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.btn-view-all:hover {
    background: var(--promptni-primary-dark);
    color: var(--promptni-white);
}


/* PAGINATION */

.prompt-pagination {
    margin-top: 55px;
}

.prompt-pagination .pagination {
    gap: 7px;
    flex-wrap: wrap;
}

.prompt-pagination .page-item {
    margin: 0;
}

.prompt-pagination .page-link {
    min-width: 42px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--promptni-border);
    border-radius: 9px;
    background: var(--promptni-white);
    color: var(--promptni-text);
    font-size: 14px;
    font-weight: 600;
}

.prompt-pagination .page-link:hover {
    background: rgba(108, 99, 255, 0.08);
    border-color: var(--promptni-primary);
    color: var(--promptni-primary);
}

.prompt-pagination .page-item.active .page-link {
    background: var(--promptni-primary);
    border-color: var(--promptni-primary);
    color: var(--promptni-white);
}

.prompt-pagination .page-item.disabled .page-link {
    opacity: 0.5;
    background: var(--promptni-white);
}


/* COPY SUCCESS */

.copy-prompt-btn.copied {
    background: #198754;
    color: #fff;
    border-color: #198754;
}


/* RESPONSIVE */

@media (max-width: 991px) {

    .prompts-header {
        padding: 55px 0 35px;
    }

    .page-title {
        font-size: 36px;
    }

    .prompt-filter-section {
        padding-bottom: 35px;
    }

    .all-prompts-section {
        padding-top: 15px;
    }

}


@media (max-width: 767px) {

    .prompts-header {
        padding: 45px 0 30px;
    }

    .page-title {
        font-size: 30px;
    }

    .page-description {
        font-size: 15px;
    }

    .prompt-filter-box {
        padding: 18px;
        border-radius: 14px;
    }

    .prompts-result-header {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 22px;
    }

    .prompts-result-header h2 {
        font-size: 23px;
    }

    .prompt-count {
        font-size: 13px;
    }

    .prompt-pagination .page-link {
        min-width: 38px;
        min-height: 38px;
    }

}

/* ========================================
   CATEGORY PAGE
======================================== */

.category-page {
    background: var(--promptni-bg);
    min-height: 70vh;
}


/* CATEGORY HERO */

.category-hero {
    padding: 65px 0 55px;
    background: var(--promptni-white);
    border-bottom: 1px solid var(--promptni-border);
}

.category-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.back-to-prompts {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 28px;
    color: var(--promptni-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: 0.2s ease;
}

.back-to-prompts:hover {
    color: var(--promptni-primary);
}

.category-large-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: rgba(108, 99, 255, 0.10);
    color: var(--promptni-primary);
    font-size: 32px;
}

.category-page-title {
    margin: 12px 0 15px;
    color: var(--promptni-text);
    font-size: 44px;
    line-height: 1.2;
    font-weight: 800;
}

.category-page-description {
    max-width: 650px;
    margin: 0 auto;
    color: var(--promptni-muted);
    font-size: 17px;
    line-height: 1.7;
}

.category-stat {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 25px;
    padding: 9px 16px;
    border: 1px solid var(--promptni-border);
    border-radius: 50px;
    background: var(--promptni-bg);
    color: var(--promptni-muted);
    font-size: 14px;
}

.category-stat i {
    color: var(--promptni-primary);
}

.category-stat strong {
    color: var(--promptni-text);
}


/* CATEGORY PROMPTS */

.category-prompts-section {
    padding: 60px 0 80px;
}

.category-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.category-section-heading h2 {
    margin: 0 0 5px;
    color: var(--promptni-text);
    font-size: 28px;
    font-weight: 750;
}

.category-section-heading p {
    margin: 0;
    color: var(--promptni-muted);
    font-size: 15px;
}

.category-view-all {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 16px;
    border: 1px solid var(--promptni-border);
    border-radius: 9px;
    background: var(--promptni-white);
    color: var(--promptni-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: 0.2s ease;
}

.category-view-all:hover {
    border-color: var(--promptni-primary);
    color: var(--promptni-primary);
}


/* RESPONSIVE */

@media (max-width: 767px) {

    .category-hero {
        padding: 45px 0 40px;
    }

    .category-large-icon {
        width: 65px;
        height: 65px;
        font-size: 27px;
        border-radius: 17px;
    }

    .category-page-title {
        font-size: 32px;
    }

    .category-page-description {
        font-size: 15px;
    }

    .category-prompts-section {
        padding: 45px 0 60px;
    }

    .category-section-heading {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 25px;
    }

    .category-section-heading h2 {
        font-size: 24px;
    }

    .category-view-all {
        width: 100%;
        justify-content: center;
    }

}

/* ========================================
   CATEGORIES PAGE
======================================== */

.categories-page {
    background: var(--promptni-bg);
    min-height: 70vh;
}


/* HERO */

.categories-hero {
    padding: 70px 0 55px;
    background: var(--promptni-white);
    border-bottom: 1px solid var(--promptni-border);
}

.categories-title {
    margin: 12px 0 15px;
    color: var(--promptni-text);
    font-size: 44px;
    line-height: 1.2;
    font-weight: 800;
}

.categories-description {
    max-width: 650px;
    margin: 0 auto;
    color: var(--promptni-muted);
    font-size: 17px;
    line-height: 1.7;
}


/* CATEGORY LIST */

.categories-list-section {
    padding: 60px 0 80px;
}


/* MOBILE */

@media (max-width: 767px) {

    .categories-hero {
        padding: 45px 0 40px;
    }

    .categories-title {
        font-size: 32px;
    }

    .categories-description {
        font-size: 15px;
    }

    .categories-list-section {
        padding: 45px 0 60px;
    }

}

/* ========================================
   SINGLE PROMPT DETAIL PAGE
======================================== */

.prompt-detail-page {
    background: var(--promptni-bg);
}


/* BREADCRUMB */

.prompt-detail-header {
    padding: 25px 0;
    background: var(--promptni-white);
    border-bottom: 1px solid var(--promptni-border);
}

.prompt-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    color: var(--promptni-muted);
    font-size: 14px;
}

.prompt-breadcrumb a {
    color: var(--promptni-muted);
    text-decoration: none;
}

.prompt-breadcrumb a:hover {
    color: var(--promptni-primary);
}

.prompt-breadcrumb i {
    font-size: 11px;
    opacity: 0.6;
}

.prompt-breadcrumb span {
    color: var(--promptni-text);
    font-weight: 600;
}


/* MAIN */

.prompt-detail-section {
    padding: 65px 0 75px;
}


/* IMAGE */

.prompt-detail-image {
    overflow: hidden;
    border-radius: 20px;
    background: var(--promptni-white);
    border: 1px solid var(--promptni-border);
    box-shadow: 0 12px 35px rgba(30, 30, 60, 0.08);
}

.prompt-detail-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.prompt-no-image {
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--promptni-primary);
    background: rgba(108, 99, 255, 0.07);
    font-size: 70px;
}


/* CATEGORY */

.prompt-detail-category {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border-radius: 50px;
    background: rgba(108, 99, 255, 0.09);
    color: var(--promptni-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.prompt-detail-category:hover {
    background: rgba(108, 99, 255, 0.14);
    color: var(--promptni-primary-dark);
}


/* TITLE */

.prompt-detail-title {
    margin: 18px 0 15px;
    color: var(--promptni-text);
    font-size: 40px;
    line-height: 1.2;
    font-weight: 800;
}

.prompt-detail-intro {
    margin-bottom: 25px;
    color: var(--promptni-muted);
    font-size: 16px;
    line-height: 1.7;
}


/* PROMPT BOX */

.prompt-detail-box {
    overflow: hidden;
    border: 1px solid var(--promptni-border);
    border-radius: 16px;
    background: var(--promptni-white);
}

.prompt-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--promptni-border);
    background: var(--promptni-bg);
}

.prompt-box-header > span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--promptni-text);
    font-size: 14px;
    font-weight: 700;
}

.prompt-box-header > span i {
    color: var(--promptni-primary);
}

.detail-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border: 0;
    border-radius: 8px;
    background: var(--promptni-primary);
    color: var(--promptni-white);
    font-size: 13px;
    font-weight: 600;
    transition: 0.2s ease;
}

.detail-copy-btn:hover {
    background: var(--promptni-primary-dark);
}

.detail-copy-btn.copied {
    background: #198754;
}

.prompt-detail-text {
    max-height: 500px;
    overflow-y: auto;
    padding: 22px;
    color: var(--promptni-text);
    font-size: 15px;
    line-height: 1.8;
    white-space: pre-wrap;
    word-break: break-word;
}


/* META */

.prompt-detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 18px;
    color: var(--promptni-muted);
    font-size: 13px;
}

.prompt-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.prompt-detail-meta i {
    color: var(--promptni-primary);
}


/* RELATED */

.related-prompts-section {
    padding: 65px 0 85px;
    background: var(--promptni-white);
    border-top: 1px solid var(--promptni-border);
}

.related-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 30px;
}

.related-heading h2 {
    margin: 12px 0 5px;
    color: var(--promptni-text);
    font-size: 30px;
    font-weight: 800;
}

.related-heading p {
    margin: 0;
    color: var(--promptni-muted);
    font-size: 15px;
}


/* RESPONSIVE */

@media (max-width: 991px) {

    .prompt-detail-section {
        padding: 45px 0 60px;
    }

    .prompt-detail-title {
        font-size: 34px;
    }

}


@media (max-width: 767px) {

    .prompt-detail-header {
        padding: 18px 0;
    }

    .prompt-breadcrumb {
        font-size: 12px;
    }

    .prompt-detail-section {
        padding: 35px 0 50px;
    }

    .prompt-detail-image {
        border-radius: 15px;
    }

    .prompt-detail-title {
        font-size: 30px;
    }

    .prompt-detail-intro {
        font-size: 15px;
    }

    .prompt-box-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .detail-copy-btn {
        width: 100%;
        justify-content: center;
    }

    .prompt-detail-text {
        padding: 17px;
        font-size: 14px;
    }

    .related-prompts-section {
        padding: 45px 0 60px;
    }

    .related-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .related-heading h2 {
        font-size: 25px;
    }

    .related-heading .category-view-all {
        width: 100%;
        justify-content: center;
    }

}

/* ============================================================
   PROMPT CONTENT QUALITY SECTIONS
   Step 7.10.1
   ============================================================ */


/* ------------------------------------------------------------
   SECTION COMMON
   ------------------------------------------------------------ */

.prompt-section-heading {
    margin-bottom: 34px;
}

.prompt-section-heading .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
}

.prompt-section-heading h2 {
    margin: 0 0 10px;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--promptni-text);
}

.prompt-section-heading p {
    margin: 0;
    max-width: 680px;
    color: var(--promptni-muted);
    font-size: 16px;
    line-height: 1.7;
}


/* ------------------------------------------------------------
   ABOUT THIS PROMPT
   ------------------------------------------------------------ */

.prompt-info-section {
    padding: 70px 0;
    background: var(--promptni-bg);
}

.prompt-info-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 42px;
    background: var(--promptni-white);
    border: 1px solid var(--promptni-border);
    border-radius: 20px;
}

.prompt-info-text {
    max-width: 820px;
}

.prompt-info-text p {
    margin: 0 0 18px;
    color: var(--promptni-muted);
    font-size: 16px;
    line-height: 1.8;
}

.prompt-info-text p:last-child {
    margin-bottom: 0;
}

.prompt-info-text strong {
    color: var(--promptni-text);
    font-weight: 600;
}


/* ------------------------------------------------------------
   HOW TO USE
   ------------------------------------------------------------ */

.prompt-how-to-section {
    padding: 80px 0;
    background: var(--promptni-white);
}

.prompt-how-to-section .prompt-section-heading {
    text-align: center;
}

.prompt-how-to-section .prompt-section-heading p {
    margin-left: auto;
    margin-right: auto;
}

.prompt-step-card {
    position: relative;
    height: 100%;
    padding: 32px 26px;
    background: var(--promptni-bg);
    border: 1px solid var(--promptni-border);
    border-radius: 18px;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.prompt-step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(32, 33, 36, 0.08);
}

.prompt-step-number {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 13px;
    font-weight: 700;
    color: var(--promptni-primary);
    letter-spacing: 0.5px;
}

.prompt-step-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(108, 99, 255, 0.10);
    color: var(--promptni-primary);
    font-size: 23px;
}

.prompt-step-card h3 {
    margin: 0 0 10px;
    color: var(--promptni-text);
    font-size: 18px;
    font-weight: 700;
}

.prompt-step-card p {
    margin: 0;
    color: var(--promptni-muted);
    font-size: 14px;
    line-height: 1.7;
}


/* ------------------------------------------------------------
   CUSTOMIZE SECTION
   ------------------------------------------------------------ */

.prompt-customize-section {
    padding: 80px 0;
    background: var(--promptni-bg);
}

.prompt-customize-box {
    padding: 45px;
    background: var(--promptni-white);
    border: 1px solid var(--promptni-border);
    border-radius: 22px;
}

.customize-item {
    height: 100%;
    padding: 26px 22px;
    border: 1px solid var(--promptni-border);
    border-radius: 16px;
    background: var(--promptni-white);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.customize-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(32, 33, 36, 0.06);
}

.customize-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(108, 99, 255, 0.10);
    color: var(--promptni-primary);
    font-size: 20px;
}

.customize-item h3 {
    margin: 0 0 9px;
    color: var(--promptni-text);
    font-size: 17px;
    font-weight: 700;
}

.customize-item p {
    margin: 0;
    color: var(--promptni-muted);
    font-size: 14px;
    line-height: 1.7;
}


/* ------------------------------------------------------------
   TIPS SECTION
   ------------------------------------------------------------ */

.prompt-tips-section {
    padding: 80px 0;
    background: var(--promptni-white);
}

.prompt-tips-list {
    max-width: 900px;
}

.prompt-tip {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid var(--promptni-border);
}

.prompt-tip:first-child {
    padding-top: 0;
}

.prompt-tip:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.prompt-tip-icon {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(108, 99, 255, 0.10);
    color: var(--promptni-primary);
    font-size: 17px;
}

.prompt-tip h3 {
    margin: 0 0 7px;
    color: var(--promptni-text);
    font-size: 17px;
    font-weight: 700;
}

.prompt-tip p {
    margin: 0;
    color: var(--promptni-muted);
    font-size: 15px;
    line-height: 1.7;
}


/* ------------------------------------------------------------
   RELATED PROMPTS SPACING
   ------------------------------------------------------------ */

.related-prompts-section {
    padding: 80px 0;
}


/* ------------------------------------------------------------
   MOBILE
   ------------------------------------------------------------ */

@media (max-width: 991.98px) {

    .prompt-info-section,
    .prompt-how-to-section,
    .prompt-customize-section,
    .prompt-tips-section,
    .related-prompts-section {
        padding: 60px 0;
    }

    .prompt-info-card,
    .prompt-customize-box {
        padding: 32px;
    }

    .prompt-section-heading h2 {
        font-size: 28px;
    }

}


@media (max-width: 767.98px) {

    .prompt-info-section,
    .prompt-how-to-section,
    .prompt-customize-section,
    .prompt-tips-section,
    .related-prompts-section {
        padding: 50px 0;
    }

    .prompt-info-card,
    .prompt-customize-box {
        padding: 25px 20px;
        border-radius: 16px;
    }

    .prompt-section-heading {
        margin-bottom: 25px;
    }

    .prompt-section-heading h2 {
        font-size: 25px;
    }

    .prompt-section-heading p {
        font-size: 15px;
    }

    .prompt-step-card {
        padding: 27px 22px;
    }

    .customize-item {
        padding: 23px 20px;
    }

    .prompt-tip {
        gap: 13px;
    }

    .prompt-tip h3 {
        font-size: 16px;
    }

    .prompt-tip p {
        font-size: 14px;
    }

}
