@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

:root {
  --ink: #172235;
  --muted: #64748b;
  --line: #e6ecf3;
  --canvas: #f5f8fc;
  --surface: #ffffff;
  --brand: #2864dc;
  --brand-dark: #1d4eb5;
  --brand-soft: #e9f0ff;
  --accent: #f4a62a;
  --shadow: 0 16px 44px rgba(35, 58, 97, .09);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 15px/1.55 'DM Sans', sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.container { width: min(1200px, calc(100% - 40px)); margin: auto; }
.topbar { background: #172235; color: #dce5f4; font-size: 13px; }
.topbar .container { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.top-links, .account-links { display: flex; align-items: center; gap: 21px; }
.top-links a:hover, .account-links a:hover { color: white; }
.top-links a:first-child { color: #f7c35d; }
.main-nav { background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.main-nav .container { height: 78px; display: flex; align-items: center; gap: 38px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: max-content; font: 800 19px 'Manrope', sans-serif; letter-spacing: -.7px; }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; color: white; background: var(--brand); border-radius: 11px 11px 11px 3px; box-shadow: 0 6px 16px color-mix(in srgb, var(--brand) 30%, transparent); }
.nav-links { display: flex; gap: 29px; color: #536174; font-weight: 600; }
.nav-links a:hover, .nav-links .active { color: var(--brand); }
.nav-spacer { flex: 1; }
.add-site { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 9px; padding: 11px 15px; color: white; background: var(--brand); box-shadow: 0 7px 15px color-mix(in srgb, var(--brand) 20%, transparent); font-weight: 700; }
.add-site:hover, .vote-button:hover { background: var(--brand-dark); }

.hero { overflow: hidden; position: relative; min-height: 385px; padding: 64px 0; color: white; background: linear-gradient(120deg, #172235 0%, #203b69 52%, var(--brand) 150%); }
.hero::after { content: ''; position: absolute; width: 650px; height: 650px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; right: -210px; top: -335px; box-shadow: 0 0 0 54px rgba(255,255,255,.035), 0 0 0 108px rgba(255,255,255,.025); }
.hero .container { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 13px; color: #b8d2ff; letter-spacing: 1.6px; text-transform: uppercase; font-size: 11px; font-weight: 700; }
h1, h2, h3 { font-family: 'Manrope', sans-serif; line-height: 1.16; letter-spacing: -.8px; }
.hero h1 { max-width: 590px; margin: 0; font-size: clamp(34px, 5vw, 54px); }
.hero p { max-width: 560px; margin: 17px 0 28px; color: #dbe7fb; font-size: 17px; }
.hero-search { margin-top: 42px; padding: 7px 8px 7px 18px; display: flex; align-items: center; max-width: 710px; gap: 12px; background: white; border-radius: 12px; box-shadow: 0 16px 35px rgba(5,20,47,.25); }
.hero-search input { flex: 1; min-width: 0; padding: 8px 0; border: 0; outline: 0; color: var(--ink); font: inherit; }
.hero-quick-links { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }.hero-quick-links a { padding:5px 9px; border:1px solid rgba(255,255,255,.3); border-radius:6px; color:#dbe7fb; font-size:12px; font-weight:600; }.hero-quick-links a:hover { color:white; background:rgba(255,255,255,.1); }
.hero.hero-compact { min-height:0; padding:34px 0 38px; }.hero-compact h1 { font-size:clamp(30px,4vw,40px); }.hero-compact p { margin:8px 0 18px; font-size:16px; }.hero-compact .hero-search { margin-top:18px; }
.search-icon { color: var(--muted); font-size: 18px; }
.button { border: 1px solid transparent; border-radius: 9px; padding: 11px 17px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.button-primary { color: white; background: var(--brand); }
.button-light { color: white; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.09); }
.hero-search .button { color: white; background: var(--brand); }

.stats-strip { margin-top: -34px; position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: white; border-radius: 13px; box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 19px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border: 0; }.stat b { display: block; font: 800 22px 'Manrope'; }.stat span { color: var(--muted); font-size: 12px; }
.page-section { padding: 58px 0; }.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 21px; }.section-head h2 { margin: 0; font-size: 26px; }.section-head p { margin: 7px 0 0; color: var(--muted); }.text-link { color: var(--brand); font-weight: 700; font-size: 14px; }
.list-layout { display: block; }
.server-list { display: grid; gap: 12px; }
.ranking-label { margin: 7px 0 -2px; color: #7a8799; font-size: 11px; font-weight: 800; letter-spacing: 1.35px; text-transform: uppercase; }
.ranking-label + .premium-server { margin-top: 0; }
.premium-server { display: grid; grid-template-columns: 58px minmax(0, 1fr) 96px; align-items: center; gap: 17px; padding: 15px 17px; color: #4f3c13; background: linear-gradient(105deg, #fffaf0, #fff4cf); border: 1px solid #efd17b; border-radius: 13px; box-shadow: 0 12px 28px rgba(167, 115, 13, .12); transition: .2s ease; }
.premium-server:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(167, 115, 13, .18); }
.premium-rank { display: grid; align-content: center; color: #a46c0c; font: 800 23px 'Manrope'; text-align: center; }.premium-rank small { color:#a98850; font:10px 'DM Sans'; letter-spacing:.6px; text-transform:uppercase; }
.premium-main, .server-main { min-width:0; }.premium-banner { display:block; width:728px; max-width:100%; overflow:hidden; border-radius:7px; }.premium-banner img { display:block; width:728px; max-width:100%; height:90px; }.premium-content { padding-top:11px; }.premium-content .server-name { color:#3d2c0c; }.server-description { margin:7px 0 10px; color:var(--muted); font-size:13px; line-height:1.45; }.premium-content .server-description { color:#705b30; }.premium-badge { display:inline-block; margin-left:7px; padding:3px 7px; color:#704903; background:#f6cc60; border:1px solid #e6b947; border-radius:5px; vertical-align:2px; font-size:10px; font-weight:800; letter-spacing:.5px; }.premium-server .votes { color:#704b05; background:#f9df98; }.premium-server .votes b { color:#5c410d; }
.server-card { display: grid; grid-template-columns: 58px minmax(0, 1fr) 96px; align-items: center; gap: 17px; padding: 13px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; transition: .2s ease; }
.server-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 25%, var(--line)); }
.rank { color: var(--brand); font: 800 23px 'Manrope'; text-align: center; }.rank small { display:block; color: var(--muted); font: 10px 'DM Sans'; text-transform: uppercase; letter-spacing: .6px; }
.server-banner { display:block; width:468px; max-width:100%; overflow:hidden; border-radius:6px; background:#e9eef5; }.server-banner img { display:block; width:100%; height:auto; }.server-content { padding-top:9px; }.server-name { font: 700 16px 'Manrope'; }.server-name:hover { color:var(--brand); }.server-tags { display:flex; flex-wrap:wrap; gap:6px; margin-top:9px; }.server-tags span { padding:4px 8px; border:1px solid; border-radius:5px; font-size:10px; font-weight:800; letter-spacing:.05px; line-height:1.2; }.server-tags .tag-cap { color:#315dbe; border-color:#bdd0ff; background:#edf3ff; }.server-tags .tag-region { color:#347350; border-color:#bde6cb; background:#effbf3; }.server-tags .tag-rates { color:#9a5d06; border-color:#f0cf89; background:#fff6df; }.server-tags .tag-feature { color:#744db2; border-color:#d9c8fa; background:#f5f0ff; }.premium-content .server-tags .tag-cap { color:#73530d; border-color:#e9c666; background:#fff5d7; }.premium-content .server-tags .tag-region { color:#397343; border-color:#b7dfbd; background:#f4fff1; }.premium-content .server-tags .tag-rates { color:#9b5900; border-color:#efcc7e; background:#fff8e6; }.premium-content .server-tags .tag-feature { color:#6f43a6; border-color:#d7c2f1; background:#fbf4ff; }.votes { display:grid; place-items:center; min-width:96px; min-height:49px; padding:7px 10px; border-radius:8px; color:var(--brand); background:var(--brand-soft); text-align:center; font-size:11px; font-weight:700; line-height:1.12; }.votes b { display:block; margin-top:3px; color:var(--ink); font:800 16px 'Manrope'; }.votes:hover { color:var(--brand-dark); background:#dce8ff; }
.side-card, .content-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }.side-card { padding: 22px; }.side-card + .side-card { margin-top: 16px; }.side-card h3 { margin: 0 0 13px; font-size: 16px; }.game-list { display: grid; gap: 9px; }.game-list a { display: flex; justify-content: space-between; padding: 4px 0; color: #536174; }.game-list a:hover { color: var(--brand); }.game-list span { color: #a8b4c3; font-size: 12px; }.notice { padding: 19px; background: #fff9ed; border: 1px solid #ffedc1; border-radius: 12px; color: #725321; font-size: 13px; }.notice b { display: block; margin-bottom: 4px; color: #68410a; }
footer { padding: 29px 0; color: #8995a8; background: #172235; font-size: 13px; }footer .container { display:flex; justify-content:space-between; gap:15px; } footer a { color:#d4dce9; margin-left: 17px; }

.pagination { display:flex; align-items:center; justify-content:center; gap:6px; padding-top:13px; }.pagination a, .pagination span { display:grid; place-items:center; min-width:34px; height:34px; padding:0 9px; border:1px solid var(--line); border-radius:8px; color:#536174; font-size:13px; font-weight:700; }.pagination a:hover { color:var(--brand); border-color:color-mix(in srgb,var(--brand) 35%,var(--line)); }.pagination .current { color:white; background:var(--brand); border-color:var(--brand); }.pagination .pagination-prev, .pagination .pagination-next { min-width:auto; }.pagination .disabled { pointer-events:none; color:#b1bdcc; background:#f8fafc; }

/* Details */
.crumb { padding: 20px 0; color: var(--muted); font-size: 13px; }.crumb a { color: var(--brand); }.detail-hero { padding: 42px 0 46px; background: linear-gradient(125deg, #e9f0ff, #f9fbff 58%, #eef4ff); border-bottom: 1px solid var(--line); }.detail-hero-main { display:grid; grid-template-columns: 82px minmax(0,1fr) auto; gap: 22px; align-items: center; }.detail-logo { width: 82px; height:82px; display:grid; place-items:center; color:var(--brand); background:white; border:1px solid #d7e2f5; border-radius:17px; box-shadow: 0 8px 22px rgba(49,93,159,.12); font:800 24px 'Manrope'; }.detail-title h1 { margin: 0; font-size: clamp(27px, 4vw, 38px); }.detail-title p { margin: 7px 0 0; color: var(--muted); }.detail-title .badge { margin-left:0; }.vote-button { min-width: 145px; padding: 14px 19px; border: 0; color:white; background:var(--brand); border-radius:10px; font-weight:800; box-shadow: 0 10px 19px color-mix(in srgb, var(--brand) 24%, transparent); }.vote-button small { display:block; opacity:.75; font-weight:500; font-size:11px; }
.detail-banner-row { padding-top:22px; padding-left:104px; }.detail-banner { display:block; width:728px; max-width:100%; overflow:hidden; border:1px solid rgba(34,61,104,.15); border-radius:8px; box-shadow:0 9px 22px rgba(47,75,120,.11); }.detail-banner img { display:block; width:100%; height:auto; }.detail-grid { display:grid; grid-template-columns: minmax(0, 1fr) 322px; gap:27px; padding:38px 0 58px; }.content-card { padding:28px; }.content-card h2 { margin:0 0 15px; font-size:23px; }.content-card p { color:#536174; }.feature-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:12px; margin-top:24px; }.feature { padding:15px; background:#f7f9fd; border-radius:9px; }.feature b { display:block; margin-bottom:4px; font-size:13px; }.feature span { color:var(--muted); font-size:12px; }.video-section { margin-top:25px; padding-top:22px; border-top:1px solid var(--line); }.video-heading { display:flex; align-items:center; gap:10px; }.video-icon { display:grid; place-items:center; width:31px; height:31px; color:#e13d3d; background:#fff0f0; border-radius:8px; font-size:12px; }.video-heading h3 { margin:0; font-size:15px; }.video-heading p { margin:1px 0 0; font-size:12px; }.youtube-embed { margin-top:15px; overflow:hidden; aspect-ratio:16/9; background:#172235; border-radius:10px; box-shadow:inset 0 0 0 1px rgba(255,255,255,.12); }.youtube-embed iframe { display:block; width:100%; height:100%; border:0; }.chart { height:160px; margin-top:22px; position:relative; border-bottom:1px solid var(--line); background:repeating-linear-gradient(to bottom, transparent 0, transparent 38px, #edf1f6 39px, transparent 40px); }.chart svg { position:absolute; inset:0; width:100%; height:100%; overflow:visible; }.chart-labels { display:flex; justify-content:space-between; padding-top:7px; color:var(--muted); font-size:11px; }.related-servers { margin-top:24px; }.related-servers .section-head { margin-bottom:15px; }.related-servers .section-head h2 { margin-bottom:0; }.related-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:13px; }.related-card { overflow:hidden; background:var(--surface); border:1px solid var(--line); border-radius:11px; box-shadow:0 7px 20px rgba(35,58,97,.05); transition:.2s ease; }.related-card:hover { border-color:color-mix(in srgb, var(--brand) 32%, var(--line)); box-shadow:var(--shadow); transform:translateY(-3px); }.related-shot { display:block; height:108px; overflow:hidden; background:#1c3157; }.related-shot img { display:block; width:100%; height:100%; object-fit:cover; object-position:center; }.related-shot.screenshot-two img { object-position:32% center; filter:hue-rotate(28deg) saturate(.8); }.related-shot.screenshot-three img { object-position:80% center; filter:hue-rotate(-20deg) brightness(.86); }.related-card-body { display:block; padding:13px; }.related-card-body small, .related-card-body b, .related-card-body em { display:block; }.related-card-body small { color:var(--brand); font-size:10px; font-weight:800; letter-spacing:.15px; text-transform:uppercase; }.related-card-body b { margin:4px 0 5px; font:700 14px 'Manrope'; }.related-card-body em { color:var(--muted); font-size:11px; font-style:normal; }.details-sidebar { display:grid; gap:16px; align-content:start; }.info-card { padding:22px; background:white; border:1px solid var(--line); border-radius:12px; }.info-card h3 { margin:0 0 13px; font-size:16px; }.info-row { display:flex; justify-content:space-between; gap:10px; padding:10px 0; border-top:1px solid var(--line); color:var(--muted); font-size:13px; }.info-row:first-of-type { border-top:0; }.info-row b { color:var(--ink); text-align:right; }.external-links { display:grid; gap:8px; }.external-links a { padding:10px 12px; border-radius:8px; background:var(--brand-soft); color:var(--brand); font-weight:700; font-size:13px; }.share { display:flex; gap:8px; }.share a { display:grid; place-items:center; width:33px; height:33px; border:1px solid var(--line); border-radius:8px; color:var(--muted); }

/* Detail page additions */
.detail-banner-row { padding:22px 0 0 104px; }.detail-banner { display:block; width:728px; max-width:100%; overflow:hidden; border:1px solid rgba(34,61,104,.15); border-radius:8px; box-shadow:0 9px 22px rgba(47,75,120,.11); }.detail-banner img { display:block; width:100%; height:auto; }.video-section { margin-top:25px; padding-top:22px; border-top:1px solid var(--line); }.video-heading { display:flex; align-items:center; gap:10px; }.video-icon { display:grid; place-items:center; width:31px; height:31px; color:#e13d3d; background:#fff0f0; border-radius:8px; font-size:12px; }.video-heading h3 { margin:0; font-size:15px; }.video-heading p { margin:1px 0 0; font-size:12px; }.youtube-embed { margin-top:15px; overflow:hidden; aspect-ratio:16/9; background:#172235; border-radius:10px; }.youtube-embed iframe { display:block; width:100%; height:100%; border:0; }.related-servers { margin-top:24px; }.related-servers .section-head { margin-bottom:15px; }.related-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:13px; }.related-card { overflow:hidden; background:var(--surface); border:1px solid var(--line); border-radius:11px; box-shadow:0 7px 20px rgba(35,58,97,.05); transition:.2s ease; }.related-card:hover { border-color:color-mix(in srgb,var(--brand) 32%,var(--line)); box-shadow:var(--shadow); transform:translateY(-3px); }.related-shot { display:block; height:108px; overflow:hidden; background:#1c3157; }.related-shot img { display:block; width:100%; height:100%; object-fit:cover; }.screenshot-two img { object-position:32% center; filter:hue-rotate(28deg) saturate(.8); }.screenshot-three img { object-position:80% center; filter:hue-rotate(-20deg) brightness(.86); }.related-card-body { display:block; padding:13px; }.related-card-body small,.related-card-body b,.related-card-body em { display:block; }.related-card-body small { color:var(--brand); font-size:10px; font-weight:800; text-transform:uppercase; }.related-card-body b { margin:4px 0 5px; font:700 14px 'Manrope'; }.related-card-body em { color:var(--muted); font-size:11px; font-style:normal; }

/* Palette preview only - change body data-theme to apply later */
.detail-content-banner { width:100%; margin:0 0 22px; }
.palette-bar { display:flex; gap:8px; align-items:center; }.palette-dot { width:18px; height:18px; border:2px solid white; border-radius:50%; box-shadow:0 0 0 1px #dce4ef; cursor:pointer; }.palette-dot[data-palette='blue'] { background:#2864dc; }.palette-dot[data-palette='teal'] { background:#108c8c; }.palette-dot[data-palette='violet'] { background:#7657d9; }
body[data-theme='teal'] { --brand:#108c8c; --brand-dark:#087373; --brand-soft:#e4f7f5; --accent:#e69a36; }
body[data-theme='violet'] { --brand:#7657d9; --brand-dark:#5f42bd; --brand-soft:#f0ecff; --accent:#e99354; }

@media (max-width: 760px) { .top-links { display:none; }.main-nav .container { height:68px; gap:15px; }.nav-links { display:none; }.add-site { padding:10px 11px; font-size:13px; }.stats-grid { grid-template-columns:repeat(2,1fr); }.stat:nth-child(2) { border-right:0; }.stat:nth-child(-n+2) { border-bottom:1px solid var(--line); }.list-layout, .detail-grid { grid-template-columns:1fr; }.premium-server { grid-template-columns:43px minmax(0,1fr); gap:11px; }.premium-main { grid-column:1/-1; }.premium-server .votes { grid-column:2; justify-self:start; }.server-card { grid-template-columns:43px minmax(0,1fr); gap:11px; }.server-main { grid-column:1/-1; }.server-card .votes { grid-column:2; justify-self:start; }.detail-hero-main { grid-template-columns:62px minmax(0,1fr); }.detail-logo { width:62px; height:62px; font-size:18px; }.detail-hero-main .vote-button { grid-column:1/-1; }.detail-banner-row { padding-top:18px; padding-left:0; }.detail-banner { width:100%; }.related-grid { grid-template-columns:1fr; }.related-shot { height:150px; }.feature-grid { grid-template-columns:1fr; } footer .container { display:block; } footer nav { margin-top:8px; } footer a { margin:0 15px 0 0; } }
