/* ===================================================
   WEBPOT - Laptop / Desktop 1920x1080 Exclusive Guard
   File: responsive.css
=================================================== */

/* ==========================================
   DESKTOP LOCK OVERLAY (MODAL FOR MOBILE/TABLET)
========================================== */

#desktop-lock-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(10, 12, 16, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#desktop-lock-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.desktop-lock-card {
    background: linear-gradient(135deg, #181920 0%, #0F1015 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6),
                0 0 40px rgba(56, 189, 248, 0.15);
    border-radius: 28px;
    max-width: 540px;
    width: 100%;
    padding: 44px 36px;
    text-align: center;
    color: #FFFFFF;
    position: relative;
    transform: translateY(20px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#desktop-lock-overlay.active .desktop-lock-card {
    transform: translateY(0) scale(1);
}

.desktop-lock-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(168, 85, 247, 0.15));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.05);
}

.desktop-lock-card h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #FFFFFF;
    letter-spacing: -0.01em;
}

.desktop-lock-card p {
    color: #94A3B8;
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.desktop-spec-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #38BDF8;
    margin-bottom: 28px;
}

.desktop-viewport-stats {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 14px 20px;
    margin-bottom: 28px;
    font-size: 0.88rem;
    color: #CBD5E1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.desktop-viewport-stats span.val {
    font-family: monospace;
    color: #F43F5E;
    font-weight: 700;
}

.desktop-lock-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-simulate-desktop {
    background: linear-gradient(135deg, #38BDF8, #818CF8);
    color: #0F172A;
    font-weight: 700;
    border: none;
    padding: 14px 24px;
    border-radius: 99px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.3);
}

.btn-simulate-desktop:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(56, 189, 248, 0.45);
}

/* ==========================================
   DESKTOP MODE BADGE IN NAVBAR / HEADER
========================================== */

.desktop-mode-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(17, 17, 17, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 99px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
    letter-spacing: 0.02em;
    user-select: none;
    transition: all 0.3s ease;
}

.desktop-mode-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px #10B981;
}

/* Screen Resolution Guard Rule */
@media screen and (max-width: 1100px) {
    body:not(.canvas-simulated-mode) {
        overflow: hidden !important;
    }
}

/* Canvas Simulation Scaling Mode */
body.canvas-simulated-mode {
    overflow-x: auto !important;
    min-width: 1280px !important;
}

body.canvas-simulated-mode #desktop-lock-overlay {
    display: none !important;
}
