:root {
    --bg-dark: #07080a;
    --bg-card: #121417;
    --accent-primary: #00f2ff;
    --accent-secondary: #7000ff;
    --text-main: #ffffff;
    --text-muted: #8a8d91;
    --gradient: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Outfit', sans-serif; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Info Bar */
.top-info-bar {
    background: #000;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--glass-border);
}

.info-item { color: var(--text-muted); }
.info-item i { color: var(--accent-primary); margin-right: 5px; }
.info-item.highlight #update-timer { color: var(--accent-primary); font-weight: bold; font-family: monospace; }

/* Header & Downloader */
.main-header {
    padding: 60px 0;
    background: radial-gradient(circle at 50% 100%, rgba(112, 0, 255, 0.15), transparent);
    text-align: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 40px;
}

.logo i { color: var(--accent-primary); }
.logo span span { color: var(--accent-primary); }

.downloader-box {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 24px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.downloader-box h2 { margin-bottom: 20px; font-size: 1.5rem; }
.downloader-box h2 small { color: var(--text-muted); font-size: 0.9rem; }

.btn-cta {
    display: inline-block;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    padding: 18px 45px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(112, 0, 255, 0.3);
}

.btn-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(112, 0, 255, 0.5);
}

.hint { margin-top: 15px; color: var(--text-muted); font-size: 0.85rem; }

/* Ads */
.ad-banner {
    width: 100%;
    height: 120px;
    background: var(--glass);
    border: 1px dashed var(--glass-border);
    margin: 40px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 2px;
    border-radius: 12px;
}

/* Products Section */
.trends-section { padding: 40px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h1 { font-size: 2.5rem; margin-bottom: 10px; }
.gradient-text { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* Cards (Cleaned) */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s;
}

.product-card:hover { transform: translateY(-5px); border-color: var(--accent-primary); }

.product-image { height: 200px; position: relative; }
.product-image img { width: 100%; height: 100%; object-fit: cover; }

.platform-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 5px;
}

.tag-shopee { background: #ee4d2d; color: white; }
.tag-amazon { background: #00a8e1; color: white; }
.tag-aliexpress { background: #e62e04; color: white; }

.status-tag {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: white;
    color: #000;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: pulse-status 2s infinite;
}

@keyframes pulse-status {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.product-info { padding: 20px; }
.product-title { font-size: 1rem; font-weight: 600; margin-bottom: 15px; height: 2.8rem; overflow: hidden; }

.product-footer { display: flex; justify-content: space-between; align-items: center; }
.price { font-size: 1.2rem; font-weight: 800; color: var(--accent-primary); }

.btn-get {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn-get:hover { background: white; color: black; }

/* Modal Styles (Simplified) */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: var(--bg-card);
    margin: 5vh auto;
    padding: 30px;
    border: 1px solid var(--glass-border);
    width: 90%;
    max-width: 900px;
    border-radius: 24px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 768px) { .modal-grid { grid-template-columns: 1fr; } .input-group { flex-direction: column; } }

.loading-full {
    padding: 100px;
    text-align: center;
    font-size: 1.2rem;
    color: var(--accent-primary);
}
