﻿/*
Theme Name: GameKaya Kenya Guide
Description: Dark gold lobby theme for GameKaya Kenya.
Version: 1.0
Text Domain: gamekaya
*/

:root {
	--bg: #141414;
	--panel: #1f1f1f;
	--panel-2: #2a2a2a;
	--line: #3a3a3a;
	--text: #e8e8e8;
	--muted: #a8a8a8;
	--gold: #ffd60a;
	--gold-2: #f1a90b;
	--yellow: #ffeb00;
	--pink: #ff3cac;
	--purple: #a64bff;
	--blue: #2b86ff;
	--red: #ea1c39;
	--radius: 14px;
	--font: 'Poppins', system-ui, sans-serif;
	--font-head: 'Baloo 2', 'Poppins', sans-serif;
	--font-promo: 'Russo One', 'Baloo 2', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0; color: var(--text); font: 400 16px/1.7 var(--font);
	background: var(--bg) radial-gradient(1200px 600px at 50% -200px, #3a2a00 0%, transparent 70%) no-repeat;
	min-height: 100vh;
}
body::before { /* slow-moving coloured glow behind everything */
	content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
	background: radial-gradient(600px 400px at 10% 30%, rgba(166, 75, 255, .35), transparent 70%),
		radial-gradient(600px 400px at 90% 70%, rgba(255, 60, 172, .25), transparent 70%);
	animation: gk-glow 14s ease-in-out infinite alternate;
}
img { max-width: 100%; height: auto; }
a { color: var(--gold); }
.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }

/* ---------- Buttons ---------- */
.gk-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	padding: 12px 26px; border-radius: 999px; font: 700 16px/1 var(--font-head); letter-spacing: .3px;
	text-decoration: none; text-transform: uppercase; border: 2px solid transparent; cursor: pointer;
	transition: transform .15s, box-shadow .2s, filter .2s; position: relative; overflow: hidden;
}
.gk-btn:hover { transform: translateY(-2px) scale(1.04); filter: brightness(1.1); }
.gk-btn--gold { background: linear-gradient(180deg, #fff27a, var(--yellow) 40%, var(--gold-2)); color: #2a1a00; box-shadow: 0 4px 18px rgba(255, 214, 10, .45); }
.gk-btn--gold::after { /* shine sweep */
	content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .8), transparent); transform: skewX(-20deg);
	animation: gk-shine 2.6s ease-in-out infinite;
}
.gk-btn--dark { background: #2b2b2b; color: #fff; border-color: #555; }
.gk-btn--ghost { background: transparent; color: var(--gold); border-color: var(--gold); }
.gk-btn--sm { padding: 7px 16px; font-size: 13px; }
.gk-pulse { animation: gk-pulse 1.6s ease-in-out infinite; }

/* ---------- Top bar ---------- */
.gk-topbar { background: #0d0d0d; border-bottom: 1px solid #262626; font-size: 13px; }
.gk-topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; }
.gk-topbar__age { color: var(--muted); }
.gk-topbar__age b { color: #fff; background: var(--red); border-radius: 6px; padding: 1px 6px; margin-right: 4px; }
.gk-topbar__btns { display: flex; gap: 8px; }

/* ---------- Header + icon menu ---------- */
.gk-header { background: linear-gradient(180deg, #1c1c1c, #121212); border-bottom: 2px solid transparent; border-image: linear-gradient(90deg, transparent, var(--gold), var(--yellow), var(--gold), transparent) 1; position: sticky; top: 0; z-index: 50; transition: box-shadow .2s; }
.is-scrolled .gk-header { box-shadow: 0 6px 24px rgba(0, 0, 0, .6); }
.gk-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 92px; }
.gk-logo { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.gk-logo-img { width: 200px; height: auto; display: block; }
.gk-logo-mark { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(234, 28, 57, .45)); }
.gk-nav { flex: 1; min-width: 0; }
.gk-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: 4px; }
.gk-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 6px; color: #fff; text-decoration: none; font: 600 13px/1.2 var(--font); text-transform: uppercase; white-space: nowrap; border-radius: 10px; transition: background .2s, color .2s; }
.gk-nav__icon { font-size: 30px; line-height: 1; display: block; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .6)); transition: transform .25s; }
.gk-nav a:hover { color: var(--yellow); background: rgba(255, 214, 10, .08); }
.gk-nav a:hover .gk-nav__icon { animation: gk-bounce .6s ease; }
.gk-nav .is-current a { color: var(--yellow); }
.gk-nav .is-current .gk-nav__icon { animation: gk-float 2.2s ease-in-out infinite; }

/* ---------- Notice ticker ---------- */
.gk-notice .wrap { display: flex; align-items: center; gap: 8px; padding: 8px 14px; margin-top: 10px; background: var(--panel); border-radius: 999px; font-size: 14px; }
.gk-notice__bell { display: inline-block; animation: gk-ring 2s ease-in-out infinite; transform-origin: 50% 0; }
.gk-notice b { color: #fff; white-space: nowrap; }
.gk-marquee { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.gk-marquee__track { display: flex; width: max-content; animation: gk-marquee 30s linear infinite; }
.gk-marquee__track span { white-space: nowrap; padding-right: 40px; color: var(--yellow); }

/* ---------- Layout boxes ---------- */
.gk-main { padding: 14px 0 60px; }
.gk-box { background: rgba(31, 31, 31, .92); border-radius: var(--radius); padding: 20px 22px; margin-top: 18px; border: 1px solid #2c2c2c; }
.gk-box__title { margin: 0 0 16px; font: 700 24px/1.2 var(--font-head); color: var(--yellow); display: flex; align-items: center; gap: 8px; text-shadow: 0 0 12px rgba(255, 214, 10, .4); }
.gk-star { display: inline-block; animation: gk-spin 4s linear infinite; }

/* ---------- Slider ---------- */
.gk-slider { position: relative; height: clamp(240px, 34vw, 400px); border-radius: var(--radius); overflow: hidden; margin-top: 14px; border: 3px solid #2fbf40; box-shadow: 0 0 0 3px #0d0d0d, 0 0 28px rgba(47, 191, 64, .35); }
.gk-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .7s; display: flex; align-items: center; }
.gk-slide__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gk-slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .6) 45%, rgba(0, 0, 0, .1) 80%); }
.gk-slide.is-active { opacity: 1; z-index: 1; }
.gk-slide.is-active { animation: gk-kenburns 9s ease-out forwards; }
.gk-slide__inner { position: relative; z-index: 2; padding: 0 clamp(20px, 5vw, 56px); max-width: 680px; }
.gk-slide__tag { display: inline-block; font: 400 clamp(16px, 2.4vw, 26px)/1 var(--font-promo); font-style: italic; padding: 8px 40px 8px 16px; margin-bottom: 12px; color: #fff; background: linear-gradient(90deg, #ff6a00, #ee0979 70%, transparent); clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); text-shadow: 0 2px 0 rgba(0, 0, 0, .4); }
.gk-slide__line { font: 400 clamp(22px, 4.2vw, 46px)/1.15 var(--font-promo); color: #fff; text-shadow: 0 3px 0 #000, 0 0 18px rgba(0, 0, 0, .7); opacity: 0; transform: translateX(-40px); }
.gk-slide__line em { font-style: normal; color: var(--yellow); text-shadow: 0 3px 0 #6b4a00, 0 0 22px rgba(255, 214, 10, .7); }
.gk-slide.is-active .gk-slide__line { animation: gk-slidein .6s cubic-bezier(.2, .9, .3, 1.3) forwards; animation-delay: calc(.2s + var(--i) * .15s); }
.gk-slide .gk-btn { margin-top: 18px; }
.gk-slider__dots { position: absolute; z-index: 3; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.gk-slider__dots button { width: 11px; height: 11px; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .6); cursor: pointer; transition: all .3s; }
.gk-slider__dots button.is-active { background: var(--yellow); width: 28px; border-radius: 6px; box-shadow: 0 0 10px var(--yellow); }

/* sparkles */
.gk-sparkles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.gk-sparkles i { position: absolute; width: 14px; height: 14px; background: radial-gradient(circle, #fff 0 15%, var(--yellow) 30%, transparent 70%); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); animation: gk-twinkle 2.4s ease-in-out infinite; }
.gk-sparkles i:nth-child(1) { left: 62%; top: 18%; }
.gk-sparkles i:nth-child(2) { left: 78%; top: 30%; animation-delay: .3s; transform: scale(1.6); }
.gk-sparkles i:nth-child(3) { left: 88%; top: 12%; animation-delay: .9s; }
.gk-sparkles i:nth-child(4) { left: 70%; top: 70%; animation-delay: 1.2s; }
.gk-sparkles i:nth-child(5) { left: 92%; top: 62%; animation-delay: .6s; }
.gk-sparkles i:nth-child(6) { left: 55%; top: 82%; animation-delay: 1.6s; }
.gk-sparkles i:nth-child(7) { left: 40%; top: 10%; animation-delay: 2s; }
.gk-sparkles i:nth-child(8) { left: 83%; top: 85%; animation-delay: 1.4s; }

/* ---------- Panels: VIP / promotions / support ---------- */
.gk-panels { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; align-items: stretch; }
.gk-panel { background: var(--panel); border-radius: var(--radius); overflow: hidden; border: 1px solid #2c2c2c; display: flex; flex-direction: column; min-height: 100%; }
.gk-panel__title { margin: 0; padding: 8px 10px; text-align: center; font: 700 18px/1.3 var(--font-head); color: var(--yellow); background: linear-gradient(180deg, #3a3a3a, #2a2a2a); text-transform: uppercase; }
.gk-panel__row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); flex: 1; align-content: center; }
.gk-panel__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 14px 6px; color: #ddd; text-decoration: none; font-size: 12.5px; line-height: 1.2; text-align: center; transition: background .2s, color .2s; }
.gk-panel__item:hover { background: rgba(255, 214, 10, .08); color: var(--yellow); }
.gk-ico { font-size: 32px; line-height: 1; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .5)); transition: transform .3s; }
.gk-panel__item:hover .gk-ico { transform: scale(1.2) rotate(-8deg); }
.gk-ico--spin { animation: gk-float 2.4s ease-in-out infinite; font-size: 40px; }
.gk-panel--vip .gk-panel__item { height: calc(100% - 37px); justify-content: center; }

/* ---------- Game tiles ---------- */
.gk-tiles { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; }
.gk-tile { min-width: 0; position: relative; display: flex; flex-direction: column; align-items: center; text-decoration: none; color: #fff; }
.gk-tile__art {
	position: relative; overflow: hidden; width: 100%; aspect-ratio: 1; border-radius: 16px; display: grid; place-items: center;
	background: #222;
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25), 0 6px 14px rgba(0, 0, 0, .5); transition: transform .25s, box-shadow .25s;
}
.gk-tile__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gk-tile__art::after { /* shine sweep */
	content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%; transform: skewX(-20deg);
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
	animation: gk-shine 3.2s ease-in-out infinite; animation-delay: var(--d);
}
.gk-tile__play { position: absolute; top: 34%; left: 50%; z-index: 3; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: #222; font-size: 18px; opacity: 0; transform: scale(.4); transition: all .25s; box-shadow: 0 0 18px var(--yellow); }
.gk-tile__name { margin-top: 6px; font-size: 14px; font-weight: 500; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.gk-tile:hover .gk-tile__art { transform: translateY(-4px) scale(1.05); box-shadow: inset 0 0 0 2px var(--yellow), 0 0 22px rgba(255, 214, 10, .55); }
.gk-tile:hover .gk-tile__play { opacity: 1; transform: scale(1); }
.gk-tile:hover .gk-tile__name { color: var(--yellow); }
.gk-badge { position: absolute; z-index: 4; top: -6px; left: -4px; padding: 2px 9px; border-radius: 8px 8px 8px 0; font: 800 12px/1.4 var(--font-head); color: #fff; animation: gk-blink 1.1s steps(2, jump-none) infinite; }
.gk-badge--hot { background: linear-gradient(90deg, #ff1e00, #ff7b00); box-shadow: 0 0 10px #ff3d00; }
.gk-badge--new { background: linear-gradient(90deg, #00b712, #5aff15); color: #052a00; box-shadow: 0 0 10px #3cff00; }
.gk-reveal { opacity: 0; transform: translateY(18px) scale(.96); transition: opacity .5s, transform .5s; }
.gk-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Category strip ---------- */
.gk-cats { overflow: hidden; background: #262626; border-radius: 12px; padding: 14px 0; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.gk-cats__track { display: flex; gap: 14px; width: max-content; animation: gk-marquee 40s linear infinite; }
.gk-cats:hover .gk-cats__track { animation-play-state: paused; }
.gk-cat { font: 400 20px/1 var(--font-promo); color: #9a9a9a; padding: 10px 22px; border-radius: 10px; background: #1b1b1b; transition: color .2s, text-shadow .2s; white-space: nowrap; }
.gk-cat:hover { color: var(--yellow); text-shadow: 0 0 12px var(--yellow); }

/* ---------- Inner page hero ---------- */
.gk-pagehero { position: relative; margin-top: 14px; border-radius: var(--radius); overflow: hidden; background-size: cover; background-position: center; border: 3px solid var(--gold-2); box-shadow: 0 0 24px rgba(241, 169, 11, .35); }
.gk-pagehero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .55) 60%, rgba(0, 0, 0, .2)); }
.gk-pagehero__inner { position: relative; z-index: 2; padding: clamp(28px, 5vw, 56px); max-width: 760px; }
.gk-pagehero h1 { margin: 0 0 10px; font: 400 clamp(26px, 3.6vw, 42px)/1.15 var(--font-promo); color: #fff; text-shadow: 0 3px 0 #000; }
.gk-lead { color: #ddd; font-size: 17px; margin: 0 0 18px; }

/* ---------- Article content ---------- */
.gk-article__h1 { margin: 0 0 8px; font: 400 clamp(24px, 3.2vw, 36px)/1.2 var(--font-promo); color: #fff; }
.gk-article__h1 span { color: var(--yellow); }
.gk-content { max-width: 900px; margin: 0 auto; }
.gk-article { padding: clamp(20px, 4vw, 44px); }
.gk-hub__lead { margin: 0 0 14px; color: var(--muted); }
.gk-hub__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.gk-hub__card {
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 12px; border-radius: 12px;
  background: var(--panel-2); border: 1px solid var(--line);
  color: #fff; text-decoration: none; min-height: 84px;
}
.gk-hub__card strong { color: var(--yellow); font-size: 15px; }
.gk-hub__card span { color: var(--muted); font-size: 13px; line-height: 1.35; }
.gk-hub__card:hover { border-color: var(--yellow); }
.gk-trust {
  margin: 12px 0 0; padding: 12px 14px; border-radius: 10px;
  background: #1a1a1a; border: 1px solid rgba(255, 214, 10, .55);
  color: #f5f5f5; font-size: 14px; line-height: 1.55; text-align: center;
  font-weight: 600;
}
.gk-trust a { color: var(--yellow); text-decoration: underline; text-underline-offset: 2px; }
.gk-faq { margin: 0 0 .65rem; padding: 10px 12px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line); }
.gk-faq summary { cursor: pointer; color: #fff; }
.gk-faq p { margin: .55rem 0 0; color: #ccc; }
.gk-content h2 { font: 700 28px/1.25 var(--font-head); color: var(--yellow); margin: 1.6em 0 .5em; padding-left: 14px; border-left: 4px solid var(--yellow); }
.gk-content h3 { font: 700 21px/1.3 var(--font-head); color: #fff; margin: 1.4em 0 .4em; }
.gk-content h4 { font: 700 18px/1.3 var(--font-head); color: #fff; }
.gk-content p { margin: 0 0 1.1em; }
.gk-content ul, .gk-content ol { padding-left: 1.3em; }
.gk-content li { margin-bottom: .45em; }
.gk-content li::marker { color: var(--yellow); }
.gk-content strong { color: #fff; }
.gk-content a { color: var(--yellow); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.gk-content figure { margin: 2em 0; }
.gk-content figure img { border-radius: var(--radius); width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.gk-content .gk-table { overflow-x: auto; margin: 1.5em 0; border-radius: 12px; border: 1px solid var(--line); }
.gk-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.gk-content .wp-block-table { overflow-x: auto; margin: 1.5em 0; border-radius: 12px; border: 1px solid var(--line); }
.gk-content th, .gk-content td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.gk-content th { background: #2c2c2c; color: var(--yellow); font-family: var(--font-head); font-size: 16px; }
.gk-content tr:nth-child(even) td { background: rgba(255, 255, 255, .02); }
.gk-content .wp-block-columns { display: flex; gap: 18px; flex-wrap: wrap; }
.gk-content .wp-block-column { flex: 1 1 220px; background: var(--panel-2); border-radius: 12px; padding: 16px; }
.gk-content .wp-block-button__link { display: inline-block; padding: 10px 22px; border-radius: 999px; background: var(--yellow); color: #222; font-weight: 700; text-decoration: none; }

/* ---------- Footer ---------- */
.gk-footer { background: #0d0d0d; border-top: 2px solid #262626; padding: 30px 0 100px; text-align: center; color: var(--muted); font-size: 14px; }
.gk-footer__cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; font: 400 17px/1 var(--font-promo); color: #555; margin-bottom: 22px; }
.gk-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; margin-bottom: 18px; }
.gk-footer__links a { color: #6fa8ff; text-decoration: none; padding: 0 10px; border-right: 1px solid #444; }
.gk-footer__links a:last-child { border-right: 0; }
.gk-footer__links a:hover { color: var(--yellow); }
.gk-footer__links--legal { margin-top: -8px; font-size: 14px; }
.gk-footer__links--legal a { color: #aaa; }
.gk-footer__rg { display: flex; justify-content: center; align-items: center; gap: 10px; max-width: 640px; margin: 0 auto 14px; text-align: left; }
.gk-age { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--red); color: #fff; font-weight: 700; }
.gk-footer__bottom { color: #666; }

/* ---------- Floating buttons ---------- */
.gk-float { position: fixed; right: 16px; top: 40%; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.gk-float a { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; font-size: 22px; text-decoration: none; background: linear-gradient(180deg, #3a3a3a, #1d1d1d); border: 1px solid #555; box-shadow: 0 4px 12px rgba(0, 0, 0, .5); transition: transform .2s, border-color .2s; }
.gk-float a:hover { transform: translateX(-4px) scale(1.08); border-color: var(--yellow); }
/* 右側浮球：改尺寸／顏色／文案只動這裡即可 */
.gk-coin {
	--coin-size: 82px;
	--coin-bottom: 90px;
	--coin-right: 14px;
	--coin-bg: radial-gradient(circle at 35% 30%, #2a1040, #141414 55%, #000);
	--coin-ring: var(--gold);
	position: fixed;
	right: var(--coin-right);
	bottom: var(--coin-bottom);
	z-index: 60;
	width: var(--coin-size);
	height: var(--coin-size);
	border-radius: 50%;
	display: grid;
	place-items: center;
	align-content: center;
	gap: 2px;
	text-align: center;
	text-decoration: none;
	color: var(--yellow);
	background: var(--coin-bg);
	border: 3px solid var(--coin-ring);
	box-shadow: 0 0 0 3px rgba(255, 214, 10, .25), 0 0 24px rgba(166, 75, 255, .55);
	animation: gk-coin 2.8s ease-in-out infinite;
}
.gk-coin__logo { width: 40px; height: 40px; object-fit: contain; display: block; filter: drop-shadow(0 2px 6px rgba(0,0,0,.45)); }
.gk-coin__label { font: 800 11px/1 var(--font-promo); letter-spacing: .04em; color: var(--yellow); text-shadow: 0 0 8px rgba(255, 214, 10, .5); }
.gk-coin::after { content: ""; position: absolute; top: 2px; right: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--red); border: 2px solid #fff; animation: gk-blink 1s steps(2, jump-none) infinite; }
.gk-totop { position: fixed; right: 26px; bottom: 186px; z-index: 60; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #ff6a00; color: #fff; font-size: 14px; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s; box-shadow: 0 0 12px rgba(255, 106, 0, .7); }
.is-scrolled .gk-totop { opacity: 1; pointer-events: auto; }
.gk-tabbar { display: none; }

/* ---------- Animations ---------- */
@keyframes gk-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 214, 10, .7), 0 4px 18px rgba(255, 214, 10, .45); } 50% { box-shadow: 0 0 0 10px rgba(255, 214, 10, 0), 0 4px 26px rgba(255, 214, 10, .8); } }
@keyframes gk-shine { 0% { left: -70%; } 60%, 100% { left: 130%; } }
@keyframes gk-marquee { to { transform: translateX(-50%); } }
@keyframes gk-ring { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(18deg); } 20%, 40% { transform: rotate(-18deg); } }
@keyframes gk-bounce { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-8px) scale(1.15); } 70% { transform: translateY(2px); } }
@keyframes gk-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes gk-spin { to { transform: rotate(360deg); } }
@keyframes gk-twinkle { 0%, 100% { opacity: 0; transform: scale(.3) rotate(0); } 50% { opacity: 1; transform: scale(1.3) rotate(45deg); } }
@keyframes gk-blink { 0% { opacity: 1; } 100% { opacity: .35; } }
@keyframes gk-slidein { to { opacity: 1; transform: none; } }
@keyframes gk-kenburns { from { background-size: 110%; } to { background-size: 118%; } }
@keyframes gk-coin { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-10px) rotate(6deg); } }
@keyframes gk-glow { from { transform: translate(0, 0); } to { transform: translate(-40px, 30px); } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.gk-slide__line, .gk-reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.gk-header .wrap { flex-direction: column; gap: 6px; min-height: 0; padding: 10px 0 4px; }
	.gk-nav { width: 100%; overflow-x: visible; }
	.gk-nav ul { width: 100%; justify-content: space-between; gap: 0; }
	.gk-nav li { flex: 1 1 0; min-width: 0; }
	.gk-nav a { width: 100%; padding-left: 2px; padding-right: 2px; }
	.gk-panels { grid-template-columns: 1fr 1fr; }
	.gk-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	body { font-size: 15.5px; }
	.gk-topbar__age { display: none; }
	.gk-topbar .wrap { justify-content: center; }
	.gk-logo-img { width: 160px; }
	.gk-nav__icon { font-size: 26px; }
	.gk-nav a { font-size: 10px; padding-left: 1px; padding-right: 1px; }
	.gk-panels { grid-template-columns: 1fr; gap: 12px; }
	.gk-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
	.gk-tile__name { font-size: 12px; }
	.gk-slider { height: 260px; }
	.gk-slide::before { background: linear-gradient(90deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .45)); }
	.gk-box { padding: 16px 14px; }
	.gk-content h2 { font-size: 23px; }
	.gk-float { display: none; }
	.gk-coin { --coin-size: 64px; --coin-bottom: 84px; --coin-right: 10px; }
	.gk-coin__logo { width: 34px; height: 34px; }
	.gk-coin__label { font-size: 9px; }
	.gk-totop { bottom: 160px; right: 22px; }
	.gk-tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: linear-gradient(180deg, #232323, #111); border-top: 2px solid var(--gold-2); padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); }
	.gk-tabbar a { display: flex; flex-direction: column; align-items: center; font-size: 11px; color: #ccc; text-decoration: none; line-height: 1.3; }
	.gk-tabbar a > span:not(.gk-tabbar__logo) { font-size: 22px; }
	.gk-tabbar__main { color: var(--yellow) !important; font-weight: 600; }
	.gk-tabbar__logo {
		width: 54px;
		height: 54px;
		margin-top: -24px;
		border-radius: 50%;
		display: grid;
		place-items: center;
		background: #111;
		border: 2px solid var(--gold);
		box-shadow: 0 0 16px rgba(255, 214, 10, .55);
		animation: gk-pulse 1.6s infinite;
		overflow: hidden;
	}
	.gk-tabbar__logo img { width: 42px; height: 42px; object-fit: contain; display: block; }
}

/* --- 404 empty --- */
.gk-empty{
	max-width: 36rem;
	margin: 3rem auto 4rem;
	padding: 2.5rem 1.25rem;
	text-align: center;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.gk-empty__code{
	margin: 0;
	letter-spacing: 0.14em;
	font: 700 0.85rem/1 var(--font);
	color: var(--muted);
}
.gk-empty__title{
	margin: 0.65rem 0 0;
	font: 700 clamp(1.6rem, 4vw, 2.2rem)/1.2 var(--font-head);
	color: #fff;
}
.gk-empty__text{
	margin: 0.85rem auto 0;
	max-width: 28rem;
	color: #d0d0d0;
	font-size: 1rem;
	line-height: 1.65;
}
.gk-empty__actions{ margin: 1.35rem 0 0; }

/* --- Astro host glue --- */
.gk-logo-text{
  display:block; font:800 clamp(28px,4vw,44px)/1 var(--font-head);
  background:linear-gradient(90deg,#a64bff,#ff6a00 45%,#ffd60a);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  filter:drop-shadow(0 0 8px rgba(166,75,255,.45)); letter-spacing:-.02em;
}
.gk-main{padding:0;min-width:0}
.gk-body .min-h-screen{min-height:0}
