@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
:root {
    --bg: #F8FAFC;
    --surface: #FFFFFF;
    --text-primary: #0F172A;
    --text-secondary: #64748B;
    --border: #E2E8F0;
    --accent: #0F172A;
    --accent-hover: #1E293B;
    --primary: #4F46E5;
    --success: #10B981;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08);
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body { font-family: 'Inter', sans-serif; background-color: var(--bg); color: var(--text-primary); line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }
.navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 20px 0; transition: var(--transition); }
.navbar.scrolled { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 12px 0; }
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; }
.nav-brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.03em; }
.brand-logo { width: 36px; height: 36px; background: var(--accent); color: #fff; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.nav-links { display: flex; gap: 32px; background: var(--surface); padding: 10px 32px; border-radius: 100px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--text-secondary); }
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-actions { display: flex; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 100px; font-size: 0.95rem; font-weight: 600; cursor: pointer; border: none; transition: var(--transition); }
.btn-primary { background: var(--accent); color: #FFF; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: var(--surface); border: 1px solid var(--border); color: var(--text-primary); box-shadow: var(--shadow-sm); }
.btn-outline:hover { border-color: #CBD5E1; transform: translateY(-2px); }
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 40px 0; margin-top: auto; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; color: var(--text-secondary); font-size: 0.9rem; }
.footer-links a { margin-left: 24px; font-weight: 500; }
.footer-links a:hover { color: var(--text-primary); }
.hero-section { padding: 180px 0 100px; text-align: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 100px; font-size: 0.9rem; font-weight: 600; color: var(--text-primary); box-shadow: var(--shadow-sm); margin-bottom: 32px; }
.badge-dot { width: 8px; height: 8px; background-color: var(--primary); border-radius: 50%; }
.hero-title { font-size: 4.5rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.04em; color: var(--text-primary); max-width: 900px; margin: 0 auto 32px; }
.text-gray { color: var(--text-secondary); }
.hero-desc { font-size: 1.2rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto 48px; }
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 80px; }
.bento-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; text-align: left; transition: var(--transition); box-shadow: var(--shadow-sm); }
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #CBD5E1; }
.bento-card.large { grid-column: span 2; }
.bento-icon { width: 56px; height: 56px; background: var(--bg); border: 1px solid var(--border); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--primary); margin-bottom: 24px; }
.bento-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.02em; }
.bento-card p { font-size: 1rem; color: var(--text-secondary); }
.section-heading { margin-bottom: 48px; text-align: center; }
.section-heading h2 { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; }
.market-controls { display: flex; gap: 16px; margin-bottom: 40px; }
.search-wrapper { position: relative; flex: 1; }
.search-icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--text-secondary); }
.input-clean { width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 20px 16px 50px; font-size: 1rem; color: var(--text-primary); outline: none; transition: var(--transition); box-shadow: var(--shadow-sm); font-family: inherit; }
.input-clean:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1); }
.select-clean { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 24px; font-size: 1rem; color: var(--text-primary); outline: none; cursor: pointer; box-shadow: var(--shadow-sm); min-width: 200px; font-family: inherit; }
.table-card { background: var(--surface); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--border); overflow: hidden; }
.table-responsive { overflow-x: auto; }
.table-clean { width: 100%; border-collapse: collapse; white-space: nowrap; }
.table-clean th { padding: 20px 24px; color: var(--text-secondary); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; background: #F8FAFC; border-bottom: 1px solid var(--border); text-align: left; }
.table-clean td { padding: 20px 24px; border-bottom: 1px solid var(--border); vertical-align: middle; font-weight: 500; }
.table-clean tr:last-child td { border-bottom: none; }
.table-clean tr:hover td { background: #F8FAFC; }
.price-val { font-family: 'Inter', sans-serif; font-weight: 700; }
.val-green { color: var(--success); }
.val-blue { color: var(--primary); }
.shops-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.shop-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 32px; box-shadow: var(--shadow-sm); transition: var(--transition); display: flex; flex-direction: column; }
.shop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #CBD5E1; }
.shop-card.vip { border: 1px solid rgba(245, 158, 11, 0.3); background: linear-gradient(180deg, rgba(245, 158, 11, 0.02) 0%, var(--surface) 100%); }
.shop-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.shop-avatar { width: 48px; height: 48px; background: var(--bg); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--text-secondary); border: 1px solid var(--border); }
.shop-info h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 8px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.badge-gray { background: var(--bg); color: var(--text-secondary); }
.shop-stats { display: flex; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 24px; margin-top: auto; }
.stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-label { font-size: 0.8rem; color: var(--text-secondary); font-weight: 600; text-transform: uppercase; }
.stat-val { font-size: 1.4rem; font-weight: 800; }
.layout-sidebar { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.sidebar-nav { position: sticky; top: 100px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px; box-shadow: var(--shadow-sm); }
.sidebar-link { display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: var(--text-secondary); font-weight: 600; border-radius: var(--radius-sm); transition: var(--transition); }
.sidebar-link:hover, .sidebar-link.active { background: var(--bg); color: var(--text-primary); }
.content-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 48px; box-shadow: var(--shadow-sm); }
.content-box h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 24px; letter-spacing: -0.02em; }
.content-box p { font-size: 1.05rem; color: var(--text-secondary); margin-bottom: 20px; }
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.4); backdrop-filter: blur(8px); z-index: 2000; display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.modal-overlay.active { display: flex; opacity: 1; }
.modal-box { width: 900px; max-width: 95%; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); display: flex; flex-direction: column; max-height: 85vh; transform: translateY(20px); transition: transform 0.3s; overflow: hidden; }
.modal-overlay.active .modal-box { transform: translateY(0); }
.modal-header { padding: 32px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.modal-title { font-size: 1.5rem; font-weight: 800; }
.modal-close { background: var(--bg); border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; color: var(--text-secondary); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.modal-close:hover { background: var(--border); color: var(--text-primary); }
.modal-body { display: grid; grid-template-columns: 1fr 1fr; height: 500px; overflow: hidden; }
.modal-col { display: flex; flex-direction: column; border-right: 1px solid var(--border); }
.modal-col:last-child { border-right: none; }
.col-header { padding: 16px 32px; background: var(--bg); font-weight: 700; color: var(--text-secondary); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.item-list { flex: 1; overflow-y: auto; padding: 16px 32px; }
.market-item { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border); }
.market-item:last-child { border-bottom: none; }
.m-name { font-weight: 600; color: var(--text-primary); }
.m-meta { text-align: right; }
.m-price { display: block; font-weight: 800; font-size: 1.1rem; }
.m-qty { font-size: 0.8rem; color: var(--text-secondary); font-weight: 500; }
@media (max-width: 992px) {
    .nav-links { display: none; }
    .hero-title { font-size: 3rem; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card.large { grid-column: span 1; }
    .layout-sidebar { grid-template-columns: 1fr; }
    .sidebar-nav { position: static; display: flex; overflow-x: auto; padding: 8px; margin-bottom: 24px; }
    .sidebar-link { white-space: nowrap; }
    .modal-body { grid-template-columns: 1fr; overflow-y: auto; }
    .modal-col { border-right: none; border-bottom: 1px solid var(--border); height: auto; }
}
@media (max-width: 768px) {
    .hero-section { padding: 140px 0 60px; }
    .hero-title { font-size: 2.2rem; }
    .market-controls { flex-direction: column; }
    .hide-mobile { display: none; }
    .content-box { padding: 24px; }
    .table-clean th, .table-clean td { padding: 16px; }
}