:root {
--shopee: #ff4d2d;
--shopee-2: #ff8a65;
--gold: #ffc24d;
--text: #ffffff;
--muted: rgba(255,255,255,0.6);
--glass: rgba(255,255,255,0.05);
--glass-border: rgba(255,255,255,0.1);
}

* { box-sizing: border-box; }

body {
margin: 0;
padding: 0 14px 40px;
font-family: 'Inter', sans-serif;
background: radial-gradient(circle at 20% 20%, #1f1f2e, #0f0f1a);
background-attachment: fixed;
color: var(--text);
min-height: 100vh;
}

/* ===== THANH 3 TAB (pill — đồng bộ cả 3 trang) ===== */
.site-tabs {
display: flex;
gap: 8px;
max-width: 560px;
margin: 18px auto 6px;
padding: 0 2px;
justify-content: center;
box-sizing: border-box;
}
.site-tabs a {
flex: 1;
text-align: center;
padding: 11px 10px;
border-radius: 999px;
font-weight: 700;
font-size: 14px;
white-space: nowrap;
color: #fff;
text-decoration: none;
background: var(--glass);
border: 1px solid var(--glass-border);
transition: .2s;
}
.site-tabs a:hover { background: rgba(255,255,255,0.12); }
.site-tabs a.active {
background: linear-gradient(135deg, #ff4d2d, #ff8a65);
border-color: transparent;
box-shadow: 0 4px 14px rgba(255,77,45,0.4);
}

/* ===== HEADER ===== */
.header {
text-align: center;
padding: 18px 10px 4px;
font-size: 28px;
font-weight: 800;
background: linear-gradient(90deg, #ff4d2d, #ff8a65);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.subtitle {
text-align: center;
color: var(--muted);
font-size: 13px;
margin: 0 auto 18px;
max-width: 420px;
}
/* ===== NOTICE (nhắc theo dõi shop) ===== */
.notice {
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
width: max-content;
max-width: calc(100% - 28px);
margin: 0 auto 18px;
padding: 8px 16px;
border-radius: 999px;
font-size: 13px;
font-weight: 600;
text-align: center;
color: var(--text);
background: rgba(255,255,255,0.08);
border: 1px solid var(--glass-border);
}
/* ===== JOIN (Zalo / Telegram) ===== */
.join {
max-width: 520px;
margin: 0 auto 16px;
padding: 15px;
border-radius: 16px;
background: var(--glass);
border: 1px solid var(--glass-border);
backdrop-filter: blur(20px);
text-align: center;
}
.join-title { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.join-actions { display: flex; gap: 10px; }
.join-actions a {
flex: 1;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
padding: 12px;
border: none;
border-radius: 12px;
color: #fff;
font-weight: 700;
font-size: 14px;
text-decoration: none;
transition: transform .2s ease, box-shadow .2s ease;
}
.join-actions a:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.4); }
.zalo { background: linear-gradient(90deg, #0068ff, #4a9bff); }
.tele { background: linear-gradient(90deg, #229ed9, #46c0f0); }

/* ===== STATS ===== */
.stats-bar {
max-width: 520px;
margin: 0 auto 14px;
display: flex;
gap: 12px;
justify-content: center;
}
.stat {
flex: 1;
max-width: 200px;
background: var(--glass);
border: 1px solid var(--glass-border);
border-radius: 14px;
padding: 12px 8px;
text-align: center;
}
.stat-num { display: block; font-size: 1.5rem; font-weight: 800; color: var(--shopee-2); }
.stat-label { font-size: 0.72rem; color: var(--muted); }

/* ===== FILTER ===== */
.filter-bar {
max-width: 520px;
margin: 0 auto 18px;
display: flex;
gap: 8px;
justify-content: center;
}
.filter-btn {
font-family: inherit;
font-size: 0.82rem;
font-weight: 700;
padding: 9px 16px;
border-radius: 999px;
border: 1px solid var(--glass-border);
background: var(--glass);
color: var(--muted);
cursor: pointer;
transition: all .2s ease;
}
.filter-btn:hover { color: #fff; border-color: var(--shopee-2); }
.filter-btn.active {
background: linear-gradient(135deg, #ff4d2d, #ff8a65);
color: #fff;
border-color: transparent;
box-shadow: 0 4px 14px rgba(255,77,45,0.4);
}

/* ===== GRID ===== */
.data-list {
max-width: 960px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 12px;
}
@media (min-width: 560px) { .data-list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 800px) { .data-list { grid-template-columns: repeat(4, 1fr); } }

/* ===== CARD ===== */
.card {
position: relative;
display: flex;
flex-direction: column;
gap: 8px;
padding: 14px 12px;
border-radius: 16px;
background: var(--glass);
border: 1px solid var(--glass-border);
backdrop-filter: blur(20px);
box-shadow: 0 8px 24px rgba(0,0,0,0.35);
text-align: center;
transition: transform .15s ease, box-shadow .15s ease;
overflow: hidden;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(255,77,45,0.25); }
.card::before {
content: "";
position: absolute;
left: 0; right: 0; top: 0;
height: 3px;
background: linear-gradient(90deg, var(--shopee), var(--gold));
}

.status-badge {
align-self: center;
font-size: 0.62rem;
font-weight: 800;
letter-spacing: 0.5px;
padding: 3px 9px;
border-radius: 999px;
}
.status-badge.live { background: rgba(255,77,45,0.20); color: #ff8a65; animation: pulse 1.2s infinite; }
.status-badge.soon { background: rgba(255,255,255,0.08); color: var(--muted); }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

.shop-name {
font-size: 0.9rem;
font-weight: 700;
color: #fff;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
text-overflow: ellipsis;
min-height: 2.4em;
line-height: 1.2;
}
.card-meta { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.coin-section {
font-size: 0.95rem;
font-weight: 800;
color: var(--gold);
background: rgba(255,194,77,0.12);
padding: 3px 10px;
border-radius: 999px;
white-space: nowrap;
}
.countdown {
font-size: 0.76rem;
font-weight: 700;
color: #ff8a65;
background: rgba(255,77,45,0.12);
padding: 4px 10px;
border-radius: 999px;
margin: 0 auto !important;
}
.button-section { margin-top: auto; }
.button-section a,
.button-section button {
display: block;
width: 100%;
background: linear-gradient(135deg, #ff4d2d, #ff8a65);
color: #fff;
border: none;
border-radius: 12px;
padding: 10px 0;
cursor: pointer;
font-weight: 700;
font-size: 0.85rem;
font-family: inherit;
text-decoration: none;
box-shadow: 0 6px 16px rgba(255,77,45,0.35);
transition: transform .15s ease, box-shadow .15s ease;
}
.button-section a:hover,
.button-section button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255,77,45,0.5); }

/* ===== SKELETON ===== */
.skel-card {
height: 158px;
border-radius: 16px;
background: rgba(255,255,255,0.06);
position: relative;
overflow: hidden;
}
.skel-card::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10), transparent);
transform: translateX(-100%);
animation: shimmer 1.3s infinite;
}
@keyframes shimmer { 100% { transform: translateX(100%); } }

/* ===== EMPTY & FOOTER ===== */
.empty-state {
max-width: 960px;
margin: 0 auto;
padding: 44px 20px;
color: var(--muted);
text-align: center;
}
.empty-state .empty-icon { font-size: 2.6rem; margin-bottom: 10px; }
.empty-state p { font-size: 0.92rem; font-weight: 500; margin: 0; }

.site-footer {
max-width: 960px;
margin: 28px auto 0;
padding: 18px 0;
text-align: center;
font-size: 0.78rem;
color: var(--muted);
border-top: 1px solid var(--glass-border);
}
