@import "tailwindcss";

:root { --ink:#15131f; --muted:#716e7d; --purple:#6f4cf4; --purple-dark:#5130d9; --line:#e9e6ef; --paper:#fbfaff; --card:#fff; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","PingFang SC","Microsoft YaHei",sans-serif; }
button,input { font:inherit; }
a { color:inherit; text-decoration:none; }
.topbar { height:74px; padding:0 max(28px,calc((100vw - 1200px)/2)); display:flex; align-items:center; gap:36px; background:rgba(255,255,255,.92); border-bottom:1px solid rgba(233,230,239,.8); position:sticky; top:0; z-index:20; backdrop-filter:blur(18px); }
.brand { display:flex; align-items:center; gap:11px; min-width:185px; }
.brand img,.footer-brand img { width:42px; height:42px; border-radius:13px; object-fit:cover; box-shadow:0 5px 18px rgba(80,52,170,.18); }
.brand span { display:flex; flex-direction:column; line-height:1; }
.brand strong { font-size:18px; letter-spacing:.08em; }
.brand small { color:#918d9d; font-size:11px; margin-top:6px; letter-spacing:.24em; }
.search { width:min(480px,45vw); height:42px; margin:0 auto; border:1px solid var(--line); border-radius:13px; display:flex; align-items:center; padding:0 13px; color:#aaa5b5; background:#f8f7fb; transition:.2s; }
.search:focus-within { border-color:#a990ff; box-shadow:0 0 0 4px rgba(111,76,244,.09); background:#fff; }
.search span { font-size:24px; transform:rotate(-15deg); }
.search input { border:0; outline:0; flex:1; background:transparent; padding:0 10px; color:var(--ink); }
.search button { border:0; background:transparent; color:#aaa5b5; font-size:20px; cursor:pointer; }
.notice-button { border:1px solid var(--line); background:#fff; padding:10px 18px; border-radius:12px; cursor:pointer; font-weight:650; }
.hero { max-width:1200px; margin:0 auto; min-height:480px; padding:76px 34px 60px; display:grid; grid-template-columns:1.1fr .9fr; align-items:center; gap:64px; overflow:hidden; }
.eyebrow { color:#7351e8; font-size:13px; font-weight:750; letter-spacing:.08em; display:flex; align-items:center; gap:9px; }
.eyebrow i { width:8px; height:8px; background:#7a56ef; border-radius:50%; box-shadow:0 0 0 6px rgba(122,86,239,.12); }
.hero h1 { font-size:clamp(48px,6vw,74px); line-height:1.04; margin:24px 0 18px; letter-spacing:-.065em; }
.hero h1 em { color:var(--purple); font-style:normal; }
.hero-copy>p { color:var(--muted); line-height:1.8; font-size:16px; max-width:520px; }
.hero-actions { display:flex; gap:12px; margin-top:30px; }
.hero-actions a { padding:14px 20px; border-radius:13px; font-weight:700; transition:.2s; }
.primary { color:#fff; background:var(--purple); box-shadow:0 12px 28px rgba(111,76,244,.28); }
.primary:hover { background:var(--purple-dark); transform:translateY(-2px); }
.primary span { margin-left:15px; }
.secondary { background:#fff; border:1px solid var(--line); }
.hero-panel { min-height:340px; border-radius:38px; background:linear-gradient(145deg,#ede8ff,#faf8ff); position:relative; display:grid; place-items:center; }
.orb { position:absolute; border-radius:50%; filter:blur(2px); }
.orb-one { width:180px; height:180px; right:-45px; top:-50px; background:linear-gradient(135deg,#8062f9,#cbbfff); opacity:.42; }
.orb-two { width:110px; height:110px; left:-25px; bottom:-25px; background:#d6cdfc; opacity:.6; }
.source-card { width:min(360px,85%); padding:24px; background:rgba(255,255,255,.88); border:1px solid rgba(255,255,255,.9); box-shadow:0 28px 70px rgba(75,51,155,.18); backdrop-filter:blur(14px); border-radius:24px; position:relative; transform:rotate(-2deg); }
.source-head { display:flex; align-items:center; gap:12px; }
.source-head img { width:52px; height:52px; border-radius:15px; object-fit:cover; }
.source-head div { display:flex; flex-direction:column; flex:1; gap:5px; }.source-head b { font-size:16px; }.source-head span { color:#9a96a5; font-size:12px; }.source-head i { font-style:normal; color:#fff; background:#31be78; border-radius:50%; width:23px; height:23px; text-align:center; line-height:23px; }
.source-code { margin:20px 0; padding:11px 13px; border-radius:10px; color:#675e7b; background:#f4f1fa; font:12px ui-monospace,SFMono-Regular,Menlo,monospace; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.source-stats { display:flex; gap:26px; border-top:1px solid #eeeaf4; padding-top:17px; color:#9792a3; font-size:12px; }.source-stats span { display:flex; flex-direction:column; gap:3px; }.source-stats b { color:var(--ink); font-size:18px; }
.quick-stats { max-width:1132px; margin:0 auto 70px; display:grid; grid-template-columns:repeat(4,1fr); border:1px solid var(--line); background:#fff; border-radius:20px; box-shadow:0 12px 36px rgba(44,31,80,.05); }
.quick-stats>div,.quick-stats>a { display:flex; align-items:center; gap:14px; padding:22px 26px; border-right:1px solid var(--line); }.quick-stats>a { border-right:0; }.quick-stats p { display:flex; flex-direction:column; margin:0; gap:4px; }.quick-stats b { font-size:18px; }.quick-stats small { color:#9994a3; }
.stat-icon { width:42px; height:42px; display:grid; place-items:center; border-radius:13px; font-weight:800; }.violet { background:#eee9ff;color:#7251e8; }.blue { background:#e6f2ff;color:#2581da; }.green { background:#e6f8ef;color:#24a464; }.orange { background:#fff1e3;color:#e27c23; }
.catalog { max-width:1200px; margin:0 auto; padding:0 34px 90px; }
.section-heading { display:flex; align-items:end; justify-content:space-between; margin-bottom:28px; }.section-heading span { font-size:11px; color:#8062ed; font-weight:800; letter-spacing:.18em; }.section-heading h2 { margin:7px 0 8px; font-size:34px; letter-spacing:-.04em; }.section-heading p { margin:0;color:#918d9c; }.section-heading>strong { color:#8e8998; font-size:13px; font-weight:600; }
.category-tabs { display:flex; gap:8px; overflow-x:auto; padding-bottom:8px; margin-bottom:25px; scrollbar-width:thin; }.category-tabs button { flex:none; border:1px solid var(--line); background:#fff; color:#777281; border-radius:12px; padding:10px 14px; cursor:pointer; font-weight:650; }.category-tabs button span { margin-right:6px; }.category-tabs button small { margin-left:5px; padding:2px 6px; border-radius:8px; background:#f0edfa; color:#81769f; font-size:10px; }.category-tabs button.active { color:#fff; border-color:var(--purple); background:var(--purple); box-shadow:0 7px 18px rgba(111,76,244,.2); }.category-tabs button.active small { background:rgba(255,255,255,.18); color:#fff; }
.app-grid,.loading-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; }
.app-card { background:#fff; border:1px solid var(--line); border-radius:18px; padding:20px; min-width:0; transition:.2s; }.app-card:hover { transform:translateY(-3px); box-shadow:0 15px 35px rgba(44,31,80,.08); border-color:#dcd5f2; }
.app-top { display:flex; gap:14px; align-items:center; }.app-top>img { width:67px; height:67px; border-radius:16px; object-fit:cover; background:#f1eff5; box-shadow:0 5px 14px rgba(30,23,48,.1); }.app-title { flex:1; min-width:0; }.app-title>span { font-size:10px; padding:3px 7px; border-radius:5px; color:#7054d8; background:#f0ecff; }.app-title h3 { margin:7px 0 4px; font-size:17px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }.app-title p { margin:0; color:#9792a1; font-size:12px; }
.get { flex:none; padding:8px 13px; border-radius:20px; background:#eeeaff; color:#6948df; font-size:12px; font-weight:800; }.get.locked { color:#a65a1a; background:#fff0df; }
.description { height:44px; margin:17px 0 15px; color:#706b7b; font-size:13px; line-height:1.7; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; white-space:pre-line; }
.app-card footer { display:flex; gap:18px; color:#a19ca9; font-size:11px; padding-top:13px; border-top:1px solid #f1eef4; }
.load-more { display:block; margin:30px auto 0; border:1px solid var(--line); padding:13px 22px; border-radius:13px; background:#fff; cursor:pointer; color:#615b6c; font-weight:700; }.load-more span { margin-left:8px; }
.skeleton { height:194px; border-radius:18px; background:linear-gradient(90deg,#f1eef5 25%,#faf9fc 50%,#f1eef5 75%); background-size:200% 100%; animation:shimmer 1.3s infinite; }.empty { padding:80px 20px;text-align:center;color:#8f8a99; }.empty span { font-size:40px; }.empty h3 { color:var(--ink); font-size:22px; }
.site-footer { border-top:1px solid var(--line); background:#fff; padding:42px max(34px,calc((100vw - 1132px)/2)); display:grid; grid-template-columns:1fr 1.4fr auto; align-items:center; gap:40px; color:#898493; font-size:12px; line-height:1.7; }.footer-brand { display:flex;align-items:center;gap:12px;}.footer-brand div { display:flex;flex-direction:column;gap:5px;}.footer-brand b { color:var(--ink);font-size:15px;}.footer-brand span { font-size:11px; }.site-footer>a { color:#6948df;font-weight:700; }
.modal-backdrop { position:fixed; inset:0; z-index:50; display:grid; place-items:center; padding:20px; background:rgba(24,18,39,.48); backdrop-filter:blur(7px); }.modal { width:min(480px,100%); background:#fff; border-radius:24px; padding:34px; box-shadow:0 30px 100px rgba(0,0,0,.25); position:relative; }.modal-close { position:absolute;right:18px;top:15px;border:0;background:transparent;font-size:28px;color:#96919e;cursor:pointer;}.modal-icon { display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#eee9ff;color:#704ce8;font-weight:900; }.modal h2 { margin:18px 0 12px; }.modal p { white-space:pre-line; color:#6f6a79; line-height:1.8; font-size:14px; }.modal>a { display:inline-block;margin-top:12px;padding:11px 17px;border-radius:11px;background:var(--purple);color:#fff;font-weight:700; }
.modal-backdrop[hidden] { display:none; }
@keyframes shimmer { to { background-position:-200% 0; } }
@media (max-width:850px) { .topbar { padding:0 18px;gap:13px; }.brand { min-width:auto; }.brand span { display:none; }.search { width:auto;flex:1; }.notice-button { padding:9px 12px; }.hero { grid-template-columns:1fr;padding-top:55px;gap:35px; }.hero-panel { min-height:280px; }.quick-stats { margin:0 22px 55px; grid-template-columns:1fr 1fr; }.quick-stats>div,.quick-stats>a { border-bottom:1px solid var(--line); }.quick-stats>div:nth-child(2) { border-right:0; }.app-grid,.loading-grid { grid-template-columns:1fr; }.site-footer { grid-template-columns:1fr;gap:18px; } }
@media (max-width:520px) { .hero { padding:42px 20px; }.hero h1 { font-size:47px; }.hero-actions { flex-direction:column; }.hero-actions a { text-align:center; }.hero-panel { min-height:250px; }.quick-stats { margin-left:14px;margin-right:14px;grid-template-columns:1fr; }.quick-stats>div,.quick-stats>a { border-right:0; }.catalog { padding:0 15px 65px; }.section-heading { align-items:start; }.section-heading>strong { padding-top:24px; }.app-card { padding:16px; }.app-top>img { width:58px;height:58px; }.site-footer { padding:35px 22px; } }
