/* ==========================================================================
   CSS CORE & PREMIUM SCIFI GAME DESIGN SYSTEM
   ========================================================================== */

:root {
    --bg-main: #060814;
    --bg-panel: rgba(13, 17, 38, 0.7);
    --border-glow: rgba(249, 115, 22, 0.15);
    
    --orange-primary: #F97316;
    --orange-glow: rgba(249, 115, 22, 0.4);
    --orange-hover: #EA580C;
    
    --text-primary: #F3F4F6;
    --text-secondary: #9CA3AF;
    --text-dark-gray: #4B5563;
    
    --green-success: #10B981;
    --green-glow: rgba(16, 185, 129, 0.3);
    
    --red-alert: #EF4444;
    
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --font-orbitron: 'Orbitron', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-sans);
}

body {
    background: radial-gradient(circle at 50% 50%, #101430 0%, #03040a 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    overflow-x: hidden;
    padding: 1.5rem;
}

/* Premium font class */
.font-orbitron {
    font-family: var(--font-orbitron);
    letter-spacing: 0.05em;
}

.text-orange {
    color: var(--orange-primary) !important;
}

.text-green {
    color: var(--green-success) !important;
}

.text-red {
    color: var(--red-alert) !important;
}

.text-sub {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* ==========================================================================
   APP GRID LAYOUT
   ========================================================================== */

.app-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1240px;
    margin: auto;
    min-height: 100vh;
    padding: 1.5rem 0;
}

/* Generic premium card styling */
.card {
    background: var(--bg-panel);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
    text-transform: uppercase;
}

.btn-orange {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 15px var(--orange-glow);
}

.btn-orange:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.6);
}

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

.btn-outline {
    background: rgba(255, 255, 255, 0.04);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.72rem;
    border-radius: 8px;
}

.w-full {
    width: 100%;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.mt-2 {
    margin-top: 0.5rem;
}

/* ==========================================================================
   SIMULATOR FRAMEWORK (LEFT SIDE)
   ========================================================================== */

.simulator-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-shell {
    position: relative;
    width: 375px;
    height: 780px;
    background: #111215;
    border-radius: 52px;
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.8),
                0 0 0 10px #24252A, /* Metal bezel */
                0 0 0 12px #3E3F45; /* Shiny rim */
    padding: 9px;
    user-select: none;
}

/* Physical Buttons */
.shell-btn {
    position: absolute;
    background: #24252A;
    border-radius: 3px;
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.05),
                2px 2px 5px rgba(0, 0, 0, 0.3);
}

.action-btn { left: -14px; top: 130px; width: 3px; height: 25px; }
.vol-up { left: -14px; top: 175px; width: 3px; height: 50px; }
.vol-down { left: -14px; top: 235px; width: 3px; height: 50px; }
.power-btn { right: -14px; top: 190px; width: 3px; height: 80px; }

/* Screen space */
.device-screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 43px;
    overflow: hidden;
    background: #080A12;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.9);
}

/* Device Navigation Bottom bar */
.android-nav-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 48px;
    background: #06080F;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 8px;
    z-index: 90;
    font-size: 0.75rem;
    color: #4B5563;
}

.android-nav-bar div {
    cursor: pointer;
    width: 50px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.android-nav-bar div:hover {
    color: #9CA3AF;
}

/* Status Bar */
.status-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 44px;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 100;
    color: #9CA3AF;
}

.status-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.dynamic-island {
    width: 100px;
    height: 25px;
    background: #000000;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 12px;
}

.island-lens {
    width: 7px;
    height: 7px;
    background: #111;
    border-radius: 50%;
    box-shadow: inset 0 0.5px 1px rgba(255,255,255,0.2);
}

.status-right {
    display: flex;
    gap: 4px;
}

/* View switcher system */
.screen-body {
    flex: 1;
    padding: 44px 16px 48px 16px; /* Offset for Statusbar & Android navbar */
    overflow-y: auto;
    position: relative;
    scrollbar-width: none;
}

.screen-body::-webkit-scrollbar {
    display: none;
}

.screen-view {
    display: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.screen-view.active {
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
    min-height: 100%;
}

/* ==========================================================================
   VIEW 1: SPLASH SCREEN STYLING
   ========================================================================== */

#view-splash {
    align-items: center;
    justify-content: space-between;
    padding: 4rem 1rem;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#view-splash.splash-fade-out {
    opacity: 0 !important;
    transform: scale(0.9) !important;
    pointer-events: none;
}

.splash-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-top: auto;
}

.logo-glow {
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--orange-glow) 0%, transparent 70%);
    z-index: 1;
}

.logo-icon {
    font-size: 4rem;
    z-index: 2;
    animation: bounce 2s infinite ease-in-out;
}

.logo-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #FFFFFF;
    text-shadow: 0 0 10px var(--orange-glow);
    margin-top: 0.5rem;
    z-index: 2;
}

.logo-subtitle {
    font-size: 0.72rem;
    color: var(--orange-primary);
    font-weight: 700;
    letter-spacing: 0.25em;
    z-index: 2;
}

.splash-loading {
    width: 100%;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.progress-bar {
    width: 80%;
    height: 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--orange-primary) 0%, #F59E0B 100%);
    box-shadow: 0 0 8px var(--orange-primary);
}

.loading-text {
    font-size: 0.72rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   VIEW 2: LOGIN KEY SCREEN STYLING
   ========================================================================== */

#view-login {
    justify-content: center;
    gap: 1.5rem;
    padding-top: 1rem;
}

.screen-header {
    text-align: center;
    margin-bottom: 0.5rem;
}

.screen-header h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    text-shadow: 0 0 10px rgba(249, 115, 22, 0.25);
}

.login-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 12px 14px 12px 38px;
    color: #FFFFFF;
    font-size: 0.85rem;
    outline: none;
    transition: all 0.2s;
}

.input-wrapper input:focus {
    border-color: var(--orange-primary);
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.15);
}

.input-icon {
    position: absolute;
    left: 12px;
    font-size: 0.95rem;
}

.or-separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-dark-gray);
    font-size: 0.7rem;
    font-weight: 700;
    margin: 0.25rem 0;
}

.or-separator::before, .or-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.or-separator span {
    padding: 0 10px;
}

.demo-keys-advisory {
    background: rgba(249, 115, 22, 0.04);
    border: 1px solid rgba(249, 115, 22, 0.1);
    border-radius: 12px;
    padding: 0.75rem;
    font-size: 0.78rem;
}

.demo-keys-advisory h5 {
    color: #FFFFFF;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.key-pills {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.key-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 6px;
    border-radius: 6px;
    cursor: pointer;
    font-family: monospace;
    font-size: 0.72rem;
    text-align: center;
    color: #E5E7EB;
    transition: all 0.2s;
}

.key-pill:hover {
    background: rgba(249, 115, 22, 0.1);
    border-color: var(--orange-primary);
    color: var(--orange-primary);
}

.click-instruction {
    font-size: 0.65rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 6px;
}

/* ==========================================================================
   VIEW 3: DASHBOARD SCREEN STYLING
   ========================================================================== */

/* Header user profile */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.75rem 0.25rem;
    margin-bottom: 1rem;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    font-size: 1.8rem;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-user h4 {
    font-size: 0.85rem;
    font-weight: 800;
    color: #FFFFFF;
}

.header-user p {
    font-size: 0.65rem;
    color: var(--text-secondary);
}

.badge {
    font-size: 0.62rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-free {
    background: rgba(156, 163, 175, 0.15);
    border: 1px solid rgba(156, 163, 175, 0.3);
    color: #D1D5DB;
}

.badge-premium {
    background: rgba(249, 115, 22, 0.2);
    border: 1px solid var(--orange-primary);
    color: var(--orange-primary);
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.3);
}

/* Hardware specs widget */
.hardware-card {
    padding: 1rem;
    margin-bottom: 1rem;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 4px;
}

.section-title h3 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #FFFFFF;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.pulse-dot.green {
    background: var(--green-success);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: greenpulse 1.8s infinite;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.spec-label {
    font-size: 0.65rem;
    color: var(--text-secondary);
}

.spec-value {
    font-size: 0.75rem;
    font-weight: 700;
    color: #F3F4F6;
}

/* Circular Optimization Widget */
.optimize-trigger-zone {
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.btn-circular-optimize {
    position: relative;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.circle-outer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 5px solid rgba(255, 255, 255, 0.03);
    border-top: 5px solid var(--orange-primary);
    border-right: 5px solid var(--orange-primary);
    border-radius: 50%;
    animation: rotate 3s linear infinite paused;
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.1);
}

.btn-circular-optimize.running .circle-outer {
    animation-play-state: running;
    border-top-color: var(--green-success);
    border-right-color: var(--green-success);
}

.circle-inner {
    width: 110px;
    height: 110px;
    background: radial-gradient(circle, #1c223c 0%, #0c0f20 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.6);
    transition: all 0.3s;
}

.btn-circular-optimize:hover .circle-inner {
    border-color: var(--orange-primary);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.25), inset 0 0 15px rgba(0, 0, 0, 0.6);
}

.opt-percent {
    font-size: 1.2rem;
    font-weight: 900;
    color: #FFFFFF;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

.opt-label {
    font-size: 0.65rem;
    color: var(--text-secondary);
    margin-top: 4px;
    text-transform: uppercase;
}

.opt-console {
    width: 100%;
    background: #030408;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 8px;
    height: 54px;
    overflow-y: auto;
    font-family: monospace;
    font-size: 0.65rem;
    color: var(--green-success);
    text-align: left;
    scrollbar-width: none;
}

.opt-console::-webkit-scrollbar { display: none; }

.console-line {
    margin-bottom: 2px;
}

/* Lock overlays for Premium */
.features-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-card {
    position: relative;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}

.card-lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 10, 18, 0.78);
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.3s;
}

.feature-card.locked .card-lock-overlay {
    pointer-events: auto;
}

.feature-card:not(.locked) .card-lock-overlay {
    opacity: 0;
    pointer-events: none;
}

.lock-icon {
    font-family: var(--font-orbitron);
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--orange-primary);
    background: rgba(249,115,22,0.15);
    border: 1px solid var(--orange-primary);
    padding: 4px 10px;
    border-radius: 100px;
    box-shadow: 0 0 10px var(--orange-glow);
}

.card-icon-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feat-icon {
    font-size: 1.3rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon-title h4 {
    font-size: 0.8rem;
    font-weight: 700;
    color: #FFFFFF;
}

.card-icon-title p {
    font-size: 0.65rem;
    color: var(--text-secondary);
}

/* iOS-style toggle switches */
.switch {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 20px;
    z-index: 5;
}

.switch input { opacity: 0; width: 0; height: 0; }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #374151;
    transition: .25s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .25s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--green-success);
}

input:checked + .slider:before {
    transform: translateX(18px);
}

input:disabled + .slider {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ==========================================================================
   APP OVERLAY MODALS & SENSITIVITY DESIGN
   ========================================================================== */

.app-modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 5, 10, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.app-modal.active {
    display: flex;
    animation: fadeIn 0.25s ease-out;
}

.modal-content {
    background: #0B0E1B;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.25rem;
    width: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 6px;
    margin-bottom: 0.75rem;
}

.modal-header h3 {
    font-size: 0.95rem;
    font-weight: 800;
}

.close-modal {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
}

.modal-desc {
    font-size: 0.72rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.sliders-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1rem;
}

.slider-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.slider-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.68rem;
    color: var(--text-secondary);
}

.slider-label strong {
    color: var(--orange-primary);
}

.slider-bar {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
    overflow: hidden;
}

.slider-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--orange-primary) 0%, #E0F2FE 100%);
    border-radius: 10px;
}

/* Fire Button Visualizer */
.fire-button-preview {
    width: 100%;
    height: 120px;
    background: #03050C;
    border: 1px dashed rgba(255,255,255,0.06);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.fire-btn-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.1);
    border: 3px double var(--orange-primary);
    box-shadow: 0 0 15px var(--orange-glow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: heartpulse 2.5s infinite;
}

.btn-inner-icon {
    font-size: 1rem;
}

.btn-size-label {
    font-size: 0.58rem;
    font-weight: 700;
    color: #FFFFFF;
}

/* ==========================================================================
   VIEW 4: DYNAMIC REDIRECTING AFFILIATE AD POPUP (TIKTOK/SHOPEE LOGIC)
   ========================================================================== */

.ads-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 4, 8, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.ads-overlay.active {
    display: flex;
    animation: fadeIn 0.25s ease-out;
}

.ads-modal-card {
    background: linear-gradient(180deg, #161D3B 0%, #080A12 100%);
    border: 1px solid rgba(249, 115, 22, 0.2);
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.15);
    border-radius: 24px;
    padding: 1.5rem;
    width: 100%;
    position: relative;
    text-align: center;
    animation: slideUp 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

.ads-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #FFFFFF;
    font-size: 0.78rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.ads-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
}

.ads-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(249, 115, 22, 0.15);
    color: var(--orange-primary);
    font-size: 0.65rem;
    font-weight: 800;
    border-radius: 100px;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.ads-banner h3 {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.4;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.ads-banner p {
    font-size: 0.72rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 1.25rem;
}

.gift-glow {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
    animation: heartbeat 1.5s infinite;
}

.ads-action-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ads-skip-btn {
    background: transparent;
    border: none;
    color: var(--text-dark-gray);
    font-size: 0.68rem;
    cursor: pointer;
    font-weight: 600;
    padding: 4px;
    text-decoration: underline;
    transition: color 0.2s;
}

.ads-skip-btn:hover {
    color: var(--text-secondary);
}

/* ==========================================================================
   ADMIN PANEL STYLING (RIGHT SIDE)
   ========================================================================== */

.admin-panel {
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-height: 780px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.admin-panel::-webkit-scrollbar {
    width: 6px;
}

.admin-panel::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

.admin-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.3);
    color: var(--orange-primary);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 100px;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

.admin-header h2 {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, #FFFFFF 40%, var(--orange-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.admin-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.admin-section {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 14px;
    padding: 1.25rem;
}

.admin-section h3 {
    font-size: 0.95rem;
    color: #FFFFFF;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.section-desc {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.admin-row {
    width: 100%;
}

.admin-select {
    width: 100%;
    background: #0B0E1B;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 10px;
    color: #FFFFFF;
    outline: none;
    font-size: 0.82rem;
    cursor: pointer;
}

.admin-select:focus {
    border-color: var(--orange-primary);
}

.admin-key-form {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    margin-bottom: 1rem;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 0.75rem;
}

.form-group label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.admin-input {
    width: 100%;
    background: #0B0E1B;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 10px;
    color: #FFFFFF;
    outline: none;
    font-size: 0.82rem;
}

.admin-input:focus {
    border-color: var(--orange-primary);
}

/* Key Tables inside Admin */
.generated-keys-list h4 {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.table-container {
    width: 100%;
    max-height: 150px;
    overflow-y: auto;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.7rem;
    text-align: left;
}

th, td {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

th {
    background: rgba(255,255,255,0.02);
    color: var(--text-secondary);
    font-weight: 700;
}

td {
    font-family: monospace;
}

.status-badge {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-active {
    background: rgba(16, 185, 129, 0.1);
    color: var(--green-success);
}

.status-used {
    background: rgba(249, 115, 22, 0.1);
    color: var(--orange-primary);
}

.status-banned {
    background: rgba(239, 68, 68, 0.15);
    color: var(--red-alert);
}

.btn-delete-key {
    background: transparent;
    border: none;
    color: var(--text-dark-gray);
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.2s;
}

.btn-delete-key:hover {
    color: var(--red-alert);
}

.admin-footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 1rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.admin-footer code {
    background: rgba(255,255,255,0.04);
    padding: 2px 4px;
    border-radius: 4px;
    color: var(--orange-primary);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

@keyframes greenpulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

@keyframes heartpulse {
    0% { transform: scale(1); }
    14% { transform: scale(1.1); }
    28% { transform: scale(1); }
    42% { transform: scale(1.1); }
    70% { transform: scale(1); }
}

/* ==========================================================================
   STANDALONE ADMIN PORTAL STYLING
   ========================================================================== */

/* Fullscreen body layout for admin */
.admin-portal-body {
    background: radial-gradient(circle at 50% 50%, #0c0f24 0%, #020308 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    overflow-x: hidden;
    padding: 2rem;
    width: 100vw;
}

/* Security login card */
.admin-login-container {
    width: 100%;
    max-width: 460px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-login-card {
    padding: 2.5rem;
    width: 100%;
    border: 1px solid rgba(249, 115, 22, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(249, 115, 22, 0.05);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h1 {
    font-size: 1.8rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 12px var(--orange-glow);
}

.login-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.pass-hint {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
}

/* Main Admin Panel Dashboard View */
.admin-main-container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    animation: fadeIn 0.4s ease;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.main-header h1 {
    font-size: 1.6rem;
    font-weight: 900;
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(255,255,255,0.1);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

/* DB Status indicator styles */
.db-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 6px 14px;
    border-radius: 20px;
}

.db-status-pill.online {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.05);
}

.db-status-pill.online .status-dot {
    background: var(--green-success);
    box-shadow: 0 0 8px var(--green-success);
    animation: greenpulse 1.8s infinite;
}

.db-status-pill.online .status-label {
    color: var(--green-success);
}

.db-status-pill.offline {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.05);
}

.db-status-pill.offline .status-dot {
    background: var(--red-alert);
    box-shadow: 0 0 8px var(--red-alert);
}

.db-status-pill.offline .status-label {
    color: var(--red-alert);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-badge {
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.3);
    color: var(--orange-primary);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.admin-badge.text-green {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--green-success);
}

/* Dashboard Grid split */
.admin-dashboard-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 900px) {
    .admin-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.grid-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.grid-right {
    height: 100%;
}

.admin-widget-card {
    padding: 1.5rem;
}

.widget-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
    margin-bottom: 1.25rem;
}

.widget-header h3 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #FFFFFF;
    text-transform: uppercase;
}

.d-flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.active-badge {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: #FFFFFF;
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 700;
}

/* Search bar styling */
.search-bar-box {
    margin-bottom: 1rem;
}

/* Admin table styling modifications */
.admin-table-card {
    padding: 1.5rem;
    height: 100%;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.admin-table-card .table-container {
    max-height: none;
    flex: 1;
    overflow-y: auto;
}

.admin-table-card table {
    font-size: 0.8rem;
}

.admin-table-card th, .admin-table-card td {
    padding: 12px 14px;
}

.admin-table-card th {
    font-size: 0.75rem;
}

/* Guide box */
.step-guide-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 12px;
    margin-top: 10px;
}

.mb-3 { margin-bottom: 1rem; }
.w-full { width: 100%; }

/* ==========================================================================
   SMART BOOSTER CARD (Tối ưu hệ thống — Tab UI + Checklist + Deep-links)
   ========================================================================== */

.booster-card {
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.booster-tabs {
    display: flex;
    gap: 4px;
    background: rgba(0, 0, 0, 0.25);
    padding: 4px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.booster-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 7px 4px;
    color: var(--text-secondary);
    font-size: 0.68rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 7px;
    transition: all 0.2s;
    letter-spacing: 0.02em;
}

.booster-tab-btn:hover {
    color: #FFFFFF;
}

.booster-tab-btn.active {
    background: rgba(249, 115, 22, 0.15);
    color: var(--orange-primary);
    box-shadow: 0 0 8px rgba(249, 115, 22, 0.15);
}

.booster-tab-pane {
    display: none;
    flex-direction: column;
    gap: 0.65rem;
}

.booster-tab-pane.active {
    display: block;
}

.booster-desc {
    font-size: 0.72rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.booster-note {
    font-size: 0.68rem;
    color: #FCD34D;
    background: rgba(252, 211, 77, 0.05);
    border: 1px solid rgba(252, 211, 77, 0.18);
    padding: 6px 8px;
    border-radius: 6px;
    line-height: 1.4;
}

.booster-info-box {
    font-size: 0.7rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px 10px;
    border-radius: 8px;
    line-height: 1.4;
    margin-bottom: 8px;
}

/* Tab 1: Auto actions list */
.booster-actions-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0.25rem 0 0.5rem;
}

.booster-actions-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 0.72rem;
    color: var(--text-primary);
}

.booster-actions-list .ba-icon {
    font-size: 0.95rem;
}

.booster-result {
    margin-top: 0.5rem;
    padding: 8px 10px;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.18);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.booster-result-line {
    font-size: 0.7rem;
    color: #A7F3D0;
    line-height: 1.4;
}

/* Tab 2: Deep-link buttons */
.booster-deeplinks {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.booster-deeplink-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    padding: 9px 12px;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
    font-size: 0.74rem;
    font-weight: 600;
}

.booster-deeplink-btn:hover {
    border-color: var(--orange-primary);
    background: rgba(249, 115, 22, 0.06);
    transform: translateX(2px);
}

.booster-deeplink-btn.failed {
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.05);
    color: #FCA5A5;
}

.booster-deeplink-btn .dl-icon {
    font-size: 1rem;
    width: 22px;
    text-align: center;
}

.booster-deeplink-btn .dl-label {
    flex: 1;
    line-height: 1.3;
}

.booster-deeplink-btn .dl-arrow {
    color: var(--text-dark-gray);
    font-size: 1rem;
    font-weight: 700;
}

/* Tab 3: Checklist */
.checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.checklist-item:hover {
    border-color: rgba(249, 115, 22, 0.35);
    background: rgba(249, 115, 22, 0.04);
}

.checklist-item .check-box {
    font-size: 0.95rem;
    line-height: 1;
    margin-top: 1px;
}

.checklist-item .check-text {
    flex: 1;
    font-size: 0.72rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.checklist-item.checklist-done {
    background: rgba(16, 185, 129, 0.06);
    border-color: rgba(16, 185, 129, 0.25);
}

.checklist-item.checklist-done .check-text {
    color: #A7F3D0;
    text-decoration: line-through;
    text-decoration-color: rgba(16, 185, 129, 0.4);
}

.booster-progress {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.booster-progress-bar {
    flex: 1;
    height: 5px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    overflow: hidden;
}

.booster-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--orange-primary) 0%, var(--green-success) 100%);
    transition: width 0.3s ease;
}

.booster-progress span {
    font-size: 0.68rem;
    color: var(--text-secondary);
    white-space: nowrap;
    font-weight: 600;
}

.booster-footer-note {
    font-size: 0.65rem;
    color: var(--text-dark-gray);
    line-height: 1.45;
    text-align: center;
    border-top: 1px dashed rgba(255, 255, 255, 0.05);
    padding-top: 6px;
    margin-top: 4px;
}

/* Admin booster checklist editor */
.booster-checklist-editor {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.booster-checklist-editor textarea {
    width: 100%;
    min-height: 160px;
    background: #0B0E1B;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 10px;
    color: #FFFFFF;
    outline: none;
    font-size: 0.78rem;
    font-family: monospace;
    line-height: 1.5;
    resize: vertical;
}

.booster-checklist-editor textarea:focus {
    border-color: var(--orange-primary);
}

.booster-checklist-editor .editor-hint {
    font-size: 0.7rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ==========================================================================
   SUPPORT CARD (Hỗ trợ & Cộng đồng)
   ========================================================================== */

.support-card {
    padding: 1rem;
    margin-bottom: 1rem;
}

.support-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.support-link-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    padding: 9px 12px;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
    font-size: 0.74rem;
    font-weight: 600;
}

.support-link-btn:hover {
    transform: translateX(2px);
}

.support-link-btn.support-tiktok:hover {
    border-color: #FE2C55;
    background: rgba(254, 44, 85, 0.08);
}

.support-link-btn.support-zalo:hover {
    border-color: #0068FF;
    background: rgba(0, 104, 255, 0.08);
}

.support-link-btn.support-facebook:hover {
    border-color: #1877F2;
    background: rgba(24, 119, 242, 0.08);
}

.support-link-btn.support-telegram:hover {
    border-color: #0088CC;
    background: rgba(0, 136, 204, 0.08);
}

.support-link-btn.support-youtube:hover {
    border-color: #FF0000;
    background: rgba(255, 0, 0, 0.08);
}

.support-link-btn .sl-icon {
    font-size: 1rem;
    width: 22px;
    text-align: center;
}

.support-link-btn .sl-label {
    flex: 1;
    line-height: 1.3;
}

.support-link-btn .sl-arrow {
    color: var(--text-dark-gray);
    font-size: 1rem;
    font-weight: 700;
}

/* Admin support links widget */
.support-links-editor {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.support-link-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 6px 10px;
}

.support-link-input-row .sl-row-icon {
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
}

.support-link-input-row .sl-row-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-secondary);
    min-width: 48px;
}

.support-link-input-row input {
    flex: 1;
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 0.78rem;
    outline: none;
}

.support-link-input-row input::placeholder {
    color: var(--text-dark-gray);
}

/* ==========================================================================
   APP MODAL DIALOGS (SCIFI GLASSMORPHISM STYLE)
   ========================================================================== */
.app-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 5, 10, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.app-modal .modal-content {
    background: #0B0E1B;
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8),
                0 0 30px rgba(249, 115, 22, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-modal.active .modal-content {
    transform: translateY(0) scale(1);
}

/* ==========================================================================
   RESPONSIVE REAL MOBILE DEVICE OVERRIDES (FULL-SCREEN MODE)
   ========================================================================== */
@media (max-width: 1024px) {
    body {
        padding: 0 !important;
        margin: 0 !important;
        background: #080A12 !important;
        overflow: hidden;
    }

    .app-container {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 100vh !important;
        height: 100vh !important;
        display: block !important;
    }

    .simulator-section {
        width: 100% !important;
        height: 100vh !important;
        display: block !important;
    }

    .device-shell {
        width: 100% !important;
        height: 100vh !important;
        border-radius: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        margin: 0 !important;
    }

    /* Hide outer simulated hardware buttons on real phone */
    .device-shell .shell-btn {
        display: none !important;
    }

    .device-screen {
        border-radius: 0 !important;
        box-shadow: none !important;
        width: 100% !important;
        height: 100vh !important;
    }

    /* Hide simulated status bar to avoid doubling with real mobile system status bar */
    .status-bar {
        display: none !important;
    }

    /* Adjust main body height to utilize the hidden status bar space */
    .screen-body {
        height: 100vh !important;
        padding-top: env(safe-area-inset-top, 10px) !important;
        padding-bottom: env(safe-area-inset-bottom, 10px) !important;
    }
    
    /* Hide the mock bottom simulated navigation bar to avoid doubling with native buttons/gestures */
    .android-nav-bar {
        display: none !important;
    }
}

/* Hide install shortcuts when running as an installed PWA / standalone app */
@media (display-mode: standalone), (display-mode: fullscreen) {
    .install-box {
        display: none !important;
    }
}
