/* KangaRO theme 2 (2026-10-22): dark, colourful, rounded cards. Loaded after site.css, so it re-skins every page; the home page and guide hub use the k- components below.
   No inline styles anywhere (the site's CSP forbids them). */
:root {
  --bg: #120e26; --nav: #3b278f; --card: #231b42; --card2: #2b2250; --line: #3a2f63; --line2: #4a3d7d;
  --ink: #f1edff; --muted: #a8a2cf; --dim: #8f89b8;
  --purple: #7c5cf0; --purple2: #5a3fd0; --purple-soft: #b9a6ff;
  --gold: #ffc845; --gold2: #f5a623; --mint: #3ddc97; --sky: #5cb8ff; --pink: #ff8fb8;
  --shadow: 0 8px 24px rgba(0, 0, 0, .38);
}
html { background: var(--bg); }
body { background: linear-gradient(180deg, #120e26 0%, #1c1438 100%); background-attachment: fixed; font-family: "Nunito", "Segoe UI", system-ui, sans-serif; }

/* ---- top bar ---- */
.nav { background: linear-gradient(90deg, #4c2fb8, #7c5cf0 60%, #9a7cff); border-bottom: 0; box-shadow: 0 3px 14px rgba(60, 30, 140, .35); }
.nav .links a { color: #efe9ff; border-radius: 999px; height: auto; align-self: center; padding: 8px 14px; font-weight: 700; }
.nav .links a:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.nav .links a.on { background: #fff; color: #4c2fb8; }
.nav .links a.on::after { display: none; }
.nav .links a.on .ic, .nav .ic { width: 20px; height: 20px; background: transparent; color: inherit; }
.nav .cta { border-left: 0; }
.nav .btn.primary { background: linear-gradient(180deg, #ffd866, #f5a623); border: 0; color: #4a2f00; box-shadow: 0 4px 0 #c9871a; border-radius: 999px; font-weight: 800; }

/* ---- footer ---- */
.foot, .legal { background: #1a1236; border-top-color: #2d2257; }
.foot nav a, .foot .slogan { color: #c8bff0; }
/* footer made more noticeable: lighter panel, accent line, bigger bright links */
.foot { margin-top: 28px; background: linear-gradient(180deg, #2a1d5c 0%, #1f1547 100%); border-top: 3px solid #8b6cff; box-shadow: 0 -8px 28px rgba(139,108,255,.25); }
.foot .in { min-height: 96px; }
.foot .slogan { color: #fff; font-size: 15px; font-weight: 600; white-space: nowrap; }
.foot nav { gap: 6px; }
.foot nav a { color: #fff; font-size: 15px; font-weight: 600; padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.07); white-space: nowrap; }
.foot nav a:hover { background: #8b6cff; color: #fff; }

/* ---- every page: softer, rounder ---- */
.page, .panel, .gbody, .gside, .gcard { border-radius: 18px; }
a { color: #b9a6ff; }

/* ---- k- components (home page and guide hub) ---- */
.k-wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px 24px; }
.k-pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 10px 22px; font-weight: 800; border: 0; text-decoration: none; }
.k-pill.gold { background: linear-gradient(180deg, #ffd866, #f5a623); color: #4a2f00; box-shadow: 0 4px 0 #c9871a; }
.k-pill.purple { background: linear-gradient(180deg, #9a7cff, #5a3fd0); color: #fff; box-shadow: 0 4px 0 #3b2790; }
.k-pill.big { padding: 16px 34px; font-size: 19px; }

.k-hero { position: relative; height: 440px; background: #2b1d5c; border-radius: 0 0 36px 36px; overflow: hidden; isolation: isolate; }
.k-hero .k-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.k-hero .k-sun { position: absolute; right: 5%; top: 30%; width: 300px; height: 300px; margin: -150px -150px 0 0; border-radius: 50%; z-index: 1; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(255, 224, 150, .75) 0%, rgba(255, 170, 90, .35) 35%, rgba(255, 140, 80, 0) 70%); animation: k-sunpulse 6s ease-in-out infinite; }
.k-hero .k-shine { position: absolute; inset: 0; z-index: 1; mix-blend-mode: soft-light; background: linear-gradient(105deg, transparent 35%, rgba(255, 240, 200, .55) 50%, transparent 65%); background-size: 250% 100%; animation: k-sweep 11s linear infinite; }
.k-hero .k-fly { position: absolute; bottom: -12px; width: 7px; height: 7px; border-radius: 50%; z-index: 2; background: #fff6c8; box-shadow: 0 0 10px 3px rgba(255, 230, 140, .85); opacity: 0; animation: k-rise 9s linear infinite; }
.k-hero .k-fly:nth-of-type(1) { left: 8%;  animation-delay: 0s;   animation-duration: 10s; }
.k-hero .k-fly:nth-of-type(2) { left: 17%; animation-delay: 2.5s; animation-duration: 8s;  width: 5px; height: 5px; }
.k-hero .k-fly:nth-of-type(3) { left: 28%; animation-delay: 5s;   animation-duration: 11s; }
.k-hero .k-fly:nth-of-type(4) { left: 39%; animation-delay: 1.2s; animation-duration: 9s;  width: 5px; height: 5px; }
.k-hero .k-fly:nth-of-type(5) { left: 51%; animation-delay: 6.5s; animation-duration: 12s; }
.k-hero .k-fly:nth-of-type(6) { left: 62%; animation-delay: 3.4s; animation-duration: 8.5s; width: 6px; height: 6px; }
.k-hero .k-fly:nth-of-type(7) { left: 73%; animation-delay: 0.8s; animation-duration: 10.5s; }
.k-hero .k-fly:nth-of-type(8) { left: 84%; animation-delay: 4.4s; animation-duration: 9.5s; width: 5px; height: 5px; }
.k-hero .k-fly:nth-of-type(9) { left: 92%; animation-delay: 7.2s; animation-duration: 11s; }
.k-hero img.k-mark { position: absolute; z-index: 3; right: 17%; top: 9%; width: 32%; max-width: 440px; animation: k-bob 5s ease-in-out infinite; filter: drop-shadow(0 4px 12px rgba(35, 12, 70, .7)); }
.k-cta { position: relative; z-index: 2; margin-top: -46px; display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; }

/* wings: each wing is a masked copy of the picture that swings around its root; transform origins are in picture units */
.k-hero .k-wing, .k-hero .k-spin { transform-box: view-box; }
.k-hero .k-spin { transform-origin: 1737px 405px; animation: k-spin 30s linear infinite; }
@keyframes k-spin { to { transform: rotate(360deg); } }
.k-hero .k-wing.wl { animation: k-flapl .55s ease-in-out infinite alternate; }
.k-hero .k-wing.wr { animation: k-flapr .55s ease-in-out infinite alternate; }
.k-hero .k-wing.wa { transform-origin: 1748px 175px; }
.k-hero .k-wing.wb { transform-origin: 1806px 170px; }
.k-hero .k-wing.wc { transform-origin: 288px 548px; }
.k-hero .k-wing.wd { transform-origin: 386px 556px; }
@keyframes k-drift { from { transform: scale(1) translate(-0.5%, 0.3%); } to { transform: scale(1.04) translate(0.6%, -0.4%); } }
@keyframes k-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes k-sunpulse { 0%, 100% { opacity: .65; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes k-sweep { from { background-position: 130% 0; } to { background-position: -130% 0; } }
@keyframes k-rise { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: .95; } 55% { transform: translate(18px, -190px); } 90% { opacity: .5; } 100% { transform: translate(-14px, -400px); opacity: 0; } }
@keyframes k-flapl { from { transform: rotate(9deg); } to { transform: rotate(-7deg); } }
@keyframes k-flapr { from { transform: rotate(-9deg); } to { transform: rotate(7deg); } }
@media (prefers-reduced-motion: reduce) { .k-hero .k-bg, .k-hero .k-sun, .k-hero .k-shine, .k-hero .k-fly, .k-hero img.k-mark, .k-hero .k-wing, .k-hero .k-spin { animation: none; } }

.k-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 42px 0 14px; }
.k-chip { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; }
.k-chip .dot { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: #fff; }
.k-chip .dot svg { width: 22px; height: 22px; }
.k-chip .d1 { background: #14493a; } .k-chip .d2 { background: #3a2f78; } .k-chip .d3 { background: #4a3a10; } .k-chip .d4 { background: #5a2342; }
.k-chip small { display: block; color: var(--muted); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.k-chip b { font-size: 19px; color: #fff; }
.k-chip .k-up { color: #38df69; }
.k-chip .k-down { color: #ff6b6b; }
.k-chip b .k-led { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; background: #38df69; box-shadow: 0 0 0 3px rgba(56, 223, 105, .22), 0 0 12px 2px rgba(56, 223, 105, .75); animation: k-led 2.4s ease-in-out infinite; }
.k-chip .k-down .k-led { background: #ff6b6b; box-shadow: 0 0 0 3px rgba(255, 107, 107, .22), 0 0 12px 2px rgba(255, 107, 107, .7); animation: none; }
.k-chip-up { border-color: rgba(56, 223, 105, .55); }
.k-chip-up .dot { background: #14543a; color: #38df69; }
.k-chip-down { border-color: rgba(255, 107, 107, .5); }
@keyframes k-led { 0%, 100% { box-shadow: 0 0 0 3px rgba(56, 223, 105, .22), 0 0 10px 1px rgba(56, 223, 105, .6); } 50% { box-shadow: 0 0 0 6px rgba(56, 223, 105, .10), 0 0 16px 4px rgba(56, 223, 105, .9); } }
@media (prefers-reduced-motion: reduce) { .k-chip b .k-led { animation: none; } }
.k-pass { text-align: center; color: var(--muted); font-size: 14px; margin: 10px 0 0; }

.k-sec { margin: 56px 0 24px; display: flex; align-items: center; gap: 12px; }
.k-sec h2 { font-size: 26px; font-weight: 800; color: #fff; }
.k-sec .bar { width: 10px; height: 28px; border-radius: 6px; background: linear-gradient(180deg, var(--gold), var(--pink)); }
.k-sec a.more { margin-left: auto; font-weight: 800; }

.k-hub { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.k-card { --accent: var(--purple); --t1: #3a2b7c; --t2: #231b42; display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; text-decoration: none; color: inherit;
  background: linear-gradient(165deg, var(--t1) 0%, var(--t2) 70%); border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
a.k-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 35%, transparent); }
.k-card .art { height: 175px; background-image: url('img/hero-bg.jpg'); background-repeat: no-repeat; position: relative; }
.k-card .tag { position: absolute; left: 14px; top: 12px; background: rgba(20, 14, 44, .78); color: #ffe39a; font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); }
.k-card .body { padding: 24px 26px 30px; }
.k-card h3 { font-size: 21px; font-weight: 800; color: #fff; display: flex; align-items: center; gap: 10px; line-height: 1.3; }
.k-card h3 i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; background: var(--accent); }
.k-card p { margin: 10px 0 18px; font-size: 15px; line-height: 1.65; color: color-mix(in srgb, var(--accent) 25%, #d9d4f2); }
.k-card ul { list-style: none; margin: 0; padding: 0; }
.k-card li { padding: 7px 0 7px 22px; position: relative; font-size: 15px; line-height: 1.45; font-weight: 700; color: color-mix(in srgb, var(--accent) 35%, #fff); }
.k-card li::before { content: "\2726"; position: absolute; left: 0; color: var(--accent); }
.k-card li a { color: inherit; text-decoration: none; }
.k-card li a:hover { text-decoration: underline; }
.k-card.c1 { --accent: #a98bff; --t1: #43309a; --t2: #241a52; } .k-card.c2 { --accent: #ffc845; --t1: #6a4a10; --t2: #2e2216; }
.k-card.c3 { --accent: #3ddc97; --t1: #125a4b; --t2: #1a2a3a; } .k-card.c4 { --accent: #5cb8ff; --t1: #14508a; --t2: #1c2350; }
.k-card.c5 { --accent: #ff8fb8; --t1: #7a2a58; --t2: #2a1a40; } .k-card.c6 { --accent: #ff9a5c; --t1: #7a3a1c; --t2: #2d1c30; }
.k-card.c7 { --accent: #7be0ff; --t1: #1b5870; --t2: #1b2646; } .k-card.c8 { --accent: #c3ff7a; --t1: #3e5a14; --t2: #1d2a2a; }
.k-card .a1 { background-size: 900px auto; background-position: 2% 90%; } .k-card .a2 { background-size: 1100px auto; background-position: 100% 12%; }
.k-card .a3 { background-size: 1000px auto; background-position: 52% 78%; } .k-card .a4 { background-size: 1000px auto; background-position: 32% 18%; }

.k-news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.k-note { --accent: var(--gold); --t1: #5e4410; --t2: #2a2018; border-radius: 22px; padding: 26px 28px 30px; box-shadow: var(--shadow); text-decoration: none; color: inherit; display: block;
  background: linear-gradient(165deg, var(--t1) 0%, var(--t2) 70%); border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); border-top: 6px solid var(--accent); }
.k-note:nth-child(2) { --accent: #ff8fb8; --t1: #6e2750; --t2: #261a3a; } .k-note:nth-child(3) { --accent: #3ddc97; --t1: #0f5444; --t2: #172a38; }
.k-note .meta { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; font-weight: 700; }
.k-note .badge { padding: 3px 10px; border-radius: 999px; font-weight: 800; font-size: 11.5px; background: rgba(255, 255, 255, .14); color: #fff; }
.k-note h3 { font-size: 19px; margin: 14px 0 10px; line-height: 1.35; color: #fff; font-weight: 800; }
.k-note p { margin: 0; color: color-mix(in srgb, var(--accent) 25%, #d9d4f2); font-size: 15px; line-height: 1.65; }

.k-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.k-step { --accent: #a98bff; --t1: #43309a; --t2: #241a52; display: flex; gap: 14px; align-items: flex-start; border-radius: 22px; padding: 28px 28px 30px; box-shadow: var(--shadow);
  background: linear-gradient(165deg, var(--t1) 0%, var(--t2) 70%); border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); border-top: 6px solid var(--accent); }
.k-step:nth-child(2) { --accent: #ffc845; --t1: #6a4a10; --t2: #2e2216; } .k-step:nth-child(3) { --accent: #3ddc97; --t1: #125a4b; --t2: #1a2a3a; }
.k-step .n { flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 22px; color: #1c1438; background: var(--accent); }
.k-step b { display: block; font-size: 19px; color: #fff; margin-bottom: 6px; }
.k-step span { color: color-mix(in srgb, var(--accent) 25%, #d9d4f2); font-size: 15px; line-height: 1.65; }

/* guide hub */
.k-ghub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 26px; }
.k-gcard .art { height: 190px; display: grid; place-items: center; position: relative; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 55%, #1c1438), color-mix(in srgb, var(--accent) 85%, #1c1438)); }
.k-gcard .art img { image-rendering: pixelated; height: 140px; width: auto; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .35)); }
.k-gcard .art svg { width: 70px; height: 70px; color: #fff; stroke-width: 1.4; }
.k-title { margin: 22px 0 4px; font-size: 36px; font-weight: 800; color: #fff; }
.k-lead { color: var(--muted); margin: 0 0 6px; }
@media (max-width: 900px) { .k-hub, .k-chips { grid-template-columns: repeat(2, 1fr); } .k-news, .k-steps, .k-ghub { grid-template-columns: 1fr; } .k-hero img.k-mark { width: 70%; right: 15%; } .k-hero { height: 360px; } }

/* server at a glance */
.k-rates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.k-rate { --accent: #a98bff; --t1: #43309a; --t2: #241a52; display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: 22px; box-shadow: var(--shadow);
  background: linear-gradient(165deg, var(--t1) 0%, var(--t2) 70%); border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); }
.k-rate.r2 { --accent: #ffc845; --t1: #6a4a10; --t2: #2e2216; } .k-rate.r3 { --accent: #ff8fb8; --t1: #6e2750; --t2: #261a3a; } .k-rate.r4 { --accent: #3ddc97; --t1: #125a4b; --t2: #1a2a3a; }
.k-rate .ri { flex: none; width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 28%, #1c1438); color: var(--accent); }
.k-rate .ri svg { width: 26px; height: 26px; }
.k-rate small { display: block; color: color-mix(in srgb, var(--accent) 30%, #d9d4f2); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.k-rate b { font-size: 21px; color: #fff; }
@media (max-width: 900px) { .k-rates { grid-template-columns: repeat(2, 1fr); } }
