/* ==================== Variables ==================== */
:root {
    --bg: #000000;
    --surface: #111111;
    --surface-light: #1a1a1a;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --text-light: #cbd5e1;
    --primary: #f97316;
    --primary-light: #fb923c;
    --green: #10b981;
    --border: rgba(255, 255, 255, 0.1);

    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius: 12px;
    --max-width: 1100px;
    --nav-height: 72px;
}

/* ==================== Reset ==================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ==================== Container ==================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 720px;
}

/* ==================== Navigation ==================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.nav-logo img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.nav-logo strong {
    color: var(--primary);
}

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

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}

.nav-cta {
    background: var(--primary) !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    transition: background 0.2s ease !important;
}

.nav-cta:hover {
    background: var(--primary-light) !important;
}

.nav-store-btns {
    display: flex;
    gap: 8px;
    margin-left: 8px;
}

.nav-store-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 12px;
    color: var(--text) !important;
    transition: all 0.2s ease;
}

.nav-store-btn .store-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-store-btn .store-name {
    font-weight: 600;
    font-size: 12px;
}

.nav-store-btn .store-status {
    font-size: 10px;
    color: var(--text-muted);
}

.nav-store-btn:hover:not(.disabled) {
    background: var(--surface-light);
    border-color: var(--primary);
}

.nav-store-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    flex-direction: column;
    gap: 16px;
    z-index: 99;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    padding: 8px 0;
}

/* ==================== Hero ==================== */
.hero {
    padding: 160px 0 100px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

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

.hero-sub {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==================== Buttons ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--surface-light);
}

.btn-large {
    padding: 18px 36px;
    font-size: 16px;
}

/* ==================== Sections ==================== */
.section {
    padding: 80px 0;
}

.section-dark {
    background: var(--surface);
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 16px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 48px;
}

/* ==================== Features Grid ==================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.feature {
    text-align: center;
    padding: 32px 24px;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.feature h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==================== Screenshots ==================== */
.screenshots {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.phone-frame {
    width: 200px;
    height: 400px;
    background: var(--surface-light);
    border-radius: 24px;
    border: 3px solid var(--border);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.phone-frame.large {
    width: 280px;
    height: 560px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* ==================== CTA Section ==================== */
.cta-section {
    text-align: center;
    padding: 100px 0;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-section p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* ==================== Page Header ==================== */
.page-header {
    padding: 140px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
}

.page-sub {
    font-size: 18px;
    color: var(--text-muted);
    margin-top: 12px;
}

/* ==================== Product Features ==================== */
.product-feature {
    display: flex;
    align-items: center;
    gap: 64px;
    padding: 60px 0;
    border-bottom: 1px solid var(--border);
}

.product-feature:last-child {
    border-bottom: none;
}

.product-feature.reverse {
    flex-direction: row-reverse;
}

.product-feature-content {
    flex: 1;
}

.product-feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.product-feature-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.product-feature-content p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
}

.product-feature-image {
    flex-shrink: 0;
}

/* ==================== Verified Page ==================== */
.verified-intro {
    text-align: center;
    margin-bottom: 60px;
}

.lead {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 12px;
}

.verified-intro p {
    color: var(--text-muted);
    font-size: 16px;
}

.verified-section {
    margin-bottom: 48px;
}

.verified-section h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.check-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.check-icon {
    width: 28px;
    height: 28px;
    background: var(--green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.check-item strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.check-item p {
    font-size: 14px;
    color: var(--text-muted);
}

.callout {
    background: var(--surface);
    border-left: 4px solid var(--primary);
    padding: 24px;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.callout p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.callout p:last-child {
    margin-bottom: 0;
}

.verified-badge-showcase {
    text-align: center;
    padding: 48px 0;
}

.badge-example {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--green);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.badge-example p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ==================== Blog ==================== */
.blog-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.blog-card {
    padding: 32px;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: border-color 0.2s ease;
}

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

.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.blog-date,
.blog-read {
    font-size: 13px;
    color: var(--text-muted);
}

.blog-card h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.blog-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
}

.blog-link:hover {
    text-decoration: underline;
}

/* ==================== Download Page ==================== */
.download-hero {
    padding: 140px 0 80px;
}

.download-hero .container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.download-content {
    flex: 1;
}

.download-content h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.download-sub {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.store-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.store-button:hover:not(.disabled) {
    background: var(--surface-light);
    border-color: var(--primary);
}

.store-button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.store-icon {
    width: 28px;
    height: 28px;
}

.store-text {
    display: flex;
    flex-direction: column;
}

.store-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.store-name {
    font-size: 16px;
    font-weight: 600;
}

.download-visual {
    flex-shrink: 0;
}

.features-mini {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-mini {
    text-align: center;
    padding: 24px;
}

.feature-mini span {
    font-size: 28px;
    display: block;
    margin-bottom: 12px;
}

.feature-mini p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ==================== Footer ==================== */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    margin-bottom: 12px;
}

.footer-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.footer-logo strong {
    color: var(--primary);
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    padding: 6px 0;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ==================== Verified Banner ==================== */
.verified-banner {
    display: flex;
    gap: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
}

.verified-banner-icon {
    width: 56px;
    height: 56px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.verified-banner-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.verified-banner-content p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.verified-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.verified-checks span {
    font-size: 13px;
    color: var(--green);
    background: rgba(16, 185, 129, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
}

/* ==================== Responsive ==================== */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .product-feature,
    .product-feature.reverse {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .download-hero .container {
        flex-direction: column;
        text-align: center;
    }

    .store-buttons {
        justify-content: center;
    }

    .features-mini {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .section {
        padding: 60px 0;
    }

    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .download-content h1 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .phone-frame {
        width: 160px;
        height: 320px;
    }

    .phone-frame.large {
        width: 200px;
        height: 400px;
    }

    .store-buttons {
        flex-direction: column;
    }

    .store-button {
        width: 100%;
        justify-content: center;
    }
}

/* ==================== Promo Banner ==================== */
.promo-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary) 0%, #ea580c 100%);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    transition: all 0.3s ease;
}

.promo-banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.promo-icon {
    font-size: 18px;
}

.promo-text {
    font-size: 14px;
    color: white;
}

.promo-text strong {
    font-weight: 600;
}

.promo-cta {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.promo-cta:hover {
    background: rgba(255, 255, 255, 0.3);
}

.promo-close {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    padding: 4px 8px;
}

.promo-close:hover {
    opacity: 1;
}

body.has-banner .nav {
    top: 44px;
}

body.has-banner .mobile-menu {
    top: calc(var(--nav-height) + 44px);
}

/* ==================== Home Hero ==================== */
.home-hero {
    padding: 160px 0 60px;
    text-align: center;
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}

body.has-banner .home-hero {
    padding-top: 200px;
}

.home-hero h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
}

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

.home-hero-sub {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.home-search-box {
    max-width: 600px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 16px 24px;
    transition: border-color 0.2s ease;
}

.home-search-box:focus-within {
    border-color: var(--primary);
}

.home-search-box svg {
    color: var(--text-muted);
    flex-shrink: 0;
}

.home-search-box input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text);
    font-size: 16px;
    outline: none;
}

.home-search-box input::placeholder {
    color: var(--text-muted);
}

.quick-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-chip {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-chip:hover {
    border-color: var(--primary);
    color: var(--text);
}

.filter-chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ==================== Categories Section ==================== */
.categories-section {
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

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

.section-header h2 {
    font-size: 20px;
    font-weight: 600;
}

.categories-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

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

.category-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 12px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.category-chip:hover {
    border-color: var(--primary);
    background: var(--surface-light);
}

.category-chip.active {
    border-color: var(--primary);
    background: rgba(249, 115, 22, 0.1);
}

.category-emoji {
    font-size: 20px;
}

.category-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

/* ==================== Prompts Section ==================== */
.prompts-section {
    padding: 40px 0 80px;
}

.prompt-count {
    font-size: 14px;
    color: var(--text-muted);
}

.prompts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.prompt-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prompt-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.prompt-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.prompt-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.prompt-card:hover .prompt-card-image img {
    transform: scale(1.05);
}

.badge {
    position: absolute;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
}

.badge-trending {
    top: 12px;
    left: 12px;
    background: rgba(249, 115, 22, 0.9);
    color: white;
}

.badge-verified {
    top: 12px;
    right: 12px;
    background: rgba(16, 185, 129, 0.9);
    color: white;
}

.prompt-card-content {
    padding: 16px;
}

.prompt-card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.prompt-card-text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.prompt-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-muted);
}

.meta-category {
    background: var(--surface-light);
    padding: 4px 10px;
    border-radius: 8px;
}

.load-more {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* ==================== Info Section ==================== */
.info-section {
    padding: 60px 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.info-card {
    text-align: center;
    padding: 32px 24px;
}

.info-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 16px;
}

.info-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.info-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==================== Modal Enhancements ==================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: var(--surface);
    border-radius: 20px;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    margin: 20px;
    border: 1px solid var(--border);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: var(--surface-light);
    border: none;
    border-radius: 50%;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--primary);
}

.modal-prompt {
    display: flex;
    flex-direction: column;
}

.modal-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.modal-details {
    padding: 24px;
}

.modal-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.modal-badges .badge {
    position: static;
}

.badge-category {
    background: var(--surface-light);
    color: var(--text);
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.modal-prompt-text label,
.modal-tips label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 8px;
}

.prompt-text-box {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 16px;
    max-height: 200px;
    overflow-y: auto;
}

.copy-btn {
    width: 100%;
}

.modal-tips {
    margin-top: 20px;
    padding: 16px;
    background: rgba(249, 115, 22, 0.1);
    border-radius: 12px;
}

.modal-tips p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.modal-meta {
    display: flex;
    gap: 20px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
}

/* ==================== Empty State ==================== */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.empty-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* ==================== Loading Overlay ==================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 500;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-overlay p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ==================== Home Responsive ==================== */
@media (max-width: 768px) {
    .promo-banner {
        padding: 10px 48px 10px 16px;
    }

    .promo-text {
        font-size: 12px;
    }

    .promo-cta {
        display: none;
    }

    .home-hero {
        padding: 140px 0 40px;
    }

    body.has-banner .home-hero {
        padding-top: 180px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .modal-content {
        margin: 10px;
        max-height: 95vh;
    }

    .modal-image {
        height: 200px;
    }
}