@font-face {
	src: url("/grandelotteria-assets/grandelotteria-fonts/grandelotteria-neuton-bold.woff2")
		format("truetype");
	font-family: "neuton-bold";
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	src: url("/grandelotteria-assets/grandelotteria-fonts/grandelotteria-montserrat-bold.woff2")
		format("truetype");
	font-family: "montserrat-bold";
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	src: url("/grandelotteria-assets/grandelotteria-fonts/grandelotteria-montserrat-regular.woff2")
		format("truetype");
	font-family: "montserrat-regular";
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

:root {
	--font-title: "neuton-bold", sans-serif;
	--font-btn: "montserrat-bold", sans-serif;
	--font-text: "montserrat-regular", sans-serif;

	--color-btn: #e5253a;
	--color-white: #fff;
	--color-secondary: #f3f3f3;
	--color-black: #212121;
	--color-verrtical: #ff98a3;
	--transition: all ease-in-out 0.5s;
}

*,
::after,
::before {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

ul,
ol,
li {
	list-style-type: none;
}

a {
	text-decoration: none;
	color: #ffffff;
	cursor: pointer;
}

body {
	background-color: var(--color-white);
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow-x: hidden;
	position: relative;
}

button {
	border: none;
	outline: none;
	cursor: pointer;
	background: transparent;
}

main,
footer {
	width: 100%;
	color: rgba(3, 3, 3, 1);
}

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}

img {
	display: block;
	width: 100%;
	height: 100%;
	-o-object-position: center;
	object-position: center;
	vertical-align: top;
}

header {
	width: 100%;
}

.grandelotteria--container__main {
	max-width: 1240px;
	width: 100%;
	margin: 0 auto;
}

.grandelotteria__visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	border: 0;
	clip: rect(0 0 0 0);
}

/* Header */
.grandelotteria--header {
	width: 100%;
	background: var(--color-btn);
}

.grandelotteria--header__container {
	padding: 1rem 0;
}

.grandelotteria--header__logo {
	max-width: 208px;
	width: 100%;
	height: 30px;
	margin-inline: auto;
}

/* Welcom Section */
.grandelotteria--welcome {
	padding: 2.5rem 0;
}

.grandelotteria--welcome-box {
	display: flex;
	align-items: center;
	gap: 2.5rem;
}

.grandelotteria--welcome--image {
	background-image: url(/grandelotteria-assets/grandelotteria-img/grandelotteria-welcome/grandelotteria-tickets-ball.webp);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	max-width: 600px;
	width: 100%;
	height: 600px;
}

.grandelotteria--welcome-container {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	max-width: 600px;
	width: 100%;
}

.grandelotteria--welcome----title {
	font-family: var(--font-title);
	font-weight: 700;
	font-size: 3rem;
	line-height: 120%;
	color: var(--color-black);
	text-transform: uppercase;
	word-break: break-all;
}

.grandelotteria--welcome----text {
	font-family: var(--font-text);
	font-weight: 400;
	font-size: 1rem;
	line-height: 150%;
	color: var(--color-black);
}

.grandelotteria--welcome---btn {
	max-width: 320px;
	width: 100%;
	height: 52px;
	display: flex;
	align-items: center;
	background: var(--color-btn);
	justify-content: center;
	font-family: var(--font-btn);
	font-weight: 700;
	color: var(--color-white);
	font-size: 1rem;
	line-height: 120%;
	transition: var(--transition);
	-webkit-transition: var(--transition);
	-moz-transition: var(--transition);
	-ms-transition: var(--transition);
	-o-transition: var(--transition);
	position: relative;
}

.grandelotteria--welcome---btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.grandelotteria--welcome---btn:active {
	transform: translateY(-1px);
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.grandelotteria--welcome---btn::after {
	content: "";
	display: inline-block;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	transition: all 0.7s;
	-webkit-transition: all 0.7s;
	-moz-transition: all 0.7s;
	-ms-transition: all 0.7s;
	-o-transition: all 0.7s;
}

.grandelotteria--welcome---btn::after {
	background-color: var(--color-btn);
}

.grandelotteria--welcome---btn:hover::after {
	transform: scaleX(1.4) scaleY(1.6);
	opacity: 0;
}

.btn-animated {
	animation: moveInBottom 5s ease-out;
	animation-fill-mode: backwards;
}

@keyframes moveInBottom {
	0% {
		opacity: 0;
		transform: translateY(10px);
		-webkit-transform: translateY(10px);
		-moz-transform: translateY(10px);
		-ms-transform: translateY(10px);
		-o-transform: translateY(10px);
	}

	100% {
		opacity: 1;
		transform: translateY(0px);
	}
}

/* Winners */
.grandelotteria--winners {
	padding: 2.5rem 0;
	background: var(--color-secondary);
}

.grandelotteria--winners-container {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
}

.grandelotteria--auto {
	margin-inline: auto;
}

.grandelotteria--half {
	max-width: 814px;
	width: 100%;
	margin-inline: auto;
}

.grandelotteria--winners--title {
	font-family: var(--font-title);
	font-weight: 700;
	font-size: 2.5rem;
	line-height: 120%;
	text-align: center;
	text-transform: uppercase;
	color: var(--color-black);
}

.marquee-container {
	width: 100%;
	overflow: hidden;
	position: relative;
	mask: linear-gradient(
		90deg,
		transparent 0%,
		white 10%,
		white 90%,
		transparent 100%
	);
}

.marquee-content {
	display: flex;
	width: max-content;
	animation: marquee-loop 60s linear infinite;
	-webkit-animation: marquee-loop 60s linear infinite;
}

@keyframes marquee-loop {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(calc(-100% - 1.5rem)); /* учитываем gap */
	}
}

.marquee-container:hover .marquee-content {
	animation-play-state: paused;
}

.grandelotteria--winners--items {
	display: flex;
	gap: 1.5rem;
}

.grandelotteria--winners---item {
	background: linear-gradient(90deg, #f3f3f3 0%, #ffffff 49.52%, #f3f3f3 100%);
	padding: 1rem;
}

.grandelotteria--winners---content {
	display: flex;
	display: flex;
	gap: 1.5rem;
	align-items: center;
}

.grandelotteria--winners---text {
	font-family: var(--font-text);
	font-weight: 400;
	font-size: 18px;
	line-height: 150%;
	color: var(--color-black);
}

.grandelotteria--winners---winning {
	font-family: var(--font-btn);
	font-weight: 700;
	font-size: 1.25rem;
	line-height: 150%;
	color: var(--color-btn);
}

.grandelotteria--winners----list {
	position: relative;
	display: flex;
	align-items: center;
}

.grandelotteria--winners----list:not(:last-child)::after {
	content: "";
	position: absolute;
	right: -0.75rem;
	top: 50%;
	transform: translateY(-50%);
	width: 2px;
	height: 34px;
	background-color: var(--color-verrtical);
}

/* Lotto */
.grandelotteria--lotto {
	background: var(--color-white);
}

.grandelotteria--lotto--cards {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.grandelotteria--lotto---card {
	padding: 2.5rem;
	display: flex;
	align-items: center;
	gap: 2.5rem;
}

.grandelotteria--lotto---card:nth-child(1) {
	background: #2d86d81a;
}
.grandelotteria--lotto---card:nth-child(2) {
	background: #1f517e1a;
}
.grandelotteria--lotto---card:nth-child(3) {
	background: #fdd8411a;
}
.grandelotteria--lotto---card:nth-child(4) {
	background: #ab091d1a;
}

.grandelotteria--lotto----image {
	max-width: 560px;
	width: 100%;
	height: 182px;
}

.grandelotteria--lotto----info {
	max-width: 560px;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.grandelotteria--nocenter {
	text-align: left !important;
}

.grandelotteria--footer--navmenu {
	display: flex;
	align-items: center;
}

.grandelotteria--footer---navlink {
	max-width: 248px;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.grandelotteria--footer---navlink a {
	font-family: var(--font-text);
	font-weight: 400;
	font-size: 16px;
	line-height: 150%;
	text-align: center;
	color: var(--color-white);
	transition: var(--transition);
	-webkit-transition: var(--transition);
	-moz-transition: var(--transition);
	-ms-transition: var(--transition);
	-o-transition: var(--transition);
}

.grandelotteria--footer---navlink a:hover {
	color: var(--color-btn);
}

.grandelotteria--footer--company {
	display: flex;
	align-items: center;
	gap: 2rem;
	justify-content: space-between;
}

.grandelotteria--footer----gioco {
	max-width: 144px;
	width: 100%;
	height: 29px;
}

.grandelotteria--footer----age {
	background-image: url(/grandelotteria-assets/grandelotteria-img/grandelotteria-footer/grandelotteria-icon-age.svg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	max-width: 140px;
	width: 100%;
	height: 35px;
}

/* Footer */
.grandelotteria--footer {
	padding: 2.5rem 0;
	background: #090000;
}

.grandelotteria--footer-container {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
}

.grandelotteria--white {
	color: var(--color-white);
}

.grandelotteria--center {
	text-align: center !important;
}

/* Modal Sign up  */
.grandelotteria-modal_sign {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background: #101010ad;
	backdrop-filter: blur(22.899999618530273px);
	padding: 0 1rem;
}

.grandelotteria-modal--title {
	font-family: var(--font-title);
	font-weight: 700;
	font-size: 1.25rem;
	line-height: 120%;
	text-align: center;
	color: var(--color-black);
	text-transform: uppercase;
}

.grandelotteria-modal__content-sign {
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	gap: 1.5rem;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 0;
	border: none;
	width: 100%;
	height: 380px;
	max-width: 720px;
	position: relative;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
}

.grandelotteria-modal__content-top {
	background: var(--color-white);
	width: 100%;
	height: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.5rem 1.5rem;
	height: 64px;
}

.grandelotteria-modal--title {
	font-family: var(--font-title);
	font-weight: 700;
	font-size: 2.5rem;
	line-height: 120%;
	text-align: center;
	text-transform: uppercase;
	color: var(--color-black);
	max-width: 630px;
	width: 100%;
}

.grandelotteria-modal--close {
	background-image: url(/grandelotteria-assets/grandelotteria-img/grandelotteria-modal/grandelotteria-icon-сlose.svg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	max-width: 32px;
	width: 100%;
	height: 32px;
}

.grandelotteria__form {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	width: 100%;
	margin: 0 auto;
	padding: 2rem 2.5rem;
	background: var(--color-white);
}

.grandelotteria__form__input {
	outline: none;
	border: 1px solid #e6e6e6;
	padding: 0.675rem;
	color: var(--color-black);
	font-family: var(--font-btn);
	font-weight: 600;
	height: 41px;
	line-height: 100%;
	font-size: 1rem;
	font-family: var(--font-title);
	background: var(--color-input);
}

.grandelotteria__form__input::placeholder {
	color: #626262;
	font-weight: 400;
	line-height: 130%;
	font-size: 1rem;
	font-family: var(--font-text);
}

.grandelotteria__form__button {
	margin-inline: auto;
}

.grandelotteria__form__button:hover {
	box-shadow: 0 0 30px var(--color-btn);
}

.grandelotteria__form__login {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}
.grandelotteria__form__log {
	font-size: 1rem;
	line-height: 150%;
	font-weight: 500;
	font-family: var(--font-text);
	color: var(--color-black);
}

.grandelotteria__form___text {
	font-size: 1rem;
	line-height: 150%;
	font-weight: 500;
	font-family: var(--font-text);
	color: var(--color-black);
	text-shadow: 0px 1px 4px #00000040;
}

.grandelotteria__form__reg {
	font-family: var(--font-btn);
	font-weight: 700;
	font-size: 1rem;
	line-height: 150%;
	text-align: center;
	color: var(--color-black);
}

/* Log in */
.grandelotteria-modal_login {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background: #101010ad;
	backdrop-filter: blur(22.899999618530273px);
	padding: 0 1rem;
}

.grandelotteria-modal__content-login {
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
	gap: 1.5rem;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 0;
	border: none;
	width: 100%;
	height: 380px;
	max-width: 720px;
	position: relative;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
}

.grandelotteria-modal-content.success {
	background-color: #4caf50;
	color: white;
}

.grandelotteria-modal-content.error {
	background-color: #f44336;
	color: white;
}

.grandelotteria-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 1000;
	justify-content: center;
	align-items: center;
}

.grandelotteria-modal-content {
	background: linear-gradient(180deg, #7bdfa5 0%, #ffffff 100%);
	padding: 20px;
	border-radius: 10px;
	max-width: 400px;
	width: 100%;
	position: relative;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
}

.grandelotteria-modal-content.success {
	background-color: #4caf50;
	color: var(--color-black);
	text-align: center;
	font-family: var(--font-text);
	font-weight: 400;
	font-size: 1.25rem;
	line-height: 100%;
}

.grandelotteria-modal-content.error {
	background-color: #f44336;
	color: var(--color-black);
	text-align: center;
	font-family: var(--font-text);
	font-weight: 400;
	font-size: 1.25rem;
	line-height: 100%;
}

/* Privacy and Cookies */
.grandelotteria--col {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.grandelotteria--age {
	background-image: url(/grandelotteria-assets/grandelotteria-img/grandelotteria-welcome/grandelotteria-verefication.svg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	max-width: 382px;
	width: 100%;
	height: 97px;
	margin-inline: auto;
}

.grandelotteria--privacy__list {
	list-style-type: disc;
	margin-left: 2.5rem;
}

.grandelotteria--privacy__dot {
	list-style-type: disc;
	margin-left: 3rem;
}

/* Media */
@media screen and (max-width: 1265px) {
	.grandelotteria--container__main {
		padding: 0 1rem;
	}
}

@media screen and (max-width: 1180px) {
	.grandelotteria--welcome-box {
		flex-direction: column;
		gap: 1.25rem;
	}

	.grandelotteria--welcome-container,
	.grandelotteria--lotto----info {
		max-width: 100%;
		width: 100%;
	}

	.grandelotteria--welcome--image {
		max-width: 400px;
		width: 100%;
		height: 400px;
	}

	.grandelotteria--footer--navmenu {
		flex-wrap: wrap;
		justify-content: center;
		gap: 1.25rem;
	}

	.grandelotteria--lotto---card {
		flex-direction: column;
		gap: 1.25rem;
	}
}
@media screen and (max-width: 991px) {
	.grandelotteria--header__container {
		padding: 0.75rem 0;
	}

	.grandelotteria--welcome,
	.grandelotteria--winners {
		padding: 1.25rem 0;
	}

	.grandelotteria--welcome-container,
	.grandelotteria--footer-container {
		gap: 1rem;
	}

	.grandelotteria--welcome----title {
		font-size: 2.25rem;
	}

	.grandelotteria--winners--title {
		font-size: 2rem;
	}

	.grandelotteria--winners-container {
		gap: 1.25rem;
	}

	.grandelotteria--lotto---card {
		padding: 1.25rem 1rem;
	}

	.grandelotteria--lotto----info,
	.grandelotteria--col {
		gap: 1rem;
	}

	.grandelotteria--footer {
		padding: 1.5rem 0;
	}
}

@media screen and (max-width: 700px) {
	.grandelotteria--welcome----title {
		font-size: 2rem;
	}

	.grandelotteria--welcome----text,
	.grandelotteria--winners---winning,
	.grandelotteria--winners---text {
		font-size: 0.875rem;
	}

	.grandelotteria--winners---item {
		padding: 0.5rem 1rem;
	}

	.grandelotteria--welcome---btn {
		height: 41px;
		max-width: 425px;
		width: 100%;
		margin-inline: auto;
	}
	.grandelotteria--winners----list:not(:last-child)::after {
		height: 24px;
	}

	.grandelotteria--welcome--image {
		max-width: 328px;
		width: 100%;
		height: 328px;
	}

	.grandelotteria--winners--title {
		font-size: 1.5rem;
	}

	.grandelotteria--footer--company {
		flex-wrap: wrap;
		justify-content: center;
		gap: 2rem;
	}

	.grandelotteria--lotto----image {
		max-width: 300px;
		width: 100%;
		height: 100px;
	}

	.grandelotteria--age {
		max-width: 328px;
		width: 100%;
		height: 80px;
	}

	.grandelotteria--privacy__list {
		margin-left: 1.5rem;
	}

	.grandelotteria--privacy__dot {
		margin-left: 2rem;
	}
}

@media screen and (max-width: 359px) {
	.grandelotteria--age {
		max-width: 300px;
		width: 100%;
		height: 70px;
	}
}
