/* playfinance.net - pagina di cortesia (temporanea). Palette LoveImmobiliare: inchiostro, carta, oro, bordeaux. */
@font-face { font-family: "Jost"; font-weight: 300; font-style: normal; font-display: swap; src: url("fonts/jost-300.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/jost-400.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/jost-600.woff2") format("woff2"); }

:root {
	--inchiostro: #201c15; --inchiostro-60: #5c544a; --carta: #faf7f1; --carta-scura: #f0eae0; --linea: #ddd3c2;
	--oro: #ae8a4f; --oro-scuro: #8f6e3b; --oro-velo: #f3ead8; --bordeaux: #7e2431; --bordeaux-velo: #f4e7e8;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--inchiostro); color: var(--carta-scura); }
body { font-family: "Jost", system-ui, sans-serif; font-weight: 300; min-height: 100svh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; }
a { color: var(--oro-velo); text-decoration: none; }
a:hover { color: var(--carta); }

.testata { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 20px; }
.marchio { font-weight: 600; font-size: 1.05rem; letter-spacing: 0.01em; color: var(--carta); }
.marchio span { color: var(--oro); font-weight: 400; }
.lingua { font-size: 0.85rem; color: var(--linea); border: 1px solid #3a342b; border-radius: 999px; padding: 3px 11px; }
.lingua:hover { border-color: var(--oro); }

.scena { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 16px 12px; gap: 14px; }
.quadro { position: relative; width: min(100%, calc((100svh - 190px) * 16 / 9)); aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,.45); }
body[data-orient="p"] .quadro { width: min(100%, calc((100svh - 170px) * 9 / 16)); aspect-ratio: 9 / 16; }
video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--inchiostro); }
/* un velo scuro in basso, perche' le didascalie restino leggibili anche sopra le zone chiare del video */
.quadro::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; pointer-events: none; z-index: 1;
	background: linear-gradient(to top, rgba(32,28,21,.62), rgba(32,28,21,0)); }
.didascalia, .funnel, .rigioca { z-index: 2; }

.didascalia { position: absolute; left: 0; right: 0; bottom: 7%; text-align: center; padding: 0 6%; pointer-events: none;
	opacity: 0; transition: opacity .6s ease; text-shadow: 0 1px 10px rgba(0,0,0,.7); }
.didascalia.visibile { opacity: 1; }
.didascalia .parola { display: block; font-weight: 600; letter-spacing: 0.08em; text-transform: lowercase; color: var(--oro-velo); font-size: clamp(1.1rem, 2.6vw, 1.9rem); }
/* la riga sotto la parola: piu' piccola e color oro spento, perche' non si confonda col sottotitolo della pagina
   (stesso carattere e stesso colore chiaro: Ric, 12/11, «sembra un duplicato») */
.didascalia .testo { display: block; font-weight: 400; color: #c9b58f; letter-spacing: .02em; font-size: clamp(0.76rem, 1.4vw, 0.98rem); margin-top: .3em; }
body[data-orient="p"] .didascalia .parola { font-size: clamp(1.1rem, 5.5vw, 1.6rem); }
body[data-orient="p"] .didascalia .testo { font-size: clamp(0.76rem, 3.3vw, 0.92rem); }

.funnel { position: absolute; left: 0; right: 0; bottom: 7%; margin: 0; padding: 0 5%; list-style: none; display: flex; justify-content: center; gap: 2.2%;
	flex-wrap: wrap; pointer-events: none; opacity: 0; transition: opacity .5s ease; }
.funnel.visibile { opacity: 1; }
.funnel li { color: var(--inchiostro-60); font-weight: 400; letter-spacing: .06em; font-size: clamp(0.85rem, 1.9vw, 1.3rem); transition: color .5s ease, text-shadow .5s ease; }
.funnel li.acceso { color: var(--carta); text-shadow: 0 0 14px rgba(250,247,241,.45); }
.funnel li + li::before { content: "\\2192"; color: var(--oro-scuro); margin-right: 2.2vw; font-weight: 300; }
body[data-orient="p"] .funnel { flex-direction: column; align-items: center; gap: .35em; bottom: 9%; }
body[data-orient="p"] .funnel li + li::before { content: "\\2193"; display: block; text-align: center; margin: 0 0 .1em; }
body[data-orient="p"] .funnel li { font-size: clamp(0.95rem, 4.6vw, 1.3rem); text-align: center; }

.rigioca { position: absolute; right: 12px; bottom: 12px; background: rgba(32,28,21,.7); color: var(--oro-velo); border: 1px solid var(--oro-scuro); border-radius: 999px;
	padding: 6px 14px; font: inherit; font-size: .85rem; cursor: pointer; }
.rigioca:hover { background: var(--oro-scuro); color: var(--carta); }

.sottotitolo { margin: 4px 0 0; text-align: center; color: var(--carta-scura); font-size: clamp(0.95rem, 1.8vw, 1.15rem); max-width: 60ch; }
.sottotitolo .unito { white-space: nowrap; }
.costruzione { margin: 0; text-align: center; color: var(--inchiostro-60); font-size: .85rem; }

.pie { padding: 10px 20px 18px; text-align: center; font-size: .78rem; color: #8a8072; line-height: 1.5; }
.pie p { margin: 0; }
.credito { color: var(--oro); font-weight: 400; font-size: .9rem; }
.credito a { color: var(--oro); }
.credito a:hover { color: var(--oro-velo); }
