:root {
    --mp-orange: #ff4d00;
    --mp-gold: #ffd700;
    --bg-light: #f4f4f4;
    --white: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-light);
    color: #333;
    margin: 0;
    padding-bottom: 70px;
    /* Space for bottom nav */
}

/* Header */
.mp-header {
    background: var(--white);
    padding: 10px 15px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 35px;
    width: auto;
}

.search-bar-fake {
    flex: 1;
    background: #eee;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    color: #888;
}

/* Layout */
.container {
    padding: 10px;
    max-width: 600px;
    margin: auto;
}

.main-banner {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Categories */
.categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    padding: 15px 5px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.cat-item {
    text-align: center;
    font-size: 12px;
}

.cat-item .icon {
    font-size: 24px;
    margin-bottom: 5px;
}

/* Buttons Sejajar Kiri-Kanan */
.action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.btn {
    padding: 12px;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
}

.btn-login {
    background: #fff;
    color: var(--mp-orange);
    border: 1px solid var(--mp-orange);
}

.btn-daftar {
    background: var(--mp-orange);
    color: #fff;
}

/* RTP Section ala Flash Sale */
.rtp-marketplace {
    background: var(--white);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 15px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.timer {
    font-size: 12px;
    background: #333;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
}

.iframe-card {
    position: relative;
    padding-top: 150%;
    overflow: hidden;
    border-radius: 8px;
}

.iframe-card iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 1px solid #eee;
    z-index: 1000;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-size: 11px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-link span {
    margin-top: 4px;
}

.nav-link.active {
    color: var(--mp-orange);
}

.highlight {
    color: #0091ea;
    font-weight: bold;
}

.seo-text {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.6;
}

h1 {
    font-size: 18px;
    color: var(--mp-orange);
}