/* recigreen.com.mx — style sheet */

:root {
	--frame: 1140px;
	--gut: 26px;
	--void: #100d1c;
	--panel: #191531;
	--panel-2: #211c3d;
	--edge: rgba(255, 255, 255, .11);
	--edge-2: rgba(255, 255, 255, .24);
	--body: #b3aecb;
	--faint: #837da0;
	--bright: #f4f2fb;
	--violet: #7c5cff;
	--violet-2: #9b83ff;
	--mint: #2fd3a5;
	--mint-2: #1fae87;
	--rose: #ff5c8a;
	--type: "Trebuchet MS", "Segoe UI", Verdana, "DejaVu Sans", system-ui, sans-serif;
	--pill: 999px;
	--soft: 14px;
}

@media (max-width: 1080px) {
	:root { --gut: 18px }
}

@media (max-width: 700px) {
	:root { --gut: 13px }
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% }

body {
	min-height: 100%;
	display: flex;
	flex-direction: column;
	background: var(--void);
	color: var(--body);
	font: 400 17px/1.7 var(--type);
}

::selection { background: var(--violet); color: #fff }

::-webkit-scrollbar { width: 9px; height: 9px }
::-webkit-scrollbar-track { background: var(--panel) }
::-webkit-scrollbar-thumb { background: var(--violet); border-radius: var(--pill) }

img, svg { max-width: 100%; height: auto }

a { color: var(--mint); text-underline-offset: 3px }
a:hover { color: var(--violet-2) }

/* ---- layout ---- */

.frame { width: 100%; max-width: var(--frame); margin: 0 auto; padding: 0 var(--gut) }

.main-flow { flex: 1 1 auto }

.zone { padding: 38px 0 }

.zone:nth-of-type(even) { background: rgba(255, 255, 255, .017) }

@media (max-width: 700px) {
	.zone { padding: 28px 0 }
}

/* ---- headings ---- */

h1, h2, h3, h4 {
	color: var(--bright);
	line-height: 1.25;
	font-weight: 700;
}

h1 {
	font-size: 36px;
	letter-spacing: -.015em;
	margin-bottom: 20px;
}

h2 {
	position: relative;
	font-size: 27px;
	margin-bottom: 18px;
	padding-bottom: 12px;
}

h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 64px;
	height: 3px;
	border-radius: var(--pill);
	background: linear-gradient(90deg, var(--violet), var(--mint));
}

h3 {
	font-size: 20px;
	margin: 26px 0 10px;
	color: #ded9f2;
}

h4 { font-size: 18px; margin: 18px 0 8px; color: #ded9f2 }

p { margin-bottom: 15px }
p:last-child { margin-bottom: 0 }

strong { color: var(--bright); font-weight: 700 }

.sub {
	color: var(--faint);
	font-size: 15px;
}

@media (max-width: 700px) {
	body { font-size: 16px; line-height: 1.62 }
	h1 { font-size: 28px }
	h2 { font-size: 23px }
	h3 { font-size: 19px; margin-top: 22px }
}

/* ---- lists ---- */

.bullets { list-style: none; margin-bottom: 15px }

.bullets > li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 10px;
}

.bullets > li::before {
	content: "";
	position: absolute;
	left: 6px;
	top: .68em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--mint);
	box-shadow: 0 0 0 4px rgba(47, 211, 165, .16);
}

ol.bullets { counter-reset: b }

ol.bullets > li { counter-increment: b; padding-left: 40px }

ol.bullets > li::before {
	content: counter(b);
	top: .12em;
	left: 0;
	width: 26px;
	height: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--violet);
	box-shadow: none;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

/* ---- buttons ---- */

.cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 15px 32px;
	border: 0;
	border-radius: var(--pill);
	background: linear-gradient(96deg, var(--violet), #b06bff);
	color: #fff;
	font: 700 15px/1 var(--type);
	letter-spacing: .01em;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 6px 20px -8px rgba(124, 92, 255, .8);
	transition: box-shadow .22s, transform .22s;
}

.cta:hover {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 12px 26px -8px rgba(124, 92, 255, .9);
}

.cta_mint {
	background: linear-gradient(96deg, var(--mint-2), var(--mint));
	box-shadow: 0 6px 20px -8px rgba(47, 211, 165, .8);
}

.cta_mint:hover { box-shadow: 0 12px 26px -8px rgba(47, 211, 165, .9) }

.cta_bare {
	background: transparent;
	border: 1px solid var(--edge-2);
	box-shadow: none;
	color: var(--bright);
}

.cta_bare:hover { border-color: var(--mint); box-shadow: none }

.cta_sm { padding: 11px 20px; font-size: 13px }

/* ---- masthead ---- */

.masthead {
	position: sticky;
	top: 0;
	z-index: 600;
	background: rgba(16, 13, 28, .96);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--edge);
}

.masthead__row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 13px 0;
	flex-wrap: wrap;
}

.masthead__mark { display: flex; align-items: center; margin-right: auto; text-decoration: none }
.masthead__mark img { width: 124px; display: block }

.masthead__set { display: flex; align-items: center; gap: 8px }

.masthead__hamb {
	display: none;
	width: 44px;
	height: 38px;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	padding: 0 9px;
	background: var(--panel-2);
	border: 1px solid var(--edge);
	border-radius: var(--pill);
	cursor: pointer;
}

.masthead__hamb i { display: block; height: 2px; border-radius: 2px; background: #ded9f2 }

.nav { flex: 1 1 100%; order: 5 }

.nav ul { display: flex; align-items: center; gap: 6px 8px; list-style: none; flex-wrap: wrap }

.nav a {
	display: block;
	padding: 7px 15px;
	border-radius: var(--pill);
	color: var(--body);
	font-size: 15px;
	text-decoration: none;
	transition: background .18s, color .18s;
}

.nav a:hover { background: var(--panel-2); color: var(--bright) }

@media (max-width: 920px) {
	.masthead { position: static }
	.masthead__hamb { display: flex; order: 2 }
	.masthead__set { order: 4; flex: 1 1 100% }
	.masthead__set .cta { flex: 1 1 0 }
	.nav { display: none }
	.masthead.nav-open .nav { display: block }
	.nav ul { flex-direction: column; align-items: stretch; gap: 2px; padding: 8px 0 4px; border-top: 1px solid var(--edge) }
	.nav a { padding: 12px 14px }
}

/* ---- lede ---- */

.lede__text { max-width: 860px; font-size: 18px }

.lede .cta { margin-top: 24px }

@media (max-width: 700px) {
	.lede__text { font-size: 16px }
	.lede .cta { width: 100% }
}

/* ---- jump (toc) ---- */

.jump {
	margin-top: 26px;
	padding: 20px 22px;
	background: var(--panel);
	border: 1px solid var(--edge);
	border-radius: var(--soft);
}

.jump__cap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.jump__cap b { color: var(--bright); font-size: 16px; letter-spacing: .04em; text-transform: uppercase }

.jump__btn {
	background: none;
	border: 0;
	color: var(--mint);
	font: 700 14px/1 var(--type);
	cursor: pointer;
	padding: 6px 0;
}

.jump__list {
	display: none;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin-top: 16px;
}

.jump.nav-open .jump__list { display: flex }

.jump__list a {
	display: block;
	padding: 8px 16px;
	background: var(--panel-2);
	border: 1px solid var(--edge);
	border-radius: var(--pill);
	color: var(--body);
	font-size: 14px;
	text-decoration: none;
}

.jump__list a:hover { border-color: var(--mint); color: var(--bright) }

/* ---- tables ---- */

.grid-wrap {
	margin: 18px 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border-radius: var(--soft);
	border: 1px solid var(--edge);
}

.grid-wrap table { width: 100%; border-collapse: collapse; font-size: 16px }

.grid-wrap th, .grid-wrap td {
	padding: 13px 18px;
	text-align: left;
	border-bottom: 1px solid var(--edge);
}

.grid-wrap thead th {
	background: var(--panel-2);
	color: var(--bright);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	white-space: nowrap;
}

.grid-wrap tbody th {
	color: var(--body);
	font-weight: 400;
	width: 46%;
}

.grid-wrap td { color: var(--bright) }

.grid-wrap tbody tr:last-child th,
.grid-wrap tbody tr:last-child td { border-bottom: 0 }

.grid-wrap tbody tr:hover th,
.grid-wrap tbody tr:hover td { background: rgba(124, 92, 255, .06) }

.grid-wrap_x table { min-width: 600px }

/* key/value table: no horizontal scroll, wraps instead */
.grid-wrap_kv table { min-width: 0 }
.grid-wrap_kv tbody th { white-space: normal }

.grid-wrap caption {
	padding: 14px 18px;
	text-align: left;
	border-bottom: 1px solid var(--edge);
}

@media (max-width: 700px) {
	.grid-wrap table { font-size: 15px }
	.grid-wrap th, .grid-wrap td { padding: 11px 13px }
	.grid-wrap thead th { font-size: 13px }
}

@media (max-width: 560px) {
	.grid-wrap_kv tbody tr {
		display: flex;
		flex-direction: column;
		gap: 2px;
		padding: 11px 13px;
		border-bottom: 1px solid var(--edge);
	}

	.grid-wrap_kv tbody tr:last-child { border-bottom: 0 }

	.grid-wrap_kv tbody th,
	.grid-wrap_kv tbody td {
		width: auto;
		padding: 0;
		border: 0;
	}
}

/* ---- tiles (games) ---- */

.tiles {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 15px;
	list-style: none;
	margin-top: 20px;
}

.tiles__cell {
	position: relative;
	aspect-ratio: 194 / 112;
	min-height: 114px;
	/* width must stay definite: with an auto inline size the aspect ratio
	   re-derives the width from the clamped min-height (114 -> 197.5px), the
	   cell outgrows its grid track and the page gains horizontal scroll */
	width: 100%;
	min-width: 0;
	border-radius: var(--soft);
	overflow: hidden;
	background: var(--panel-2);
	cursor: pointer;
}

.tiles__cell > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }

.tiles__veil {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 7px;
	padding: 10px;
	background: rgba(16, 13, 28, .9);
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s;
}

.tiles__cell.is-lit .tiles__veil { opacity: 1; visibility: visible }

@media (hover: hover) {
	.tiles__cell:hover .tiles__veil { opacity: 1; visibility: visible }
}

.tiles__title {
	margin: 0;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
}

.tiles__go {
	padding: 8px 6px;
	border: 0;
	border-radius: var(--pill);
	background: var(--violet);
	color: #fff;
	font: 700 12px/1.1 var(--type);
	cursor: pointer;
}

.tiles__try { background: transparent; border: 1px solid #a79ecf; color: #ece9f8 }

.tiles__go:hover { filter: brightness(1.12) }

@media (max-width: 1080px) { .tiles { grid-template-columns: repeat(4, 1fr) } }
@media (max-width: 760px) { .tiles { grid-template-columns: repeat(3, 1fr); gap: 11px } }
@media (max-width: 520px) { .tiles { grid-template-columns: repeat(2, 1fr) } }

/* ---- labs (providers) ---- */

.labs__cap { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 16px }
.labs__cap h2 { margin-bottom: 0 }

.labs__arrows { display: flex; gap: 8px; flex: 0 0 auto }

.labs__arrows button {
	width: 40px;
	height: 40px;
	background: var(--panel-2);
	border: 1px solid var(--edge);
	border-radius: 50%;
	color: #ded9f2;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
}

.labs__arrows button:hover { border-color: var(--mint); color: var(--mint) }

.labs__strip {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 5 * 15px) / 6);
	gap: 15px;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.labs__strip::-webkit-scrollbar { display: none }

.labs__item {
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 9px;
	padding: 14px 10px;
	background: var(--panel);
	border: 1px solid var(--edge);
	border-radius: var(--soft);
	color: var(--faint);
	font-size: 13px;
	text-align: center;
}

.labs__item img { width: 100%; max-width: 148px; aspect-ratio: 373 / 210; object-fit: contain }

@media (max-width: 1080px) { .labs__strip { grid-auto-columns: calc((100% - 3 * 15px) / 4) } }
@media (max-width: 760px) { .labs__strip { grid-auto-columns: calc((100% - 2 * 15px) / 3) } }
@media (max-width: 520px) {
	.labs__strip { grid-auto-columns: calc((100% - 15px) / 2) }
	.labs__arrows { display: none }
}

/* ---- deals ---- */

.deals {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 17px;
	list-style: none;
	margin-top: 20px;
}

.deals__card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 14px;
	min-height: 230px;
	padding: 22px;
	border-radius: var(--soft);
	background: var(--panel);
	border: 1px solid var(--edge);
	overflow: hidden;
}

.deals__card > img {
	position: absolute;
	right: -8%;
	top: -6%;
	width: 58%;
	max-width: none;
	opacity: .9;
}

.deals__card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(160deg, rgba(25, 21, 49, .35) 0%, rgba(16, 13, 28, .95) 58%);
}

.deals__label, .deals__act { position: relative; z-index: 2 }

.deals__label {
	margin: 0;
	color: var(--bright);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
}

.deals__act { align-self: flex-start }

.deals__card:nth-child(1) { border-color: rgba(124, 92, 255, .55) }
.deals__card:nth-child(2) { border-color: rgba(47, 211, 165, .55) }
.deals__card:nth-child(3) { border-color: rgba(255, 92, 138, .55) }

@media (max-width: 900px) {
	.deals { grid-template-columns: 1fr }
	.deals__card { min-height: 186px }
	.deals__label { font-size: 18px; max-width: 66% }
}

/* ---- guide (steps) ---- */

.guide { list-style: none; counter-reset: g; margin: 20px 0; display: grid; gap: 14px }

.guide__step {
	counter-increment: g;
	position: relative;
	padding: 18px 20px 18px 70px;
	background: var(--panel);
	border: 1px solid var(--edge);
	border-radius: var(--soft);
}

.guide__step::before {
	content: counter(g);
	position: absolute;
	left: 18px;
	top: 18px;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: linear-gradient(140deg, var(--violet), var(--mint));
	color: #fff;
	font-size: 16px;
	font-weight: 700;
}

.guide__name { margin: 0 0 5px; font-size: 18px; color: var(--bright) }
.guide__note { margin: 0; font-size: 16px }
.guide__step .cta { margin-top: 14px }

@media (max-width: 700px) {
	.guide__step { padding: 15px 16px 16px 60px }
	.guide__step::before { left: 14px; top: 15px; width: 32px; height: 32px; font-size: 15px }
	.guide__name { font-size: 17px }
	.guide__step .cta { width: 100% }
}

/* ---- desk (contacts) ---- */

.desk { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; margin: 18px 0 }

.desk li {
	padding: 17px 19px;
	background: var(--panel);
	border: 1px solid var(--edge);
	border-radius: var(--soft);
}

.desk b { display: block; margin-bottom: 4px; color: var(--bright); font-size: 16px }
.desk span, .desk a { font-size: 15px; word-break: break-word }
.desk span { color: var(--body) }

@media (max-width: 900px) { .desk { grid-template-columns: repeat(2, 1fr) } }
@media (max-width: 620px) { .desk { grid-template-columns: 1fr } }

/* ---- flag (callout) ---- */

.flag {
	margin: 18px 0;
	padding: 18px 20px;
	border-radius: var(--soft);
	background: rgba(124, 92, 255, .09);
	border: 1px solid rgba(124, 92, 255, .35);
	color: #d8d3ee;
	font-size: 16px;
}

.flag p:last-child { margin-bottom: 0 }

/* ---- ask (faq) ---- */

.ask { display: grid; gap: 11px; margin-top: 20px }

.ask__row {
	background: var(--panel);
	border: 1px solid var(--edge);
	border-radius: var(--soft);
	overflow: hidden;
}

.ask__row[open] { border-color: rgba(124, 92, 255, .5) }

.ask__q {
	display: flex;
	align-items: flex-start;
	gap: 13px;
	padding: 16px 20px;
	color: var(--bright);
	font-size: 17px;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.ask__q::-webkit-details-marker { display: none }

.ask__q h3 { margin: 0; font: inherit; color: inherit }

.ask__q::before {
	content: "?";
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
	border-radius: 50%;
	background: var(--violet);
	color: #fff;
	font-size: 14px;
	line-height: 1;
}

.ask__row[open] .ask__q::before { content: "!"; background: var(--mint) }

.ask__a { padding: 0 20px 18px 57px; font-size: 16px }

@media (max-width: 700px) {
	.ask__q { font-size: 16px; padding: 14px 15px }
	.ask__a { padding: 0 15px 15px 15px; font-size: 15px }
}

/* ---- sheet (demo modal) ---- */

.sheet-bg {
	position: fixed;
	inset: 0;
	z-index: 900;
	display: none;
	align-items: center;
	justify-content: center;
	padding: var(--gut);
	background: rgba(8, 6, 14, .86);
}

.sheet-bg.is-lit { display: flex }

.sheet {
	display: flex;
	flex-direction: column;
	gap: 13px;
	width: 100%;
	max-width: 1040px;
	height: 100%;
	max-height: 690px;
	padding: 17px;
	background: var(--panel);
	border: 1px solid var(--edge-2);
	border-radius: var(--soft);
}

.sheet__cap { display: flex; align-items: center; justify-content: space-between; gap: 12px }
.sheet__name { color: var(--bright); font-size: 19px; font-weight: 700 }

.sheet__x {
	width: 38px;
	height: 38px;
	background: var(--panel-2);
	border: 1px solid var(--edge);
	border-radius: 50%;
	color: #ded9f2;
	font-size: 17px;
	line-height: 1;
	cursor: pointer;
}

.sheet__x:hover { border-color: var(--rose); color: var(--rose) }

.sheet__box { position: relative; flex: 1 1 auto; border-radius: var(--soft); background: #06040c; overflow: hidden }
.sheet__box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0 }

.sheet__end { display: flex; justify-content: center }

@media (max-width: 760px) {
	.sheet-bg { padding: 0 }
	.sheet { max-height: none; border: 0; border-radius: 0 }
	.sheet__end .cta { width: 100% }
}

/* ---- credits (footer) ---- */

.credits {
	margin-top: 14px;
	background: var(--panel);
	border-top: 1px solid var(--edge-2);
	padding: 30px 0 34px;
}

.credits__head {
	display: flex;
	align-items: center;
	gap: 18px 30px;
	flex-wrap: wrap;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--edge);
}

.credits__head img { width: 116px }

.credits__nav { display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; margin-left: auto }

.credits__nav a {
	display: block;
	padding: 7px 15px;
	border: 1px solid var(--edge);
	border-radius: var(--pill);
	color: var(--body);
	font-size: 14px;
	text-decoration: none;
}

.credits__nav a:hover { border-color: var(--mint); color: var(--bright) }

.paycards { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; list-style: none; padding: 20px 0; border-bottom: 1px solid var(--edge) }
.paycards img { max-height: 23px; width: auto; opacity: .68 }

.credits__warn {
	display: flex;
	align-items: flex-start;
	gap: 13px;
	padding-top: 20px;
	color: var(--faint);
	font-size: 13.5px;
	line-height: 1.62;
}

.credits__mark { margin: 13px 0 0; color: var(--faint); font-size: 13.5px }

.age {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 2px solid var(--rose);
	border-radius: 50%;
	color: var(--rose);
	font-size: 13px;
	font-weight: 700;
}

@media (max-width: 860px) {
	.credits__nav { margin-left: 0; flex: 1 1 100% }
	.paycards { justify-content: center; gap: 20px }
}

@media (max-width: 760px) {
	.credits { padding-bottom: 88px }
}

/* ---- up ---- */

.up {
	position: fixed;
	right: 17px;
	bottom: 17px;
	z-index: 500;
	width: 48px;
	height: 48px;
	display: none;
	align-items: center;
	justify-content: center;
	background: linear-gradient(140deg, var(--violet), #b06bff);
	border: 0;
	border-radius: 50%;
	color: #fff;
	font-size: 19px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 8px 22px -8px rgba(124, 92, 255, .9);
}

.up.is-lit { display: flex }

.up:hover { filter: brightness(1.12) }
