/* Arena-Ro 5.0 — colors taken from the logo: night navy, violet/magenta flame, electric blue, gold, silver */
:root {
	--bg: #07061a;
	--bg-2: #0d0b2b;
	--panel: rgba(22, 16, 58, .72);
	--panel-solid: #15103a;
	--line: rgba(160, 120, 255, .22);
	--line-strong: rgba(190, 140, 255, .45);
	--text: #ece8ff;
	--muted: #a59cc9;
	--silver: #dfe3f2;
	--violet: #8b2cf5;
	--magenta: #e040fb;
	--blue: #3fa9ff;
	--gold: #f5b942;
	--gold-2: #ffd978;
	--gold-dark: #b9781a;
	--ok: #4ee6a6;
	--bad: #ff5f7e;
	--radius: 16px;
	--shadow: 0 20px 60px -20px rgba(0, 0, 0, .7);
	--glow-v: 0 0 0 1px var(--line), 0 10px 40px -10px rgba(139, 44, 245, .45);
	--wrap: 1180px;
	color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: "Kanit", system-ui, sans-serif;
	font-weight: 300;
	font-size: 16px;
	line-height: 1.65;
	color: var(--text);
	background:
		radial-gradient(1200px 700px at 80% -10%, rgba(139, 44, 245, .28), transparent 60%),
		radial-gradient(900px 600px at -10% 20%, rgba(63, 169, 255, .16), transparent 60%),
		radial-gradient(800px 600px at 50% 110%, rgba(224, 64, 251, .14), transparent 60%),
		var(--bg);
	background-attachment: fixed;
	min-height: 100vh;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3 { font-weight: 600; line-height: 1.25; margin: 0 0 .5em; color: #fff; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.ic { width: 20px; height: 20px; flex: none; }

/* ambient floating orbs */
.bg-fx { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.bg-fx span {
	position: absolute; border-radius: 50%; filter: blur(70px); opacity: .35;
	animation: drift 22s ease-in-out infinite alternate;
}
.bg-fx span:nth-child(1) { width: 380px; height: 380px; background: var(--violet); top: 10%; left: 65%; }
.bg-fx span:nth-child(2) { width: 300px; height: 300px; background: var(--blue); top: 55%; left: 5%; animation-duration: 28s; }
.bg-fx span:nth-child(3) { width: 260px; height: 260px; background: var(--magenta); top: 75%; left: 70%; animation-duration: 25s; opacity: .22; }
@keyframes drift { to { transform: translate(-60px, 40px) scale(1.15); } }

/* ---------- top bar ---------- */
.topbar {
	position: sticky; top: 0; z-index: 50;
	background: rgba(7, 6, 26, .72);
	backdrop-filter: blur(14px) saturate(140%);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	border-bottom: 1px solid var(--line);
}
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand img { width: 128px; height: auto; filter: drop-shadow(0 0 12px rgba(224, 64, 251, .45)); transition: transform .3s; }
.brand:hover img { transform: scale(1.04); }
.mainnav { display: flex; gap: 4px; align-items: center; }
.mainnav a {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 9px 14px; border-radius: 10px;
	color: var(--silver); font-weight: 400; font-size: 15px;
	transition: background .2s, color .2s;
}
.mainnav a:hover { background: rgba(139, 44, 245, .18); color: #fff; }
.mainnav a.on { background: linear-gradient(135deg, rgba(139, 44, 245, .4), rgba(63, 169, 255, .25)); color: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); }
.mainnav a.nav-topup { color: var(--gold-2); }
.mainnav a.nav-discord { color: #b9bfff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 8px; cursor: pointer; }

/* ---------- buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 13px 26px; border-radius: 12px; border: 0; cursor: pointer;
	font: 500 16px/1.2 "Kanit", sans-serif; letter-spacing: .2px;
	transition: transform .15s, box-shadow .25s, filter .2s;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold {
	color: #2a1600;
	background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, var(--gold-dark));
	box-shadow: 0 0 0 1px rgba(255, 217, 120, .6) inset, 0 10px 30px -8px rgba(245, 185, 66, .6);
}
.btn-gold:hover { color: #2a1600; box-shadow: 0 0 0 1px rgba(255, 230, 160, .9) inset, 0 14px 40px -8px rgba(245, 185, 66, .85); }
.btn-violet {
	color: #fff;
	background: linear-gradient(135deg, var(--violet), var(--magenta));
	box-shadow: 0 10px 30px -10px rgba(224, 64, 251, .7);
}
.btn-violet:hover { color: #fff; filter: brightness(1.12); }
.btn-ghost { color: var(--silver); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-ghost:hover { color: #fff; background: rgba(139, 44, 245, .16); }
.btn-discord { color: #fff; background: #5865f2; box-shadow: 0 10px 30px -10px rgba(88, 101, 242, .8); }
.btn-discord:hover { color: #fff; filter: brightness(1.1); }
.btn[disabled], .btn.is-off { opacity: .45; pointer-events: none; filter: grayscale(.5); }
.btn-block { width: 100%; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 56px 0 40px; text-align: center; }
.hero-logo {
	width: min(860px, 100%); margin: 0 auto;
	filter: drop-shadow(0 0 40px rgba(139, 44, 245, .55)) drop-shadow(0 0 80px rgba(63, 169, 255, .25));
	animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-10px); } }
.hero-tag {
	display: inline-block; margin-top: 8px; padding: 6px 16px; border-radius: 999px;
	font-size: 14px; letter-spacing: 1px; color: var(--gold-2);
	background: rgba(245, 185, 66, .08); box-shadow: inset 0 0 0 1px rgba(245, 185, 66, .35);
}
.hero h1 { font-size: clamp(22px, 3.4vw, 34px); margin: 18px 0 8px; font-weight: 500; }
.hero h1 b { background: linear-gradient(90deg, var(--blue), var(--magenta), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 600; }
.hero p.lead { color: var(--muted); max-width: 640px; margin: 0 auto 26px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- status strip ---------- */
.status {
	margin: 34px auto 0; max-width: 920px;
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
	background: var(--line); border-radius: var(--radius); overflow: hidden;
	box-shadow: var(--glow-v);
}
.status > div { background: var(--panel-solid); padding: 16px 12px; text-align: center; }
.status .k { font-size: 13px; color: var(--muted); display: block; }
.status .v { font-size: 20px; font-weight: 500; color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); display: inline-block; }
.dot.ok { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.dot.bad { background: var(--bad); box-shadow: 0 0 10px var(--bad); }
.status .v.num { color: var(--gold-2); }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head .eyebrow { font-family: "Cinzel", serif; letter-spacing: 3px; font-size: 13px; color: var(--blue); text-transform: uppercase; }
.section-head h2 { font-size: clamp(24px, 3vw, 34px); margin-top: 6px; }
.section-head p { color: var(--muted); max-width: 600px; margin: 0 auto; }
.divider { height: 2px; width: 90px; margin: 14px auto 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

.card {
	background: var(--panel);
	border-radius: var(--radius);
	box-shadow: var(--glow-v);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	position: relative;
}
.card::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
	background: linear-gradient(140deg, rgba(63, 169, 255, .55), transparent 35%, transparent 65%, rgba(224, 64, 251, .55));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor; mask-composite: exclude;
}

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 26px 24px; transition: transform .25s; }
.feature:hover { transform: translateY(-4px); }
.feature .fi {
	width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px;
	color: #fff; background: linear-gradient(135deg, var(--violet), var(--blue));
	box-shadow: 0 8px 24px -8px rgba(139, 44, 245, .8);
}
.feature .fi .ic { width: 26px; height: 26px; }
.feature:nth-child(3n+2) .fi { background: linear-gradient(135deg, var(--magenta), var(--violet)); }
.feature:nth-child(3n) .fi { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #2a1600; }
.feature h3 { font-size: 19px; }
.feature p { color: var(--muted); margin: 0; font-size: 15px; }

.rates { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.rate { padding: 14px 26px; text-align: center; min-width: 140px; }
.rate b { display: block; font-family: "Cinzel", serif; font-size: 28px; color: var(--gold-2); text-shadow: 0 0 18px rgba(245, 185, 66, .45); }
.rate span { color: var(--muted); font-size: 14px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { padding: 28px 24px 24px; }
.step::after {
	counter-increment: s; content: counter(s);
	position: absolute; top: -16px; left: 22px; width: 34px; height: 34px; border-radius: 50%;
	display: grid; place-items: center; font-weight: 600; color: #2a1600;
	background: linear-gradient(180deg, var(--gold-2), var(--gold));
	box-shadow: 0 0 18px rgba(245, 185, 66, .6);
}
.step h3 { font-size: 18px; margin-top: 6px; }
.step p { color: var(--muted); font-size: 15px; }

.cta-band { padding: 40px 32px; text-align: center; overflow: hidden; }
.cta-band h2 { font-size: clamp(22px, 3vw, 30px); }
.cta-band p { color: var(--muted); }
.cta-band .hero-cta { margin-top: 18px; }

/* ---------- page header ---------- */
.page-hero { padding: 48px 0 8px; text-align: center; }
.page-hero h1 { font-size: clamp(28px, 4vw, 40px); }
.page-hero p { color: var(--muted); max-width: 620px; margin: 0 auto; }

/* ---------- forms ---------- */
.form-wrap { max-width: 520px; margin: 28px auto 0; padding: 32px 28px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; color: var(--silver); margin-bottom: 6px; font-weight: 400; }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.input {
	width: 100%; padding: 12px 14px; border-radius: 10px;
	font: 400 16px "Kanit", sans-serif; color: #fff;
	background: rgba(5, 4, 20, .65); border: 1px solid var(--line-strong);
	transition: border-color .2s, box-shadow .2s;
}
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(63, 169, 255, .22); }
.input.is-bad { border-color: var(--bad); }
.input-pass { position: relative; }
.input-pass .input { padding-right: 70px; }
.input-pass button {
	position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
	background: rgba(255, 255, 255, .06); border: 0; color: var(--muted); border-radius: 8px;
	padding: 6px 10px; font: 400 13px "Kanit", sans-serif; cursor: pointer;
}
.sex-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sex-pick label {
	margin: 0; cursor: pointer; text-align: center; padding: 11px; border-radius: 10px;
	border: 1px solid var(--line-strong); background: rgba(5, 4, 20, .5); color: var(--silver);
	transition: all .2s;
}
.sex-pick input { position: absolute; opacity: 0; pointer-events: none; }
.sex-pick input:checked + span { color: #fff; }
.sex-pick label:has(input:checked) { border-color: var(--magenta); background: rgba(224, 64, 251, .14); box-shadow: 0 0 0 3px rgba(224, 64, 251, .15); }
.sex-pick input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { margin-top: 5px; accent-color: var(--violet); width: 16px; height: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; font-size: 15px; display: flex; gap: 10px; align-items: flex-start; }
.alert ul { margin: 0; padding-left: 18px; }
.alert-bad { background: rgba(255, 95, 126, .1); border: 1px solid rgba(255, 95, 126, .45); color: #ffc2cf; }
.alert-ok { background: rgba(78, 230, 166, .09); border: 1px solid rgba(78, 230, 166, .45); color: #c5ffe6; }
.success { text-align: center; }
.success .big { width: 70px; height: 70px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: rgba(78, 230, 166, .12); color: var(--ok); box-shadow: 0 0 0 1px rgba(78, 230, 166, .5), 0 0 30px rgba(78, 230, 166, .3); }
.success .big .ic { width: 36px; height: 36px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; text-align: left; max-width: 300px; margin: 16px auto 22px; font-size: 15px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: #fff; font-weight: 500; }

/* ---------- downloads ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 920px; margin: 28px auto 0; }
.dl { padding: 28px 26px; display: flex; flex-direction: column; }
.dl .fi { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; color: #fff; margin-bottom: 14px; background: linear-gradient(135deg, var(--violet), var(--blue)); box-shadow: 0 10px 28px -10px rgba(139, 44, 245, .9); }
.dl .fi .ic { width: 30px; height: 30px; }
.dl h3 { font-size: 21px; margin-bottom: 4px; }
.dl p { color: var(--muted); font-size: 15px; flex: 1; }
.dl .size { font-size: 13px; color: var(--blue); margin-bottom: 14px; }
.dl-links { display: flex; gap: 10px; flex-wrap: wrap; }
.dl-links .btn { flex: 1; }
.req { max-width: 920px; margin: 26px auto 0; padding: 24px 26px; }
.req h3 { font-size: 18px; }
.req-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 30px; font-size: 15px; }
.req-grid div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line); padding: 6px 0; }
.req-grid span { color: var(--muted); }
.soon { font-size: 12px; opacity: .8; }

/* ---------- top-up ---------- */
.topup-box { max-width: 720px; margin: 28px auto 0; padding: 30px 28px; text-align: center; }
.topup-box .fi { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 18px; display: grid; place-items: center; color: #2a1600; background: linear-gradient(180deg, var(--gold-2), var(--gold)); box-shadow: 0 0 30px rgba(245, 185, 66, .45); }
.topup-box .fi .ic { width: 34px; height: 34px; }
.notes { text-align: left; margin: 20px auto 22px; max-width: 520px; padding: 0; list-style: none; }
.notes li { display: flex; gap: 10px; padding: 6px 0; color: var(--silver); font-size: 15px; }
.notes li .ic { color: var(--ok); margin-top: 3px; width: 18px; height: 18px; }

/* ---------- discord ---------- */
.discord-box { max-width: 620px; margin: 28px auto 0; padding: 36px 28px; text-align: center; }
.discord-box .fi { width: 74px; height: 74px; margin: 0 auto 14px; border-radius: 22px; display: grid; place-items: center; color: #fff; background: #5865f2; box-shadow: 0 0 40px rgba(88, 101, 242, .55); }
.discord-box .fi .ic { width: 40px; height: 40px; }

/* ---------- footer ---------- */
.footer { margin-top: 70px; border-top: 1px solid var(--line); background: rgba(5, 4, 18, .7); }
.footer-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 32px; padding-bottom: 20px; flex-wrap: wrap; }
.footer-brand img { width: 150px; filter: drop-shadow(0 0 12px rgba(139, 44, 245, .4)); }
.footer-brand p { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.footer-links { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.footer-links a { color: var(--silver); font-size: 15px; }
.footer-links a:hover { color: var(--gold-2); }
.footer-legal { padding-bottom: 26px; }
.footer-legal p { font-size: 12.5px; color: #6f6893; margin: 0; border-top: 1px solid rgba(160, 120, 255, .1); padding-top: 16px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

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

/* ---------- responsive ---------- */
@media (max-width: 900px) {
	.features, .steps { grid-template-columns: 1fr 1fr; }
	.status { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
	.nav-toggle { display: inline-flex; }
	.mainnav {
		position: absolute; top: 72px; left: 0; right: 0;
		flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 16px;
		background: rgba(9, 7, 30, .97); border-bottom: 1px solid var(--line);
		display: none;
	}
	.mainnav.open { display: flex; }
	.mainnav a { padding: 12px 14px; font-size: 16px; }
	.topbar-in { height: 64px; }
	.mainnav { top: 64px; }
	.brand img { width: 108px; }
	.features, .steps, .dl-grid, .req-grid { grid-template-columns: 1fr; }
	.hero { padding-top: 30px; }
	.section { padding: 46px 0; }
	.form-wrap, .topup-box, .discord-box { padding: 26px 18px; }
	.footer-in { flex-direction: column; align-items: flex-start; }
	.btn { padding: 12px 20px; }
}
@media (max-width: 420px) {
	.hero-cta .btn { width: 100%; }
	.status .v { font-size: 17px; }
}
