:root {
    --imikimi-bg: #ECF2F7;

    --imikimi-surface: rgba(255, 255, 255, 0.78);
    --imikimi-surface-strong: rgba(255, 255, 255, 0.9);
    --imikimi-border: rgba(255, 255, 255, 0.55);

    --imikimi-text-main: #0f172a;
    --imikimi-text-soft: #475569;
    --imikimi-text-muted: #64748b;

    --imikimi-blue: #1180bd;
    --imikimi-blue-dark: #0d6fa8;
    --imikimi-blue-light: #1ea0ea;

    --imikimi-purple: #7c3aed;
    --imikimi-indigo: #2563eb;
    --imikimi-cyan: #06b6d4;
    --imikimi-success: #10b981;

    --imikimi-shadow-xs: 0 6px 18px rgba(15, 23, 42, 0.05);
    --imikimi-shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.08);
    --imikimi-shadow-md: 0 18px 48px rgba(15, 23, 42, 0.12);
    --imikimi-shadow-lg: 0 26px 64px rgba(37, 99, 235, 0.16);

    --imikimi-radius-sm: 14px;
    --imikimi-radius-md: 20px;
    --imikimi-radius-lg: 28px;

    --imikimi-transition: 0.28s ease;
}


/* =========================
   LIVE SEARCH - REAL DROPDOWN
========================= */

.live-search-form {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
}

.live-search-box {
    position: relative;
    width: 340px;
    max-width: 92vw;
    z-index: 2000;
}

.live-search-box input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #ffffff;
    color: #111827;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.live-search-box input:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.15);
}

.live-search-box input::placeholder {
    color: #94a3b8;
}

.live-search-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: block;
    z-index: 99999;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
    overflow: hidden;
}

.live-search-results[hidden] {
    display: none !important;
}

.live-search-status {
    padding: 14px 16px;
    font-size: 14px;
    color: #64748b;
    background: #ffffff;
}

.live-search-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.live-search-item {
    display: block;
    width: 100%;
    padding: 14px 16px;
    background: #ffffff;
    text-decoration: none !important;
    transition: background 0.18s ease;
    box-sizing: border-box;
}

.live-search-item + .live-search-item {
    border-top: 1px solid #f1f5f9;
}

.live-search-item:hover,
.live-search-item.active {
    background: #f8fafc;
}

.live-search-title {
    display: block;
    color: #111827;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    white-space: normal;
    word-break: break-word;
}

.live-search-title mark {
    background: transparent !important;
    color: inherit !important;
    padding: 0 !important;
}

@media (max-width: 767px) {
    .live-search-box {
        width: 260px;
    }

    .live-search-box input {
        font-size: 14px;
    }

    .live-search-title {
        font-size: 14px;
    }
}

/* =========================
   RESULT PAGE
========================= */

.result-page-premium {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(124, 58, 237, 0.08), transparent 28%),
        radial-gradient(circle at top right, rgba(6, 182, 212, 0.08), transparent 26%),
        linear-gradient(180deg, #f4f8fc 0%, var(--imikimi-bg) 100%);
    padding: 36px 16px 64px;
}

.result-page-wrap {
    max-width: 1160px;
    margin: 0 auto;
}

.result-shell {
    position: relative;
    background: var(--imikimi-surface);
    border: 1px solid var(--imikimi-border);
    border-radius: var(--imikimi-radius-lg);
    box-shadow: var(--imikimi-shadow-md);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 38px 28px 34px;
}

.result-topbar {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.result-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--imikimi-success);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.result-status-pill::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--imikimi-success);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.12);
}

.result-heading {
    margin: 0 0 12px;
    text-align: center;
    font-size: 56px;
    line-height: 1.03;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--imikimi-text-main);
}

.result-subheading {
    margin: 0 auto 32px;
    max-width: 720px;
    text-align: center;
    font-size: 17px;
    line-height: 1.7;
    color: var(--imikimi-text-soft);
}

.result-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.result-preview-panel {
    width: 100%;
    max-width: 920px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 24px;
    box-shadow: var(--imikimi-shadow-sm);
    padding: 22px;
}

.result-image-frame {
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.96));
    border-radius: 22px;
    padding: 14px;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.75),
        0 14px 30px rgba(15, 23, 42, 0.06);
}

.result-image-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 22px;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(124, 58, 237, 0.16),
        rgba(37, 99, 235, 0.12),
        rgba(6, 182, 212, 0.14)
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.result-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.result-side-panel {
    width: 100%;
    max-width: 540px;
    background: var(--imikimi-surface-strong);
    border: 1px solid rgba(255,255,255,0.78);
    border-radius: 24px;
    box-shadow: var(--imikimi-shadow-sm);
    padding: 30px 26px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.download-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.09);
    color: var(--imikimi-indigo);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.45);
}

.download-subtitle {
    margin: 0 auto 22px;
    max-width: 380px;
    text-align: center;
    font-size: 16px;
    line-height: 1.7;
    color: var(--imikimi-text-soft);
    font-weight: 500;
}

.download-feature-list {
    display: grid;
    gap: 12px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
    justify-items: center;
}

.download-feature-list li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #334155;
}

.download-feature-list li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--imikimi-success);
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
}

.premiumDownloadButton {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 118px;
    padding: 18px 24px;
    border-radius: 20px;
    background: linear-gradient(
        135deg,
        var(--imikimi-purple),
        var(--imikimi-indigo) 62%,
        var(--imikimi-cyan)
    );
    color: #ffffff !important;
    text-decoration: none !important;
    text-align: center;
    box-shadow:
        0 18px 38px rgba(37, 99, 235, 0.2),
        inset 0 1px 0 rgba(255,255,255,0.2);
    transition:
        transform var(--imikimi-transition),
        box-shadow var(--imikimi-transition),
        opacity var(--imikimi-transition);
}

.premiumDownloadButton:hover,
.premiumDownloadButton:focus {
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow:
        0 24px 44px rgba(37, 99, 235, 0.26),
        inset 0 1px 0 rgba(255,255,255,0.26);
    outline: none;
}

.premiumDownloadButton:active {
    transform: scale(0.985);
}

.premium-btn-eyebrow {
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.9;
}

.premium-btn-text {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.premiumDownloadButton i {
    margin-top: 10px;
    font-size: 24px;
}

.download-footnote,
.result-bottom-note {
    text-align: center;
    color: var(--imikimi-text-muted);
    font-size: 13px;
}

.download-footnote {
    margin: 14px 0 0;
}

.result-bottom-note {
    margin-top: 18px;
}

/* =========================
   FOOTER - CONVERSION OPTIMIZED
========================= */

.site-footer-premium {
    margin-top: 0;
    background: transparent;
}

.footer-app-section,
.footer-bottom-bar {
    background: linear-gradient(135deg, #1180bd, #0d6fa8);
}

/* Top section */
.footer-app-section {
    padding: 40px 20px 28px;
    text-align: center;
}

.footer-app-inner {
    max-width: 760px;
    margin: 0 auto;
}

.footer-app-button-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-app-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.footer-app-button i {
    font-size: 15px;
}

.footer-app-button:hover,
.footer-app-button:focus {
    background: rgba(255, 255, 255, 0.24);
    color: #ffffff !important;
    transform: translateY(-1px);
    outline: none;
}

/* Bottom bar */
.footer-bottom-bar {
    padding: 16px 20px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.footer-nav {
    width: 100%;
}

.footer-menu-list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.footer-menu-list a {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.footer-menu-list a:hover,
.footer-menu-list a:focus {
    opacity: 0.85;
    outline: none;
}

.footer-copyright {
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    text-align: center;
}

/* Mobile */
@media (max-width: 767px) {
    .footer-app-section {
        padding: 34px 16px 24px;
    }

    .footer-app-title {
        font-size: 28px;
    }

    .footer-app-text {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 16px;
    }

    .footer-app-button {
        font-size: 14px;
        padding: 11px 18px;
    }

    .footer-bottom-bar {
        padding: 14px 14px 16px;
    }

    .footer-menu-list {
        gap: 10px 16px;
    }

    .footer-menu-list a,
    .footer-copyright {
        font-size: 13px;
    }
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
    .result-heading {
        font-size: 46px;
    }
}

@media (max-width: 767px) {
    .result-page-premium {
        padding: 18px 10px 30px;
    }

    .result-shell {
        padding: 20px 14px 22px;
        border-radius: 20px;
    }

    .result-preview-panel,
    .result-side-panel {
        padding: 16px;
        border-radius: 18px;
    }

    .result-heading {
        font-size: 34px;
        margin-bottom: 10px;
    }

    .result-subheading {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .result-image-frame {
        padding: 10px;
        border-radius: 16px;
    }

    .result-image {
        border-radius: 12px;
    }

    .download-subtitle,
    .footer-app-text {
        font-size: 14px;
    }

    .download-feature-list li {
        font-size: 14px;
    }

    .premiumDownloadButton {
        min-height: 106px;
        border-radius: 16px;
        padding: 16px 18px;
    }

    .premium-btn-text {
        font-size: 21px;
    }

    .premiumDownloadButton i {
        font-size: 22px;
        margin-top: 8px;
    }

    .footer-app-section {
        padding: 36px 16px 28px;
    }

    .footer-app-title {
        font-size: 28px;
    }

    .footer-app-button {
        width: auto;
        max-width: 100%;
    }

    .footer-bottom-bar {
        padding: 16px 14px 18px;
    }

    .footer-menu-list {
        gap: 10px 16px;
    }

    .footer-menu-list a,
    .footer-copyright {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .result-heading {
        font-size: 28px;
    }

    .result-status-pill,
    .download-badge,
    .footer-app-badge,
    .footer-app-button {
        font-size: 12px;
    }

    .premium-btn-text {
        font-size: 20px;
    }
}

/* ===============================
   MY ARTWORK — CLEAN STABLE VERSION
=============================== */

/* Page background */
body .my-artwork-page {
	background: #c9d1d8 !important;
	padding-bottom: 48px;
}

/* Hero */
body .my-artwork-page .my-artwork-hero {
	background: #c9d1d8 !important;
	background-image: none !important;
	padding: 36px 0 24px;
	text-align: center;
}

body .my-artwork-page .my-artwork-title {
	font-size: 44px;
	font-weight: 800;
	color: #ffffff;
	margin: 0;
}

/* Main card */
body .my-artwork-page .artwork-main-card {
	background: #f7f7f8;
	border-radius: 30px;
	padding: 30px;
	box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

/* Section title */
body .my-artwork-page .artwork-section-heading {
	text-align: center;
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 24px;
	color: #111;
}

/* Grid */
body .my-artwork-page .artwork-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

/* Card */
body .my-artwork-page .artwork-card {
	background: #fff;
	border-radius: 20px;
	padding: 14px;
	box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

/* Image */
body .my-artwork-page .artwork-thumb {
	width: 100%;
	border-radius: 14px;
	display: block;
}

/* Actions */
body .my-artwork-page .artwork-actions {
	text-align: center;
	padding-top: 14px;
}

/* Share row */
body .my-artwork-page .artwork-share {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-bottom: 12px;
}

/* 🔥 HARD RESET buttons (fix ghost pill) */
body .my-artwork-page .artwork-share a {
	all: unset;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	cursor: pointer;
}

/* Icons */
body .my-artwork-page .artwork-share i {
	font-size: 18px;
	color: #fff;
}

/* Colors */
body .my-artwork-page .artwork-share-btn.facebook {
	background: #1877F2;
}
body .my-artwork-page .artwork-share-btn.x {
	background: #111;
}
body .my-artwork-page .artwork-share-btn.whatsapp {
	background: #25D366;
}
body .my-artwork-page .artwork-share-btn.pinterest {
	background: #E60023;
}

/* Hover */
body .my-artwork-page .artwork-share a:hover {
	transform: translateY(-2px);
}

/* Delete button */
body .my-artwork-page .artwork-delete-button {
	display: inline-block;
	background: #ef4444;
	color: #fff;
	padding: 10px 18px;
	border-radius: 999px;
	font-weight: 600;
	text-decoration: none;
}

body .my-artwork-page .artwork-delete-button:hover {
	background: #dc2626;
}

/* AdSense — remove card */
body .my-artwork-page .artwork-ad-wrap,
body .my-artwork-page .artwork-ad-wrap * {
	background: transparent !important;
	box-shadow: none !important;
	border: none !important;
	padding: 0 !important;
}

/* Responsive */
@media (max-width: 768px) {
	body .my-artwork-page .artwork-grid {
		grid-template-columns: 1fr;
	}
}