/* ================================================== */
/* PREVIEW.CSS — Phone Simulator, Themes, & Mobile Nav */
/* ================================================== */

/* ── Preview Panel (Sticky Sidebar) ── */
.preview-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    position: sticky;
    top: 5.5rem;
    height: fit-content;
}

/* ── Simulator Selector ── */
.simulator-selector {
    background: rgba(10, 15, 30, 0.7);
    padding: 0.35rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    display: flex;
    gap: 0.3rem;
    width: 100%;
    box-shadow: var(--shadow-md);
}

.sim-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 0.6rem 0.5rem;
    border-radius: var(--radius-md);
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-base);
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.sim-btn i {
    font-size: 0.8rem;
    flex-shrink: 0;
}

.sim-btn:hover {
    color: var(--text-primary);
    background: var(--glass-bg-light);
}

.sim-btn.active {
    background: var(--text-primary);
    color: var(--bg-color);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.08);
}

/* ── Phone Frame (iPhone 15 Pro Style) ── */
.phone-frame {
    width: 365px;
    height: 740px;
    border: 10px solid var(--phone-bezel);
    border-radius: 46px;
    box-shadow:
        0 25px 60px -15px rgba(0, 0, 0, 0.8),
        0 0 0 3px rgba(255, 255, 255, 0.03),
        0 0 40px rgba(168, 85, 247, 0.1);
    overflow: hidden;
    position: relative;
    background-color: var(--phone-bg);
    transition: all 0.3s var(--ease-smooth);
}

/* ── Dynamic Island ── */
.phone-dynamic-island {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 95px;
    height: 25px;
    background: #000000;
    border-radius: 20px;
    z-index: 1000;
    box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

/* ── Phone Screen Content ── */
.phone-screen {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 55px 22px 24px 22px;
    background-size: cover;
    background-position: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.phone-screen::-webkit-scrollbar {
    width: 0px;
}

/* ── Blurred Background Elements ── */
.screen-blurred-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    background-size: cover;
    background-position: center;
    filter: blur(28px) brightness(0.35);
    display: none;
    transition: all 0.3s ease;
}

.screen-header-blur {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 190px;
    z-index: 1;
    background-size: cover;
    background-position: center;
    filter: blur(15px);
    opacity: 0.65;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    display: none;
    transition: all 0.3s ease;
}

.screen-unblurred-bg-darkened {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    background-size: cover;
    background-position: center;
    display: none;
    transition: all 0.3s ease;
}
.screen-unblurred-bg-darkened::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(3, 7, 18, 0.55);
}

/* ── Simulated In-App Headers ── */
.simulated-inapp-header {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 85px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 48px 20px 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    z-index: 99;
    color: #e2e8f0;
}

.simulated-inapp-header .title {
    font-weight: 600;
    max-width: 170px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.85rem;
}

.simulated-inapp-header .icons {
    display: flex;
    gap: 1rem;
    font-size: 1rem;
    color: var(--text-primary);
}

/* ── Simulated Footer (Telegram) ── */
.simulated-inapp-footer {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 54px;
    background: rgba(28, 28, 30, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.75rem 10px 1.75rem;
    font-size: 1.15rem;
    color: #0a84ff;
    z-index: 99;
}

/* ──────────────────────────────────── */
/* PROFILE CONTAINER & LAYOUTS         */
/* ──────────────────────────────────── */

.profile-container {
    display: flex;
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
    z-index: 5;
}

/* Profile Text Alignment */
.profile-align-left .profile-name,
.profile-align-left .profile-bio {
    text-align: left !important;
    align-self: flex-start !important;
}
.profile-align-center .profile-name,
.profile-align-center .profile-bio {
    text-align: center !important;
    align-self: center !important;
}
.profile-align-right .profile-name,
.profile-align-right .profile-bio {
    text-align: right !important;
    align-self: flex-end !important;
}

/* 1. Centered */
.profile-container.layout-center {
    flex-direction: column;
    align-items: center;
    margin-top: 1.5rem;
    margin-bottom: 2.25rem;
    text-align: center;
}

/* 2. Left Aligned */
.profile-container.layout-left {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 1.5rem;
    margin-bottom: 2.25rem;
    text-align: left;
    padding-left: 0.5rem;
}

/* 3. Horizontal Card */
.profile-container.layout-card {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.25rem;
    border-radius: 20px;
    margin-top: 1rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.profile-container.layout-card .profile-avatar-wrap {
    margin-bottom: 0 !important;
    flex-shrink: 0;
}

/* 4. Split-Screen */
.profile-container.layout-split {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: -55px -22px 2rem -22px;
    width: calc(100% + 44px);
    background: rgba(15, 23, 42, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 65px 22px 1.5rem 22px;
}
.profile-container.layout-split .profile-avatar-wrap {
    width: 100% !important;
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}
.profile-container.layout-split .profile-avatar {
    width: 110px !important;
    height: 110px !important;
}

/* 5. Sticky Floating Header */
.profile-container.layout-sticky {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    position: sticky;
    top: -15px;
    background: rgba(3, 7, 18, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.75rem 1rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 2rem;
    width: 100%;
}
.profile-container.layout-sticky .profile-avatar-wrap {
    margin-bottom: 0 !important;
}
.profile-container.layout-sticky .profile-avatar {
    width: 44px !important;
    height: 44px !important;
}
.profile-container.layout-sticky .profile-bio {
    display: none;
}
.profile-container.layout-sticky .profile-name {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* 6. Asymmetric Grid */
.profile-container.layout-asymmetric {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 1rem;
    border-radius: 20px;
    margin-top: 1rem;
    margin-bottom: 2.25rem;
}
.profile-container.layout-asymmetric .profile-avatar-wrap {
    margin-bottom: 0 !important;
}
.profile-container.layout-asymmetric .profile-avatar {
    width: 90px !important;
    height: 90px !important;
}

/* 7. Footer Profile */
.phone-screen.layout-footer .profile-container {
    order: 2;
    margin-top: 2.5rem;
    margin-bottom: 0.5rem;
}
.phone-screen.layout-footer .landing-links {
    order: 1;
    margin-top: 1rem;
}
.phone-screen.layout-footer .landing-socials {
    order: 3;
}

/* 8. Avatar Bottom */
.profile-container.layout-avatar-bottom {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    margin-top: 1.5rem;
    margin-bottom: 2.25rem;
}
.profile-container.layout-avatar-bottom .profile-avatar-wrap {
    order: 2 !important;
    margin-top: 1.25rem !important;
    margin-bottom: 0px !important;
}
.profile-container.layout-avatar-bottom div {
    order: 1 !important;
}

/* Buttons pushed to bottom */
.phone-screen.layout-buttons-bottom .landing-links {
    margin-top: auto !important;
    margin-bottom: 1rem !important;
}
.phone-screen.layout-buttons-bottom .landing-socials {
    margin-top: 0 !important;
    padding-top: 0.5rem !important;
}

/* ──────────────────────────────────── */
/* AVATAR STYLES                       */
/* ──────────────────────────────────── */

.profile-avatar-wrap {
    position: relative;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
    display: inline-block;
    flex-shrink: 0;
}

.profile-avatar {
    position: relative;
    background: var(--accent-gradient);
    padding: 3px;
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.35);
    transition: all 0.3s var(--ease-spring);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 3px solid #030712;
    transition: all 0.3s ease;
}

/* Avatar Sizes */
.avatar-size-sm .profile-avatar { width: 64px !important; height: 64px !important; }
.avatar-size-md .profile-avatar { width: 96px !important; height: 96px !important; }
.avatar-size-lg .profile-avatar { width: 120px !important; height: 120px !important; }
.avatar-size-xl .profile-avatar { width: 180px !important; height: 180px !important; }

/* Avatar Border Effects */
.avatar-border-default .profile-avatar {
    padding: 3px !important;
    background: var(--accent-gradient) !important;
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.35) !important;
}
.avatar-border-borderless .profile-avatar {
    padding: 0px !important;
    background: transparent !important;
    box-shadow: none !important;
}
.avatar-border-borderless .profile-avatar img {
    border-width: 0px !important;
}

/* Shape: Circle */
.profile-avatar.shape-circle,
.profile-avatar.shape-circle img {
    border-radius: 50% !important;
}

/* Shape: Rounded Square */
.profile-avatar.shape-rounded,
.profile-avatar.shape-rounded img {
    border-radius: 20px !important;
}

/* Shape: Hexagon */
.profile-avatar.shape-hexagon {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border-radius: 0px !important;
    padding: 2px;
}
.profile-avatar.shape-hexagon img {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    border-radius: 0px !important;
    border-width: 0px !important;
}

/* Shape: None */
.profile-avatar-wrap.shape-none {
    display: none !important;
}

.profile-verified {
    position: absolute;
    bottom: 2px; right: 2px;
    background: #3b82f6;
    color: white;
    width: 24px; height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    border: 2px solid #030712;
    z-index: 10;
}

/* ──────────────────────────────────── */
/* PROFILE NAME & BIO                  */
/* ──────────────────────────────────── */

.profile-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}

.profile-bio {
    font-size: 0.85rem;
    color: var(--text-secondary);
    max-width: 260px;
    line-height: 1.5;
    font-weight: 500;
}

/* ──────────────────────────────────── */
/* LINK BUTTONS                        */
/* ──────────────────────────────────── */

.landing-links {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    width: 100%;
    position: relative;
    z-index: 5;
}

.landing-link-card {
    width: 100%;
    padding: 1.15rem 1.5rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.95rem;
    font-weight: 700;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.landing-link-left {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.landing-link-left i {
    font-size: 1.25rem;
    width: 26px;
    text-align: center;
}

/* Button Shapes */
.landing-link-card.btn-pill { border-radius: 100px !important; }
.landing-link-card.btn-smooth { border-radius: 14px !important; }
.landing-link-card.btn-sharp { border-radius: 0px !important; }

/* Button Alignments */
.btn-align-left .landing-link-card {
    justify-content: flex-start !important;
    gap: 12px;
}
.btn-align-left .landing-link-card .landing-link-arrow {
    margin-left: auto;
}
.btn-align-center .landing-link-card {
    justify-content: center !important;
    gap: 10px;
}
.btn-align-center .landing-link-card .landing-link-arrow {
    display: none !important;
}
.btn-align-justify .landing-link-card {
    justify-content: space-between !important;
}

/* Button Layouts */
.btn-layout-list {
    display: flex !important;
    flex-direction: column !important;
}
.btn-layout-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
}
.btn-layout-grid .landing-link-card {
    padding: 1.25rem 0.75rem !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    height: 110px !important;
    font-size: 0.85rem !important;
}
.btn-layout-grid .landing-link-card .landing-link-left {
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.6rem !important;
    width: 100% !important;
}
.btn-layout-grid .landing-link-card .landing-link-arrow {
    display: none !important;
}
.btn-layout-grid .landing-link-card .landing-link-left i {
    font-size: 1.5rem !important;
    margin: 0 !important;
    width: auto !important;
}

/* Button Vertical Position */
.btn-vpos-center .landing-links {
    margin-top: auto !important;
    margin-bottom: auto !important;
}
.btn-vpos-center .landing-socials {
    margin-top: 0 !important;
    padding-top: 0.5rem !important;
}

.btn-vpos-bottom .landing-links {
    margin-top: auto !important;
    margin-bottom: 1rem !important;
}
.btn-vpos-bottom .landing-socials {
    margin-top: 0 !important;
    padding-top: 0.5rem !important;
}

/* ──────────────────────────────────── */
/* THEMES (8 Themes)                   */
/* ──────────────────────────────────── */

/* 1. Glassmorphic Dark */
.theme-glassmorphism {
    background: linear-gradient(180deg, #090d16 0%, #020408 100%);
}
.theme-glassmorphism::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 60%);
    pointer-events: none;
}
.theme-glassmorphism .landing-link-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-color: rgba(255, 255, 255, 0.07);
    color: #ffffff;
}
.theme-glassmorphism .landing-link-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.15);
    transform: scale(1.02) translateY(-1px);
}

/* 2. Aurora Teal */
.theme-aurora {
    background: linear-gradient(135deg, #07071c 0%, #032a30 100%);
}
.theme-aurora .landing-link-card {
    background: rgba(0, 245, 255, 0.05);
    border-color: rgba(0, 245, 255, 0.15);
    color: #00f5ff;
}
.theme-aurora .landing-link-card:hover {
    background: rgba(0, 245, 255, 0.12);
    border-color: rgba(0, 245, 255, 0.4);
    transform: translateY(-2px);
}
.theme-aurora .profile-name {
    background: linear-gradient(90deg, #a855f7, #00f5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 3. Cyber Neon */
.theme-cyberpunk {
    background: #020204;
}
.theme-cyberpunk .landing-link-card {
    background: transparent;
    border: 2px solid #ec4899;
    color: #ec4899;
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.3);
    font-family: monospace;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.theme-cyberpunk .landing-link-card:hover {
    background: #ec4899;
    color: #000;
    box-shadow: 0 0 25px rgba(236, 72, 153, 0.9);
    transform: scale(1.02);
}
.theme-cyberpunk .profile-name {
    color: #39ff14;
    font-family: monospace;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.7);
}

/* 4. Sunset Glow */
.theme-sunset {
    background: linear-gradient(180deg, #2e0854 0%, #701a75 50%, #f43f5e 100%);
}
.theme-sunset .landing-link-card {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
    color: #ffe4e6;
}
.theme-sunset .landing-link-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #f43f5e;
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(244, 63, 94, 0.35);
}

/* 5. Deep Forest */
.theme-forest {
    background: linear-gradient(180deg, #022c22 0%, #064e3b 60%, #021f18 100%);
}
.theme-forest .landing-link-card {
    background: rgba(16, 185, 129, 0.06);
    border-color: rgba(16, 185, 129, 0.18);
    color: #a7f3d0;
}
.theme-forest .landing-link-card:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: #34d399;
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(52, 211, 153, 0.25);
}

/* 6. Midnight Gold */
.theme-gold {
    background: #000000;
}
.theme-gold .landing-link-card {
    background: rgba(20, 20, 20, 0.85);
    border: 1px solid #d97706;
    color: #f59e0b;
}
.theme-gold .landing-link-card:hover {
    background: #f59e0b;
    color: #000000;
    border-color: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}
.theme-gold .profile-name {
    background: linear-gradient(90deg, #fbbf24, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 7. Minimalist Light */
.theme-light {
    background: #f8fafc;
    color: #0f172a;
}
.theme-light .profile-name {
    color: #0f172a;
}
.theme-light .profile-bio {
    color: #64748b;
}
.theme-light .landing-link-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}
.theme-light .landing-link-card:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}
.theme-light .social-circle {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #0f172a;
}
.theme-light .social-circle:hover {
    background: var(--accent-gradient);
    color: #ffffff;
}

/* 8. Custom User Color */
.theme-custom {
    background: linear-gradient(180deg, var(--custom-bg-start, #090d16) 0%, var(--custom-bg-end, #020408) 100%) !important;
}
.theme-custom .profile-name {
    color: var(--custom-color, #a855f7) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: var(--custom-color, #a855f7) !important;
    text-shadow: 0 0 10px rgba(var(--custom-color-rgb, 168, 85, 247), 0.2);
}
.theme-custom .profile-bio {
    color: #9ca3af !important;
}
.theme-custom .landing-link-card {
    background: rgba(var(--custom-color-rgb, 168, 85, 247), 0.08) !important;
    border: 1px solid rgba(var(--custom-color-rgb, 168, 85, 247), 0.25) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(var(--custom-color-rgb, 168, 85, 247), 0.08) !important;
}
.theme-custom .landing-link-card:hover {
    background: var(--custom-color, #a855f7) !important;
    border-color: var(--custom-color, #a855f7) !important;
    color: #000000 !important;
    box-shadow: 0 8px 25px rgba(var(--custom-color-rgb, 168, 85, 247), 0.45) !important;
}
.theme-custom .social-circle {
    background: rgba(var(--custom-color-rgb, 168, 85, 247), 0.08) !important;
    border-color: rgba(var(--custom-color-rgb, 168, 85, 247), 0.2) !important;
    color: #ffffff !important;
}
.theme-custom .social-circle:hover {
    background: var(--custom-color, #a855f7) !important;
    color: #000000 !important;
    border-color: transparent !important;
}

/* ──────────────────────────────────── */
/* SOCIAL ICONS                        */
/* ──────────────────────────────────── */

.landing-socials {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-top: auto;
    padding-top: 2rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 5;
}

.social-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.15rem;
    transition: all 0.25s ease;
    text-decoration: none;
}

.social-circle:hover {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.4);
}

/* ──────────────────────────────────── */
/* ESCAPER OVERLAY                     */
/* ──────────────────────────────────── */

.escaper-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(3, 7, 18, 0.6);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s var(--ease-out-expo);
}

.escaper-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.escaper-box {
    background: rgba(17, 24, 39, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-3xl);
    padding: 2.25rem 1.75rem;
    text-align: center;
    width: 100%;
    max-width: 320px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transform: scale(0.9) translateY(30px);
    transition: all 0.4s var(--ease-out-back);
}

.escaper-overlay.active .escaper-box {
    transform: scale(1) translateY(0);
}

.escaper-icon-wrapper {
    width: 66px;
    height: 66px;
    background: var(--accent-purple-dim);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: #c084fc;
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.15);
    animation: pulseBg 2s infinite;
}

@keyframes pulseBg {
    0% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(168, 85, 247, 0); }
    100% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0); }
}

.escaper-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.85rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.escaper-text {
    font-size: 0.85rem;
    color: #9ca3af;
    line-height: 1.5;
    margin-bottom: 1.75rem;
}

.escaper-steps {
    text-align: left;
    margin-bottom: 1.75rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 1.25rem 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.escaper-step {
    display: flex;
    gap: 0.85rem;
    font-size: 0.8rem;
    margin-bottom: 0.85rem;
    align-items: flex-start;
    color: #e5e7eb;
}

.escaper-step:last-child {
    margin-bottom: 0;
}

.step-num {
    background: var(--accent-gradient);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
    margin-top: 1px;
    box-shadow: 0 2px 8px rgba(168, 85, 247, 0.4);
}

.step-text {
    line-height: 1.4;
}

.step-text strong {
    color: #ffffff;
    font-weight: 700;
}

/* ──────────────────────────────────── */
/* PULSING ARROWS                      */
/* ──────────────────────────────────── */

.pulsing-arrow {
    position: absolute;
    z-index: 10001;
    display: none;
    flex-direction: column;
    align-items: center;
    animation: arrowBounce 1s infinite alternate var(--ease-spring);
    pointer-events: none;
}

.pulsing-arrow.active {
    display: flex;
}

.pulsing-arrow i {
    font-size: 2.5rem;
    color: #ff007f;
    filter: drop-shadow(0 0 10px rgba(255, 0, 127, 0.8)) drop-shadow(0 0 20px rgba(255, 0, 127, 0.4));
}

.arrow-top-right {
    top: 90px;
    right: 18px;
}

.arrow-bottom-right {
    bottom: 65px;
    right: 25px;
}

@keyframes arrowBounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-15px); }
}

/* ──────────────────────────────────── */
/* TOAST NOTIFICATIONS (Inside Phone)  */
/* ──────────────────────────────────── */

.toast {
    position: absolute;
    bottom: 25px;
    left: 20px;
    right: 20px;
    background: rgba(16, 185, 129, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.9rem 1.2rem;
    border-radius: var(--radius-lg);
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.35s var(--ease-out-back);
    z-index: var(--z-toast);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.toast-warning {
    background: rgba(245, 158, 11, 0.95);
}

.toast i {
    font-size: 1.1rem;
}

/* Twitter Banner (layout-twitter) */
.phone-twitter-banner {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 130px;
    background-size: cover;
    background-position: center;
    display: none;
    z-index: 2;
}

/* Layout Twitter styles */
.profile-container.layout-twitter {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-top: 75px;
    margin-bottom: 2rem;
    padding-left: 0.5rem;
}
.profile-container.layout-twitter .profile-avatar-wrap {
    margin-top: -55px;
    margin-bottom: 0.75rem;
}
.profile-container.layout-twitter .profile-avatar {
    width: 80px !important;
    height: 80px !important;
    border: 3px solid #000;
}

/* ──────────────────────────────────── */
/* MOBILE NAVIGATION BAR               */
/* ──────────────────────────────────── */

.mobile-nav-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    background: rgba(8, 12, 24, 0.88);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 9999;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    padding: 5px 15px;
}

.mobile-nav-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: var(--transition-base);
    border-radius: var(--radius-md);
}

.mobile-nav-btn:hover {
    color: var(--text-primary);
}

.mobile-nav-btn i {
    font-size: 1.15rem;
    transition: transform 0.2s ease;
}

.mobile-nav-btn:active i {
    transform: scale(0.9);
}

.mobile-nav-btn.active {
    color: var(--accent-purple);
    background: var(--accent-purple-dim);
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.25);
}

/* ──────────────────────────────────── */
/* MOBILE RESPONSIVE (768px)           */
/* ──────────────────────────────────── */

@media (max-width: 768px) {
    .mobile-nav-bar {
        display: grid;
    }

    .phone-frame {
        transform: scale(calc(min(345px, 85vw) / 365px)) !important;
        transform-origin: top center;
        margin: 0 auto;
        margin-bottom: 0 !important;
    }

    .preview-panel {
        min-height: 760px;
    }
}

/* Responsive Phone Scaling */
@media (max-width: 1100px) {
    .phone-frame {
        transform: scale(0.85);
        transform-origin: top center;
        margin-bottom: -110px;
    }

    .preview-panel {
        width: 330px;
    }
}

@media (max-width: 900px) {
    .phone-frame {
        transform: scale(0.75);
        transform-origin: top center;
        margin-bottom: -185px;
    }

    .preview-panel {
        width: 290px;
    }
}

/* ──────────────────────────────────── */
/* ADMIN TOAST (Outside Phone)         */
/* ──────────────────────────────────── */

.admin-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(16, 185, 129, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: white;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08);
    opacity: 0;
    transition: all 0.4s var(--ease-out-back);
    z-index: var(--z-toast);
    pointer-events: none;
    white-space: nowrap;
}

.admin-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.admin-toast i {
    font-size: 1.05rem;
}
