:root {
	--rl-bg: #f6f3ff;
	--rl-bg-deep: #ede9fe;
	--rl-card: #ffffff;
	--rl-line: #ddd6fe;
	--rl-ink: #3a2a45;
	--rl-muted: #7a6686;
	--rl-mint: #6ed6b0;
	--rl-mint-deep: #3db892;
	--rl-pink: #7c3aed;
	--rl-pink-deep: #5b21b6;
	--rl-lilac: #b79cff;
	--rl-sky: #7ec8ff;
	--rl-peach: #ffb086;
	--rl-gold: #ffd166;
	--rl-dark: #4a3470;
	--rl-dark-2: #5b4290;
	--rl-radius: 18px;
	--rl-max: 1280px;
	--rl-font: "Nunito", "Segoe UI", sans-serif;
	--rl-display: "Fredoka", "Nunito", sans-serif;
	--rl-shadow: 0 12px 28px rgba(91, 33, 182, 0.14);
	--rl-shadow-lift: 0 18px 40px rgba(90, 66, 144, 0.16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
	margin: 0;
	min-height: 100vh;
	font-family: var(--rl-font);
	font-size: 16px;
	line-height: 1.55;
	color: var(--rl-ink);
	background:
		radial-gradient(900px 420px at 10% -10%, rgba(124,58,237,0.20), transparent 60%),
		radial-gradient(800px 380px at 90% 0%, rgba(126,200,255,0.22), transparent 55%),
		var(--rl-bg);
}

a { color: var(--rl-pink-deep); text-decoration: none; }
a:hover { color: var(--rl-lilac); }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
	font-family: var(--rl-display);
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.15;
	margin: 0 0 0.55em;
	color: var(--rl-ink);
}
p { margin: 0 0 1rem; }

/* TOPBAR */
.rl-topbar {
	position: sticky;
	top: 0;
	z-index: 50;
	background: linear-gradient(90deg, #3b0764, #6d28d9);
	backdrop-filter: blur(12px);
	border-bottom: 3px solid rgba(255,209,102,0.55);
	box-shadow: 0 8px 24px rgba(90,66,144,0.18);
}
.rl-topbar__inner {
	width: min(var(--rl-max), calc(100% - 2rem));
	margin: 0 auto;
	min-height: 70px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
.rl-logo {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	color: #fff !important;
}
.rl-logo__mark {
	width: 40px;
	height: 40px;
	border-radius: 14px;
	display: grid;
	place-items: center;
	font-family: var(--rl-display);
	font-weight: 700;
	font-size: 0.95rem;
	background: linear-gradient(135deg, var(--rl-gold), var(--rl-peach));
	color: #5a2d4a;
	box-shadow: 0 0 0 3px rgba(255,255,255,0.25), 0 8px 18px rgba(255,177,134,0.45);
	animation: rl-bounce 2.4s ease-in-out infinite;
}
.rl-logo__text {
	font-family: var(--rl-display);
	font-weight: 700;
	font-size: 1.28rem;
	letter-spacing: -0.02em;
}
.rl-logo__text span { color: var(--rl-gold); }

.rl-nav {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.15rem 0.85rem;
	justify-content: flex-end;
}
.rl-nav > a,
.rl-nav__drop > summary {
	color: rgba(255,255,255,0.92);
	font-weight: 800;
	font-size: 0.95rem;
	padding: 0.35rem 0.15rem;
	cursor: pointer;
	list-style: none;
}
.rl-nav__drop > summary::-webkit-details-marker { display: none; }
.rl-nav > a:hover,
.rl-nav__drop > summary:hover { color: var(--rl-gold); }

.rl-nav__account {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	margin-left: 0.4rem;
	padding-left: 0.75rem;
	border-left: 1px solid rgba(255,255,255,0.22);
}
.rl-nav__register {
	background: linear-gradient(135deg, var(--rl-mint), var(--rl-sky));
	color: #1d3b45 !important;
	padding: 0.45rem 0.95rem !important;
	border-radius: 999px;
	box-shadow: 0 8px 18px rgba(110,214,176,0.35);
}
.rl-nav__drop { position: relative; }
.rl-nav__drop-panel {
	position: absolute;
	right: 0;
	top: calc(100% + 0.45rem);
	min-width: 200px;
	padding: 0.5rem;
	background: #fff;
	border: 1px solid var(--rl-line);
	border-radius: 14px;
	display: none;
	flex-direction: column;
	z-index: 60;
	box-shadow: var(--rl-shadow-lift);
}
.rl-nav__drop[open] .rl-nav__drop-panel { display: flex; }
.rl-nav__drop-panel a {
	color: var(--rl-ink);
	padding: 0.45rem 0.6rem;
	border-radius: 10px;
	font-size: 0.92rem;
	font-weight: 700;
}
.rl-nav__drop-panel a:hover { background: #ede9fe; color: var(--rl-pink-deep); }

.rl-nav__toggle {
	display: none;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255,255,255,0.35);
	border-radius: 12px;
	background: rgba(255,255,255,0.12);
	padding: 10px;
	flex-direction: column;
	justify-content: space-between;
}
.rl-nav__toggle span {
	display: block;
	height: 2px;
	background: #fff;
	border-radius: 2px;
}

/* STATUS */
.rl-statusbar {
	background: linear-gradient(90deg, #f1edff, #eaf8ff);
	border-bottom: 1px solid var(--rl-line);
	color: var(--rl-muted);
	font-size: 0.9rem;
	font-weight: 700;
}
.rl-statusbar__inner {
	width: min(var(--rl-max), calc(100% - 2rem));
	margin: 0 auto;
	min-height: 40px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.55rem;
}
.rl-statusbar a { color: var(--rl-pink-deep); font-weight: 800; }
.rl-statusbar strong { color: var(--rl-dark); }
.rl-statusbar__sep { opacity: 0.35; }
.rl-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--rl-mint);
	box-shadow: 0 0 0 4px rgba(110,214,176,0.25);
}

/* HERO */
.rl-hero {
	position: relative;
	min-height: min(78vh, 720px);
	display: grid;
	align-items: end;
	overflow: hidden;
	isolation: isolate;
}
.rl-hero__slides {
	position: absolute;
	inset: 0;
	z-index: -2;
	overflow: hidden;
}
.rl-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 40%;
	opacity: 0;
	transform: scale(1.06);
	filter: saturate(1.15) contrast(1.02);
	transition: opacity 1.1s ease, transform 4s ease;
	will-change: opacity, transform;
}
.rl-hero__bg.is-active {
	opacity: 1;
	transform: scale(1.12);
}
.rl-hero__dots {
	display: flex;
	gap: 0.45rem;
	margin-top: 1.15rem;
}
.rl-hero__dots button {
	width: 9px;
	height: 9px;
	padding: 0;
	border-radius: 999px;
	border: 0;
	background: rgba(255,255,255,0.45);
	cursor: pointer;
	transition: width 200ms ease, background 200ms ease;
}
.rl-hero__dots button.is-active {
	width: 22px;
	background: #fff;
}
.rl-hero__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(74,52,112,0.18) 0%, rgba(74,52,112,0.08) 35%, rgba(74,52,112,0.62) 100%),
		linear-gradient(90deg, rgba(124,58,237,0.30) 0%, rgba(74,52,112,0.05) 50%, rgba(126,200,255,0.22) 100%);
}
.rl-hero__wisps {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 1;
	overflow: hidden;
}
.rl-hero__wisps i {
	position: absolute;
	bottom: -10%;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(124,58,237,0.85);
	animation: rl-wisp 9s linear infinite;
}
.rl-hero__wisps i:nth-child(odd) { background: rgba(126,200,255,0.85); }
.rl-hero__wisps i:nth-child(3n) { background: rgba(255,209,102,0.85); width: 5px; height: 5px; }
.rl-hero__wisps i:nth-child(1) { left: 8%; }
.rl-hero__wisps i:nth-child(2) { left: 18%; animation-delay: 1.2s; }
.rl-hero__wisps i:nth-child(3) { left: 32%; animation-delay: 2.1s; }
.rl-hero__wisps i:nth-child(4) { left: 48%; animation-delay: 0.6s; }
.rl-hero__wisps i:nth-child(5) { left: 61%; animation-delay: 3s; }
.rl-hero__wisps i:nth-child(6) { left: 73%; animation-delay: 1.7s; }
.rl-hero__wisps i:nth-child(7) { left: 84%; animation-delay: 2.6s; }
.rl-hero__wisps i:nth-child(8) { left: 93%; animation-delay: 0.9s; }

.rl-hero__content {
	position: relative;
	z-index: 2;
	width: min(var(--rl-max), calc(100% - 2rem));
	margin: 0 auto 3.2rem;
	padding-top: 4rem;
}
.rl-brand {
	font-family: var(--rl-display);
	font-weight: 700;
	font-size: clamp(2.9rem, 9vw, 5.8rem);
	letter-spacing: -0.03em;
	line-height: 0.92;
	margin: 0 0 0.55rem;
	color: #fff;
	text-shadow:
		0 3px 0 rgba(90,66,144,0.25),
		0 14px 36px rgba(74,52,112,0.45);
}
.rl-brand span { color: #fff; }
.rl-brand__accent {
	background: linear-gradient(90deg, var(--rl-gold), var(--rl-peach), var(--rl-pink));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent !important;
	-webkit-text-fill-color: transparent;
}
.rl-hero__eyebrow {
	color: rgba(255,255,255,0.95);
	font-weight: 800;
	font-size: 1.05rem;
	margin: 0 0 0.9rem;
	text-shadow: 0 4px 16px rgba(0,0,0,0.35);
}
.rl-hero__badges {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	padding: 0;
	margin: 0 0 1.25rem;
}
.rl-hero__badges li {
	padding: 0.4rem 0.8rem;
	border-radius: 999px;
	background: rgba(255,255,255,0.88);
	border: 2px solid #fff;
	color: var(--rl-dark);
	font-size: 0.88rem;
	font-weight: 800;
	box-shadow: 0 8px 18px rgba(74,52,112,0.15);
}
.rl-hero__badges li.is-gold { background: #fff4cc; color: #9a6b00; }
.rl-hero__badges li.is-pink { background: #ede9fe; color: #5b21b6; }
.rl-hero__badges li.is-mint { background: #d9fff0; color: #0f7a58; }

.rl-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
}
.rl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.75rem 1.3rem;
	border-radius: 999px;
	font-weight: 800;
	font-family: var(--rl-display);
	border: 2px solid transparent;
	transition: transform 160ms ease, filter 160ms ease;
}
.rl-btn:hover { transform: translateY(-2px) scale(1.02); }
.rl-btn--primary {
	background: linear-gradient(135deg, var(--rl-pink), var(--rl-lilac));
	color: #fff !important;
	box-shadow: 0 12px 28px rgba(124, 58, 237, 0.38);
	animation: rl-pulse 2.6s ease-in-out infinite;
}
.rl-btn--ghost {
	background: rgba(255,255,255,0.9);
	border-color: #fff;
	color: var(--rl-dark) !important;
	box-shadow: 0 10px 24px rgba(74,52,112,0.15);
}

/* TILES */
.rl-tiles {
	width: min(var(--rl-max), calc(100% - 2rem));
	margin: 0 auto;
	padding: 2.4rem 0 0.5rem;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.1rem;
}
.rl-tile {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	min-height: 200px;
	box-shadow: var(--rl-shadow);
	border: 3px solid #fff;
	color: #fff !important;
}
.rl-tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	min-height: 200px;
	filter: saturate(1.18);
	transition: transform 500ms ease;
}
.rl-tile:hover img { transform: scale(1.07); }
.rl-tile__label {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 1.15rem 1rem 1rem;
	background: linear-gradient(180deg, transparent, rgba(74,52,112,0.88));
	font-family: var(--rl-display);
	font-weight: 700;
	font-size: 1.2rem;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}
.rl-tile__label small {
	font-family: var(--rl-font);
	font-weight: 700;
	font-size: 0.8rem;
	color: rgba(255,255,255,0.85);
}

/* BANDS */
.rl-band { padding: 3.4rem 0; }
.rl-band--mint {
	background: linear-gradient(180deg, #eafff6, #e7f7ff);
}
.rl-band--dark {
	background: linear-gradient(135deg, #2e1065 0%, #6d28d9 45%, #8b5cf6 100%);
	color: #fff;
}
.rl-band--dark h2,
.rl-band--dark h3 { color: #fff; }
.rl-band__inner {
	width: min(var(--rl-max), calc(100% - 2rem));
	margin: 0 auto;
}
.rl-band__lede {
	text-align: center;
	color: var(--rl-muted);
	margin: -0.4rem 0 1.7rem;
	font-weight: 700;
}
.rl-band--dark .rl-band__lede { color: rgba(255,255,255,0.88); }

.rl-fancy {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.85rem;
	font-size: clamp(1.55rem, 3vw, 2.1rem);
	margin-bottom: 1.4rem;
	text-align: center;
	color: var(--rl-dark);
}
.rl-band--dark .rl-fancy { color: #fff; }
.rl-fancy i {
	width: 42px;
	height: 8px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--rl-pink), var(--rl-gold), var(--rl-sky));
	display: block;
}

/* NEWS */
.rl-news { display: grid; gap: 1rem; }
.rl-news__card {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 1.25rem;
	background: var(--rl-card);
	border: 2px solid #ede9fe;
	border-radius: var(--rl-radius);
	padding: 1.1rem;
	box-shadow: var(--rl-shadow);
	align-items: start;
}
.rl-news__thumb {
	width: 100%;
	height: 160px;
	object-fit: cover;
	border-radius: 14px;
	filter: saturate(1.12);
}
.rl-news__meta {
	color: var(--rl-muted);
	font-size: 0.88rem;
	margin-bottom: 0.4rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
	font-weight: 700;
}
.rl-tag {
	display: inline-flex;
	padding: 0.18rem 0.55rem;
	border-radius: 999px;
	background: #ede9fe;
	color: var(--rl-pink-deep);
	font-weight: 800;
	font-size: 0.75rem;
}
.rl-news__text { color: var(--rl-muted); font-weight: 600; }
.rl-more { font-weight: 800; }

/* STATS / FEATURES */
.rl-stats {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0.85rem;
}
.rl-stat {
	background: #fff;
	border: 2px solid #fff;
	border-radius: 16px;
	padding: 1.1rem 0.9rem;
	text-align: center;
	box-shadow: var(--rl-shadow);
}
.rl-stat:nth-child(1) { background: #ede9fe; }
.rl-stat:nth-child(2) { background: #fff4cc; }
.rl-stat:nth-child(3) { background: #d9fff0; }
.rl-stat:nth-child(4) { background: #e7f0ff; }
.rl-stat:nth-child(5) { background: #ffe8d8; }
.rl-stat strong {
	display: block;
	font-family: var(--rl-display);
	font-size: 1.25rem;
	color: var(--rl-dark);
	margin-bottom: 0.2rem;
}
.rl-stat span { color: var(--rl-muted); font-size: 0.88rem; font-weight: 700; }

.rl-features {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}
.rl-feature {
	background: var(--rl-card);
	border: 2px solid #ede9fe;
	border-radius: 16px;
	padding: 1.25rem 1.15rem;
	box-shadow: var(--rl-shadow);
}
.rl-feature h3 { margin-bottom: 0.35rem; color: var(--rl-dark); }
.rl-feature p { margin: 0; color: var(--rl-muted); font-weight: 600; }

.rl-join {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 1.5rem;
	align-items: center;
}
.rl-join__copy p { color: rgba(255,255,255,0.92); max-width: 38ch; font-weight: 700; }
.rl-join__art {
	border-radius: 18px;
	overflow: hidden;
	border: 3px solid rgba(255,255,255,0.65);
	box-shadow: var(--rl-shadow-lift);
}
.rl-join__art img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	min-height: 240px;
	filter: saturate(1.15);
}
.rl-band--dark .rl-btn--ghost {
	background: rgba(255,255,255,0.95);
	color: var(--rl-dark) !important;
}

/* INNER */
.rl-main--page { padding: 2rem 0 3rem; }
.rl-shell--panel {
	width: min(var(--rl-max), calc(100% - 2rem));
	margin: 0 auto;
	background: var(--rl-card);
	border: 2px solid #ede9fe;
	border-radius: 18px;
	padding: 1.4rem 1.3rem 2rem;
	box-shadow: var(--rl-shadow);
}
.rl-message {
	padding: 0.85rem 1rem;
	border-radius: 14px;
	background: #d9fff0;
	border: 1px solid #9aebc8;
	margin: 0 0 1rem;
	font-weight: 700;
}
.sub-menu a, .page-menu a {
	display: inline-block;
	margin: 0 0.4rem 0.5rem 0;
	padding: 0.4rem 0.8rem;
	border-radius: 999px;
	background: #ede9fe;
	border: 1px solid #c4b5fd;
	color: var(--rl-pink-deep);
	font-size: 0.88rem;
	font-weight: 800;
}
table { width: 100%; border-collapse: collapse; margin: 0 0 1rem; font-size: 0.92rem; }
th, td { padding: 0.65rem; border-bottom: 1px solid var(--rl-line); text-align: left; }
th { color: var(--rl-pink-deep); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
input[type=text], input[type=password], input[type=file], input[type=email], textarea, select {
	width: 100%;
	max-width: 420px;
	padding: 0.7rem 0.85rem !important;
	border-radius: 12px !important;
	border: 2px solid #c4b5fd !important;
	background: #fff !important;
	color: var(--rl-ink) !important;
	font-family: var(--rl-font) !important;
	font-weight: 700 !important;
}
button, input[type=submit], input[type=button] {
	border: 0;
	border-radius: 999px;
	padding: 0.7rem 1.2rem;
	font-weight: 800;
	font-family: var(--rl-display);
	cursor: pointer;
	background: linear-gradient(135deg, var(--rl-pink), var(--rl-lilac));
	color: #fff;
}

/* FOOTER */
.rl-footer {
	border-top: 4px solid transparent;
	border-image: linear-gradient(90deg, #7c3aed, #ffd166, #7ec8ff, #6ed6b0) 1;
	background: linear-gradient(180deg, #2e1065, #1e0a3c);
	color: rgba(255,255,255,0.82);
	padding: 2.2rem 0 1.8rem;
}
.rl-footer__inner {
	width: min(var(--rl-max), calc(100% - 2rem));
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr;
	gap: 1.25rem;
}
.rl-footer__brand {
	font-family: var(--rl-display);
	font-weight: 700;
	color: #fff;
	margin: 0 0 0.25rem;
	font-size: 1.25rem;
}
.rl-footer__tag { margin: 0; font-size: 0.92rem; font-weight: 700; }
.rl-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem 1rem;
}
.rl-footer__links a { color: #ede9fe; font-weight: 800; }
.rl-footer__links a:hover { color: var(--rl-gold); }
.rl-footer__meta {
	display: grid;
	gap: 0.55rem;
	justify-items: end;
	font-size: 0.88rem;
	font-weight: 700;
}
.rl-footer__meta a { color: var(--rl-gold); }
.rl-footer__lang {
	display: flex;
	align-items: center;
	gap: 0.45rem;
}
.rl-footer__lang select {
	max-width: 150px;
	padding: 0.35rem 0.5rem !important;
	background: rgba(255,255,255,0.12) !important;
	color: #fff !important;
	border-color: rgba(255,255,255,0.25) !important;
}

/* MOTION */
.rl-reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.55s ease, transform 0.55s ease;
}
.rl-reveal.is-visible {
	opacity: 1;
	transform: none;
}

@keyframes rl-kenburns {
	from { transform: scale(1.04) translateY(0); }
	to { transform: scale(1.1) translateY(-1.5%); }
}
@keyframes rl-wisp {
	0% { transform: translateY(0) scale(1); opacity: 0; }
	15% { opacity: 0.9; }
	100% { transform: translateY(-110vh) scale(0.6); opacity: 0; }
}
@keyframes rl-pulse {
	0%, 100% { box-shadow: 0 12px 28px rgba(124, 58, 237, 0.32); }
	50% { box-shadow: 0 16px 36px rgba(183, 156, 255, 0.5); }
}
@keyframes rl-bounce {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-3px); }
}

@media (max-width: 980px) {
	.rl-tiles { grid-template-columns: repeat(2, 1fr); }
	.rl-stats { grid-template-columns: repeat(2, 1fr); }
	.rl-join, .rl-features, .rl-news__card { grid-template-columns: 1fr; }
	.rl-footer__inner { grid-template-columns: 1fr; }
	.rl-footer__meta { justify-items: start; }
}
@media (max-width: 760px) {
	.rl-nav__toggle { display: flex; }
	.rl-nav {
		display: none;
		position: absolute;
		left: 1rem; right: 1rem; top: 70px;
		flex-direction: column;
		align-items: stretch;
		padding: 0.85rem;
		background: #fff;
		border: 2px solid #ede9fe;
		border-radius: 16px;
		box-shadow: var(--rl-shadow-lift);
	}
	.rl-nav.is-open { display: flex; }
	.rl-nav > a,
	.rl-nav__drop > summary { color: var(--rl-dark); }
	.rl-nav__account {
		margin: 0.4rem 0 0;
		padding: 0.6rem 0 0;
		border-left: 0;
		border-top: 1px solid #ede9fe;
	}
	.rl-nav__drop-panel { position: static; box-shadow: none; border: 0; }
	.rl-hero { min-height: 70vh; }
}
@media (prefers-reduced-motion: reduce) {
	.rl-hero__bg, .rl-hero__wisps i, .rl-btn--primary, .rl-logo__mark { animation: none !important; transition: opacity 0.4s ease !important; }
}
