/* Stile essenziale della pagina partita: volutamente sobrio,
   il vestito grafico definitivo si decide dopo, quando la meccanica è provata. */

.otv-box {
	max-width: 900px;
	margin: 0 auto 2.5rem;
}

.otv-player {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: 10px;
	overflow: hidden;
}

.otv-player iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.otv-schermo {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: .75rem;
	aspect-ratio: 16 / 9;
	/* Se il contenuto non ci sta (telefoni stretti) il riquadro si allunga
	   invece di tagliare il pulsante: meglio più alto che con la CTA nascosta. */
	min-height: 260px;
	height: auto;
	border-radius: 10px;
	padding: 1.5rem;
	background: #14213d;
	color: #fff;
}

.otv-schermo--chiuso {
	background: repeating-linear-gradient(135deg, #14213d, #14213d 12px, #182747 12px, #182747 24px);
}

.otv-lucchetto {
	font-size: 2.5rem;
	line-height: 1;
}

.otv-schermo__testo {
	font-size: 1.15rem;
	margin: 0;
}

.otv-dettagli {
	margin-top: 1.25rem;
}

.otv-dettagli p {
	margin: .25rem 0;
}

/* Prezzo e pulsante dentro lo schermo nero: niente riquadro, niente bordi,
   fanno parte della scena. */
.otv-acquisto--dentro {
	margin: .5rem 0 0;
	padding: 0;
	border: 0;
	background: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .6rem;
}

.otv-acquisto--dentro .otv-prezzo {
	margin: 0;
	font-size: 2rem;
	font-weight: 800;
	color: #fff;
	line-height: 1;
}

.otv-acquisto--dentro .otv-nota {
	margin: 0;
	color: rgba(255, 255, 255, .78);
	font-size: .85rem;
}

.otv-acquisto {
	margin-top: 1.25rem;
	padding: 1.25rem;
	border: 1px solid #e3e6ec;
	border-radius: 10px;
	text-align: center;
}

.otv-prezzo {
	font-size: 2rem;
	font-weight: 700;
	margin: 0 0 .75rem;
}

/* Il pulsante.
   I selettori sono lunghi apposta: il kit di Elementor colora TUTTI i link del
   sito, e con un selettore corto vinceva lui — sulla pagina dopo il pagamento
   il testo usciva rosso scuro su rosso, illeggibile. */
a.otv-bottone,
button.otv-bottone,
a.otv-bottone:link,
a.otv-bottone:visited {
	display: inline-block;
	padding: .9rem 2rem;
	border: 0;
	border-radius: 8px;
	/* Verde: è il pulsante che porta a quello che hai comprato,
	   e deve leggersi come "vai avanti", non come un link qualsiasi. */
	background: #0a7c2f;
	color: #ffffff;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background .15s ease;
}

a.otv-bottone:hover,
a.otv-bottone:focus,
button.otv-bottone:hover,
button.otv-bottone:focus {
	background: #096a28;
	color: #ffffff;
	text-decoration: none;
}

/* Avviso mostrato solo a chi apre il link di controllo */
.otv-avviso-anteprima {
	padding: .9rem 1.1rem;
	margin: 0 0 1rem;
	border: 1px dashed #c9a227;
	border-radius: 8px;
	background: #fffbeb;
	font-size: .95rem;
	line-height: 1.5;
}

/* Il "tutto schermo" sotto il player: presente ma non in gara col resto */
.otv-azioni {
	margin: 1rem 0 0;
}

button.otv-bottone--intero {
	background: #253044;
}

button.otv-bottone--intero:hover,
button.otv-bottone--intero:focus {
	background: #16223a;
}

.otv-nota {
	font-size: .9rem;
	opacity: .8;
	margin-top: .75rem;
}

.otv-nota--accesso {
	text-align: center;
}

/* "Questa partita è già tua" — sulla scheda prodotto, per chi ha già comprato */

.otv-gia-tua {
	padding: 1.4rem 1.5rem;
	margin: 0 0 1.5rem;
	border: 1px solid #bfe6c9;
	border-left: 5px solid #0a7c2f;
	border-radius: 10px;
	background: #f2fbf5;
}

.otv-gia-tua__titolo {
	margin: 0 0 .35rem;
	font-size: 1.15rem;
	font-weight: 700;
	color: #0a5c24;
}

.otv-gia-tua__quando {
	margin: 0 0 1rem;
}

.otv-gia-tua .otv-nota {
	margin-bottom: 0;
}

/* Pagina dopo il pagamento */

.otv-grazie {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0 0 1.25rem;
}

.otv-biglietti {
	margin: 0 0 2rem;
}

.otv-biglietto {
	padding: 1.5rem;
	margin-bottom: 1rem;
	border: 1px solid #d9dee7;
	border-left: 5px solid #4EC3F0;
	border-radius: 10px;
	background: #fff;
}

.otv-biglietto__etichetta {
	margin: 0 0 .35rem;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #1E92C8;
}

.otv-biglietto__titolo {
	margin: 0 0 .5rem;
	font-size: 1.3rem;
	line-height: 1.3;
}

.otv-biglietto__quando {
	margin: 0 0 1.1rem;
}

/* Il codice fiscale al checkout: 16 caratteri, non un tema d'italiano */

.otv-codice-fiscale input {
	text-transform: uppercase;
	letter-spacing: .06em;
}

/* La schermata d'attesa con la locandina della partita dietro.
   Il velo scuro non e' decorazione: senza, su una locandina chiara la
   scritta bianca sparisce. */
.otv-schermo--con-copertina {
	position: relative;
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.otv-schermo--con-copertina::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(11,18,32,.55) 0%, rgba(11,18,32,.82) 100%);
}

.otv-schermo--con-copertina > * {
	position: relative;
	z-index: 1;
	text-shadow: 0 1px 4px rgba(0,0,0,.6);
}

/* La riga sotto il player quando la partita non e' ancora cominciata.
   Il player c'e' gia' con la sua locandina e il pulsante: qui serve solo
   dire quando si comincia, senza coprire niente. */
.otv-quando {
	margin: 1rem 0 0;
	padding: .85rem 1.1rem;
	background: #f2f6fb;
	border-left: 4px solid #4EC3F0;
	border-radius: 8px;
	font-size: .98rem;
	line-height: 1.5;
}
