@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
.archivo-font {
	font-family: "Archivo", sans-serif;
	font-optical-sizing: auto;
	font-weight: 900;
	font-style: normal;
	font-variation-settings:
	  "wdth" 100;
  }

body.mondiali2026{
	background-image: url(page_background.jpg);
	background-attachment: fixed;
	background-size: cover;
	font-family: "Roboto", sans-serif;

}

h1, h2, h3, h4, h5, h6{line-height: 1; font-family: "Archivo", sans-serif;}

.header-mondiali{
    padding: 0 0;
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 0;
	position: relative;
	z-index: 10;
}

.header-mondiali::after{
	content: "";
	background-color: #000;
	background-image: radial-gradient(23.98% 57.52% at 50% 11.9%, #625834 0%, #000000 100%);
	width: 100%;
	height: 70%;
	position: absolute;
	top: 0; right: 0; left: 0;
	/* bottom: 300px;  */
}

/* HEADER HOMEPAGE */

.header-mondiali.homepage-hero{ padding-bottom: 100px;}
.header-mondiali.homepage-hero::after{height: 50%;}


.header-mondiali__top_container{
	font-family: "Archivo", sans-serif;
	display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 100; position: absolute; top: 70%; left: 0; right: 0; bottom: auto;
}
.header-mondiali__titoli_homepage{
	text-align: center;
	margin-bottom: 20px;
	text-shadow: #00000070 1px 0 10px;
	padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
	gap: 20px;
}



	.header-mondiali__titoli_homepage h1,
	.header-mondiali__titoli_homepage h4{
		line-height: 1;
		padding: 0;
		margin: 0;
		text-align: center;
	}
	.header-mondiali__titoli_homepage h1{
		font-size: 36px;
		text-transform: none;
	}
	.header-mondiali__titoli_homepage h4{
		font-size: 18px;
		max-width: 550px;
		text-transform: none;
	}

	.header-mondiali-homepage__logo{
		margin: 0 auto 20px auto;
		width: 60%;
		max-width: 400px;
		filter: drop-shadow(0px 0px 20px rgba(0, 0, 0, 0.8));
		animation: floating 4s ease-in-out infinite alternate;
	}

.pronostico_cta_container{
	display: flex;
	justify-content: center;
	align-items: center;
}
.pronostico_cta_container .pronostico_cta_btn{
	background: var(--yellow);
	color: #000;
	padding: 10px 20px;
	border-radius: 10px;
	text-decoration: none;
	font-weight: 700;
	font-size: 18px;
}


.squadre_strip_hp{
	margin-top: 70px;
}

/* FINE HEADER HOMEPAGE */






.header-mondiali__top{
	padding: 0;
	position: relative;
}
.header-mondiali__animation{
	padding-top: 0;
	position: relative;
	max-width: 100%;
	margin: 0 auto;
	z-index: 2;
}
.header-mondiali__titoli{
	position: absolute;
	top: 0; left: 0; right: 0; 	color: #FFF;
	padding: 10px 20px;
	margin:  0 0;
	text-align: center;
	z-index: 10;
	
}
.header-mondiali__titoli h1{
	font-size: 40px;
	line-height: 1;
	padding: 0;
	margin: 0;
	text-align: center;
	font-weight: 900;
	display: inline-block;
	text-transform: none;
}
.header-mondiali__logo{
	width: 30%;
	max-width: 320px;
	filter: drop-shadow(0px 0px 20px rgba(0, 0, 0, 0.8));
	animation: floating 4s ease-in-out infinite alternate;
}

@keyframes floating {
	from {transform: translateY(0px);}
	to {transform: translateY(10px);}
  }

  #gioco_cnt{padding-bottom: 100px;}
#gioco_cnt * {box-sizing: border-box;}	

.gioco_row{ margin-bottom: 50px; margin-top: 20px;}
.gioco_row_titoli{ display: flex; flex-direction: row; align-items: center; gap: 20px;  }
.gioco_row_titoli_mum{font-family: "Archivo", sans-serif; font-weight: 900; font-size: 78px; line-height: 1; letter-spacing: 0%; text-align: center; text-transform: uppercase; color: var(--yellow);}
.gioco_row_titoli_texts{ display: flex; flex-direction: column;}						
.gioco_row_titoli_texts h3{font-family: "Archivo", sans-serif; font-size: 32px; font-weight: 900; line-height: 1; color: #FFF; margin: 0; padding: 0;}
.gioco_row_subtitle{font-family: "Roboto", sans-serif; font-size: 16px; font-weight: 400; line-height: 1.4; color: #FFF;}
.mess_mancanti_mark{ color: var(--yellow); font-weight: 700; }
							

			
.flag_small{width: 35px; display: block;  margin: 0; min-width: 30px; border-radius: 3px; overflow: hidden; border: 1px solid #505050;}
.flag_small img{width: 100%;}			
			
.gruppi_cnt{
	width: 100%; margin: 20px 0; padding: 0;
	display: grid; gap: 10px; justify-items: stretch; align-items: start;  
	grid-template-columns: 1fr 1fr 1fr 1fr; 
	/* grid-template-columns: 24% 24% 24% 24%;  */
}
.gruppo{
	background: #000; border: 1px solid #000; border-radius: 10px; overflow: hidden; width: 100%; margin: 0;
}
.nome_gruppo{ 
	font-family: "Archivo", sans-serif;
	color: var(--yellow); text-transform: uppercase; font-weight: 700;
	padding: 15px 20px; text-align: left; font-size: 18px; border-bottom: 1px solid var(--yellow);
}
.nome_gruppo strong{font-weight: 700;}
.squadra{width: 100%; display: flex; flex-direction: row; justify-content: flex-start; gap: 10px; align-items: center; padding: 10px; border-top: 1px solid var(--grey-4); line-height: 1; position: relative; z-index: 5;}
.squadra--pick{cursor: pointer; }
.squadra--pick.squadra--prima, .squadra--pick.squadra--seconda, .squadra--pick.squadra--terza{
	background: linear-gradient(90deg, rgba(255, 204, 0, 0.30) 40%, #000 100%); position: relative;
}
.squadra--pick.squadra--prima::after, .squadra--pick.squadra--seconda::after, .squadra--pick.squadra--terza::after{
	content: "";
	display: block;
	width: 18px;
	height: 18px;
	background: url(check.svg) no-repeat center center;
	background-size: 100% 100%;
	position: absolute;
	top: 14px;
	right: 10px;
}
/* .squadra--pick.squadra--prima{border-left-color: var(--yellow); background: rgba(98, 88, 52, 0.2);}
.squadra--pick.squadra--seconda{border-left-color: #c4a951; background: rgba(98, 88, 52, 0.15);}
.squadra--pick.squadra--terza{border-left-color: #8a7a48; background: rgba(98, 88, 52, 0.12);} */
.squadra_rank_label{ display: flex; width: 16px; text-align: center;}
.squadra_rank_label{font-family: "Archivo", sans-serif; font-size: 14px; font-weight: 700; color: var(--yellow); min-width: 16px; text-align: right; letter-spacing: 0.02em; flex-shrink: 0;}
.squadra--pick:focus-visible{outline: 2px solid var(--yellow); outline-offset: 2px;}
.squadra_nome{text-align: left; font-size: 14px; color: #FFF; margin-top: 2px;}
/* .squadra_tools{ width: 100%; display: flex; flex-direction: row; justify-content: space-between; align-items: center;	padding: 5px 0; gap: 8px; } */
/* .gruppo div:nth-child(2){border-top: none;}	*/
.options{ display: flex; flex-direction: row; justify-content: space-between; align-items: center; line-height: 1; margin-left: 5px; gap: 5px;}
a.opt {
	border-radius: 50%; border: 1px solid var(--yellow); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; width: 20px; height: 20px; color: var(--yellow); 
	text-align: center; margin: 0;}

a.not_clickable{color: #d7d7d7; border: 1px solid #d7d7d7;}
a.opt.selected, .selected{background: var(--yellow); color: #000; }

		
					
					
.mess_mancanti_mark{font-size: inherit; font-weight: bold;}		
					
					
.elim_tag{display: none;}
		
.matches_container{
	width: 100%; margin: 10px 0; 
	display: grid;
	grid-template-columns: 24% 24%;
	gap: 10px;
	position: relative;
	justify-content: center;
	align-items: center;
}
.matches_container_sedicesimi{grid-template-columns: 24% 24% 24% 24%;}
.matches_container_finale{ display: flex; flex-direction: column; justify-content: center; align-items: center; }

.match_big, .match{width: 100%; display: block; margin: 0; background: #000; border: 1px solid #000; border-radius: 10px; cursor: pointer; }

.matches_container_finale .match{ width: 24%; max-width: 400px; }

.squ1, .squ2{ 
	display: flex ; flex-wrap: nowrap; justify-content: flex-start; align-items: center; flex-direction: row; 
	padding: 5px 10px; color: #FFF; height: 50px; font-size: 16px; 
}
	.squ1{ border-radius: 10px 10px 0 0; border-bottom: 1px solid var(--grey-4); position: relative;  }
	.squ1:before{ 
		content: "VS"; display: flex; position: absolute; align-items: center; justify-content: center;
		width: 20px; height: 20px; bottom: -10px; left: calc(50% - 10px); right: calc(50% - 10px);  text-align: center; 
		font-size: 11px; line-height: 1; font-weight: 900; background: var(--yellow); color: #000; border-radius: 50%; }
	.squ2{  border-radius: 0 0 10px 10px;  }		
	.squ1.selected, .squ2.selected { background-color: #000; background: linear-gradient(90deg, rgba(255, 204, 0, 0.30) 40%, #000 100%); position: relative; color: #FFF; }
	.squ1.selected::after, .squ2.selected::after{
		content: "";
		display: block;
		width: 18px;
		height: 18px;
		background: url(check.svg) no-repeat center center;
		background-size: 100% 100%;
		position: absolute;
		top: 14px;
		right: 10px;
	}
.sq_3l, .sq_full{  text-align: left; padding-left: 5px; color: #FFF; font-size: 15px; }

		.separatori{width: 100%; display: block; display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; flex-direction: row;}
			.sep_largh1{display: block;  margin: 0 20px; width: 100%;}
			.sep_largh2{width: 100%; display: block; }
			.sep_largh3{width: 100%; display: block; }
				.sep{
					width: 50%; 
					height: 30px;
					border-left: 1px solid #FFF;
				    border-right: 1px solid #FFF;
				    border-bottom: 1px solid #FFF;
				    border-radius: 0 0 10px 10px;
				    margin: 0 auto 25px auto;
				    position: relative;
				}
				.sep:after{
					content: "";
				    display: block;
				    height: 25px;
				    width: 1px;
				    background: #FFF;
				    position: absolute;
				    left: 50%;
				    margin-left: -1px;
				    bottom: -25px;
				}		
					
					
			/* .semi_margin{margin: 0 130px;} */
			
			#finale{width: 100%; margin: 0 0 0 0; display: flex; flex-wrap: nowrap; justify-content: space-around; align-items: center; flex-direction: row;  position: relative;}
			
			#finale:after{
				content: "";
				display: block;
				height: 155px;
				width: 1px;
				background: #FFF;
				position: absolute;
				left: 50%;
				margin-left: -1px;
				bottom: -155px;
			}		
			
			
			#vincitrice{
				width: 100%;
				max-width: 750px;
				height: auto;
				position: relative;
				margin: 135px auto 60px auto;
				opacity: 1;
				transform: translateY(0);
				max-height: 1200px;
				overflow: hidden;
				pointer-events: auto;
				transition: opacity .2s ease, transform .2s ease, max-height .2s ease, margin .2s ease;
			}
			#vincitrice.vincitrice--hidden{
				opacity: 0;
				transform: translateY(8px);
				max-height: 0;
				margin: 0 auto;
				pointer-events: none;
			}
				.winner{
					background-color: #000;
					background-image: radial-gradient(23.98% 57.52% at 50% 11.9%, #625834 0%, #000000 100%);
					width: 100%; 
					height: 100%;
					border-radius: 30px; position: relative;   
					display: flex;
					justify-content: center;
					align-items: center;
					flex-direction: column-reverse;
					gap: 20px;
					overflow: hidden;
					padding: 20px;
				}	
					.winner_name{
						display: flex;
						flex-direction: column;
						justify-content: center;
						align-items: center;
						z-index: 20;
					}
					
						.sq_winner{color: #FFF; font-family: "Archivo", sans-serif; font-weight: 900; text-transform: uppercase; width: auto; display: inline-block; margin: 10px 5px; text-align: left; font-size: 34px; }	
						.flag_winner{width: 100px; display: inline-block; margin: 0; vertical-align: text-bottom; border-radius: 10px; overflow: hidden;}
							.flag_winner img{width: 100%;}
				.winner_img{
					position: relative; opacity: 0; z-index: 15; 
					bottom: 0; left: 0; right: 0; top: 0;
					animation: floating 4s ease-in-out infinite alternate;

				}	
				.winner_img.anim_x_up{
					opacity: 1;
				}

				.winner_img img{
					width: 80%;
					max-width: 400px;
					margin: 20px auto;
				}
					
				#btn_procedi{font-size: 16px; font-weight: 700; color: #000; background: var(--yellow); padding: 20px 30px; display: block; margin: 30px auto 30px auto; text-align: center; text-transform: uppercase; border-radius: 5px; box-shadow: none; border: none;}		

.share_container{margin: 20px auto; display: flex; justify-content: center; gap: 10px;}
.share_container a{background: #3b5998; padding: 8px; width: 40px; display: inline-block; align-items: center; border-radius: 5px; gap: 5px; color: #FFF; text-decoration: none; font-size: 14px;}
	.share_container a span{width: 25px;}
	.share_container a span img{width: 100%; height: auto;}
	.share_container a.pronostico_share_link_tw{background: #1e1e1e; border: 1px solid #FFF;}
	.share_container a.pronostico_share_link_whatsapp{background: #25D366; border: 1px solid #FFF;}
	.share_container a.pronostico_share_link_whatsapp span img{filter: brightness(0) invert(1); width: 20px;}

.share_container--inside{ margin: 10px 0 0 0; z-index: 30; position: relative; }

.risultato_winner{ margin-top: 60px; padding: 40px 20px 30px 20px; }

.winner_riepilogo_name{display: flex; align-items: center; gap: 10px; border: 1px solid #FFCC00; border-radius: 10px; padding: 20px;}

.winner_riepilogo_name .flag_winner{width: 60px;}
.winner_riepilogo_name .sq_winner{font-size: 26px;}


.btn_vedi_riepilogo{
	display: block; max-width: 400px; margin: 30px auto;
	text-align: center; padding: 16px 30px;
	font-size: 16px; font-weight: 700; color: #000; background: var(--yellow);
	text-transform: uppercase; border-radius: 10px; text-decoration: none;
	transition: opacity .2s;
}
.btn_vedi_riepilogo:hover{ opacity: .85; }

.podio_cnt{
	display: flex; justify-content: space-around; align-items: center;
	gap: 20px; margin: 30px 0; width: 100%; padding: 50px 20px; background-image: url(BG_podio.png);
	background-size: cover; background-position: bottom right; border-radius: 20px;
	background-color: #00000078; background-repeat: no-repeat;
}

.podio_cnt p{color: #FFCC00;}

.podio_item{
	
	padding: 0; text-align: center; width: 80%;
	display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1;
	animation: floating 2s ease-in-out infinite alternate;

}
.podio_item--1{
	border-color: var(--yellow); order: 2; margin-top: 2%; animation: floating 1.5s ease-in-out infinite alternate;
}
.podio_item--2{ order: 1; margin-top: 12%; animation: floating 2s ease-in-out infinite alternate;}
.podio_item--3{ order: 3; margin-top: 19%; animation: floating 2.5s ease-in-out infinite alternate;}
.podio_medal{ font-size: 42px; line-height: 1; }
.podio_flag{ width: 70%; border-radius: 6px; overflow: hidden; border: 1px solid #505050; }
.podio_flag img{ width: 100%; display: block; }
.podio_nome{ color: #FFF; font-family: "Archivo", sans-serif; font-weight: 700; font-size: 18px; text-transform: uppercase; }
.podio_voti{ color: var(--yellow); font-size: 14px; font-weight: 600; }


.podio_teams_cnt{background-image: url(podio.png); background-size: contain; background-position: bottom;
	background-repeat: no-repeat; width: 50%; min-width: 50%; aspect-ratio: 16 / 9;
	position: relative; display: flex; justify-content: space-evenly; align-items: flex-start;
}

.podio_item--2 .podio_flag{width: 55%;}
.podio_item--3 .podio_flag{width: 50%;}



#riepilogo_vincitrice{
	background-color: #000;
	background-image: radial-gradient(60% 57.52% at 50% 11.9%, #625834 0%, #000000 100%);
	border-radius: 20px;
	padding: 40px;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: space-around;
	gap: 10px;

}
#riepilogo_vincitrice > *:not(.confetti){
	position: relative;
	z-index: 20;
}


.share_text h1{margin: 0; font-family: "Archivo", sans-serif; padding: 0;}
.share_text p{color: #FFCC00; margin: 0; padding: 0;}

.winner_riepilogo_message{font-family: "Archivo", sans-serif; color: #FFCC00; font-size: 24px; font-weight: 900;}

.share_container{display: flex; flex-direction: column;}
.share_buttons{display: flex; align-items: center; gap: 10px;}


.recap_div{display: flex; flex-direction: column; gap: 20px; justify-content: center; align-items: center;}
.recap_div_img{width: 80%; max-width: 320px;}

.btn_vedi_riepilogo{margin-bottom: 80px;}


.disclaimer p{max-width: 800px; margin: 20px auto; text-align: center; font-size: 12px;}

				/* =========================================================================
   confetti.css — drop-in CSS for the confetti effect
   Pair with confetti.js. Self-contained, no external dependencies.
   ========================================================================= */

.confetti {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
	z-index: 25;
  }
  
  .confetti-piece {
	position: absolute;
	top: -20px;
	border-radius: 1px;
	will-change: transform, opacity;
	animation-name: confetti-fall;
	animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
	animation-iteration-count: infinite;
	animation-fill-mode: both;
  }
  
  /* Variant: bigger ribbon-style pieces */
  .confetti-piece.ribbon {
	border-radius: 2px;
  }
  
  /* Variant: round confetti */
  .confetti-piece.dot {
	border-radius: 50%;
  }
  
  @keyframes confetti-fall {
	0% {
	  transform: translate3d(0, -20px, 0) rotate(0deg);
	  opacity: 1;
	}
	10% {
	  opacity: 1;
	}
	100% {
	  transform: translate3d(var(--drift, 0), var(--distance, 100vh), 0) rotate(var(--end-rot, 720deg));
	  opacity: 0;
	}
  }
  
  /* One-shot burst variant (no infinite loop) */
  .confetti.burst .confetti-piece {
	animation-iteration-count: 1;
  }
  
  /* Respect reduced motion */
  @media (prefers-reduced-motion: reduce) {
	.confetti-piece { animation: none; opacity: 0; }
  }
  





		
@media screen and (max-width: 970px){
	.gruppi_cnt{ grid-template-columns: 1fr 1fr 1fr; }
	
	.squadra_nome{text-align: center;}
	/* .squadra_tools{justify-content: center;} */
	
	.squadra_nome{ font-size: 12px;  }
	.squ1, .squ2{ font-size: 14px; }
	
	.header-euro-2024__titoli h1{
		font-size: 62px;
}
	.header-euro-2024__titoli h3{
		font-size: 48px;

	}
	
}

@media screen and (max-width: 960px){



}
@media screen and (max-width: 768px){

	.mondiali_cnt{margin-top: -10px;}
	.gruppi_cnt{ grid-template-columns: 1fr; }
	.gruppo{width: 100%;}
	.squadra_nome{ font-size: 14px;  }
	.squ1, .squ2{ font-size: 16px; }

	.header-mondiali__logo {
		width: 70%;
		max-width: 300px;}

		.header-mondiali__titoli{top: auto; bottom: -60px;}

	#gioco_container{margin-top: 100px;}

	.gioco_row_titoli_mum{font-size: 48px;}
	.gioco_row_titoli_texts h3{font-size: 24px; text-align: center;}
	.gioco_row_subtitle{font-size: 14px; text-align: center;}
	.gioco_row_titoli{gap: 0; flex-direction: column; text-align: center;}
	
	.header-euro-2024__titoli h1{
			font-size: 24px;
	}
		.header-euro-2024__titoli h3{
			font-size: 16px;
	
		}

		.share_container{flex-direction: column; align-items: center; margin: 0;}
		.share_container--inside{margin-top: 10px;}

		.share_text h1, .share_text p{text-align: center;}


		.podio_teams_cnt{aspect-ratio: 16 / 10; width: 100%;}
		.podio_cnt{ flex-direction: column; align-items: center; padding: 30px 20px;}
		.podio_item{ width: 100%; max-width: 320px; }
		.podio_nome{font-size: 14px;}
	
		.page_risultati #finale:after{display: none;}

		#riepilogo_vincitrice{flex-direction: column; gap: 40px;}
		.winner_riepilogo_name{display: flex; justify-content: center; flex-direction: column; align-items: center;}


	#ottavi, #quarti, #semifinale{   
        flex-wrap: nowrap;
        align-items: center;
        flex-direction: column;
        justify-content: center;}

	.separatori{display: none;}
	.match_group_small{width: 100%; margin: 1em 0;}
	.match_small{width: 100%; margin: .5em 0;}
	.match_big{width: 100%; margin: .5em 0;}
	.elim_tag{display: block;}

	.matches_container_sedicesimi, .matches_container{grid-template-columns: 50% 50%;}

	.sq_3l, .sq_full{font-size: 13px;}

	/* 
	
	#finale{width: 100%;}
	#vincitrice{width: 100%;}
	.btn_blu{width: 100%;}
	.super_width{width: 100%;}
	 */

	
	
	
	
}

/* .descr-reg-wc {
	max-width: 900px;
	margin: 0 auto 10px auto;
	text-align: left;
}
.descr-reg-wc p {
	text-align: left;
	font-size: 14px;
	line-height: 1.45;
}
.wc-bozza-note {
	opacity: 0.92;
	font-size: 13px !important;
}
.gruppi_cnt--mondiali {
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 12px;
}
.gruppi_cnt--mondiali .gruppo {
	flex: 1 1 160px;
	max-width: 220px;
	min-width: 140px;
}
.wc_phase-label {
	display: block;
	text-align: center;
	color: #ffcc02;
	font-family: 'Druk Wide Trial', sans-serif;
	text-transform: uppercase;
	font-size: 16px;
	margin: 28px 0 10px 0;
}
.wc_phase {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	gap: 14px;
	margin: 16px 0;
	position: relative;
}
.wc_match__label {
	font-size: 10px;
	text-transform: uppercase;
	text-align: center;
	color: #666;
	padding: 4px 4px 0 4px;
	background: #f0f0f5;
	border-radius: 8px 8px 0 0;
	border: 1px solid #dbdbdb;
	border-bottom: none;
}
.wc_sep .sep_largh1,
.wc_sep .sep_largh2,
.wc_sep .sep_largh3 {
	display: block;
	width: 100%;
}
#wc_final .match_big {
	width: 100%;
	max-width: 420px;
	margin-left: auto;
	margin-right: auto;
} */
@media screen and (max-width: 768px) {
	.gruppi_cnt--mondiali .gruppo {
		max-width: 100%;
		flex: 1 1 100%;
	}
	.wc_phase {
		flex-direction: column;
		align-items: center;
	}
	.wc_match,
	.wc_match--big {
		width: 100% !important;
		max-width: 420px;
		margin: 0 auto !important;
	}
}
