@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700&family=Nunito:wght@400;500;600;700&display=swap');

:root {
    --bg: #f2f7ff;
    --panel: #ffffff;
    --panel-soft: #f7faff;
    --border: #d6e4ff;
    --text: #1d2a44;
    --muted: #5b6c8a;
    --accent: #66aefc;
    --accent-2: #f8a3c8;
    --shadow: 0 18px 48px rgba(96, 164, 255, 0.28);
    --shadow-soft: 0 12px 32px rgba(102, 126, 204, 0.18);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: #f2f7ff;
    color: var(--text);
    font-family: 'Nunito', 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

.page-shell {
    background: #f2f7ff;
    min-height: 100vh;
}

.nav {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(125, 163, 255, 0.12);
}

.nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-family: 'Baloo 2', 'Nunito', system-ui, -apple-system, sans-serif;
    color: #142243;
    font-size: 20px;
}

h1,
h2,
h3 {
    font-family: 'Baloo 2', 'Nunito', system-ui, -apple-system, sans-serif;
    color: #142243;
    letter-spacing: 0.01em;
}

.muted {
    color: var(--muted);
}

.lead {
    margin: 8px auto 0;
    max-width: 780px;
    color: var(--muted);
    line-height: 1.6;
}

.landing-hero {
    width: 100%;
    padding: 56px 0 26px;
    margin: 0 0 14px;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 22px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 26px;
    align-items: center;
    position: relative;
}

.hero-inner::before {
    content: '';
    position: absolute;
    inset: -32px;
    background:
        radial-gradient(620px at 20% 20%, rgba(102, 174, 252, 0.18), transparent 45%),
        radial-gradient(520px at 80% 10%, rgba(248, 163, 200, 0.15), transparent 40%);
    pointer-events: none;
    z-index: -1;
    filter: blur(2px);
}

.hero-copy h1 {
    margin: 6px 0 8px;
    font-size: 46px;
    line-height: 1.05;
}

.hero-copy p {
    max-width: 640px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(120deg, rgba(102, 174, 252, 0.22), rgba(248, 163, 200, 0.18));
    border: 1px solid #d6e4ff;
    color: #1f3052;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12px;
}

.hero-actions {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 12px;
    background: var(--panel-soft);
    border: 1px solid var(--border);
    color: var(--text);
    box-shadow: var(--shadow-soft);
    font-weight: 600;
    font-size: 13px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-figure {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.9));
    border: 1px solid #dce7ff;
    border-radius: 26px;
    padding: 18px;
    box-shadow: 0 18px 45px rgba(116, 167, 255, 0.35);
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    position: relative;
    overflow: hidden;
}

.hero-figure::after {
    content: '';
    position: absolute;
    inset: 8px 14px auto auto;
    height: 160px;
    width: 160px;
    background: radial-gradient(140px at 50% 50%, rgba(102, 174, 252, 0.18), transparent 60%);
    z-index: 0;
}

.hero-figure img {
    position: relative;
    z-index: 1;
    width: 70%;
    height: auto;
    object-fit: contain;
    display: block;
}

.hero-float {
    position: absolute;
    right: -12px;
    top: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #dbe7ff;
    box-shadow: var(--shadow-soft);
    min-width: 160px;
    display: grid;
    gap: 4px;
    text-align: right;
}

.hero-float strong {
    font-size: 20px;
    color: #1b2f55;
}

.hero-float .status-label {
    font-weight: 700;
}

.hero-online {
    transform: translateY(-10px);
}

.hero-woe {
    top: auto;
    bottom: 24px;
    right: -14px;
}

.hero-woe.is-active {
    background: linear-gradient(130deg, #fff3fb, #e9f3ff);
    border-color: #e2d5ff;
    box-shadow: 0 12px 34px rgba(255, 182, 214, 0.28);
}

.status-bar {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 20px;
    padding: 0 22px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    align-items: stretch;
}

.status-item {
    flex: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    min-width: 0;
}

.status-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: var(--muted);
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #c6ccdd;
    box-shadow: 0 0 0 6px rgba(198, 204, 221, 0.22);
}

.status-item.is-online .status-dot {
    background: #52c68e;
    box-shadow: 0 0 0 6px rgba(82, 198, 142, 0.18);
}

.status-item.is-offline .status-dot {
    background: #f48b8b;
    box-shadow: 0 0 0 6px rgba(244, 139, 139, 0.2);
}

.status-glow {
    position: relative;
}

.status-glow::before {
    content: '';
    position: absolute;
    inset: -6px;
    background:
        radial-gradient(240px at 20% 50%, rgba(102, 174, 252, 0.12), transparent 50%),
        radial-gradient(220px at 80% 50%, rgba(248, 163, 200, 0.12), transparent 48%);
    pointer-events: none;
    z-index: -1;
    filter: blur(8px);
}

.status-label {
    color: var(--muted);
    font-size: 13px;
}

.status-item strong {
    color: #0f2344;
}

.status-item.is-offline strong {
    color: #c75050;
}

.status-online {
    color: #52c68e;
}

.status-offline {
    color: #f48b8b;
}

.section-block {
    max-width: 1200px;
    margin: 22px auto;
    padding: 26px 22px 24px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: var(--panel);
    box-shadow: var(--shadow-soft);
}

.section-soft {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #f5f8ff 100%);
    box-shadow: 0 18px 40px rgba(125, 163, 255, 0.2);
}

.section-deep {
    background: linear-gradient(160deg, #f5f8ff, #ffffff);
    box-shadow: 0 18px 48px rgba(110, 143, 214, 0.25);
}

.section-block:nth-of-type(odd):not(.section-soft):not(.section-deep) {
    background: linear-gradient(135deg, #ffffff 0%, #f4f7ff 100%);
}

.section-block:nth-of-type(even):not(.section-soft):not(.section-deep) {
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
}

.section-header h2 {
    margin: 8px 0 4px;
    font-size: 26px;
}

.section-header .muted {
    margin: 0;
}

.section-body {
    margin-top: 12px;
}

.worldboss-section .section-header h2 {
    margin-bottom: 4px;
}

.worldboss-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    align-items: stretch;
}

.worldboss-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
    box-shadow: 0 14px 36px rgba(125, 163, 255, 0.22);
    overflow: hidden;
}

.worldboss-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 120% at 10% 10%, rgba(102, 174, 252, 0.12), transparent 40%),
        radial-gradient(110% 110% at 80% 20%, rgba(248, 163, 200, 0.12), transparent 40%);
    pointer-events: none;
}

.worldboss-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #eef4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(125, 163, 255, 0.25);
    position: relative;
    z-index: 1;
}

.worldboss-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.worldboss-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.worldboss-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 1;
}

.worldboss-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 999px;
    background: linear-gradient(120deg, #66aefc, #f8a3c8);
    color: #0f2b4d;
    border: none;
    box-shadow: 0 10px 28px rgba(116, 167, 255, 0.32);
    width: fit-content;
}

.worldboss-label {
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 0.02em;
}

.worldboss-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.1;
}

.worldboss-meta {
    font-size: 12px;
    color: var(--muted);
}

.worldboss-side {
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px 20px;
    background: var(--panel);
    box-shadow: var(--shadow-soft);
}

.worldboss-blurb-title {
    font-weight: 700;
    margin-bottom: 6px;
}

.worldboss-list {
    margin: 10px 0 0;
    padding-left: 18px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.worldboss-list code {
    background: rgba(102, 174, 252, 0.12);
    padding: 1px 6px;
    border-radius: 6px;
    color: var(--text);
}


.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    align-items: center;
}

.welcome-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    text-align: left;
}

.welcome-row {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 14px;
    margin: 22px 0;
}

.welcome-row .section-block {
    margin: 0;
    height: 100%;
}

.dual-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
    margin: 22px 0;
}

.dual-row .section-block {
    margin: 0;
    height: 100%;
}

.welcome-login {
    border: none;
    border-radius: 0;
    padding: 12px 0 0;
    background: transparent;
    box-shadow: none;
    display: grid;
    gap: 10px;
}

.login-status {
    display: grid;
    gap: 6px;
}

.badge-highlight {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 10px;
    background: #e6f1ff;
    border: 1px solid var(--border);
    color: #0f2344;
    font-weight: 700;
    font-size: 13px;
}

.login-user {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.welcome-login .muted {
    margin: 0;
}

.welcome-body .stack {
    max-width: 720px;
}

.form-row {
    display: grid;
    gap: 6px;
}

.form-row label {
    font-weight: 700;
    color: #1c2b46;
}

.captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-row img {
    width: 120px;
    height: 48px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #ffffff;
}

.login-actions {
    display: grid;
    gap: 8px;
}

.welcome-login .btn-primary {
    width: 100%;
    justify-content: center;
}

.login-links {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
}

.text-link {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.text-link:hover {
    opacity: 0.88;
}

.login-meta {
    font-size: 12px;
    color: var(--muted);
}

.login-links .dot {
    color: var(--muted);
}

.stack {
    display: grid;
    gap: 10px;
}

.bullet {
    margin: 2px 0 0;
    padding-left: 18px;
    color: var(--muted);
}

.bullet li {
    margin-bottom: 6px;
}

.image-frame {
    background: #ffffff;
    border: 1px solid #e2ecff;
    border-radius: 16px;
    padding: 10px;
    display: flex;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(125, 163, 255, 0.2);
}

.image-frame img {
    width: 100%;
    max-width: 240px;
    border-radius: 12px;
}

.image-frame.floating {
    justify-self: end;
    max-width: 200px;
    transform: translateY(6px);
}

.image-frame.small {
    max-width: 170px;
}

.welcome-visual {
    align-self: center;
    justify-self: end;
    width: 180px;
    max-width: 220px;
}

.welcome-visual img {
    width: 100%;
    max-width: 220px;
    height: auto;
    object-fit: contain;
}

.mini-card {
    margin-top: 16px;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #f7f9ff;
}

.mini-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.mini-rank {
    display: grid;
    gap: 8px;
}

.mini-rank-row {
    display: grid;
    grid-template-columns: 50px 1fr 100px;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e9f5;
    border-radius: 10px;
    padding: 8px 10px;
}

.mini-rank-pos {
    font-weight: 700;
    color: #6273ff;
}

.mini-rank-name {
    font-weight: 600;
    color: var(--text);
}

.mini-rank-kills {
    text-align: right;
    font-size: 13px;
    color: var(--muted);
}

.mini-rank-footer {
    margin-top: 10px;
    text-align: right;
}

.mvp-rank-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
    align-items: start;
}

.mvp-rank-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    border-radius: 14px;
    background: #f7f9ff;
    border: 1px solid var(--border);
}

.mvp-rank-visual img {
    max-width: 160px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.mvp-rank-content {
    width: 100%;
}

.rank-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
    align-items: start;
}

.pvp-rank-placeholder .pvp-placeholder-card {
    margin-top: 10px;
    padding: 16px;
    border: 1px dashed #cfd6e6;
    border-radius: 14px;
    background: #f9fbff;
}

.pvp-placeholder-title {
    font-weight: 700;
    color: #2c3b5a;
    margin-bottom: 6px;
}

.pvp-placeholder-desc {
    color: var(--muted);
    font-size: 14px;
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    color: #0f1b2d;
    background: #e8ecf7;
    border: 1px solid #d8dff0;
}

.rank-row td {
    background: #fbfcff;
}

.rank-gold .rank-badge {
    background: linear-gradient(135deg, #ffd54f, #ffca28);
    border-color: #f9b800;
    color: #5a4300;
}

.rank-silver .rank-badge {
    background: linear-gradient(135deg, #e0e3ec, #d4d9e5);
    border-color: #c9cfdb;
    color: #3f4552;
}

.rank-bronze .rank-badge {
    background: linear-gradient(135deg, #f3c08b, #e8a86b);
    border-color: #d18a45;
    color: #5a3010;
}

.rank-row.rank-gold td { background: #fff8e1; }
.rank-row.rank-silver td { background: #f6f7fb; }
.rank-row.rank-bronze td { background: #fff3e6; }

.mini-rank-row.rank-gold { background: #fff8e1; border-color: #f9e0a3; }
.mini-rank-row.rank-silver { background: #f6f7fb; border-color: #e2e6f4; }
.mini-rank-row.rank-bronze { background: #fff3e6; border-color: #f1d3a8; }

.rate-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 20px;
    align-items: center;
}

.rate-card {
    background: var(--panel-soft);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    display: grid;
    gap: 10px;
    box-shadow: var(--shadow-soft);
}

.rate-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.rate-value {
    font-size: 20px;
    font-weight: 700;
}

.rate-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--muted);
    font-size: 13px;
}

.quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.info-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    background: var(--panel);
    box-shadow: var(--shadow-soft);
}

.info-list {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: grid;
    gap: 6px;
    color: var(--text);
}

.info-list li {
    line-height: 1.4;
}

.news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
    align-items: start;
}

.news-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    display: grid;
    grid-template-rows: 140px 1fr;
}

.news-thumb {
    background: #e6f1ff;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-content {
    padding: 12px;
    display: grid;
    gap: 6px;
}

.news-title {
    font-weight: 700;
    height: 40px;
}

.news-meta {
    color: var(--muted);
    font-size: 13px;
}

.news-body {
    margin-top: 4px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.stat-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
    box-shadow: var(--shadow-soft);
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 10px;
    align-items: center;
}

.stat-card strong {
    display: block;
    margin-top: 6px;
    font-size: 22px;
}

.stat-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(116, 167, 255, 0.22));
}

.worldboss-banner {
    margin: 18px auto 0;
    max-width: 440px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    background: var(--panel);
    box-shadow: var(--shadow-soft);
}

.worldboss-count {
    font-size: 32px;
    font-weight: 700;
    margin-top: 8px;
}

.worldboss-note {
    color: var(--muted);
    margin-top: 4px;
}

.woe-box {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    background: var(--panel);
    text-align: center;
    max-width: 480px;
}

.woe-count {
    font-size: 32px;
    font-weight: 700;
}

.woe-label {
    color: var(--muted);
    margin-top: 4px;
}

.panel {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    background: var(--panel);
    display: grid;
    gap: 10px;
    box-shadow: var(--shadow-soft);
}

.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-head.center {
    justify-content: center;
}

.panel .small {
    font-size: 12px;
}

.panel .link-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.downloads {
    gap: 18px;
}

.download-block {
    display: flex;
    justify-content: center;
    margin-top: 12px;
}

.download-panel {
    max-width: 520px;
    width: 100%;
    text-align: center;
    border: none;
    background: transparent;
    box-shadow: none;
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 12px 0;
}

.image-frame.center {
    margin-left: auto;
    margin-right: auto;
}

.icon-inline {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(125, 163, 255, 0.22));
}

.community-icons {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.community-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--text);
    text-decoration: none;
    box-shadow: none;
    font-weight: 600;
    transition: transform 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
}

.community-chip img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.community-chip.discord {
    background: #5865f2;
    color: #fff;
    box-shadow: 0 8px 18px rgba(88, 101, 242, 0.35);
}

.community-chip.facebook {
    background: #1877f2;
    color: #fff;
    box-shadow: 0 8px 18px rgba(24, 119, 242, 0.35);
}

.community-chip.forum {
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    color: #041420;
    box-shadow: 0 8px 18px rgba(116, 167, 255, 0.28);
}

.community-chip:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

.sidebar-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 8px 12px;
    background: var(--panel);
    box-shadow: var(--shadow-soft);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.sidebar-head {
    font-weight: 700;
    font-size: 13px;
}

.sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sidebar-list a {
    color: var(--text);
    text-decoration: none;
    padding: 6px 8px;
    border-radius: 8px;
    display: inline-block;
    transition: background 120ms ease, transform 120ms ease;
}

.sidebar-list a:hover {
    background: #eef4ff;
    transform: translateX(2px);
}

.sidebar-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 8px 0 14px;
    align-items: center;
}

.pill {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #eaf2ff;
    font-size: 13px;
    color: #1c2b46;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 120ms ease, box-shadow 120ms ease, opacity 120ms ease, border-color 120ms ease;
}

.btn-primary {
    background: #5faefc;
    color: #0e1e3a;
    box-shadow: 0 12px 30px rgba(102, 174, 252, 0.32);
}

.btn-ghost {
    border-color: var(--border);
    background: #f1f5ff;
    color: var(--text);
}

.btn:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

.hero {
    max-width: 1200px;
    margin: 40px auto 24px;
    padding: 0 22px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.hero-panel {
    padding: 24px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: linear-gradient(150deg, #ffffff 0%, #f4f7ff 100%);
    box-shadow: var(--shadow-soft);
}

.card-grid {
    max-width: 1200px;
    margin: 0 auto 28px;
    padding: 0 22px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.card {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--panel);
    padding: 18px;
    box-shadow: var(--shadow-soft);
}

.content-shell {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 22px 32px;
}

.page-menu,
.sub-menu {
    margin: 8px 0 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--muted);
    font-size: 14px;
}

.page-menu a,
.sub-menu a {
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #f3f7ff;
    text-decoration: none;
    color: var(--text);
}

.current-sub-menu {
    border-color: var(--accent);
    color: var(--accent);
}

.flux-message {
    margin: 12px 0;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(102, 174, 252, 0.12);
    color: var(--text);
}

.flux-error {
    background: rgba(244, 139, 139, 0.14);
    border-color: rgba(244, 139, 139, 0.4);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 16px 0;
    padding: 0;
    list-style: none;
}

.pagination li {
    display: inline-flex;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #f3f7ff;
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    transition: transform 120ms ease, opacity 120ms ease, border-color 120ms ease;
}

.pagination a:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.pagination .current span,
.pagination .current a {
    border-color: var(--accent);
    color: var(--accent);
    font-weight: 600;
}

.pages {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
    flex-wrap: wrap;
}

.page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    padding: 6px 10px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #f3f7ff;
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    transition: transform 120ms ease, opacity 120ms ease, border-color 120ms ease;
}

.page-num:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.current-page {
    border-color: var(--accent);
    color: var(--accent);
    font-weight: 600;
}

.jump-to-page {
    display: flex;
    justify-content: center;
    margin: 8px 0 14px;
    color: var(--muted);
}

.jump-to-page input[type="text"] {
    width: 60px;
    margin-left: 6px;
    padding: 6px 8px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #f7f9ff;
    color: var(--text);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
    font-size: 14px;
    color: var(--text);
}

th,
td {
    border: 1px solid var(--border);
    padding: 10px 12px;
}

th {
    background: #eef3ff;
    text-align: left;
    color: var(--muted);
}

.status-alive {
    background: #e9f9f0;
    color: #1b7a3a;
    border-color: #c7ead5;
}

.status-dead {
    background: #ffe9e9;
    color: #b33a3a;
    border-color: #f3cccc;
}

.status-unknown {
    background: #f4f6fb;
    color: #5a5f73;
    border-color: #e1e3ea;
}

tr:nth-child(even) {
    background: #f7f9ff;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--border);
    background: #f7f9ff;
    color: var(--text);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
}

form .btn {
    margin-top: 6px;
}

.date-time-field {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.date-time-field .date-field {
    display: inline-flex;
    gap: 4px;
}

.date-time-field select {
    width: auto;
    min-width: 64px;
}

.date-field {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    flex-wrap: wrap;
}

.date-field select {
    width: auto;
    min-width: 64px;
}

.search-form p {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
}

.search-form label {
    font-size: 13px;
    color: var(--muted);
}

.search-form input[type="text"],
.search-form select {
    width: auto;
    min-width: 140px;
}

.search-form input[type="checkbox"] {
    width: auto;
    margin-left: 4px;
}

.search-form .date-field,
.search-form .date-time-field {
    margin-left: 4px;
}

.megaphone-bar {
    max-width: 1180px;
    margin: 10px auto 0;
    padding: 0 20px;
}

.megaphone-inner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: linear-gradient(120deg, rgba(102, 174, 252, 0.14), rgba(248, 163, 200, 0.14));
    box-shadow: var(--shadow-soft);
}

.megaphone-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    background-image: linear-gradient(135deg, var(--accent), var(--accent-2)), url('../css/img/icon/megaphone.png');
    background-position: center;
    background-repeat: no-repeat;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #041420;
    box-shadow: var(--shadow);
}

.megaphone-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.megaphone-label {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--accent);
}

.megaphone-message {
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
    word-break: break-word;
}

.megaphone-meta {
    font-size: 12px;
    color: var(--muted);
}

.footer {
    border-top: 1px solid var(--border);
    padding: 18px 22px 32px;
    color: var(--muted);
    font-size: 14px;
    text-align: center;
    background: #eef3ff;
}

@media (max-width: 640px) {
    .nav-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
}

@media (max-width: 1024px) {
    .welcome-row {
        grid-template-columns: 1fr;
    }

    .welcome-visual {
        justify-self: center;
        align-self: center;
    }

    .welcome-body .stack {
        max-width: 100%;
    }
}

@media (max-width: 820px) {
    .rate-layout {
        grid-template-columns: 1fr;
    }

    .image-frame.floating {
        justify-self: center;
        transform: none;
    }
}

@media (max-width: 720px) {
    .landing-hero {
        padding: 32px 0 24px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        font-size: 36px;
    }

    .hero-visual {
        justify-content: center;
    }

    .hero-float {
        position: relative;
        right: auto;
        top: auto;
        bottom: auto;
        text-align: left;
        margin-top: 10px;
    }

    .content-shell {
        padding: 0 16px 28px;
    }

    .section-block {
        margin: 18px auto;
        padding: 20px 16px;
    }

    .status-bar {
        padding: 0 16px;
        gap: 10px;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .welcome-body {
        text-align: center;
        justify-items: center;
        grid-template-columns: 1fr;
    }

    .welcome-body .stack {
        text-align: center;
    }

    .welcome-visual {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 10px;
    }

    .download-buttons {
        flex-direction: column;
    }

    .community-icons {
        gap: 8px;
    }

    .stat-card {
        grid-template-columns: 32px 1fr;
    }

    .stat-card strong {
        font-size: 20px;
    }
}
