/* ═══════════════════════════════════════
   CeylonPrompts — Modern Minimal v4
   ═══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary:       #7C5CFF;
    --primary-dark:  #6847E8;
    --primary-light: #EEE9FF;
    --primary-glow:  rgba(124, 92, 255, 0.12);
    --bg:            #FAFAFA;
    --surface:       #FFFFFF;
    --surface-2:     #F4F3F8;
    --text:          #0F0D1A;
    --text-2:        #4A4660;
    --muted:         #9390A4;
    --border:        #EBEBF0;
    --border-subtle: #F2F1F6;
    --green:         #16A34A;
    --green-bg:      #F0FDF4;
    --red:           #E5383B;
    --amber:         #F59E0B;
    --radius-xs:     6px;
    --radius-sm:     10px;
    --radius:        14px;
    --radius-lg:     20px;
    --shadow-xs:     0 1px 2px rgba(15, 13, 26, 0.04);
    --shadow-sm:     0 2px 8px rgba(15, 13, 26, 0.06);
    --shadow-md:     0 8px 24px rgba(15, 13, 26, 0.08);
    --shadow-purple: 0 8px 24px rgba(124, 92, 255, 0.18);
    --transition:    0.18s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main { flex: 1; }
a { color: var(--primary); text-decoration: none; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; color: var(--text); }
::selection { background: var(--primary-light); }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── HEADER ─── */
.site-header {
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 200;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    color: var(--text);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.03em;
    flex-shrink: 0;
}

.brand img {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    object-fit: cover;
}

.brand b { color: var(--primary); }

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    color: var(--text-2);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}

.main-nav a:hover {
    color: var(--text);
    background: var(--surface-2);
}

.nav-btn {
    background: var(--primary) !important;
    color: #fff !important;
    padding: 7px 16px !important;
    border-radius: 999px !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    box-shadow: 0 2px 8px rgba(124,92,255,0.3);
    transition: all var(--transition) !important;
}

.nav-btn:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(124,92,255,0.38) !important;
}

/* Mobile nav */
.nav-toggle-cb { display: none; }
.nav-toggle {
    display: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text);
    padding: 6px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
    line-height: 1;
    user-select: none;
}
.nav-toggle:hover { background: var(--surface-2); }

/* ─── COVER SLIDER ─── */
.cover-slider {
    position: relative;
    width: 100%;
    height: clamp(160px, 28vw, 280px);
    overflow: hidden;
    background: linear-gradient(135deg, #5733E0 0%, #9D7BFF 100%);
}

.cover-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    opacity: 0;
    transition: opacity 1s ease;
}

.cover-slide.active { opacity: 1; }

/* Gradient overlay on banner bottom */
.cover-slider::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    height: 60px;
    background: linear-gradient(to top, var(--bg), transparent);
    pointer-events: none;
}

/* ─── PROFILE STRIP ─── */
.profile-strip { padding: 0 0 4px; }

.profile-strip .container { text-align: center; }

.avatar-wrap {
    position: relative;
    display: inline-block;
    margin-top: -52px;
}

.profile-avatar {
    width: 104px;
    height: 104px;
    border-radius: 26px;
    border: 3px solid var(--bg);
    box-shadow: var(--shadow-md);
    display: block;
    object-fit: cover;
}

.verified-badge {
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 26px;
    height: 26px;
    background: #1D9BF0;
    border-radius: 50%;
    border: 2.5px solid var(--bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.profile-name {
    font-size: 24px;
    font-weight: 800;
    margin: 10px 0 2px;
    letter-spacing: -0.03em;
}

.profile-name b { color: var(--primary); }

.byline { font-size: 14px; color: var(--text-2); margin: 0; }
.byline strong { color: var(--text); font-weight: 600; }

/* ─── PROMPT LIST ─── */
.plist {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 24px 60px;
}

.plist-head {
    font-size: 16px;
    font-weight: 700;
    margin: 28px 0 14px;
    color: var(--text);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.plist-head::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
    border-radius: 1px;
}

#free-list, #premium-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 14px;
}

/* ─── PROMPT CARD ─── */
.prow {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
    box-shadow: var(--shadow-xs);
}

.prow:hover {
    box-shadow: var(--shadow-purple);
    transform: translateY(-4px);
    border-color: rgba(124, 92, 255, 0.25);
}

.prow-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: linear-gradient(135deg, #5733E0, #9D7BFF);
    flex-shrink: 0;
}

.prow-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.prow:hover .prow-thumb img { transform: scale(1.05); }

.prow-file-badge {
    position: absolute;
    top: 9px;
    right: 9px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border-radius: var(--radius-xs);
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.prow-body {
    padding: 13px 15px 15px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1;
}

.prow-body h3 {
    font-size: 13.5px;
    font-weight: 650;
    line-height: 1.4;
    color: var(--text);
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.prow-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
}

.prow-cat {
    font-size: 11.5px;
    color: var(--muted);
    font-weight: 500;
}

.prow-price {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--primary-light);
    color: var(--primary);
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.prow-price.is-free {
    background: var(--green-bg);
    color: var(--green);
}

.prow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    width: 100%;
    margin-top: 4px;
}

.prow-btn.prow-btn-free {
    background: var(--green);
}

.prow-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* Load more */
.load-more-wrap {
    text-align: center;
    margin: 18px 0 6px;
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13.5px;
    font-family: inherit;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    line-height: 1.4;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(124,92,255,0.28);
}
.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(124,92,255,0.38);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

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

.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #c82f32; color: #fff; transform: translateY(-1px); }

.btn-sm { padding: 6px 14px; font-size: 12.5px; }
.btn-lg { padding: 13px 30px; font-size: 15px; }
.btn-block { width: 100%; }

/* ─── FOOTER ─── */
.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    padding: 28px 0;
}

.f-left { display: flex; flex-direction: column; gap: 4px; }

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}
.footer-brand img { width: 26px; height: 26px; border-radius: 7px; object-fit: cover; }
.footer-brand b { color: var(--primary); }

.footer-tag { font-size: 12.5px; color: var(--muted); }

.footer-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
}

.footer-nav a {
    font-size: 12.5px;
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    padding: 3px 6px;
    border-radius: var(--radius-xs);
    transition: color var(--transition);
}
.footer-nav a:hover { color: var(--primary); }

.footer-dot { color: var(--border); font-size: 12px; }

.f-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }

.follow-label { font-size: 11.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

.social-row { display: flex; gap: 6px; }

.social-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    color: var(--text-2);
    border: 1px solid var(--border);
    transition: all var(--transition);
    text-decoration: none;
}
.social-ic:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.footer-copy {
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    border-top: 1px solid var(--border-subtle);
    padding: 14px 24px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .main-nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0; right: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        padding: 8px 20px 16px;
        gap: 2px;
        box-shadow: var(--shadow-md);
    }

    .nav-toggle-cb:checked ~ .main-nav { display: flex; }

    .main-nav a {
        padding: 10px 12px;
        font-size: 14.5px;
        border-radius: var(--radius-sm);
    }

    .nav-btn {
        text-align: center;
        margin-top: 4px;
    }

    .header-inner { position: relative; flex-wrap: wrap; }

    .cover-slider { height: 50vw; }
    .cover-slider::after { height: 40px; }

    .avatar-wrap { margin-top: -42px; }
    .profile-avatar { width: 84px; height: 84px; border-radius: 20px; }
    .verified-badge { width: 22px; height: 22px; }
    .profile-name { font-size: 20px; }

    .plist { padding: 8px 16px 48px; }

    #free-list, #premium-list {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 16px;
    }
    .f-right { align-items: center; }
    .footer-nav { justify-content: center; }
}

@media (max-width: 480px) {
    #free-list, #premium-list {
        grid-template-columns: 1fr;
    }
    .container { padding: 0 16px; }
    .plist { padding: 8px 16px 40px; }
}

/* ══════════════════════════════════════════
   USER AUTH & ACCOUNT STYLES
   ══════════════════════════════════════════ */

.nav-link-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    color: var(--text-2);
    font-size: 13.5px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}
.nav-link-btn:hover {
    color: var(--text);
    background: var(--surface-2);
}

/* User pill in nav */
.user-menu-container {
    position: relative;
    display: inline-block;
}

.user-pill-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 4px 10px 4px 5px;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    box-shadow: var(--shadow-xs);
    transition: all var(--transition);
}

.user-pill-btn:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.user-avatar-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.user-pill-name {
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-plan-badge {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 2px 6px;
    border-radius: 6px;
    text-transform: uppercase;
}
.user-plan-badge.free { background: var(--surface-2); color: var(--muted); }
.user-plan-badge.premium { background: var(--primary-light); color: var(--primary-dark); }

.user-pill-chevron {
    color: var(--muted);
    transition: transform 0.2s ease;
}
.user-dropdown-menu.open ~ .user-pill-btn .user-pill-chevron {
    transform: rotate(180deg);
}

/* Dropdown menu */
.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 230px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 6px;
    display: none;
    z-index: 300;
    animation: fadeInDropdown 0.18s ease-out;
}

.user-dropdown-menu.open { display: block; }

@keyframes fadeInDropdown {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-header {
    padding: 10px 12px;
}
.dropdown-user-name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dropdown-user-email {
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dropdown-divider {
    height: 1px;
    background: var(--border-subtle);
    margin: 4px 0;
}
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 12px;
    background: none;
    border: none;
    border-radius: var(--radius-xs);
    font-family: inherit;
    font-size: 13px;
    color: var(--text-2);
    cursor: pointer;
    text-align: left;
    transition: background var(--transition), color var(--transition);
}
.dropdown-item:hover {
    background: var(--surface-2);
    color: var(--text);
}
.dropdown-item svg {
    color: var(--muted);
    flex-shrink: 0;
}
.dropdown-item:hover svg {
    color: var(--primary);
}
.dropdown-item.dropdown-logout {
    color: var(--red);
}
.dropdown-item.dropdown-logout:hover {
    background: var(--red-bg, #FFF1F1);
}
.dropdown-item.dropdown-logout svg {
    color: var(--red);
}

/* ─── AUTH MODAL OVERLAY ─── */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 13, 26, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.open { display: flex; }

.auth-modal-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 48px rgba(15, 13, 26, 0.2);
    width: 100%;
    max-width: 420px;
    overflow: hidden;
    animation: modalPop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.94) translateY(12px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.auth-modal-header {
    padding: 20px 24px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-subtle);
}

.auth-modal-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.auth-modal-brand img {
    width: 26px;
    height: 26px;
    border-radius: 7px;
}

.auth-modal-close {
    background: var(--surface-2);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: all var(--transition);
}
.auth-modal-close:hover {
    background: var(--border);
    color: var(--text);
}

.auth-tabs {
    display: flex;
    padding: 6px;
    background: var(--surface-2);
    margin: 16px 24px 0;
    border-radius: var(--radius-sm);
    gap: 4px;
}
.auth-tab-btn {
    flex: 1;
    padding: 8px 12px;
    border: none;
    background: transparent;
    border-radius: var(--radius-xs);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: all var(--transition);
}
.auth-tab-btn.active {
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow-xs);
}

.auth-modal-body {
    padding: 20px 24px 24px;
}

.auth-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}
.auth-subtitle {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 18px;
}

.form-group {
    margin-bottom: 14px;
}
.form-label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-2);
    margin-bottom: 6px;
}
.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.input-icon {
    position: absolute;
    left: 12px;
    color: var(--muted);
    pointer-events: none;
}
.form-input {
    width: 100%;
    height: 42px;
    padding: 0 14px 0 38px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 13.5px;
    color: var(--text);
    background: var(--surface);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}
.form-input.no-icon {
    padding-left: 14px;
}
.input-eye-btn {
    position: absolute;
    right: 10px;
    background: transparent;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.input-eye-btn:hover { color: var(--text); }

.auth-submit-btn {
    width: 100%;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-purple);
    transition: background var(--transition), transform 0.1s ease;
    margin-top: 6px;
}
.auth-submit-btn:hover { background: var(--primary-dark); }
.auth-submit-btn:active { transform: scale(0.99); }

.auth-alert {
    padding: 10px 14px;
    border-radius: var(--radius-xs);
    font-size: 12.5px;
    margin-bottom: 14px;
    display: none;
}
.auth-alert-error {
    background: #FFF1F2;
    border: 1px solid #FECDD3;
    color: #BE123C;
}
.auth-alert-success {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    color: #15803D;
}

.auth-footer-text {
    text-align: center;
    font-size: 12.5px;
    color: var(--muted);
    margin-top: 16px;
}
.auth-footer-text a {
    color: var(--primary);
    font-weight: 600;
}

/* ─── FLOATING TOASTS ─── */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}
.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: #181628;
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    pointer-events: auto;
    animation: toastSlide 0.25s ease-out;
}
@keyframes toastSlide {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
.toast-icon { display: flex; align-items: center; }
.toast-success { border-left: 4px solid var(--green); }
.toast-error { border-left: 4px solid var(--red); }
.toast-info { border-left: 4px solid var(--primary); }

/* ══════════════════════════════════════════
   SINGLE PROMPT PAGE & WA FLOAT
   ══════════════════════════════════════════ */

.prompt-hero {
    background: linear-gradient(180deg, #F3EEFF 0%, #FFFFFF 100%);
    padding: 44px 20px 36px;
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
}

.prompt-hero-inner {
    max-width: 860px;
    margin: 0 auto;
}

.prompt-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: var(--primary);
    border: 1px solid var(--border);
    font-size: 12.5px;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 999px;
    margin-bottom: 14px;
    box-shadow: var(--shadow-xs);
}

.prompt-title-large {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.25;
    margin-bottom: 14px;
    color: var(--text);
}

.prompt-meta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 22px;
}

.prompt-meta-row span {
    background: #fff;
    border: 1px solid var(--border);
    padding: 4px 12px;
    border-radius: 999px;
}

.prompt-meta-row .badge-free-tag {
    background: #DCFCE7;
    color: #16A34A;
    border-color: #BBF7D0;
    font-weight: 700;
}

.prompt-meta-row .badge-pro-tag {
    background: var(--primary-light);
    color: var(--primary-dark);
    border-color: var(--primary-light);
    font-weight: 700;
}

.prompt-top-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.prompt-container-single {
    max-width: 860px;
    margin: 32px auto 64px;
    padding: 0 20px;
}

.back-to-browse {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--text-2);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 22px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 999px;
    padding: 7px 16px;
    transition: all var(--transition);
}

.back-to-browse:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateX(-2px);
}

.prompt-content-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 38px 34px;
    color: var(--text);
}

@media (max-width: 600px) {
    .prompt-content-card { padding: 24px 18px; }
}

.prompt-section-block {
    margin-bottom: 30px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--border-subtle);
}

.prompt-section-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.prompt-section-title {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.prompt-body-text {
    font-size: 14.5px;
    color: var(--text-2);
    line-height: 1.7;
}

.prompt-code-panel {
    background: #0E0C1A;
    border: 1px solid #231F3B;
    border-radius: var(--radius);
    padding: 22px;
    margin-top: 12px;
    position: relative;
}

.prompt-code-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #1E1936;
}

.prompt-code-tag {
    color: #9D96C4;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-copy-code {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition);
}

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

.btn-copy-code.copied {
    background: var(--green);
}

.prompt-code-text {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 13.5px;
    line-height: 1.7;
    color: #F1EFFC;
    word-break: break-word;
    user-select: all;
    white-space: pre-wrap;
}

.param-table-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.param-item-card {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
}

.param-item-card .label {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.param-item-card .val {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

/* Floating WhatsApp Button */
.wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 500;
    display: flex;
    align-items: center;
    gap: 9px;
    background: #25D366;
    color: #fff !important;
    text-decoration: none;
    padding: 13px 20px;
    border-radius: 999px;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
    font-weight: 700;
    font-size: 14px;
    transition: all var(--transition);
}

.wa-float:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}

@media (max-width: 520px) {
    .wa-float { padding: 13px; bottom: 16px; right: 16px; }
    .wa-float span { display: none; }
}

