@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Outfit", sans-serif;
    background: #09090B;
    color: #ffffff;
}

main {
    min-height: calc(100vh - 96px);
}

.hero-band {
    background: #09090B;
}

.hero-section {
    min-height: calc(30vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 25px;
    text-align: center;
}

.hero-content {
    width: min(960px, 100%);
}

.hero-content h1 {
    margin: 0;
    font-size: clamp(2.3rem, 4.7vw, 2.8rem);
    line-height: 1.3;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.hero-highlight {
    background: linear-gradient(180deg, #ffffff 0%, #d6e8ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content p {
    margin: 22px auto 0;
    max-width: 750px;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 1.45vw, 1rem);
    line-height: 1.45;
}
.hero-content h1 span {
    background: linear-gradient(180deg, #b1fa3d 0%, #4fa806 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.prompt-search-section {
    padding: 0px 20px 28px;
}

.prompt-search-wrap {
    width: min(700px, 100%);
    margin: 0 auto;
    border-radius: 18px;
    padding: 12px 16px 1px;
}

.search-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border-radius: 999px;
    padding: 15px 16px;
}

.search-icon {
    font-size: 16px;
    color: #393a3b;
    opacity: 0.85;
}

.search-pill input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: #131313;
    font-family: inherit;
    font-size: 1rem;
}

.search-pill input::placeholder {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 300;
}
.badges {
    padding: 0 20px 70px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 20px;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
}

.badges a {
    display: inline-flex;
    flex: 0 1 auto;
    max-width: 100%;
    line-height: 0;
}

.badges img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 72px;
}

.search-pill button {
    border: 0;
    background: transparent;
    color: #393a3b;
    font-size: 1.2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 2px;
}

.home-trust-section {
    padding: 0 20px 52px;
}

.home-trust-inner {
    width: min(960px, 100%);
    margin: 0 auto;
    text-align: center;
}

.home-trust-kicker {
    margin: 0 0 16px;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.home-trust-grid {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.home-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 118px;
    padding: 18px 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.015) 100%);
}

.home-trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    margin-bottom: 8px;
    color: #8aa0a4;
    font-size: 0.92rem;
}

.home-trust-value {
    display: block;
    font-size: clamp(1.2rem, 2.2vw, 1.55rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.01em;
    font-variant-numeric: tabular-nums;
    background: linear-gradient(180deg, #b1fa3d 0%, #4fa806 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.home-trust-label {
    display: block;
    margin-top: 6px;
    font-size: 0.8rem;
    font-weight: 350;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.7);
}

.home-trust-note {
    margin: 14px 0 0;
    font-size: 0.88rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.58);
}

.showcase-section {
    position: relative;
    overflow: hidden;
    padding: 5px 0 60px;
    background: transparent;
    background-size: cover;
    background-position: center;
}

.showcase-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
}

.showcase-track {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 30px;
    width: max-content;
    animation: showcase-scroll 50s linear infinite;
    will-change: transform;
    padding: 0 18px;
}

.showcase-card {
    width: 300px;
    height: 500px;
    overflow: hidden;
    flex: 0 0 auto;
}

.showcase-card.is-offset {
    margin-top: 34px;
}

.showcase-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes showcase-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 9px));
    }
}

.categories-section {
    max-width: 2000px;
    background: #09090B;
    margin: 0 auto;
    width: 100%;
    padding: 70px 94px 70px;
}

.categories-head {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 45px;
}

.categories-head h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3.1vw, 2.25rem);
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.01em;
}

.categories-arrows {
    position: absolute;
    right: 0;
    display: flex;
    gap: 10px;
}

.categories-arrows button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgb(255, 255, 255);
    background: transparent;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
}

.categories-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.categories-track::-webkit-scrollbar {
    display: none;
}

.category-card {
    flex: 0 0 calc((100% - 54px) / 7);
    min-width: 258px;
    scroll-snap-align: start;
}

.category-thumb {
    display: block;
    width: 100%;
    height: 600px;
    background: #c6c6c8;
    text-decoration: none;
}

.category-foot {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.category-foot h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 400;
    color: #ffffff;
}

.category-foot span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #b1fa3d 0%, #4fa806 100%);
    color: #ffffff;
    font-size: 0.95rem;
    transform: rotate(45deg);
}

.categories-more-btn {
    margin: 45px auto 0;
    width: fit-content;
    display: block;
    text-decoration: none;
    color: #f4f0ff;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 11px 25px;
    border-radius: 50px;
    background: linear-gradient(180deg, #b1fa3d 0%, #4fa806 100%);
}

.categories-noscript-links {
    margin: 18px auto 0;
    max-width: 900px;
    text-align: center;
    color: #535353;
    font-size: 0.95rem;
    line-height: 1.55;
}

.categories-noscript-links a {
    color: #2f2f2f;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.home-collections-section {
    padding: 10px 94px 70px;
    background: #09090B;
}

.home-collections-inner {
    max-width: 1800px;
    margin: 0 auto;
    text-align: center;
}

.home-collections-head h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3.1vw, 2.25rem);
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.01em;
}

.home-collections-intro {
    margin: 14px auto 0;
    max-width: 640px;
    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.5;
}

.home-collections-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.5rem;
    text-align: left;
}

.home-collections-grid .collections-mosaic {
    max-width: none;
    width: 100%;
}

.home-collections-empty,
.home-collections-noscript {
    margin: 28px auto 0;
    max-width: 640px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.home-collections-noscript a {
    color: #ffffff;
}

.home-collections-cta {
    margin: 44px auto 0;
    width: fit-content;
    display: inline-block;
    text-decoration: none;
    color: #f4f0ff;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    padding: 11px 30px;
    border-radius: 50px;
    background: linear-gradient(180deg, #b1fa3d 0%, #4fa806 100%);
}

@media (max-width: 1200px) {
    .home-collections-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .testimonials-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
    }
}

.featured-category-section {
    max-width: 1420px;
    background: #09090B;
    margin: 0 auto;
    width: 100%;
    padding: 1rem 3rem 3rem 3.5rem;
}

.featured-category-section.is-hidden {
    display: none;
}

.featured-category-inner {
    margin: 0 auto;
}

.featured-category-head {
    margin-bottom: 22px;
    text-align: center;
}

.featured-category-head h2 {
    margin: 0;
    font-size: clamp(1.5rem, 2.6vw, 2.2rem);
    font-weight: 600;
    color: #ffffff;
}

.featured-category-view-all {
    display: block;
    width: fit-content;
    margin: 22px auto 0;
    text-decoration: none;
    color: #f4f0ff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 10px 15px;
    border-radius: 50px;
    background: linear-gradient(180deg, #b1fa3d 0%, #4fa806 100%);
}

.featured-category-grid {
    column-count: 5;
    column-gap: 30px;
    padding-top: 40px;
}

.featured-prompt-card {
    margin: 0 0 30px;
    overflow: hidden;
    display: inline-block;
    width: 100%;
    position: relative;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    cursor: pointer;
}

.featured-prompt-card__link {
    display: block;
    position: relative;
    color: inherit;
    text-decoration: none;
}

.featured-prompt-card:focus-visible {
    outline: 2px solid #8f48ff;
    outline-offset: 3px;
}

.featured-prompt-card img {
    width: 100%;
    height: auto;
    display: block;
}

.featured-prompt-card .listing-gallery-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 28px 14px 22px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.35) 42%, rgba(0, 0, 0, 0) 72%);
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.35;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.featured-prompt-card:hover .listing-gallery-overlay,
.featured-prompt-card:focus-within .listing-gallery-overlay,
.featured-prompt-card:active .listing-gallery-overlay,
.featured-prompt-card:focus-visible .listing-gallery-overlay {
    opacity: 1;
}

.trend-score-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(12, 12, 14, 0.78);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1;
    white-space: nowrap;
    backdrop-filter: blur(6px);
    pointer-events: none;
}

.trend-score-badge::before {
    content: "\f06d";
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    font-size: 0.72rem;
}

.trending-showcase-card a {
    position: relative;
    display: block;
}

.trending-tags-section {
    padding: 30px 54px 64px;
}

.seo-guide-section {
    padding: 20px 54px 56px;
}

.seo-guide-section--hero {
    padding-top: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.seo-guide-inner {
    max-width: 920px;
    margin: 0 auto;
}

.seo-guide-inner h2 {
    margin: 0 0 18px;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.25;
    font-weight: 600;
}

.seo-guide-inner p {
    margin: 0 0 14px;
    color: rgba(241, 241, 246, 0.82);
    font-size: 1.02rem;
    line-height: 1.7;
}

.seo-guide-inner p:last-child {
    margin-bottom: 0;
}

.trending-tags-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.trending-tags-inner h2 {
    margin: 0;
    font-size: clamp(2rem, 4.2vw, 3rem);
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.trending-tags-list {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.trending-tag {
    text-decoration: none;
    color: #ffffff;
    border-radius: 999px;
    padding: 12px 28px;
    font-size: 1rem;
    line-height: 1;
    background: linear-gradient(180deg, #b1fa3d 0%, #4fa806 100%);
    color: #ffffff;
}
.trending-tag:hover {
    background: linear-gradient(90deg, #b1fa3d 0%, #4fa806 100%);
    color: #ffffff;
}

.results-intro-section {
    padding: 46px 54px;
}

.results-intro-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: 42px;
}

.results-intro-grid h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.15;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.results-intro-grid p {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.45;
    max-width: 560px;
}

.prompt-results-grid-section {
    padding: 26px 54px 72px;
}

.prompt-results-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 42px;
}

.prompt-result-item {
    display: grid;
    gap: 28px;
}

.prompt-box {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 28px;
    padding: 28px 30px 30px;
}

.prompt-box h3 {
    margin: 0 0 16px;
    font-size: clamp(1.35rem, 2.4vw, 1.5rem);
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #000000;
}

.prompt-box p {
    margin: 0;
    color: #535353;
    font-size: 1rem;
    line-height: 1.55;
}

.prompt-box p.is-typing::after {
    content: "|";
    margin-left: 2px;
    color: #6b7280;
    animation: typing-caret-blink 0.9s steps(1) infinite;
}

.prompt-result-compare {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 22px;
    align-items: start;
}

.prompt-result-col {
    min-width: 0;
    width: 100%;
}

.prompt-result-col h3 {
    margin: 0 0 14px;
    padding-top: 20px;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 600;
    padding-bottom: 10px;
    letter-spacing: 0.01em;
    color: #ffffff;
}

.prompt-result-col img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    border-radius: 10px;
    object-fit: cover;
    display: block;
}

.prompt-result-images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.prompt-result-images img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    margin-top: 0;
}

.prompt-result-col--upload {
    padding: 0;
    border-radius: 10px;
}

.prompt-result-col--upload img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
}

.prompt-result-col img.result-image-hidden {
    opacity: 0;
    filter: blur(6px);
    transform: scale(1.02);
}

.prompt-result-col img.result-image-hidden.is-visible {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
    transition: opacity 0.8s ease, filter 0.8s ease, transform 0.8s ease;
}

.tools-strip-section {
    padding: 28px 54px 74px;
}

.tools-strip-inner {
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

.tools-strip-inner h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3.8vw, 3.2rem);
    line-height: 1.2;
    font-weight: 600;
    color: #ffffff;
}

.tools-strip-inner p {
    margin: 14px auto 0;
    max-width: 980px;
    color: #ffffff;
    font-size: clamp(0.95rem, 1.5vw, 1.2rem);
    line-height: 1.45;
}

.tools-pill-grid {
    margin-top: 50px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.tool-pill {
    min-height: 82px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 14px 18px;
}

.tool-pill img {
    width: 80px;
    height: 80px;
}

.tool-pill h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
}

.tools-strip-inner h4 {
    margin: 58px 0 0;
    font-size: clamp(1.3rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: #ffffff;
}

.steps-section {
    padding: 40px 54px 58px;
}

.steps-inner {
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

.steps-inner h2 {
    margin: 0;
    font-size: clamp(1.9rem, 4vw, 3.2rem);
    color: #ffffff;
    font-weight: 600;
    line-height: 1.2;
}

.steps-grid {
    margin-top: 55px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.step-card {
    text-align: left;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 30px 30px;
}

.step-badge {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    background: #000000;
    margin-bottom: 14px;
}

.step-card h3 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.2;
    font-weight: 600;
    color: #000000;
}

.step-card p {
    margin: 12px 0 0;
    color: #535353;
    font-size: 1rem;
    line-height: 1.5;
}

.steps-cta {
    margin: 50px auto 0;
    width: fit-content;
    display: inline-block;
    text-decoration: none;
    color: #f4f0ff;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    padding: 11px 30px;
    border-radius: 50px;
    background: linear-gradient(180deg, #b1fa3d 0%, #4fa806 100%);
}

.testimonials-section {
    padding: 28px 54px 70px;
}

.testimonials-inner {
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

.testimonials-inner h2 {
    margin: 0;
    font-size: clamp(1.9rem, 4vw, 3.2rem);
    color: #ffffff;
    font-weight: 600;
    line-height: 1.2;
}

.testimonials-intro {
    margin: 14px auto 0;
    max-width: 640px;
    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.5;
}

.testimonials-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    text-align: left;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 28px 28px 24px;
}

.testimonial-quote {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #b1fa3d 0%, #4fa806 100%);
    color: #0b1403;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.testimonial-comment {
    margin: 0;
    flex: 1;
    color: #2f2f2f;
    font-size: 1.02rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.testimonial-person {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.testimonial-name {
    margin: 0;
    color: #000000;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.testimonial-role {
    margin: 3px 0 0;
    color: #535353;
    font-size: 0.88rem;
    line-height: 1.35;
}

.testimonials-empty {
    grid-column: 1 / -1;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
}

.testimonials-grid--static .testimonial-name {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-section {
    padding: 80px 54px 70px;
    background: #09090B;
    scroll-margin-top: 96px;
}

.faq-inner {
    max-width: 900px;
    margin: 0 auto;
}

.faq-inner h2 {
    margin: 0;
    text-align: center;
    font-size: clamp(1.9rem, 4vw, 3rem);
    color: #ffffff;
    font-weight: 600;
    line-height: 1.2;
}

.faq-intro {
    margin: 14px auto 0;
    max-width: 640px;
    text-align: center;
    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.5;
}

.faq-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid transparent;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-item[open] {
    background: #f3f0f8;
    border-color: rgba(143, 72, 255, 0.22);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    color: #000000;
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.35;
    user-select: none;
}

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

.faq-item summary span {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.faq-item summary i {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    color: #ffffff;
    background: #000000;
    transition: transform 0.25s ease, background 0.2s ease;
}

.faq-item[open] summary i {
    transform: rotate(180deg);
    background: linear-gradient(180deg, #b1fa3d 0%, #4fa806 100%);
}

.faq-answer {
    padding: 0 24px 20px;
}

.faq-answer p {
    margin: 0;
    padding-top: 2px;
    color: #535353;
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
}

.home-resources-section {
    padding: 10px 54px 70px;
    background: #09090B;
}

.home-resources-inner {
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

.home-resources-head h2 {
    margin: 0;
    font-size: clamp(1.9rem, 4vw, 3rem);
    color: #ffffff;
    font-weight: 600;
    line-height: 1.2;
}

.home-resources-intro {
    margin: 14px auto 0;
    max-width: 640px;
    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.5;
}

.home-resources-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px 28px;
    text-align: left;
}

.home-resources-grid .resource-card {
    margin: 0;
}

.home-resources-grid .resource-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.home-resources-grid .resource-card-thumb {
    width: 100%;
    aspect-ratio: 16/11;
    overflow: hidden;
    background: #141416;
    border-radius: 10px;
}

.home-resources-grid .resource-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-resources-grid .resource-card-title {
    margin: 1rem 0 0;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.home-resources-grid .resource-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.7rem;
    margin: 0.5rem 0 0;
    color: rgba(241, 241, 246, 0.62);
    font-size: 0.84rem;
}

.home-resources-grid .resource-card-meta span + span,
.home-resources-grid .resource-card-meta time + span {
    position: relative;
    padding-left: 0.7rem;
}

.home-resources-grid .resource-card-meta span + span::before,
.home-resources-grid .resource-card-meta time + span::before {
    content: "·";
    position: absolute;
    left: 0.15rem;
    color: rgba(241, 241, 246, 0.35);
}

.home-resources-grid .resource-card-category {
    margin: 0.45rem 0 0;
    color: #9b9b9b;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.35;
}

.home-resources-grid .resource-card-category {
    margin: 0.4rem 0 0;
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.35;
}

.home-resources-grid .resource-card-link:hover .resource-card-title {
    color: #b6b6b6;
}

.home-resources-grid .resource-card-link:focus-visible {
    outline-offset: 4px;
    border-radius: 8px;
}

.home-resources-empty {
    grid-column: 1 / -1;
    margin: 0;
    color: #535353;
    font-size: 1rem;
    text-align: center;
}

.home-resources-cta {
    margin: 44px auto 0;
    width: fit-content;
    display: inline-block;
    text-decoration: none;
    color: #f4f0ff;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    padding: 11px 30px;
    border-radius: 50px;
    background: linear-gradient(180deg, #b1fa3d 0%, #4fa806 100%);
}

.final-cta-section {
    padding: 54px 20px 58px;
    background: linear-gradient(180deg, #b1fa3d 0%, #4fa806 100%);
}

.final-cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.final-cta-inner h2 {
    margin: 0;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    line-height: 1.2;
    font-weight: 500;
}

.final-cta-btn {
    margin-top: 24px;
    display: inline-block;
    text-decoration: none;
    background: #f3f4f8;
    color: #16161d;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    font-weight: 800;
    border-radius: 10px;
    padding: 11px 24px;
}

@keyframes typing-caret-blink {
    0%,
    49% {
        opacity: 1;
    }
    50%,
    100% {
        opacity: 0;
    }
}

@media (max-width: 991px) {
    .hero-section {
        min-height: auto;
        padding: 78px 50px 30px;
    }

    .hero-content h1 {
        line-height: 1.2;
    }

    .hero-content p {
        max-width: 620px;
    }

    .prompt-search-section {
        padding: 4px 22px 20px;
    }

    .badges {
        padding: 0 22px 48px;
        gap: 14px 18px;
    }

    .badges img {
        max-height: 64px;
    }

    .prompt-search-wrap {
        padding: 12px 14px 14px;
    }

    .home-trust-section {
        padding: 0 22px 40px;
    }

    .home-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .home-trust-item {
        min-height: 108px;
        padding: 16px 10px 14px;
        border-radius: 16px;
    }

    .showcase-section {
        padding: 26px 0 52px;
    }

    .showcase-track {
        gap: 14px;
        animation-duration: 24s;
    }

    .showcase-card {
        width: 180px;
        height: 258px;
    }

    .showcase-card.is-offset {
        margin-top: 24px;
    }

    .categories-section {
        padding: 16px 30px 56px;
    }

    .home-collections-section {
        padding: 8px 30px 56px;
    }

    .home-collections-head h2 {
        font-size: 1.8rem;
    }

    .home-collections-intro {
        font-size: 1rem;
    }

    .home-collections-grid {
        margin-top: 28px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }

    .home-collections-cta {
        margin-top: 32px;
    }

    .categories-head {
        justify-content: space-between;
    }

    .categories-arrows {
        position: static;
    }

    .category-card {
        flex-basis: calc((100% - 16px) / 2);
    }

    .category-thumb {
        height: 452px;
    }

    .category-foot h3 {
        font-size: 1rem;
    }

    .trending-showcase-section {
        padding: 8px 30px 48px;
    }

    .trending-showcase-head {
        margin-bottom: 24px;
    }

    .trending-showcase-head h2 {
        font-size: 1.8rem;
    }

    .trending-category-block + .trending-category-block {
        margin-top: 40px;
    }

    .trending-category-head h3 {
        font-size: 1.8rem;
    }

    .trending-showcase-grid {
        column-count: 3;
        column-gap: 12px;
    }

    .trending-showcase-cta {
        margin-top: 24px;
        font-size: 0.75rem;
        padding: 10px 16px;
    }

    .trending-tags-section {
        padding: 24px 30px 48px;
    }

    .featured-category-section {
        padding: 8px 30px 48px;
    }

    .featured-category-grid {
        column-count: 3;
        column-gap: 12px;
    }

    .featured-prompt-card {
        margin-bottom: 12px;
    }
    .featured-category-head h2 {
        font-size: 1.8rem;
    }

    .trending-tags-list {
        gap: 12px;
    }

    .trending-tag {
        padding: 11px 20px;
        font-size: 1rem;
    }

    .results-intro-section {
        padding: 34px 30px;
    }

    .results-intro-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .results-intro-grid p {
        max-width: 100%;
        font-size: 1.15rem;
    }

    .prompt-results-grid-section {
        padding: 20px 30px 58px;
    }

    .prompt-results-grid {
        gap: 32px;
    }

    .prompt-result-item {
        gap: 20px;
    }

    .prompt-box {
        border-radius: 22px;
        padding: 20px;
    }

    .prompt-box h3 {
        font-size: 1.35rem;
        margin-bottom: 12px;
    }

    .prompt-box p {
        font-size: 0.98rem;
    }

    .prompt-result-compare {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .prompt-result-col h3 {
        font-size: 1.25rem;
        margin-bottom: 12px;
    }

    .prompt-result-images {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .prompt-result-col img,
    .prompt-result-images img {
        border-radius: 14px;
    }

    .prompt-result-col--upload {
        padding: 0;
        border-radius: 14px;
    }

    .tools-strip-section {
        padding: 24px 30px 56px;
    }

    .tools-pill-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .tool-pill {
        min-height: 72px;
        padding: 10px 14px;
    }

    .tool-pill img {
        width: 60px;
        height: 60px;
    }

    .tool-pill h3 {
        font-size: 1.2rem;
    }

    .tools-strip-inner h4 {
        margin-top: 28px;
        font-size: 1.5rem;
    }

    .steps-section {
        padding: 28px 30px 48px;
    }

    .steps-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .step-card {
        border-radius: 18px;
    }

    .step-card h3 {
        font-size: 1.35rem;
    }

    .step-card p {
        font-size: 1rem;
    }

    .testimonials-section {
        padding: 12px 30px 56px;
    }

    .testimonials-inner h2 {
        font-size: 2rem;
    }

    .testimonials-intro {
        font-size: 1rem;
    }

    .testimonials-grid {
        margin-top: 28px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .testimonial-card {
        border-radius: 18px;
        padding: 22px 20px 20px;
    }

    .faq-section {
        padding: 12px 30px 56px;
    }

    .faq-inner h2 {
        font-size: 2rem;
    }

    .faq-intro {
        font-size: 1rem;
    }

    .faq-list {
        margin-top: 28px;
        gap: 10px;
    }

    .faq-item {
        border-radius: 16px;
    }

    .faq-item summary {
        padding: 18px 18px;
        font-size: 1rem;
        gap: 12px;
    }

    .faq-answer {
        padding: 0 18px 18px;
    }

    .faq-answer p {
        font-size: 0.95rem;
    }

    .home-resources-section {
        padding: 8px 30px 56px;
    }

    .home-resources-head h2 {
        font-size: 2rem;
    }

    .home-resources-intro {
        font-size: 1rem;
    }

    .home-resources-grid {
        margin-top: 28px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 18px;
    }

    .home-resources-grid .resource-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 420px;
        width: 100%;
        justify-self: center;
    }

    .home-resources-grid .resource-card-thumb {
        border-radius: 14px;
    }

    .home-resources-grid .resource-card-title {
        font-size: 1.1rem;
    }

    .home-resources-cta {
        margin-top: 36px;
    }

    .final-cta-section {
        padding: 44px 20px 48px;
    }
    .final-cta-inner h2 {
        font-size: 1.8rem;
    }

    .final-cta-btn {
        margin-top: 20px;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding: 54px 30px 42px;
    }

    .seo-guide-section {
        padding: 12px 18px 40px;
    }

    .hero-content h1 {
        font-size: clamp(1.7rem, 8.2vw, 1.8rem);
    }

    .hero-content p {
        margin-top: 14px;
        font-size: 0.98rem;
        line-height: 1.5;
    }

    .prompt-search-section {
        padding: 0 12px 18px;
    }

    .badges {
        padding: 0 16px 36px;
        flex-direction: column;
        gap: 12px;
    }

    .badges a {
        width: min(100%, 280px);
        justify-content: center;
    }

    .badges img {
        width: 100%;
        max-height: none;
        height: auto;
    }

    .prompt-search-wrap {
        border-radius: 14px;
        padding: 10px;
    }

    .search-pill {
        gap: 8px;
        padding: 10px 12px;
    }

    .search-pill input {
        font-size: 0.92rem;
    }

    .home-trust-section {
        padding: 0 12px 28px;
    }

    .home-trust-kicker {
        margin-bottom: 12px;
        font-size: 0.74rem;
    }

    .home-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .home-trust-item {
        min-height: 100px;
        padding: 14px 10px 12px;
        border-radius: 14px;
    }

    .home-trust-value {
        font-size: 1.15rem;
    }

    .home-trust-label {
        font-size: 0.74rem;
    }

    .home-trust-note {
        margin-top: 12px;
        font-size: 0.8rem;
    }

    .showcase-section {
        padding: 18px 0 38px;
    }

    .showcase-track {
        gap: 10px;
        padding: 0 10px;
        animation-duration: 20s;
    }

    .showcase-card {
        width: 136px;
        height: 198px;
    }

    .showcase-card.is-offset {
        margin-top: 14px;
    }

    .categories-section {
        padding: 30px 20px 40px;
    }

    .home-collections-section {
        padding: 4px 20px 44px;
    }

    .home-collections-head h2 {
        font-size: 1.5rem;
    }

    .home-collections-intro {
        margin-top: 10px;
        font-size: 0.92rem;
        line-height: 1.45;
    }

    .home-collections-grid {
        margin-top: 22px;
        grid-template-columns: 1fr;
        gap: 1.35rem;
    }

    .home-collections-cta {
        margin-top: 28px;
        width: 100%;
        max-width: 320px;
    }

    .categories-head {
        margin-bottom: 20px;
    }

    .categories-head h2 {
        font-size: 1.2rem;
    }

    .categories-arrows button {
        display: none;
    }

    .category-card {
        flex-basis: 88%;
        min-width: 88%;
    }

    .category-thumb {
        height: 450px;
    }

    .category-foot h3 {
        font-size: 0.98rem;
    }

    .category-foot span {
        width: 30px;
        height: 30px;
        font-size: 0.82rem;
    }

    .categories-more-btn {
        margin-top: 20px;
        font-size: 0.75rem;
        padding: 10px 16px;
    }

    .trending-showcase-section {
        padding: 8px 20px 36px;
    }

    .trending-showcase-head {
        margin-bottom: 16px;
    }

    .trending-showcase-head h2 {
        font-size: 1.2rem;
    }

    .trending-showcase-head p {
        font-size: 0.92rem;
    }

    .trending-category-block + .trending-category-block {
        margin-top: 28px;
    }

    .trending-category-head {
        margin-bottom: 16px;
    }

    .trending-category-head h3 {
        font-size: 1.2rem;
    }

    .trending-showcase-grid {
        column-count: 2;
        column-gap: 10px;
    }

    .trending-showcase-card {
        margin-bottom: 10px;
    }

    .trending-showcase-score,
    .trend-score-badge {
        top: 8px;
        right: 8px;
        padding: 5px 8px;
        font-size: 0.72rem;
    }

    .trending-showcase-cta {
        margin-top: 20px;
        font-size: 0.75rem;
        padding: 10px 16px;
    }

    .trending-tags-section {
        padding: 20px 20px 36px;
    }

    .featured-category-section {
        padding: 8px 20px 36px;
    }

    .featured-category-head {
        margin-bottom: 16px;
    }

    .featured-category-head h2 {
        font-size: 1.2rem;
    }

    .featured-category-grid {
        column-count: 2;
        column-gap: 10px;
        padding-top: 20px;
    }

    .featured-prompt-card {
        margin-bottom: 10px;
    }

    .trending-tags-inner h2 {
        font-size: 1.5rem;
    }

    .trending-tags-list {
        margin-top: 20px;
        gap: 10px;
    }

    .trending-tag {
        width: calc(50% - 6px);
        padding: 10px 12px;
        font-size: 0.9rem;
        text-align: center;
    }

    .results-intro-section {
        padding: 22px 20px;
    }

    .results-intro-grid {
        gap: 20px;
    }

    .results-intro-grid h2 {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .results-intro-grid p {
        font-size: 0.92rem;
        line-height: 1.5;
    }

    .prompt-results-grid-section {
        padding: 12px 16px 44px;
    }

    .prompt-results-grid {
        gap: 24px;
    }

    .prompt-result-item {
        gap: 16px;
    }

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

    .prompt-box h3 {
        font-size: 1.15rem;
        margin-bottom: 10px;
    }

    .prompt-box p {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .prompt-result-compare {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .prompt-result-col h3 {
        font-size: 1.05rem;
        margin-bottom: 10px;
    }

    .prompt-result-images {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .prompt-result-col img,
    .prompt-result-images img {
        border-radius: 12px;
    }

    .prompt-result-col--upload {
        padding: 0;
        border-radius: 12px;
    }

    .tools-strip-section {
        padding: 20px 20px 40px;
    }
    .tools-strip-inner h2 {
        font-size: 1.5rem;
    }

    .tools-strip-inner p {
        margin-top: 12px;
        font-size: 0.92rem;
    }

    .tools-pill-grid {
        margin-top: 24px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tool-pill {
        min-height: 66px;
        justify-content: flex-start;
        padding: 10px 12px;
        gap: 10px;
    }

    .tool-icon {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }

    .tool-pill h3 {
        font-size: 1.05rem;
    }

    .tools-strip-inner h4 {
        margin-top: 22px;
        font-size: 1.12rem;
        line-height: 1.35;
    }

    .steps-section {
        padding: 22px 20px 36px;
    }

    .steps-grid {
        margin-top: 24px;
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .steps-inner h2 {
        font-size: 1.5rem;
    }

    .step-card {
        border-radius: 14px;
        padding: 14px;
    }

    .step-badge {
        width: 32px;
        height: 32px;
        margin-bottom: 10px;
        font-size: 0.9rem;
    }

    .step-card h3 {
        font-size: 1.1rem;
    }

    .step-card p {
        margin-top: 8px;
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .steps-cta {
        margin-top: 40px;
        font-size: 0.75rem;
        padding: 10px 16px;
    }

    .testimonials-section {
        padding: 8px 16px 44px;
    }

    .testimonials-inner h2 {
        font-size: 1.5rem;
    }

    .testimonials-intro {
        margin-top: 10px;
        font-size: 0.92rem;
        line-height: 1.45;
    }

    .testimonials-grid {
        margin-top: 22px;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .testimonial-card {
        border-radius: 14px;
        padding: 16px;
    }

    .testimonial-quote {
        width: 36px;
        height: 36px;
        margin-bottom: 12px;
        font-size: 0.8rem;
    }

    .testimonial-comment {
        font-size: 0.94rem;
        line-height: 1.55;
    }

    .testimonial-person {
        margin-top: 16px;
        padding-top: 14px;
    }

    .testimonial-name {
        font-size: 0.95rem;
    }

    .testimonial-role {
        font-size: 0.82rem;
    }

    .faq-section {
        padding: 8px 16px 44px;
    }

    .faq-inner h2 {
        font-size: 1.5rem;
    }

    .faq-intro {
        margin-top: 10px;
        font-size: 0.92rem;
        line-height: 1.45;
    }

    .faq-list {
        margin-top: 22px;
        gap: 8px;
    }

    .faq-item {
        border-radius: 14px;
    }

    .faq-item summary {
        padding: 14px 14px;
        font-size: 0.95rem;
        gap: 10px;
        align-items: flex-start;
    }

    .faq-item summary i {
        width: 24px;
        height: 24px;
        font-size: 0.65rem;
        margin-top: 2px;
    }

    .faq-answer {
        padding: 0 14px 14px;
    }

    .faq-answer p {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .home-resources-section {
        padding: 4px 16px 44px;
    }

    .home-resources-head h2 {
        font-size: 1.5rem;
    }

    .home-resources-intro {
        margin-top: 10px;
        font-size: 0.92rem;
        line-height: 1.45;
    }

    .home-resources-grid {
        margin-top: 22px;
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .home-resources-grid .resource-card:nth-child(3) {
        grid-column: auto;
        max-width: none;
        justify-self: stretch;
    }

    .home-resources-grid .resource-card-thumb {
        border-radius: 12px;
    }

    .home-resources-grid .resource-card-title {
        margin-top: 0.85rem;
        font-size: 1.05rem;
    }

    .home-resources-grid .resource-card-category {
        font-size: 0.9rem;
    }

    .home-resources-cta {
        margin-top: 28px;
        font-size: 0.75rem;
        padding: 10px 16px;
    }

    .final-cta-section {
        padding: 40px 16px 40px;
    }

    .final-cta-inner h2 {
        font-size: 1.5rem;
    }

    .final-cta-btn {
        margin-top: 20px;
        font-size: 0.74rem;
        padding: 10px 18px;
    }
}

/* Prompt overlay modal (home featured categories) */
.prompt-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
}

.prompt-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.prompt-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.537);
    backdrop-filter: blur(2px);
}

.prompt-modal-card {
    position: relative;
    width: min(96vw, 1160px);
    margin: 0;
    max-height: calc(100vh - 50px);
    overflow: auto;
    border-radius: 28px;
    background: #78787e;
    padding: 18px;
    display: grid;
    grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
    gap: 26px;
    z-index: 1;
}

.prompt-modal-image-wrap img {
    width: 100%;
    height: 100%;
    max-height: 700px;
    object-fit: cover;
    border-radius: 22px;
    display: block;
}

.prompt-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(125, 133, 185, 0.24);
    color: #000000;
    font-size: 1.1rem;
    cursor: pointer;
}

.prompt-modal-content h2 {
    margin: 20px 0 10px;
    font-size: 1.8rem;
    padding-right: 20px;
    line-height: 1.15;
    color: #ffffff;
    font-weight: 600;
}

.prompt-modal-category {
    margin: 0;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 300;
}

.prompt-modal-box {
    margin-top: 28px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(125, 133, 185, 0.24);
    padding: 20px 24px;
}

.prompt-modal-box h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    color: #000000;
}

.prompt-modal-box p {
    margin: 0;
    color: #000000;
    font-size: 1rem;
    line-height: 1.45;
    font-weight: 400;
}

.prompt-modal-hashtags {
    margin: 10px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.prompt-hashtag-chip {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: #ffffff;
    color: #000000;
    font-weight: 400;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.prompt-hashtag-chip:hover {
    background: rgba(156, 192, 255, 0.3);
    color: #c2d8ff;
}

.prompt-modal-actions {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.prompt-modal-related {
    margin-top: 28px;
}

.prompt-modal-related h3 {
    margin: 0 0 14px;
    font-size: 1.15rem;
    font-weight: 500;
    color: #ffffff;
}

.prompt-modal-related-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.prompt-related-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    overflow: visible;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
}

.prompt-related-card:focus-visible {
    outline: 2px solid #8f48ff;
    outline-offset: 2px;
}

.prompt-related-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;
    background: #141416;
}

.prompt-related-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}

.prompt-related-card__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 8px 2px 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.78rem;
    line-height: 1.35;
    font-weight: 500;
}

.prompt-related-card__match {
    letter-spacing: 0;
    font-size: 0.68rem;
    font-weight: 600;
    white-space: nowrap;
}

.prompt-related-card__match::before {
    content: none;
    display: none;
}

.prompt-related-card:hover .listing-gallery-overlay,
.prompt-related-card:focus-within .listing-gallery-overlay,
.prompt-related-card:active .listing-gallery-overlay,
.prompt-related-card:focus-visible .listing-gallery-overlay {
    opacity: 1;
}

.prompt-modal-btn {
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: #000000;
    color: #ffffff;
    padding: 0 18px;
    font-family: "Outfit", sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.prompt-modal-btn:disabled {
    opacity: 0.72;
    cursor: not-allowed;
}

body.modal-open {
    overflow: hidden;
}

.copy-toast {
    position: fixed;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%) translateY(10px);
    background: #1f7a3f;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 999px;
    z-index: 2100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.copy-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 991px) {
    .prompt-modal.is-open {
        align-items: flex-start;
        justify-content: center;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        padding: 12px;
    }

    .prompt-modal-backdrop {
        position: fixed;
    }

    .prompt-modal-card {
        grid-template-columns: 1fr;
        width: min(94vw, 880px);
        max-height: none;
        overflow: visible;
        margin: 12px auto 24px;
        padding: 20px 20px 50px;
        gap: 16px;
    }

    .prompt-modal-image-wrap {
        width: min(100%, 420px);
        margin: 0 auto;
        aspect-ratio: 3 / 4;
        overflow: hidden;
        border-radius: 18px;
    }

    .prompt-modal-image-wrap img {
        width: 100%;
        height: 100%;
        max-height: none;
        object-fit: cover;
        border-radius: 18px;
    }

    .prompt-modal-content h2 {
        font-size: 2rem;
        padding-right: 48px;
    }

    .prompt-modal-category {
        font-size: 1.15rem;
    }

    .prompt-modal-box {
        margin-top: 16px;
        padding: 14px;
        border-radius: 16px;
    }

    .prompt-modal-box h3 {
        font-size: 1.35rem;
        margin-bottom: 20px;
    }

    .prompt-modal-box p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .prompt-modal-btn {
        height: 42px;
        font-size: 0.95rem;
    }

    .prompt-modal-related {
        margin-top: 22px;
    }

    .prompt-modal-related h3 {
        font-size: 1.2rem;
    }

    .prompt-modal-related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }
}

@media (max-width: 640px) {
    .prompt-modal.is-open {
        padding: 8px;
    }

    .prompt-modal-card {
        width: calc(100vw - 16px);
        margin: 8px auto 28px;
        border-radius: 20px;
        padding: 15px 15px 40px;
        max-height: none;
        overflow: visible;
    }

    .prompt-modal-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .prompt-modal-image-wrap {
        width: min(100%, 280px);
        margin: 0 auto;
        aspect-ratio: 3 / 4;
        overflow: hidden;
        border-radius: 14px;
    }

    .prompt-modal-image-wrap img {
        width: 100%;
        height: 100%;
        max-height: none;
        object-fit: cover;
        border-radius: 14px;
    }

    .prompt-modal-content h2 {
        font-size: 1.28rem;
        padding-right: 42px;
        margin-top: 12px;
    }

    .prompt-modal-category {
        font-size: 0.92rem;
    }

    .prompt-modal-box {
        margin-top: 12px;
        padding: 12px;
    }

    .prompt-modal-box h3 {
        font-size: 1.05rem;
    }

    .prompt-modal-box p {
        font-size: 0.9rem;
    }

    .prompt-modal-actions {
        gap: 10px;
    }

    .prompt-modal-btn {
        height: 40px;
        font-size: 0.9rem;
        padding: 0 14px;
        flex: 1 1 auto;
        justify-content: center;
    }

    .prompt-modal-related {
        margin-top: 18px;
    }

    .prompt-modal-related h3 {
        font-size: 1.05rem;
        margin-bottom: 10px;
    }

    .prompt-modal-related-grid {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        padding-bottom: 8px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .prompt-modal-related-grid .prompt-related-card {
        flex: 0 0 46%;
        width: 46%;
        max-width: 46%;
        min-width: 148px;
        scroll-snap-align: start;
    }

    .prompt-modal-related-grid .prompt-related-card__title {
        font-size: 0.72rem;
        margin-top: 6px;
    }

    .prompt-modal-related-grid .prompt-related-card__match {
        top: 6px;
        right: 6px;
        padding: 4px 7px;
        font-size: 0.62rem;
    }

    .prompt-modal-related-grid .prompt-related-card .listing-gallery-overlay {
        font-size: 0.75rem;
        padding: 16px 8px 12px;
    }

    .copy-toast {
        bottom: 18px;
        font-size: 0.86rem;
        padding: 9px 14px;
    }
}

form:tool-form-active {
    outline: 2px dashed #b1fa3d;
    outline-offset: 6px;
}

button:tool-submit-active,
input:tool-submit-active {
    outline: 2px dashed #4fa806;
    outline-offset: 2px;
}