:root {
    --primary: #0f172a;
    --accent: #e67e22;
    --bg: #f8fafc;
    --white: #ffffff;
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }
body, html { margin: 0; padding: 0; background: #000; height: 100%; font-family: 'Plus Jakarta Sans', sans-serif; }

.app-shell {
    max-width: 450px; margin: 0 auto; background: var(--bg);
    height: 100vh; position: relative; overflow-y: auto;
}

header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px; background: var(--white); position: sticky; top: 0; z-index: 100;
}
.logo { font-weight: 800; font-size: 1.2rem; color: var(--primary); }
.logo span { color: var(--accent); }

.page { display: none; padding: 20px; padding-bottom: 100px; animation: fadeIn 0.3s; }
.page.active { display: block; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; } }

/* Cards & UI */
.search-box { background: white; padding: 12px; border-radius: 12px; display: flex; align-items: center; gap: 10px; margin-bottom: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.search-box input { border: none; outline: none; width: 100%; }

.card { background: white; border-radius: 20px; overflow: hidden; margin-bottom: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.card-img { height: 200px; background-size: cover; background-position: center; position: relative; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--accent); color: white; padding: 5px 10px; border-radius: 8px; font-size: 0.7rem; font-weight: bold; }
.card-info { padding: 15px; }
.price { color: var(--accent); font-weight: 800; font-size: 1.1rem; }

/* 360 Page */
.v360-container { position: fixed; top:0; left:0; width:100%; height:100%; background: black; z-index: 200; }
.close-360 { position: absolute; top: 20px; right: 20px; z-index: 201; border: none; background: white; border-radius: 50%; width: 40px; height: 40px; cursor: pointer; }

/* Wallet */
.wallet-box { background: var(--primary); color: white; padding: 30px; border-radius: 25px; text-align: center; margin-bottom: 20px; }
.actions { display: flex; justify-content: space-around; }
.action-btn { text-align: center; font-size: 0.8rem; }
.action-btn i { background: white; width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 5px; color: var(--primary); font-size: 1.2rem; }

/* Form */
.btn-main { background: var(--primary); color: white; border: none; width: 100%; padding: 15px; border-radius: 12px; font-weight: bold; margin-top: 20px; }
.btn-whatsapp { background: #25D366; color: white; border: none; width: 100%; padding: 15px; border-radius: 12px; font-weight: bold; margin-top: 10px; }

/* Nav */
nav {
    position: fixed; bottom: 0; width: 100%; max-width: 450px;
    background: white; display: flex; justify-content: space-around;
    padding: 15px 0; border-top: 1px solid #eee; z-index: 100;
}
.nav-item { text-align: center; color: #94a3b8; font-size: 0.6rem; transition: 0.3s; }
.nav-item.active { color: var(--primary); }
.nav-item i { font-size: 1.2rem; display: block; margin-bottom: 5px; }