/* =====================================================================
   Luckiest Partners — "Glass & Minimal" futuristic layer
   ---------------------------------------------------------------------
   This file is layered ON TOP of main.css. To turn the whole look off,
   just remove the <link ... futuristic.css> line in index.html.
   Direction: deep navy, frosted glass panels, soft gradients,
   restrained glow, gentle motion. Body font stays Montserrat.
   ===================================================================== */

/* ---- 1. Deep navy backdrop with soft gradient glows -------------------- */
html, body { overflow-x: hidden; max-width: 100%; }
body {
	background:
		radial-gradient(1200px 620px at 12% -8%, rgba(0, 140, 255, 0.10), transparent 60%),
		radial-gradient(1000px 720px at 96% 6%, rgba(110, 80, 255, 0.09), transparent 55%),
		radial-gradient(1000px 800px at 50% 118%, rgba(0, 190, 200, 0.06), transparent 60%),
		#0b1022 !important;
	background-attachment: fixed !important;
}
#wrapper { overflow-x: hidden; }

/* Make the previously-white content sections transparent so the navy
   backdrop flows continuously through the whole page. */
#one,
#commisions,
#one .about,
#one .contact-us,
#footer {
	background: transparent !important;
}

/* Card icons must never overflow the glass cards (they have fixed px/em widths) */
.join-card .icons { max-width: 92%; height: auto; }
#one .col-projects .icons { width: auto !important; max-width: 70%; height: auto; }

/* About: clear separation between the stat row and the products block so
   nothing overlaps, plus centre the products row (we removed Sports). */
#one .about .inner > .row { margin-bottom: 2.5em !important; }
.our-products { margin-top: 1.5em !important; }
.our-products .row { justify-content: center; }

/* ---- 2. Text colour fixes (was dark-on-white, now light-on-navy) ------ */
#one { color: #c4d0ea !important; }
#one h2 { color: #eef3ff !important; }       /* was #000 — would vanish */
#one p { color: #b9c4de !important; }
#commisions h2 { color: #eef3ff !important; } /* was #11172d */
#one .faq p { color: #b9c4de !important; }    /* accordion panel text */
/* h1 / h3 stay #00aaff — already great on navy */

::selection { background: rgba(0, 170, 255, 0.32); color: #ffffff; }

/* ---- 3. Typography polish (crisp + minimal, still Montserrat) --------- */
#banner h1,
#one h1,
#commisions h1 {
	letter-spacing: 0.02em;
}
#banner h1 {
	text-shadow: 0 0 28px rgba(0, 170, 255, 0.35); /* restrained glow */
}
/* Banner overlay — the template commented out the overlay colour, so the photo
   showed at full brightness (the white you saw at the top). Restore a dark
   gradient so the hero reads dark and the headline stays legible. */
#banner:after {
	background: linear-gradient(180deg, rgba(8, 12, 30, 0.80) 0%, rgba(8, 12, 30, 0.55) 40%, rgba(8, 12, 30, 0.97) 88%, #0b1022 100%) !important;
	opacity: 1 !important;
}

/* ---- 4. Glass panels --------------------------------------------------- */
/* Shared recipe applied to the JOIN row, product cards and About stats.   */
.join-card,
#one .col-projects,
.col-about {
	background: rgba(255, 255, 255, 0.05) !important;
	border: 1px solid rgba(255, 255, 255, 0.10) !important;
	border-radius: 18px !important;
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	padding: 1.75rem 1.5rem !important;
	margin: 0 !important;            /* drop the template's 20px card margin (gaps added per-column below) */
	height: 100%;                    /* equal-height cards within a row (Casino == Live Casino) */
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.join-card:hover,
#one .col-projects:hover,
.col-about:hover {
	transform: translateY(-6px);
	border-color: rgba(0, 180, 255, 0.45) !important;
	box-shadow: 0 22px 55px rgba(0, 0, 0, 0.40), 0 0 28px rgba(0, 160, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}
/* The About stat cards had a broken bg image + solid fill — reset cleanly */
.col-about { background-image: none !important; }

/* ---- 5. FAQ accordion as glass ---------------------------------------- */
/* No backdrop-filter here on purpose: blur + border-radius on these stacked
   boxes can produce clipping artifacts in some browsers. Solid translucent
   fills give the same glass look without the glitch. */
.accordion {
	background-color: rgba(255, 255, 255, 0.05) !important;
	color: #cfe1ff !important;
	border: 1px solid rgba(127, 196, 255, 0.22) !important;
	transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.active,
.accordion:hover {
	background-color: rgba(0, 160, 255, 0.14) !important;
	border: 1px solid rgba(0, 180, 255, 0.45) !important;
	color: #ffffff !important;
}
/* Open panel: dark translucent, merges flush under its accordion header */
.panel {
	background-color: rgba(8, 13, 30, 0.6) !important;
	border: 1px solid rgba(127, 196, 255, 0.15);
	border-top: none;
	border-radius: 0 0 10px 10px;
}
.panel p {
	padding: 1.1em 0 !important;   /* vertical breathing room so text isn't cramped */
}
/* +/- toggle icons are light-grey PNGs — force pure white so they read on navy */
.accordion:after {
	-webkit-filter: brightness(0) invert(1);
	filter: brightness(0) invert(1);
}
/* FAQ category tabs — both start as glass; the selected one turns blue.
   A tiny script toggles .tab-active (IDs win on specificity). */
#getting-started-btn,
#commissions-btn {
	background: rgba(255, 255, 255, 0.06) !important;
	background-image: none !important;
	color: #7fc4ff !important;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.20) !important;
}
#getting-started-btn.tab-active,
#commissions-btn.tab-active {
	background: transparent !important;
	background-image: linear-gradient(135deg, #00b4ff 0%, #3f7be0 100%) !important;
	color: #ffffff !important;
	box-shadow: 0 6px 22px rgba(0, 160, 255, 0.32) !important;
}

/* ---- 6. Buttons: sleek gradient + glass, soft glow -------------------- */
/* Body buttons only (hero, commissions, FAQ tabs) — these carry BOTH the
   `button` and `button-1/2` classes. The header buttons have only
   `button-1/2`, so `.button.button-X` deliberately excludes them. */
.button.button-1 {
	background-image: linear-gradient(135deg, #00b4ff 0%, #3f7be0 100%) !important;
	background-color: transparent !important;
	border: none !important;
	box-shadow: 0 6px 22px rgba(0, 160, 255, 0.32) !important;
	transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease !important;
}
.button.button-1:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(0, 170, 255, 0.50) !important;
	filter: brightness(1.06);
	color: #ffffff !important;
}
.button.button-2 {
	background: rgba(255, 255, 255, 0.06) !important;
	border: none !important;                       /* kill inline black border on the Affiliate Terms button */
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.30) !important;
	color: #ffffff !important;
	transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease !important;
}
.button.button-2:hover {
	transform: translateY(-2px);
	background: rgba(255, 255, 255, 0.14) !important;
	box-shadow: inset 0 0 0 1px rgba(0, 180, 255, 0.55), 0 6px 20px rgba(0, 0, 0, 0.25) !important;
	color: #ffffff !important;
}

/* Header buttons — the visible pill is the inner <span>. In the header,
   SIGN UP (button-2) is primary (filled gradient); LOGIN (button-1) is the
   secondary glass outline. */
#header nav a.button-1 span {
	padding: 6px 14px;
	border: 1px solid rgba(255, 255, 255, 0.45) !important;
	background: rgba(255, 255, 255, 0.07) !important;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: #ffffff !important;
	border-radius: 7px;
	transition: background 0.25s ease, border-color 0.25s ease;
}
#header nav a.button-1:hover span {
	background: rgba(255, 255, 255, 0.16) !important;
	border-color: rgba(0, 180, 255, 0.75) !important;
}
#header nav a.button-2 span {
	padding: 7px 16px;
	background: linear-gradient(135deg, #00b4ff 0%, #3f7be0 100%) !important;
	color: #ffffff !important;
	border-radius: 7px;
	box-shadow: 0 4px 16px rgba(0, 160, 255, 0.35);
	transition: filter 0.25s ease, box-shadow 0.25s ease;
}
#header nav a.button-2:hover span {
	filter: brightness(1.08);
	box-shadow: 0 6px 22px rgba(0, 170, 255, 0.5);
}

/* ---- 7. Frosted header — identical in both states so it doesn't change
   colour when you scroll past the banner (.alt is dropped on scroll). ---- */
#header,
#header.alt {
	background: rgba(9, 13, 30, 0.72) !important;
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
	box-shadow: 0 4px 22px rgba(0, 0, 0, 0.28) !important;
}

/* ---- 8. Section accent: thin gradient underline under H1s ------------- */
#one > .inner > h1,
#commisions .inner > h1 {
	display: block;            /* stay full-width so text-align:center keeps it centred */
	position: relative;
	padding-bottom: 0.4em;
}
#one > .inner > h1:after,
#commisions .inner > h1:after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 64px;
	height: 3px;
	transform: translateX(-50%);
	border-radius: 3px;
	background: linear-gradient(90deg, transparent, #00b4ff, transparent);
}

/* ---- 9. Footer hairline ------------------------------------------------ */
#footer {
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ---- 10. Custom slim scrollbar ---------------------------------------- */
* { scrollbar-color: #2a3a66 transparent; scrollbar-width: thin; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb {
	background: linear-gradient(#2a3a66, #1b2547);
	border-radius: 10px;
	border: 2px solid #0b1022;
}
*::-webkit-scrollbar-thumb:hover { background: #00aaff; }

/* ---- 11. Gentle motion (disabled for reduced-motion users) ------------ */
@media (prefers-reduced-motion: no-preference) {
	#banner:before {
		content: "";
		position: absolute;
		inset: 0;
		z-index: 2;            /* above the dark overlay (:after, z1), below content */
		pointer-events: none;
		background:
			radial-gradient(circle at 28% 22%, rgba(0, 180, 255, 0.16), transparent 42%),
			radial-gradient(circle at 78% 72%, rgba(120, 90, 255, 0.14), transparent 46%);
		animation: lp-hero-glow 16s ease-in-out infinite alternate;
	}
	@keyframes lp-hero-glow {
		0%   { opacity: 0.55; transform: scale(1); }
		100% { opacity: 1;    transform: scale(1.08); }
	}
}

/* ---- 12. Responsive: stacked-card spacing on tablet/mobile ------------- */
@media screen and (max-width: 980px) {
	/* When the grid collapses to one column, give the glass cards real gaps */
	.icons-hldr .row > *,
	#one .about .inner > .row > *,
	.our-products .row > * {
		margin-bottom: 1.25rem !important;
	}
	/* Tighten oversized section padding a touch on smaller screens */
	#wrapper > * > .inner { padding-top: 3em; padding-bottom: 1.5em; }
}

@media screen and (max-width: 736px) {
	/* Hero headline shouldn't overflow on small screens */
	#banner h1 { font-size: 2.6em; word-break: break-word; }
	/* A little more side breathing room for stacked content */
	#one .inner { padding-left: 1rem; padding-right: 1rem; }
}
