/* Light Rays test page — canvas background + constructor panel */

.light-rays-canvas {
	position: fixed;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	display: block;
}

.light-rays-static {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 0;
	pointer-events: none;
	line-height: 0;
}

.light-rays-static img {
	width: 100%;
	height: auto;
	display: block;
	opacity: 0.95;
}

.light-rays-static__fade {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 200px;
	background: linear-gradient(to top, #12101a, transparent);
}

.light-rays-static[hidden] {
	display: none;
}

body.light-rays-mode-both .light-rays-canvas {
	opacity: 0.55;
	mix-blend-mode: screen;
}

.light-rays-panel {
	position: fixed;
	top: 160px;
	right: 16px;
	z-index: 60;
	width: min(320px, calc(100vw - 24px));
	max-height: calc(100vh - 180px);
	overflow: auto;
	padding: 14px;
	border-radius: 18px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(16, 13, 26, 0.92);
	backdrop-filter: blur(16px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
	color: #fff;
	font-family: Mulish, sans-serif;
}

.light-rays-panel__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 12px;
}

.light-rays-panel__head strong {
	font-size: 15px;
	font-weight: 800;
}

.light-rays-panel__hint {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.4);
}

.light-rays-panel__modes {
	display: flex;
	gap: 6px;
	margin-bottom: 14px;
}

.light-rays-controls__btn {
	appearance: none;
	border: 0;
	cursor: pointer;
	flex: 1;
	border-radius: 100px;
	padding: 8px 10px;
	font-family: Mulish, sans-serif;
	font-size: 12px;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.55);
	background: rgba(255, 255, 255, 0.04);
	transition: color 0.2s ease, background 0.2s ease;
}

.light-rays-controls__btn:hover {
	color: #fff;
}

.light-rays-controls__btn.is-active {
	color: #fff;
	background: #a046d3;
}

.light-rays-panel__section {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 12px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.light-rays-panel__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.light-rays-panel__sub {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
}

.light-rays-field {
	display: grid;
	gap: 4px;
	font-size: 12px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.72);
}

.light-rays-field em {
	font-style: normal;
	color: #c887e8;
	font-variant-numeric: tabular-nums;
}

.light-rays-field input[type='range'] {
	width: 100%;
	accent-color: #a046d3;
}

.light-rays-field--color {
	grid-template-columns: 1fr auto;
	align-items: center;
}

.light-rays-field--color input[type='color'] {
	width: 42px;
	height: 28px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 8px;
	background: transparent;
	cursor: pointer;
}

.light-rays-check {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.light-rays-check input {
	accent-color: #a046d3;
	width: 16px;
	height: 16px;
}

.light-rays-mini-btn {
	appearance: none;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.04);
	color: rgba(255, 255, 255, 0.8);
	border-radius: 8px;
	padding: 6px 10px;
	font-size: 11px;
	font-weight: 700;
	cursor: pointer;
	font-family: Mulish, sans-serif;
	flex: 1;
}

.light-rays-mini-btn:hover {
	background: rgba(160, 70, 211, 0.25);
	border-color: rgba(160, 70, 211, 0.45);
}

.light-rays-mini-btn.is-danger {
	color: #ffb4b4;
}

.light-rays-ray-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-height: 280px;
	overflow: auto;
}

.light-rays-ray {
	padding: 10px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.03);
	display: grid;
	gap: 6px;
}

.light-rays-ray.is-off {
	opacity: 0.45;
}

.light-rays-ray__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.light-rays-ray__top strong {
	font-size: 12px;
	font-weight: 800;
}

.light-rays-ray__top label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.55);
	cursor: pointer;
}

.light-rays-panel__foot {
	display: flex;
	gap: 8px;
	padding-top: 10px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.light-rays-panel__json {
	width: 100%;
	margin-top: 10px;
	resize: vertical;
	min-height: 72px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(0, 0, 0, 0.35);
	color: rgba(255, 255, 255, 0.55);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 10px;
	line-height: 1.4;
	padding: 8px;
}

@media (max-width: 900px) {
	.light-rays-panel {
		top: auto;
		bottom: 12px;
		right: 12px;
		left: 12px;
		width: auto;
		max-height: 42vh;
	}
}

@media (prefers-reduced-motion: reduce) {
	.light-rays-canvas {
		opacity: 0.85;
	}

	.lr-play,
	.lr-play__glow-wrap,
	.lr-play__glow,
	.lr-play__border,
	.lr-play__inner-a,
	.lr-play__pulse,
	.lr-play__inner-b {
		transition: none;
	}
}

/* Join The Revolution — Framer Purple Play Now (archive/live phenompoker.com) */

.lr-join {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 24px;
	padding: 48px 24px;
	border-radius: 30px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.02);
}

.lr-join__heading {
	margin: 0;
	font-family: Mulish, sans-serif;
	font-weight: 900;
	font-size: clamp(40px, 8vw, 64px);
	line-height: 1.05;
	letter-spacing: -1px;
	color: #fff;
}

.lr-join__heading span {
	color: #a046d3;
}

.lr-join__sub {
	margin: 0;
	max-width: 420px;
	font-family: Mulish, sans-serif;
	font-weight: 500;
	font-size: 16px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.55);
}

.lr-play {
	--lr-r: 200px;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 222px;
	min-height: 70px;
	padding: 18px 48px;
	border-radius: var(--lr-r);
	background: rgb(59, 58, 61);
	text-decoration: none;
	overflow: visible;
	cursor: pointer;
	isolation: isolate;
}

.lr-play__border-fixed,
.lr-play__glow-wrap,
.lr-play__bg,
.lr-play__edge {
	position: absolute;
	pointer-events: none;
}

.lr-play__border-fixed {
	inset: 0;
	border-radius: var(--lr-r);
	overflow: hidden;
	background: linear-gradient(180deg, rgb(184, 97, 255) 0%, rgb(193, 128, 255) 100%);
	z-index: 0;
}

.lr-play__glow-wrap {
	inset: -93px -71px;
	z-index: 1;
	-webkit-mask: radial-gradient(93% 98.8% at 50% 64.3%, #000 0%, transparent 0%);
	mask: radial-gradient(93% 98.8% at 50% 64.3%, #000 0%, transparent 0%);
	transition: -webkit-mask 1s cubic-bezier(0.25, 1, 0.5, 1), mask 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.lr-play:hover .lr-play__glow-wrap {
	-webkit-mask: radial-gradient(93% 98.8% at 50% 64.3%, #000 0%, transparent 100%);
	mask: radial-gradient(93% 98.8% at 50% 64.3%, #000 0%, transparent 100%);
}

.lr-play__glow,
.lr-play__border {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 218px;
	height: 70px;
	margin: -35px 0 0 -109px;
	border-radius: var(--lr-r);
	overflow: hidden;
}

.lr-play__glow {
	box-shadow:
		0 0 0 0 rgba(255, 255, 255, 0),
		0 0.92px 0.92px -0.4px rgba(160, 70, 211, 0.19),
		0 2.19px 2.19px -0.81px rgba(160, 70, 211, 0.19),
		0 3.99px 3.99px -1.22px rgba(160, 70, 211, 0.19),
		0 6.64px 6.64px -1.63px rgba(160, 70, 211, 0.18),
		0 10.72px 10.72px -2.03px rgba(160, 70, 211, 0.18),
		0 17.55px 17.55px -2.44px rgba(160, 70, 211, 0.17),
		0 30.22px 30.22px -2.84px rgba(160, 70, 211, 0.15),
		0 55px 55px -3.25px rgba(160, 70, 211, 0.11),
		0 0 0 0 rgba(160, 70, 211, 0.3);
	transition: box-shadow 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.lr-play:hover .lr-play__glow {
	box-shadow:
		0 11px 14px -10px rgb(255, 255, 255),
		0 0.92px 0.92px -0.4px rgba(160, 70, 211, 0.39),
		0 2.19px 2.19px -0.81px rgba(160, 70, 211, 0.38),
		0 3.99px 3.99px -1.22px rgba(160, 70, 211, 0.38),
		0 6.64px 6.64px -1.63px rgba(160, 70, 211, 0.37),
		0 10.72px 10.72px -2.03px rgba(160, 70, 211, 0.35),
		0 17.55px 17.55px -2.44px rgba(160, 70, 211, 0.33),
		0 30.22px 30.22px -2.84px rgba(160, 70, 211, 0.29),
		0 55px 55px -3.25px rgba(160, 70, 211, 0.21),
		0 40px 60px -10px rgba(160, 70, 211, 0.42);
}

.lr-play__border {
	background: linear-gradient(180deg, rgb(160, 70, 211) 0%, rgb(160, 70, 211) 100%);
	transition: background 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.lr-play:hover .lr-play__border {
	background: linear-gradient(180deg, rgb(126, 133, 181) 0%, rgb(201, 245, 255) 100%);
}

.lr-play__bg {
	inset: 1px;
	border-radius: var(--lr-r);
	overflow: hidden;
	background: #a046d3;
	z-index: 2;
	transition: background-color 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.lr-play:hover .lr-play__bg {
	background: #12101a;
}

.lr-play__inner-a,
.lr-play__pulse,
.lr-play__inner-b {
	position: absolute;
	inset: 0;
	border-radius: var(--lr-r);
}

.lr-play__inner-a {
	z-index: 3;
	background: radial-gradient(58% 75% at 50% 100%, rgba(19, 49, 112, 0) 0%, rgba(21, 18, 84, 0) 100%);
	box-shadow: inset 0 0 0 0 rgba(93, 91, 245, 0);
	opacity: 1;
	transition: background 1s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 1s cubic-bezier(0.25, 1, 0.5, 1), opacity 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.lr-play:hover .lr-play__inner-a {
	background: radial-gradient(58% 75% at 50% 100%, rgb(160, 70, 211) 0%, rgba(51, 19, 69, 0) 100%);
	box-shadow: inset 0 -12px 12px -7px rgba(160, 70, 211, 0.72);
}

.lr-play__pulse {
	z-index: 2;
	background: radial-gradient(129% 219% at 50% 88.7%, rgba(38, 118, 209, 0.5) 0%, rgba(32, 69, 138, 0) 0.14%, rgba(32, 69, 138, 0) 2.72%);
	filter: blur(3px);
	opacity: 0.6;
	transition: background 1s cubic-bezier(0.25, 1, 0.5, 1), opacity 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.lr-play:hover .lr-play__pulse {
	background: radial-gradient(129% 219% at 50% 88.7%, rgba(160, 70, 211, 0) 0%, rgba(160, 70, 211, 0.5) 0%, rgba(160, 70, 211, 0) 50.7%);
}

.lr-play__inner-b {
	z-index: 1;
	background: radial-gradient(53% 100% at 50% 77.7%, rgba(31, 26, 105, 0) 0%, rgba(21, 18, 84, 0) 100%);
	box-shadow: inset 0 0 0 0 rgba(36, 31, 184, 0);
	transition: background 1s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 1s cubic-bezier(0.25, 1, 0.5, 1), opacity 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.lr-play:hover .lr-play__inner-b {
	background: radial-gradient(53% 100% at 50% 77.7%, rgb(31, 26, 105) 0%, rgba(21, 18, 84, 0) 100%);
	box-shadow: inset 0 -27px 27px -10px rgba(160, 70, 211, 0.46);
}

.lr-play__edge {
	inset: 1px;
	border-radius: var(--lr-r);
	z-index: 7;
	box-shadow: inset 0 0 2px 1.52px rgba(0, 0, 0, 0.3), inset 0 0 4px 4.04px rgba(89, 98, 201, 0.25);
}

.lr-play__label {
	position: relative;
	z-index: 9;
	font-family: 'Satoshi Variable', Mulish, sans-serif;
	font-weight: 900;
	font-size: 20px;
	letter-spacing: -0.01em;
	line-height: 34px;
	text-transform: uppercase;
	color: #fff;
	background-image: linear-gradient(0deg, rgba(255, 255, 255, 0.9) 20%, rgb(255, 255, 255) 42%);
	-webkit-background-clip: text;
	background-clip: text;
}
