@@ -109,7 +114,17 @@ export function LandingHeader({ navItems, onNavigateSection }: LandingHeaderProp
-
+
)}
@@ -245,10 +269,25 @@ export function LandingHeader({ navItems, onNavigateSection }: LandingHeaderProp
@media (min-width: 900px) {
.tl-nav-desktop { display: flex !important; }
.tl-nav-burger { display: none !important; }
+ .tl-header-register-mobile { display: none !important; }
}
@media (max-width: 899px) {
.tl-nav-burger { display: inline-flex !important; align-items: center; justify-content: center; }
.tl-hide-xs { display: none !important; }
+ .tl-header-bar { gap: 0.4rem !important; padding: 0.45rem 0.55rem !important; }
+ .tl-header-actions { gap: 4px !important; }
+ .tl-header-register {
+ padding: 0.45rem 0.75rem !important;
+ font-size: 0.78rem !important;
+ max-width: 7.5rem;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ }
+ }
+ @media (max-width: 380px) {
+ .tl-header-wordmark { display: none !important; }
+ .tl-header-register { display: none !important; }
}
`}
@@ -324,4 +363,6 @@ const solidBtnStyle: CSSProperties = {
fontWeight: 800,
fontSize: '0.88rem',
boxShadow: '0 10px 30px rgba(16,185,129,0.28)',
+ flexShrink: 0,
+ whiteSpace: 'nowrap',
};
diff --git a/prediqo_web/src/features/landing/landing.css b/prediqo_web/src/features/landing/landing.css
index b250e6ef..afca290d 100644
--- a/prediqo_web/src/features/landing/landing.css
+++ b/prediqo_web/src/features/landing/landing.css
@@ -255,18 +255,24 @@
/* Ambient "markets open" live signal — motion, not a stat card. */
.tl-hero-live {
display: inline-flex;
- align-items: center;
+ align-items: flex-start;
gap: 0.6rem;
+ max-width: 100%;
margin-top: 2rem;
font-size: 0.82rem;
font-weight: 600;
letter-spacing: 0.04em;
color: rgba(232, 238, 248, 0.7);
+ white-space: normal;
+ overflow-wrap: anywhere;
+ line-height: 1.4;
}
.tl-hero-live .tl-dot {
width: 9px;
height: 9px;
+ margin-top: 0.28rem;
+ flex-shrink: 0;
border-radius: 50%;
background: var(--tl-emerald-bright);
box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
@@ -438,6 +444,17 @@
gap: 1.25rem;
align-items: end;
margin-bottom: clamp(2rem, 4vw, 3rem);
+ min-width: 0;
+}
+
+.tl-games-head > * {
+ min-width: 0;
+}
+
+.tl-games-head .tl-muted {
+ max-width: 36rem;
+ overflow-wrap: anywhere;
+ word-break: normal;
}
.tl-games-list {
@@ -525,8 +542,9 @@
.tl-live-pill {
display: inline-flex;
- align-items: center;
+ align-items: flex-start;
gap: 0.6rem;
+ max-width: min(100%, 28rem);
padding: 0.55rem 1.05rem;
border-radius: 999px;
border: 1px solid rgba(52, 211, 153, 0.3);
@@ -534,7 +552,9 @@
font-size: 0.85rem;
font-weight: 700;
color: #d8fbee;
- white-space: nowrap;
+ white-space: normal;
+ overflow-wrap: anywhere;
+ line-height: 1.35;
}
.tl-live-pill .tl-dot {
@@ -566,6 +586,11 @@
justify-content: space-between;
gap: 0.75rem;
margin-bottom: 1.1rem;
+ min-width: 0;
+}
+
+.tl-feed__head > div {
+ min-width: 0;
}
.tl-feed__title {
@@ -714,6 +739,7 @@
gap: 1rem 1.5rem;
align-items: center;
justify-content: space-between;
+ min-width: 0;
}
.tl-footer__links {
@@ -866,9 +892,19 @@
}
@media (max-width: 900px) {
+ .tloto-landing {
+ --tl-gutter: clamp(1rem, 4vw, 1.5rem);
+ }
+
+ .tl-hero {
+ min-height: auto;
+ padding-block: clamp(5.5rem, 10vh, 7rem) clamp(2.5rem, 6vh, 4rem);
+ }
+
.tl-hero-visual {
width: 100%;
}
+
.tl-hero-visual::after {
background: linear-gradient(
180deg,
@@ -877,9 +913,76 @@
var(--tl-ink) 100%
);
}
+
+ .tl-hero-copy {
+ max-width: 100%;
+ }
+
+ .tl-hero-headline {
+ max-width: none;
+ }
+
+ .tl-hero-ctas {
+ width: 100%;
+ }
+
+ .tl-hero-ctas .tl-btn {
+ width: 100%;
+ }
+
.tl-live-grid {
grid-template-columns: 1fr;
}
+
+ .tl-live-head {
+ flex-direction: column;
+ align-items: stretch;
+ }
+
+ .tl-live-pill {
+ max-width: 100%;
+ border-radius: 16px;
+ }
+
+ .tl-offers__title,
+ .tl-closing__title {
+ max-width: none;
+ }
+
+ .tl-offers__sub,
+ .tl-closing__sub {
+ max-width: none;
+ }
+
+ .tl-hero-copy,
+ .tl-hero-sentence,
+ .tl-offers__title,
+ .tl-offers__sub,
+ .tl-game__title,
+ .tl-game__desc,
+ .tl-feed__title,
+ .tl-feed__sub,
+ .tl-why-title,
+ .tl-why-body,
+ .tl-closing__title,
+ .tl-closing__sub,
+ .tl-muted,
+ .tl-h2 {
+ overflow-wrap: anywhere;
+ word-break: normal;
+ }
+
+ .tl-btn {
+ max-width: 100%;
+ text-align: center;
+ white-space: normal;
+ line-height: 1.25;
+ }
+
+ .tl-footer__inner {
+ flex-direction: column;
+ align-items: flex-start;
+ }
}
@media (max-width: 800px) {
@@ -887,17 +990,47 @@
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;
}
+
+ .tl-why-head {
+ max-width: none;
+ }
+}
+
+@media (max-width: 480px) {
+ .tl-section {
+ padding-block: clamp(2.5rem, 8vw, 3.5rem);
+ }
+
+ .tl-wordmark {
+ font-size: clamp(2.6rem, 14vw, 3.6rem);
+ }
+
+ .tl-candles {
+ padding-right: 4%;
+ gap: 5px;
+ }
+
+ .tl-closing__ctas {
+ width: 100%;
+ }
+
+ .tl-closing__ctas .tl-btn {
+ width: 100%;
+ }
}
@media (min-width: 1025px) {
diff --git a/prediqo_web/src/shared/i18n/LanguageSwitcher.tsx b/prediqo_web/src/shared/i18n/LanguageSwitcher.tsx
index 6327eb3f..28f27a0c 100644
--- a/prediqo_web/src/shared/i18n/LanguageSwitcher.tsx
+++ b/prediqo_web/src/shared/i18n/LanguageSwitcher.tsx
@@ -49,7 +49,8 @@ export function LanguageSwitcher({ display = 'abbrev' }: LanguageSwitcherProps)
startIcon={
}
sx={{
minWidth: 0,
- px: 1.25,
+ flexShrink: 0,
+ px: { xs: 0.9, sm: 1.25 },
fontWeight: 800,
letterSpacing: display === 'abbrev' ? '0.04em' : undefined,
border: '1px solid rgba(255,255,255,0.15)',
diff --git a/prediqo_web/src/shared/i18n/locales/en.ts b/prediqo_web/src/shared/i18n/locales/en.ts
index 13621efb..5b09a01b 100644
--- a/prediqo_web/src/shared/i18n/locales/en.ts
+++ b/prediqo_web/src/shared/i18n/locales/en.ts
@@ -124,6 +124,8 @@ export const en = {
withdrawalsSubtitle: 'Confirmed payouts (anonymized).',
withdrawalsEmpty: 'No recent withdrawals to display.',
anonymized: 'Identifiers are anonymized for privacy.',
+ statusPlaying: 'Playing',
+ statusCompleted: 'Completed',
},
why: {
kicker: 'Difference',
diff --git a/prediqo_web/src/shared/i18n/locales/fr.ts b/prediqo_web/src/shared/i18n/locales/fr.ts
index 676175e3..3afaf5e4 100644
--- a/prediqo_web/src/shared/i18n/locales/fr.ts
+++ b/prediqo_web/src/shared/i18n/locales/fr.ts
@@ -114,7 +114,7 @@ export const fr = {
kicker: 'Pulsation',
title: 'Le floor ne dort jamais',
subtitle: 'Activité récente des joueurs et retraits confirmés.',
- subtitleWithCount: '{{count}} joueurs actifs maintenant — pulsation ci-dessous.',
+ subtitleWithCount: '{{count}} joueurs actifs — pulsation ci-dessous.',
},
feeds: {
activityTitle: 'Activité en direct',
@@ -124,6 +124,8 @@ export const fr = {
withdrawalsSubtitle: 'Paiements confirmés (anonymisés).',
withdrawalsEmpty: 'Aucun retrait récent à afficher.',
anonymized: 'Les identifiants sont anonymisés pour la confidentialité.',
+ statusPlaying: 'En jeu',
+ statusCompleted: 'Terminé',
},
why: {
kicker: 'Différence',