games_app/prediqo_web/src/features/landing/landing.css
2026-10-30 13:35:36 +02:00

921 lines
19 KiB
CSS

/* ==========================================================================
Tloto public landing — desktop-first "nocturnal prediction exchange".
Scoped to .tloto-landing so the authenticated app shell is untouched.
========================================================================== */
.tloto-landing {
--tl-ink: #0b0f1a;
--tl-ink-2: #070a12;
--tl-fog: #0e1420;
--tl-emerald: #10b981;
--tl-emerald-bright: #34d399;
--tl-emerald-soft: rgba(16, 185, 129, 0.14);
--tl-gold: #d4af37;
--tl-gold-soft: rgba(212, 175, 55, 0.16);
--tl-line: rgba(255, 255, 255, 0.08);
--tl-line-strong: rgba(255, 255, 255, 0.14);
--tl-mute: rgba(232, 238, 248, 0.6);
--tl-text: #eef3fb;
--tl-display: 'Syne', 'Segoe UI', sans-serif;
--tl-body: 'Manrope', 'Segoe UI', sans-serif;
--tl-max: 1360px;
--tl-gutter: clamp(1.25rem, 4vw, 2.75rem);
color: var(--tl-text);
font-family: var(--tl-body);
position: relative;
overflow-x: hidden;
background:
radial-gradient(120vw 70vh at 82% -12%, rgba(16, 185, 129, 0.16), transparent 55%),
radial-gradient(80vw 55vh at -12% 32%, rgba(212, 175, 55, 0.08), transparent 52%),
radial-gradient(60vw 60vh at 50% 118%, rgba(16, 185, 129, 0.08), transparent 50%),
linear-gradient(180deg, var(--tl-ink) 0%, var(--tl-fog) 46%, var(--tl-ink-2) 100%);
}
/* Faint atmospheric market grid drawn across the whole page. */
.tloto-landing::before {
content: '';
position: absolute;
inset: 0;
z-index: 0;
pointer-events: none;
background-image:
linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
background-size: 64px 64px;
mask-image: radial-gradient(130vw 120vh at 50% 0%, #000 35%, transparent 80%);
-webkit-mask-image: radial-gradient(130vw 120vh at 50% 0%, #000 35%, transparent 80%);
}
.tloto-landing > * {
position: relative;
z-index: 1;
}
.tloto-landing * {
box-sizing: border-box;
}
.tloto-landing h1,
.tloto-landing h2,
.tloto-landing h3,
.tloto-landing .tl-display {
font-family: var(--tl-display);
letter-spacing: -0.03em;
}
/* ---- Layout primitives --------------------------------------------------- */
.tl-container {
width: 100%;
max-width: var(--tl-max);
margin: 0 auto;
padding: 0 var(--tl-gutter);
}
.tl-section {
padding-block: clamp(3.5rem, 7vw, 6rem);
scroll-margin-top: 96px;
}
.tl-section--tight {
padding-block: clamp(2.75rem, 5vw, 4.25rem);
}
.tl-divider-top {
border-top: 1px solid var(--tl-line);
}
/* ---- Typographic helpers ------------------------------------------------- */
.tl-eyebrow {
display: inline-flex;
align-items: center;
gap: 0.65rem;
margin: 0 0 1rem;
font-size: 0.72rem;
font-weight: 700;
letter-spacing: 0.26em;
text-transform: uppercase;
color: rgba(52, 211, 153, 0.95);
}
.tl-eyebrow::before {
content: '';
width: 26px;
height: 1px;
background: linear-gradient(90deg, var(--tl-emerald), transparent);
}
.tl-eyebrow--gold {
color: rgba(212, 175, 55, 0.95);
}
.tl-eyebrow--gold::before {
background: linear-gradient(90deg, var(--tl-gold), transparent);
}
.tl-h2 {
margin: 0;
font-size: clamp(2rem, 4vw, 3.1rem);
font-weight: 800;
line-height: 1.03;
}
.tl-muted {
color: var(--tl-mute);
line-height: 1.6;
font-size: 1.02rem;
}
/* ---- Buttons ------------------------------------------------------------- */
.tl-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
text-decoration: none;
border: 0;
border-radius: 999px;
padding: 0.95rem 1.6rem;
font-family: var(--tl-body);
font-weight: 800;
font-size: 1rem;
line-height: 1;
cursor: pointer;
transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.tl-btn--sm {
padding: 0.6rem 1.1rem;
font-size: 0.88rem;
}
.tl-btn--primary {
color: #04110c;
background: linear-gradient(135deg, var(--tl-emerald-bright) 0%, var(--tl-emerald) 58%, #059669 100%);
box-shadow: 0 16px 40px rgba(16, 185, 129, 0.3);
}
.tl-btn--primary:hover {
transform: translateY(-2px);
box-shadow: 0 22px 54px rgba(16, 185, 129, 0.42);
}
.tl-btn--gold {
color: #130f02;
background: linear-gradient(135deg, #f0d579 0%, var(--tl-gold) 60%, #b8902a 100%);
box-shadow: 0 16px 40px rgba(212, 175, 55, 0.28);
}
.tl-btn--gold:hover {
transform: translateY(-2px);
box-shadow: 0 22px 54px rgba(212, 175, 55, 0.4);
}
.tl-btn--ghost {
color: #eef3fb;
border: 1px solid var(--tl-line-strong);
background: rgba(255, 255, 255, 0.03);
font-weight: 700;
}
.tl-btn--ghost:hover {
border-color: rgba(255, 255, 255, 0.34);
background: rgba(255, 255, 255, 0.06);
}
/* ==========================================================================
HERO — left copy stack + right full-bleed market atmosphere plane
========================================================================== */
.tl-hero {
position: relative;
display: flex;
align-items: center;
min-height: min(94vh, 920px);
padding-block: clamp(6.5rem, 12vh, 9rem) clamp(3rem, 7vh, 5.5rem);
overflow: hidden;
isolation: isolate;
}
.tl-hero-inner {
position: relative;
z-index: 3;
display: block;
}
.tl-hero-copy {
max-width: 40rem;
}
.tl-hero-tagline {
margin: 0 0 1.4rem;
}
.tl-wordmark {
margin: 0;
font-size: clamp(3.6rem, 9.5vw, 8.5rem);
font-weight: 800;
line-height: 0.86;
letter-spacing: -0.04em;
background: linear-gradient(180deg, #ffffff 0%, #d6e2ee 58%, rgba(214, 226, 238, 0.65) 100%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: 0 30px 80px rgba(16, 185, 129, 0.12);
}
.tl-hero-headline {
margin: 1.5rem 0 0;
max-width: 20ch;
font-size: clamp(1.25rem, 2.3vw, 1.75rem);
font-weight: 700;
line-height: 1.22;
letter-spacing: -0.02em;
color: #f4f8ff;
}
.tl-hero-sentence {
margin: 1.05rem 0 0;
max-width: 34rem;
font-size: 1.08rem;
line-height: 1.6;
color: var(--tl-mute);
}
.tl-hero-ctas {
display: flex;
flex-wrap: wrap;
gap: 0.85rem;
margin-top: 2.2rem;
}
/* Ambient "markets open" live signal — motion, not a stat card. */
.tl-hero-live {
display: inline-flex;
align-items: center;
gap: 0.6rem;
margin-top: 2rem;
font-size: 0.82rem;
font-weight: 600;
letter-spacing: 0.04em;
color: rgba(232, 238, 248, 0.7);
}
.tl-hero-live .tl-dot {
width: 9px;
height: 9px;
border-radius: 50%;
background: var(--tl-emerald-bright);
box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
animation: tl-pulse 2.4s ease-out infinite;
}
/* Full-bleed visual plane, anchored to the right of the viewport. */
.tl-hero-visual {
position: absolute;
inset: 0 0 0 auto;
width: 60%;
z-index: 1;
overflow: hidden;
pointer-events: none;
}
.tl-hero-visual::after {
/* Fade the plane into the page background on its left edge for readable copy. */
content: '';
position: absolute;
inset: 0;
background: linear-gradient(
90deg,
var(--tl-ink) 0%,
rgba(11, 15, 26, 0.82) 20%,
rgba(11, 15, 26, 0) 58%
);
}
/* Large brand mark rendered as soft light inside the plane. */
.tl-hero-mark {
position: absolute;
top: 46%;
right: 8%;
width: min(42vw, 560px);
aspect-ratio: 1;
transform: translateY(-50%);
background: url(/brand/prediqo-mark.png) center / contain no-repeat;
opacity: 0.16;
filter: saturate(1.2) drop-shadow(0 0 60px rgba(16, 185, 129, 0.4));
animation: tl-float 16s ease-in-out infinite;
}
.tl-hero-glow {
position: absolute;
top: 14%;
right: 6%;
width: 46vw;
height: 46vw;
max-width: 620px;
max-height: 620px;
border-radius: 50%;
background: radial-gradient(circle, rgba(16, 185, 129, 0.32), transparent 66%);
filter: blur(10px);
animation: tl-glow 7s ease-in-out infinite;
}
/* ---- Candlestick market chart (pure CSS atmosphere) ---------------------- */
.tl-candles {
position: absolute;
inset: auto 0 0 0;
height: 66%;
display: flex;
align-items: flex-end;
justify-content: flex-end;
gap: clamp(7px, 1.3vw, 18px);
padding: 0 7% 11%;
}
.tl-candle {
position: relative;
flex: 0 0 auto;
width: clamp(9px, 1.5vw, 20px);
border-radius: 3px;
animation: tl-candle-rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.tl-candle::before {
/* wick */
content: '';
position: absolute;
left: 50%;
top: -16%;
width: 2px;
height: 132%;
transform: translateX(-50%);
background: currentColor;
opacity: 0.3;
}
.tl-candle--up {
color: var(--tl-emerald);
background: linear-gradient(180deg, rgba(52, 211, 153, 0.95), rgba(16, 185, 129, 0.32));
box-shadow: 0 0 18px rgba(16, 185, 129, 0.35);
}
.tl-candle--down {
color: var(--tl-gold);
background: linear-gradient(180deg, rgba(212, 175, 55, 0.88), rgba(212, 175, 55, 0.28));
box-shadow: 0 0 16px rgba(212, 175, 55, 0.24);
}
.tl-candle--live {
animation: tl-candle-rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) both,
tl-candle-live 3.2s ease-in-out 1.1s infinite;
}
/* ==========================================================================
OFFERS — one full-bleed cinematic promotional band
========================================================================== */
.tl-offers {
position: relative;
overflow: hidden;
min-height: clamp(320px, 46vh, 460px);
display: flex;
align-items: center;
border-top: 1px solid var(--tl-line);
border-bottom: 1px solid var(--tl-line);
background: linear-gradient(110deg, rgba(16, 185, 129, 0.16), rgba(7, 10, 18, 0.95) 48%, rgba(212, 175, 55, 0.1));
}
.tl-offers__media {
position: absolute;
inset: 0;
background-size: cover;
background-position: center;
}
.tl-offers__scrim {
position: absolute;
inset: 0;
background: linear-gradient(100deg, rgba(5, 8, 14, 0.9) 0%, rgba(5, 8, 14, 0.45) 52%, rgba(5, 8, 14, 0.78) 100%);
}
.tl-offers__inner {
position: relative;
z-index: 2;
width: 100%;
padding-block: clamp(2.5rem, 6vw, 4.25rem);
display: grid;
gap: 1rem;
align-content: center;
}
.tl-offers__title {
margin: 0;
max-width: 18ch;
font-size: clamp(2rem, 4.6vw, 3.4rem);
font-weight: 800;
line-height: 1.04;
}
.tl-offers__sub {
margin: 0;
max-width: 46ch;
font-size: 1.08rem;
line-height: 1.55;
color: rgba(238, 243, 251, 0.82);
}
/* ==========================================================================
GAMES — large split product showcases
========================================================================== */
.tl-games-head {
display: grid;
gap: 1.25rem;
align-items: end;
margin-bottom: clamp(2rem, 4vw, 3rem);
}
.tl-games-list {
display: grid;
gap: clamp(1.1rem, 2vw, 1.75rem);
}
.tl-game {
display: grid;
grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
min-height: clamp(300px, 38vw, 420px);
border-radius: 28px;
overflow: hidden;
border: 1px solid var(--tl-line);
text-decoration: none;
color: inherit;
transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.tl-game:hover {
transform: translateY(-4px);
border-color: rgba(255, 255, 255, 0.2);
box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}
.tl-game--reverse {
direction: rtl;
}
.tl-game__media {
direction: ltr;
position: relative;
min-height: 240px;
background-size: cover;
background-position: center;
}
.tl-game__media::after {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(180deg, transparent 40%, rgba(7, 10, 18, 0.55) 100%);
}
.tl-game__body {
direction: ltr;
display: grid;
align-content: center;
gap: 0.85rem;
padding: clamp(1.75rem, 3vw, 3rem);
}
.tl-game__title {
margin: 0;
font-size: clamp(1.7rem, 3vw, 2.5rem);
font-weight: 800;
line-height: 1.05;
}
.tl-game__desc {
margin: 0;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
.tl-game__cta {
justify-self: start;
margin-top: 0.4rem;
}
/* ==========================================================================
LIVE — dual ticker boards side by side
========================================================================== */
.tl-live-head {
display: flex;
flex-wrap: wrap;
align-items: flex-end;
justify-content: space-between;
gap: 1rem;
margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}
.tl-live-pill {
display: inline-flex;
align-items: center;
gap: 0.6rem;
padding: 0.55rem 1.05rem;
border-radius: 999px;
border: 1px solid rgba(52, 211, 153, 0.3);
background: rgba(16, 185, 129, 0.08);
font-size: 0.85rem;
font-weight: 700;
color: #d8fbee;
white-space: nowrap;
}
.tl-live-pill .tl-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--tl-emerald-bright);
box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
animation: tl-pulse 2.4s ease-out infinite;
}
.tl-live-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: clamp(1.1rem, 2vw, 1.75rem);
}
.tl-feed {
min-width: 0;
padding: clamp(1.25rem, 2vw, 1.75rem);
border-radius: 22px;
border: 1px solid var(--tl-line);
background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
}
.tl-feed__head {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 0.75rem;
margin-bottom: 1.1rem;
}
.tl-feed__title {
margin: 0;
font-size: 1.25rem;
font-weight: 800;
}
.tl-feed__sub {
margin: 0.2rem 0 0;
color: var(--tl-mute);
font-size: 0.9rem;
}
.tl-feed__viewport {
overflow: hidden;
mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
-webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.tl-feed__track {
display: flex;
width: max-content;
gap: 10px;
}
.tl-feed__track--animate {
animation: tl-marquee 38s linear infinite;
}
.tl-chip {
display: inline-flex;
align-items: center;
gap: 12px;
padding: 0.8rem 1.1rem;
border-radius: 999px;
border: 1px solid var(--tl-line);
background: rgba(255, 255, 255, 0.03);
white-space: nowrap;
}
.tl-chip__left {
font-weight: 700;
font-size: 0.9rem;
}
.tl-chip__right {
font-weight: 800;
font-size: 0.9rem;
}
.tl-feed__foot {
margin: 0.85rem 0 0;
font-size: 0.74rem;
color: rgba(238, 243, 251, 0.4);
}
/* ==========================================================================
WHY — three numbered columns with hairline separators
========================================================================== */
.tl-why-head {
max-width: 48rem;
margin-bottom: clamp(2rem, 4vw, 3rem);
}
.tl-why-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
border-top: 1px solid var(--tl-line-strong);
}
.tl-why-col {
padding: clamp(1.5rem, 2.2vw, 2rem) clamp(1.5rem, 2.4vw, 2.25rem);
border-left: 1px solid var(--tl-line);
}
.tl-why-col:first-child {
padding-left: 0;
border-left: 0;
}
.tl-why-num {
margin: 0 0 1rem;
font-size: 2.75rem;
font-weight: 800;
line-height: 1;
color: rgba(16, 185, 129, 0.4);
}
.tl-why-title {
margin: 0 0 0.6rem;
font-size: 1.4rem;
font-weight: 800;
}
.tl-why-body {
margin: 0;
color: var(--tl-mute);
font-size: 0.98rem;
line-height: 1.6;
}
/* ==========================================================================
CLOSING CTA + FOOTER
========================================================================== */
.tl-closing {
position: relative;
text-align: center;
padding-block: clamp(3.5rem, 7vw, 5.5rem);
scroll-margin-top: 96px;
background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.12) 0%, transparent 58%);
}
.tl-closing__title {
margin: 0 auto;
max-width: 18ch;
font-size: clamp(2rem, 4.4vw, 3.3rem);
font-weight: 800;
line-height: 1.04;
}
.tl-closing__sub {
margin: 1.1rem auto 0;
max-width: 34rem;
color: var(--tl-mute);
}
.tl-closing__ctas {
display: flex;
flex-wrap: wrap;
gap: 12px;
justify-content: center;
margin-top: 2rem;
}
.tl-footer {
border-top: 1px solid var(--tl-line);
padding: 1.75rem 0 2.5rem;
}
.tl-footer__inner {
display: flex;
flex-wrap: wrap;
gap: 1rem 1.5rem;
align-items: center;
justify-content: space-between;
}
.tl-footer__links {
display: flex;
flex-wrap: wrap;
gap: 1.25rem;
}
.tl-footer__link {
text-decoration: none;
color: rgba(238, 243, 251, 0.72);
font-weight: 600;
font-size: 0.9rem;
}
.tl-footer__link:hover {
color: var(--tl-text);
}
.tl-footer__rights {
font-size: 0.78rem;
color: rgba(238, 243, 251, 0.4);
}
/* ==========================================================================
MOTION
========================================================================== */
@keyframes tl-rise {
from {
opacity: 0;
transform: translateY(26px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes tl-marquee {
from {
transform: translateX(0);
}
to {
transform: translateX(-50%);
}
}
@keyframes tl-glow {
0%,
100% {
opacity: 0.4;
}
50% {
opacity: 0.85;
}
}
@keyframes tl-float {
0%,
100% {
transform: translateY(-50%) scale(1);
}
50% {
transform: translateY(-54%) scale(1.03);
}
}
@keyframes tl-pulse {
0% {
box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
}
70% {
box-shadow: 0 0 0 9px rgba(52, 211, 153, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
}
}
@keyframes tl-candle-rise {
from {
opacity: 0;
transform: translateY(18px) scaleY(0.4);
transform-origin: bottom;
}
to {
opacity: 1;
transform: translateY(0) scaleY(1);
transform-origin: bottom;
}
}
@keyframes tl-candle-live {
0%,
100% {
transform: scaleY(1);
filter: brightness(1);
transform-origin: bottom;
}
50% {
transform: scaleY(1.18);
filter: brightness(1.25);
transform-origin: bottom;
}
}
/* Entrance helpers (hero copy) */
.tl-rise {
animation: tl-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.tl-rise-delay-1 {
animation-delay: 0.1s;
}
.tl-rise-delay-2 {
animation-delay: 0.2s;
}
.tl-rise-delay-3 {
animation-delay: 0.32s;
}
.tl-rise-delay-4 {
animation-delay: 0.44s;
}
/* Scroll-reveal for mid sections (toggled by IntersectionObserver). */
.tl-reveal {
opacity: 0;
transform: translateY(30px);
transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
will-change: opacity, transform;
}
.tl-reveal.tl-in {
opacity: 1;
transform: none;
}
/* ==========================================================================
RESPONSIVE
========================================================================== */
@media (max-width: 1024px) {
.tl-game {
min-height: clamp(260px, 44vw, 360px);
}
}
@media (max-width: 900px) {
.tl-hero-visual {
width: 100%;
}
.tl-hero-visual::after {
background: linear-gradient(
180deg,
rgba(11, 15, 26, 0.55) 0%,
rgba(11, 15, 26, 0.82) 55%,
var(--tl-ink) 100%
);
}
.tl-live-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 800px) {
.tl-game {
grid-template-columns: 1fr;
direction: ltr !important;
}
.tl-why-grid {
grid-template-columns: 1fr;
}
.tl-why-col {
padding: 1.75rem 0;
border-left: 0;
border-top: 1px solid var(--tl-line);
}
.tl-why-col:first-child {
border-top: 0;
}
}
@media (min-width: 1025px) {
.tl-games-head {
grid-template-columns: 1.25fr 0.75fr;
}
}
@media (prefers-reduced-motion: reduce) {
.tloto-landing *,
.tloto-landing *::before,
.tloto-landing *::after {
animation: none !important;
transition: none !important;
}
.tl-reveal {
opacity: 1;
transform: none;
}
}