body {
    margin: 0;
    padding: 0;
    background-color: #f2f4f8;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: flex;
    justify-content: center;
}

.app-container {
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    min-height: 100vh;
    padding-bottom: 75px;
    position: relative;
    box-shadow: 0 0 15px rgba(0,0,0,0.08);
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.logo strong { font-size: 22px; color: #002244; }
.logo span { color: #f36c21; }
.header-icons i { font-size: 20px; margin-left: 15px; color: #555; }

.search-box {
    margin: 15px 20px;
    background: #f0f3f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 10px 14px;
}
.search-box input { border: none; background: transparent; outline: none; margin-left: 10px; width: 100%; font-size: 14px; }

.banner-card {
    background: linear-gradient(135deg, #09203f 0%, #537895 100%);
    color: white;
    margin: 15px 20px;
    padding: 20px;
    border-radius: 12px;
}

.section-title { margin: 20px 20px 10px; color: #333; }

.store-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0 20px;
}

.store-card {
    border: 1px solid #edf0f5;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    background: #fafbfc;
}
.store-card .badge { font-size: 10px; background: #ffe9ec; color: #d63031; padding: 2px 6px; border-radius: 4px; }
.store-card h4 { margin: 8px 0 4px; }
.store-card .rate { font-size: 12px; color: #00b894; font-weight: 600; margin: 4px 0 10px; }
.btn-shop { display: block; background: #0044ff; color: white; text-decoration: none; padding: 6px; border-radius: 6px; font-size: 13px; font-weight: 500; }

.earnings-header {
    background: #002244;
    color: white;
    padding: 25px 20px;
    text-align: center;
}
.earnings-sub { display: flex; justify-content: space-around; margin-top: 15px; }

.card-box {
    background: white;
    margin: 15px 20px;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.row { display: flex; justify-content: space-between; align-items: center; }
.btn-action { background: #0056b3; color: white; border: none; padding: 8px 16px; border-radius: 6px; cursor: pointer; font-weight: 600; }
.btn-whatsapp { display: block; background: #25d366; color: white; padding: 10px; border-radius: 6px; text-align: center; text-decoration: none; margin-top: 10px; font-weight: 600; }
.full-width { width: 100%; margin-top: 10px; }
.ref-input { width: 90%; padding: 8px; margin: 10px 0; border: 1px dashed #bbb; text-align: center; }

.bottom-nav {
    position: fixed;
    bottom: 0;
    max-width: 480px;
    width: 100%;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 1px solid #e1e4e8;
}
.nav-item { text-align: center; color: #888; text-decoration: none; font-size: 11px; }
.nav-item i { font-size: 18px; display: block; margin-bottom: 2px; }
.nav-item.active { color: #0044ff; }
