/* BNB black & yellow theme + effects. Loaded after main.min.css. Remove the <link> to revert. */
:root {
	--bg: #0b0e11;
	--bg-2: #14181d;
	--card: #1e2329;
	--line: #2b3139;
	--yellow: #f0b90b;
	--yellow-2: #fcd535;
	--text: #eaecef;
	--muted: #848e9c;
}

/* ---------- base ---------- */
body { background-color: var(--bg); color: var(--muted); }
.preloader { background: var(--bg) !important; animation: preloaderOut .4s ease 2.5s forwards; }
@keyframes preloaderOut { to { opacity: 0; visibility: hidden; } }

.wrapper > div[style*="clear"] { display: none; } /* 50px spacer under the header */
.wrapper::before { /* soft yellow glow at the top */
	content: ""; position: absolute; inset: 0 0 auto 0; height: 700px; pointer-events: none;
	background: radial-gradient(ellipse at 50% 0%, rgba(240, 185, 11, .16), transparent 65%);
}

/* the template's blue space artwork: tone it down so it reads as black */
.about__bg, .services__bg, .services__cosmos, .docs__bg, .team__bg, .contact-bg, .cases__bg {
	filter: grayscale(1) brightness(.5) sepia(.6) hue-rotate(5deg); opacity: .35; pointer-events: none;
}

/* AOS can leave content invisible; always show it */
[data-aos] { opacity: 1 !important; transform: none !important; }

/* ---------- spacing ---------- */
.section { padding: 56px 0; }
.section--no-pad-bot { padding-bottom: 0; }
.about { padding-top: 120px; }
.section-header--medium-margin { margin-bottom: 32px; }
.about p { margin-bottom: 22px; }
.cases__item { margin-bottom: 32px; }
.about__img { max-width: 100%; height: auto; }

/* ---------- colors ---------- */
h1, h2, h3, h4, h5, h6 { color: #fff; }
.section-header h2 span { color: var(--yellow); }
.about ul li:before { background-color: var(--yellow); }
a { color: var(--yellow); }
a:hover { color: var(--yellow-2); }
.menu__link { color: var(--text); }
.menu__link:hover { color: var(--yellow); }
.header.sticky, .fixed-menu { background-color: rgba(11, 14, 17, .92); border-bottom-color: var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-menu div { background-color: var(--yellow) !important; }
.btn-close svg path { fill: var(--yellow); }
.container-counter::after { background: linear-gradient(90deg, transparent, var(--yellow), transparent) !important; }
.accordion li { border-bottom-color: var(--line); }
.accordion a:after { border-bottom-color: var(--yellow); }
.accordion a:before { border-left-color: var(--yellow); }
.accordion a:hover { color: var(--yellow) !important; }
.copyright { color: var(--muted); }
.footer { border-top: 1px solid var(--line); }

/* form + slider (inline <style> in index.html, hence !important) */
.form__input { background-color: var(--card); color: #fff; border: 1px solid var(--line); }
.form__input:disabled { opacity: 1; }
.input-group-text { color: var(--muted); }
#dailyRoi, #totalProfitPercent, #profitCurrencyValue { color: var(--yellow) !important; }
.ui-slider { background: linear-gradient(90deg, var(--yellow), var(--yellow-2)) !important; border-color: var(--line) !important; }
.ui-slider .slider-range-inverse { background: var(--card) !important; }
.ui-state-default, .ui-widget-content .ui-state-default { border-color: var(--yellow) !important; background: var(--bg) !important; }
.ui-slider .ui-slider-handle:before { border-color: var(--yellow) !important; }
.mark { background: var(--yellow) !important; color: #000 !important; }
.mark:after { border-top-color: var(--yellow) !important; }

/* ---------- buttons ---------- */
.btn, .btn-sign-in {
	position: relative; overflow: hidden; font-weight: 700;
	background: linear-gradient(135deg, var(--yellow-2), var(--yellow)) !important;
	color: #0b0e11 !important;
	transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.btn span { color: inherit; }
.btn::before { display: none; }
.btn:after { background: transparent !important; opacity: 1 !important; }
.btn::after, .btn-sign-in::after {
	content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
	background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .65), transparent) !important;
	transform: skewX(-20deg); pointer-events: none;
}
.btn:hover::after, .btn-sign-in:hover::after { left: 130%; transition: left .7s ease; }
.btn:hover, .btn-sign-in:hover { transform: translateY(-3px) scale(1.03); filter: brightness(1.08); box-shadow: 0 8px 28px rgba(240, 185, 11, .55) !important; }
.btn:active, .btn-sign-in:active { transform: translateY(0) scale(.97); }
.btn--orange, .btn--big { animation: pulseYellow 2.4s ease-in-out infinite; }
.btn--orange:hover, .btn--big:hover { animation: none; }
@keyframes pulseYellow {
	0%, 100% { box-shadow: 0 0 0 0 rgba(240, 185, 11, .5); }
	50%      { box-shadow: 0 0 0 12px rgba(240, 185, 11, 0); }
}

/* ---------- cards ---------- */
.service__bg { /* inline colored backgrounds -> BNB card */
	background: linear-gradient(145deg, #2b3139, #1a1e23) !important;
	box-shadow: inset 0 0 0 1px rgba(240, 185, 11, .3), 0 10px 30px rgba(0, 0, 0, .4) !important;
	border-radius: 10px; transition: transform .5s ease;
}
.service, .cases__item {
	position: relative; overflow: hidden;
	transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}
.cases__item {
	background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 22px;
}
.service__title { color: var(--text); }
.service__title span, .cases__item-title span { color: var(--yellow); }
.cases__item-title { color: #fff; }
.cases__item-text { color: var(--muted); }
.service::after, .cases__item::after {
	content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
	background: linear-gradient(120deg, transparent, rgba(240, 185, 11, .22), transparent);
	transform: skewX(-20deg); pointer-events: none;
}
.service:hover, .cases__item:hover { transform: translateY(-8px) scale(1.02) !important; box-shadow: 0 18px 40px rgba(240, 185, 11, .18); border-color: var(--yellow); }
.service:hover::after, .cases__item:hover::after { left: 140%; transition: left .9s ease; }
.service:hover .service__bg { transform: scale(1.06); }
.service > img, .cases__item-icon { animation: floatY 4s ease-in-out infinite; }
.service:hover > img, .cases__item:hover .cases__item-icon { animation-duration: 1.6s; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- small touches ---------- */
.form__input:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(240, 185, 11, .3); }
.accordion li { transition: transform .25s ease; }
.accordion li:hover { transform: translateX(4px); }
.menu__link:hover { transform: translateY(-2px); }
::selection { background: var(--yellow); color: #000; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--yellow); border-radius: 8px; }

/* justified paragraphs (FAQ answers and the rest of the page) */
p { text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; }

/* ---------- mobile ---------- */
@media (max-width: 767px) {
	body { font-size: 16px; line-height: 1.55; }
	.section { padding: 36px 0; }
	.about { padding-top: 96px; }
	.section-header--medium-margin { margin-bottom: 22px; }
	.section-header h2 { font-size: 28px; line-height: 1.2; }
	.about__img { margin-top: 24px; }
	.about__bg, .services__bg, .services__cosmos, .docs__bg, .team__bg, .contact-bg { display: none; }
	.header { padding: 0 16px; }
	.header .logo__title { font-size: 22px; }
	.services__left, .services__right { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
	.service { height: 170px; margin: 0; padding: 0 8px; }
	.service__title { font-size: 14px; }
	.service__title span { font-size: 22px !important; }
	.cases__item { padding: 16px; margin-bottom: 16px; width: 100%; }
	.cases__item-icon { margin-right: 16px; width: 56px; height: auto; }
	.cases__item-title span { font-size: 22px !important; }
	.cases__item-text { margin-top: -18px !important; font-size: 15px; line-height: 1.4; }
	.btn { width: 100%; max-width: 320px; }
	.container-slider { margin-top: 56px; }
	#txtref, #txtspno { word-break: break-all; }
	.accordion a { font-size: 16px; }
	.accordion p { font-size: 15px; line-height: 24px; }
	.footer .row { margin-top: 24px !important; }
}
/* about: yellow subtitle; image always under the text + button on small screens */
.section-header h2 span {
	background: linear-gradient(90deg, var(--yellow-2), var(--yellow));
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent;
}
@media (max-width: 991px) {
	.about .row { display: flex; flex-direction: column; }
	.about .row > .col-lg-5 { order: 1; }
	.about .row > .col-lg-6 { order: 2; margin: 28px 0 0; justify-content: center; }
	.about__img { display: block; margin: 0 auto; max-width: 320px; width: 100%; }
}
@media (max-width: 400px) {
	.services__left, .services__right { grid-template-columns: 1fr; }
}

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

/* ---------- purple layer: black + yellow + purple ---------- */
:root { --purple: #8b5cf6; --purple-2: #c084fc; --purple-d: #6d28d9; }

.logo__img { background-image: url(../img/logo.png) !important; width: 52px !important; height: 52px !important; border-radius: 50%; animation: logoGlow 3s ease-in-out infinite; }
.logo__title { font-weight: 700; letter-spacing: .5px; background: linear-gradient(90deg, var(--yellow-2), var(--purple-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.wrapper::before { background: radial-gradient(ellipse at 30% 0%, rgba(139, 92, 246, .22), transparent 60%), radial-gradient(ellipse at 75% 0%, rgba(240, 185, 11, .14), transparent 60%); }
.about__bg, .services__bg, .services__cosmos, .docs__bg, .team__bg, .contact-bg, .cases__bg { filter: grayscale(1) brightness(.5) sepia(1) hue-rotate(230deg) saturate(2.5); opacity: .3; }

.section-header h2 span { background: linear-gradient(90deg, var(--yellow-2), var(--purple-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.about ul li:before { background-color: var(--purple-2); box-shadow: 0 0 8px var(--purple); }
.container-counter::after { background: linear-gradient(90deg, transparent, var(--purple), var(--yellow), transparent) !important; }
.accordion a:after { border-bottom-color: var(--purple-2); }
.accordion a:before { border-left-color: var(--purple-2); }
.accordion a:hover { color: var(--purple-2) !important; }
.accordion li { border-bottom-color: rgba(139, 92, 246, .3); }
.footer { border-top-color: rgba(139, 92, 246, .35); }
.menu__link:hover, .mob-menu__link:hover { color: var(--purple-2); }
.btn-close svg path { fill: var(--purple-2); }
.header.sticky, .fixed-menu { border-bottom-color: rgba(139, 92, 246, .35); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--purple), var(--yellow)); }
::selection { background: var(--purple); color: #fff; }

/* wallet + secondary buttons: purple; primary actions stay yellow */
.btn-sign-in, .btn--blue {
	background: linear-gradient(135deg, var(--purple-2), var(--purple-d)) !important; color: #fff !important;
}
.btn-sign-in:hover, .btn--blue:hover { box-shadow: 0 8px 28px rgba(139, 92, 246, .6) !important; }

/* cards */
.service__bg { background: linear-gradient(145deg, #231a3d, #12101c) !important; box-shadow: inset 0 0 0 1px rgba(139, 92, 246, .45), 0 10px 30px rgba(0, 0, 0, .45) !important; }
.service:nth-child(even) .service__bg { box-shadow: inset 0 0 0 1px rgba(240, 185, 11, .4), 0 10px 30px rgba(0, 0, 0, .45) !important; }
.cases__item { background: linear-gradient(145deg, #1b1530, #14181d); border-color: rgba(139, 92, 246, .35); }
.service:hover, .cases__item:hover { border-color: var(--purple-2); box-shadow: 0 18px 40px rgba(139, 92, 246, .3); }
.service::after, .cases__item::after { background: linear-gradient(120deg, transparent, rgba(192, 132, 252, .28), transparent); }
.cases__item-title span, .service__title span { color: var(--yellow-2); }

/* form + slider */
.form__input { border-color: rgba(139, 92, 246, .4); background-color: #14111f; }
.form__input:focus { border-color: var(--purple-2); box-shadow: 0 0 0 3px rgba(139, 92, 246, .35); }
.ui-slider { background: linear-gradient(90deg, var(--purple), var(--yellow)) !important; }
.ui-slider .slider-range-inverse { background: #1b1530 !important; }
.ui-state-default, .ui-widget-content .ui-state-default { border-color: var(--purple-2) !important; }
.ui-slider .ui-slider-handle:before { border-color: var(--yellow) !important; }
.mark { background: linear-gradient(135deg, var(--purple-2), var(--purple-d)) !important; color: #fff !important; }
.mark:after { border-top-color: var(--purple-d) !important; }

/* ---------- contract stats cards: running-light border (replaces lift / shine / float) ---------- */
@property --a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes runLight { to { --a: 360deg; } }

/* restore the template's centering of the card background; my earlier transform broke it */
.service .service__bg,
.service:nth-child(even) .service__bg,
.service:hover .service__bg {
	transform: translate(-50%, -50%) !important;
	width: 100%; height: 100%;
	transition: none;
	background: linear-gradient(145deg, #1b1530, #0f0c1a) !important;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .5) !important;
}
.service:hover, .service { transform: none !important; }
.service > img { animation: none; }
.service::after { display: none; }

.service { overflow: visible; border: 0; }
.service::before {
	content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
	border-radius: 10px; padding: 2px;
	background: conic-gradient(from var(--a), #a855f7, #3b82f6, #14e0c8, #ec4899, #a855f7);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor; mask-composite: exclude;
	filter: drop-shadow(0 0 6px rgba(168, 85, 247, .8));
	animation: runLight 3.5s linear infinite;
}
.service:nth-child(even)::before { animation-direction: reverse; }
.service:hover::before { animation-duration: 1.4s; filter: drop-shadow(0 0 12px rgba(20, 224, 200, .9)); }
.service:hover { box-shadow: 0 0 28px rgba(139, 92, 246, .35); border-radius: 10px; }

/* ---------- referral link boxes ---------- */
#txtref, #txtspno {
	max-width: 760px; margin: 12px auto 18px !important; padding: 14px 18px;
	background: linear-gradient(145deg, #1b1530, #0f0c1a);
	border: 1px solid rgba(139, 92, 246, .5); border-radius: 12px;
	box-shadow: inset 0 0 16px rgba(139, 92, 246, .12), 0 0 18px rgba(139, 92, 246, .15);
	color: var(--yellow-2) !important; font-size: 15px !important; text-transform: none;
	font-family: Consolas, "Courier New", monospace; letter-spacing: 0; word-break: break-all; overflow: auto;
}
#txtref:empty::before, #txtspno:empty::before { content: "Connect your wallet to see your link"; color: var(--muted); font-style: italic; }
#txtspno:empty::before { content: "No inviter yet"; }

/* ---------- logo animation ---------- */
@keyframes logoFloat { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-14px) rotate(1.5deg); } }
@keyframes logoGlow {
	0%, 100% { filter: drop-shadow(0 0 10px rgba(139, 92, 246, .55)) drop-shadow(0 0 22px rgba(240, 185, 11, .25)); }
	50%      { filter: drop-shadow(0 0 18px rgba(240, 185, 11, .75)) drop-shadow(0 0 40px rgba(139, 92, 246, .55)); }
}
.about__img { animation: logoFloat 5s ease-in-out infinite, logoGlow 3s ease-in-out infinite; transition: scale .4s ease; }
.about__img:hover { scale: 1.06; }

/* hero logo: medium size */
.about__img { max-width: 380px; width: 100%; margin: 0 auto; display: block; }
@media (max-width: 991px) { .about__img { max-width: 280px; } }
