* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #0d0f18;
    --bg2: #12151f;
    --bg3: #1a1d2a;
    --border: #1e2130;
    --text: #e0e0e0;
    --text2: #888;
    --accent: #ff6b35;
    --green: #4caf8c;
    --radius: 8px;
    --font: 'Space Grotesk', sans-serif;
}

body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 14px; line-height: 1.5; }
a { text-decoration: none; color: inherit; }

/* NAVBAR */
.navbar { background: var(--bg2); border-bottom: 0.5px solid var(--border); position: sticky; top: 0; z-index: 100; }
.navbar-inner { max-width: 1200px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.logo { font-size: 20px; font-weight: 700; color: var(--accent); }
.logo span { color: var(--text); }
.nav-links { display: flex; gap: 16px; }
.nav-links a { font-size: 13px; color: var(--text2); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.lang-switcher { margin-left: auto; display: flex; gap: 6px; }
.lang-btn { background: var(--bg3); border: 0.5px solid var(--border); border-radius: 6px; padding: 4px 10px; font-size: 11px; color: var(--text2); }
.lang-btn.active { border-color: var(--accent); color: var(--accent); }

/* BRAND BAR */
.brand-bar { background: #0f1120; border-bottom: 0.5px solid var(--border); padding: 10px 0; }
.brand-bar-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.brand-btn { background: var(--bg2); border: 1.5px solid var(--border); border-radius: 8px; padding: 6px 14px; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: border-color 0.2s; }
.brand-btn:hover { border-color: #444; }
.brand-btn.active { border-color: var(--accent); background: #1a130d; }
.brand-logo { width: 22px; height: 22px; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #fff; flex-shrink: 0; }
.brand-name { font-size: 12px; font-weight: 700; white-space: nowrap; }

/* SEARCH */
.search-bar-row { background: var(--bg); padding: 12px 20px; border-bottom: 0.5px solid var(--border); }
.search-wrap { max-width: 1200px; margin: 0 auto; position: relative; }
.search-input { width: 100%; background: var(--bg2); border: 0.5px solid var(--border); border-radius: 8px; padding: 10px 16px 10px 40px; color: var(--text); font-size: 13px; font-family: var(--font); outline: none; transition: border-color 0.2s; }
.search-input:focus { border-color: var(--accent); }
.search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 15px; }

/* AD BANNER */
.ad-banner { background: var(--bg2); border-bottom: 0.5px solid var(--border); padding: 9px 20px; }
.ad-banner-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.ad-cta { background: var(--accent); color: #fff; border: none; border-radius: 6px; padding: 6px 14px; font-size: 12px; cursor: pointer; font-weight: 600; font-family: var(--font); }

/* MAIN */
.main { max-width: 1200px; margin: 0 auto; padding: 20px; }

/* SECTION */
.section { margin-bottom: 24px; }
.sec-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.sec-title { font-size: 15px; font-weight: 600; }
.see-all { font-size: 12px; color: var(--accent); }

/* CARDS */
.cards-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
@media (max-width: 900px) { .cards-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .cards-row { grid-template-columns: repeat(2, 1fr); } }

.card { background: var(--bg2); border: 0.5px solid var(--border); border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: border-color 0.2s; }
.card:hover { border-color: var(--accent); }
.card-media { width: 100%; aspect-ratio: 1; position: relative; overflow: hidden; background: var(--bg3); display: flex; align-items: center; justify-content: center; }
.card-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: opacity 0.3s; }
.card-media .gif { opacity: 0; }
.card:hover .gif { opacity: 1; }
.card:hover .still { opacity: 0; }
.card-placeholder { font-size: 32px; }
.rank { position: absolute; bottom: 6px; left: 6px; background: rgba(0,0,0,0.8); border-radius: 4px; padding: 2px 7px; font-size: 10px; font-weight: 600; }
.compat { position: absolute; top: 6px; right: 6px; border-radius: 4px; padding: 2px 6px; font-size: 9px; font-weight: 700; }
.gif-badge { position: absolute; top: 6px; left: 6px; background: rgba(0,0,0,0.7); border-radius: 4px; padding: 2px 5px; font-size: 9px; color: var(--accent); font-weight: 600; opacity: 0; transition: opacity 0.2s; }
.card:hover .gif-badge { opacity: 1; }
.card-info { padding: 8px 10px; }
.card-name { font-size: 12px; font-weight: 600; margin-bottom: 4px; line-height: 1.3; min-height: 30px; }
.card-source { font-size: 10px; color: var(--text2); margin-bottom: 4px; }
.card-price { font-size: 11px; color: var(--text2); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.price-val { color: var(--green); font-size: 13px; font-weight: 600; }
.disc { background: #0e2a1a; color: var(--green); font-size: 9px; padding: 2px 4px; border-radius: 3px; }
.free-badge { background: #0e2a1a; color: var(--green); font-size: 10px; padding: 2px 6px; border-radius: 3px; font-weight: 700; }

/* LISTS */
.lists-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin-bottom: 24px; }
@media (max-width: 700px) { .lists-grid { grid-template-columns: 1fr; } }
.list-title { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.list-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 0.5px solid var(--border); }
.list-thumb { width: 42px; height: 42px; background: var(--bg3); border-radius: 6px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 18px; overflow: hidden; }
.list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.list-info { flex: 1; min-width: 0; }
.list-name { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-meta { font-size: 10px; color: #444; margin-top: 2px; }
.list-price { text-align: right; flex-shrink: 0; }
.list-disc { font-size: 10px; color: var(--green); font-weight: 700; display: block; }
.list-val { font-size: 12px; color: var(--green); }

/* NEWS STRIP */
.news-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 24px; }
@media (max-width: 800px) { .news-strip { grid-template-columns: repeat(2, 1fr); } }
.news-card { background: var(--bg2); border: 0.5px solid var(--border); border-radius: 7px; padding: 10px 12px; cursor: pointer; transition: border-color 0.2s; }
.news-card:hover { border-color: #333; }
.news-tag { font-size: 9px; font-weight: 700; color: var(--accent); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.news-title { font-size: 12px; color: #ccc; line-height: 1.4; }
.news-time { font-size: 10px; color: #444; margin-top: 4px; }

/* FOOTER */
.footer { background: var(--bg2); border-top: 0.5px solid var(--border); padding: 24px 20px; margin-top: 40px; }
.footer-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.footer-logo { font-size: 18px; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
.footer-logo span { color: var(--text); }
.footer-text { font-size: 12px; color: var(--text2); margin-bottom: 12px; }
.footer-links { display: flex; justify-content: center; gap: 16px; margin-bottom: 12px; }
.footer-links a { font-size: 12px; color: var(--text2); }
.footer-links a:hover { color: var(--accent); }
.footer-affiliate { font-size: 11px; color: #444; }
