:root {
    --fire-orange: #FF4500;
    --bg-black: #000000;
    --text-white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: 'Segoe UI', Roboto, sans-serif;
    height: 100vh;
    overflow: hidden;
}

.logo-overlay {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 24px;
    font-weight: 900;
    color: var(--fire-orange);
    z-index: 100;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

#main-content {
    height: calc(100vh - 60px);
    width: 100%;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
}

/* TikTok View */
.tiktok-section {
    height: 100%;
    width: 100%;
    scroll-snap-align: start;
    position: relative;
    background-size: cover;
    background-position: center;
}

.product-overlay {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.info-text h2 { font-size: 1.2rem; margin-bottom: 5px; max-width: 70vw; }
.info-text p { color: var(--fire-orange); font-weight: bold; font-size: 1.4rem; }

.buy-btn {
    background-color: var(--fire-orange);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

/* Nav Bar */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px;
    background: #111;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #333;
}

.nav-item { color: #888; font-size: 20px; cursor: pointer; transition: 0.3s; }
.nav-item.active { color: var(--fire-orange); transform: scale(1.2); }

/* Market View */
.market-container { padding: 80px 15px 20px; }
.category-select {
    width: 100%;
    padding: 12px;
    background: #222;
    color: white;
    border: 1px solid var(--fire-orange);
    border-radius: 8px;
    margin-bottom: 20px;
}
.grid-market {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.card-mini { background: #111; border-radius: 8px; overflow: hidden; font-size: 12px; }
.card-mini img { width: 100%; height: 120px; object-fit: cover; }