@import url('https://fonts.googleapis.com/css2?family=Tomorrow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
	padding: 0;
	margin: 0;
}

body {
	background-image: url("Image/background.png");
	background-color: #444444;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	background-repeat: no-repeat;
	height: 100vh;
	font-family: "Tomorrow", sans-serif;
}

#main {
	display: flex;
	flex-direction: column;
	align-content: center;
	justify-content: center;
	width: 100%;
	text-align: center;
}

.divider {
  max-width: 460px;
  margin: 20px auto;
}

.block-info {
	display: flex;
	align-content: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	max-width: 645px;
	margin: 0 auto;
}

.info-element {
	max-width: 150px;
	width: 100%;
	height: 130px;
	background-image: url("Image/block-bg.png");
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: center;
}

.info-element span {
	color: #FFF;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	letter-spacing: 1.4px;
}
.info-element strong {
	color: #FFD469;
	font-size: 36px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	letter-spacing: 3.6px;
}

.online-element {
	width: 100%;
	max-width: 645px;
	margin: 20px auto;
	background-image: url("Image/block-online.png");
	height: 160px;
	padding: 14px 0;
	box-sizing: border-box;
}

.online-element p {
	color: #FFF;
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	letter-spacing: 1.4px;
}

.all-online p {
	color: #ADADAD;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	letter-spacing: 1.5px;
}

.all-online span {
	color: #FFF;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	letter-spacing: 1.5px;
}

.all-race {
	display: flex;
	justify-content: center;
	align-content: center;
	gap: 40px;
}

.all-online {
	margin: 12px 0 15px 0;
}

.bellato-online, .cora-online, .acretia-online {
	display: flex;
	align-items: center;
	gap: 10px;
}

.bellato-online div, .cora-online div, .acretia-online div {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	
	& > span {
		color: #ADADAD;
		font-size: 15px;
		font-style: normal;
		font-weight: 400;
		line-height: normal;
		letter-spacing: 1.5px;
	}
	& > strong {
		color: #FFF;
		font-size: 24px;
		font-style: normal;
		font-weight: 700;
		line-height: normal;
		letter-spacing: 2.4px;
	}
}
#play-button {
	background: transparent;
	border: none;
	outline: none;
	padding: 0;
}
#play-button:hover .play-state {
	opacity: 0;
	cursor: pointer;
}
.play-state {
	opacity: 1;
	transition: 0.2s;
	position: absolute;
}

.block-logo {
  margin-top: -25px;
}


body video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -1;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  pointer-events: none;
  transition: background 0.3s, backdrop-filter 0.3s;
}

.modal-overlay.open {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  pointer-events: auto;
}

.modal {
	background-image: url("Image/modal-bg.png");
	max-width: 645px;
	width: 100%;
	height: 200px;
	color: #fff;
	position: relative;
	transform: scale(0.9);
	opacity: 0;
	transition: transform 0.3s, opacity 0.3s;
}

.modal-overlay.open .modal {
  transform: scale(1);
  opacity: 1;
}

.close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

.close:hover {
  color: #ffd469;
}

.modal-list {
  display: flex;
  gap: 40px;
  height: 100%;
  width: 100%;
  justify-content: center;
  align-items: center;
  
  & > a {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: #FFF;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	letter-spacing: 1.4px;
	border-radius: 5px;
	border: 1px solid #5050504A;
	background: rgba(9, 9, 9, 0.3);
	padding: 15px 15px;
	max-width: 140px;
	width: 100%;
	
	&:hover {
		background: rgba(9, 9, 9, 0.4);
	}
  }
}

@media (max-width: 650px) {
	body video {
		display: none;
	}
	.online-element {
		background-size: contain;
		background-position: center;
		background-repeat: no-repeat;
	}
	.all-race {
		gap: 10px;
	}
	.bellato-online, .cora-online, .acretia-online {
		gap: 5px;
	}
	body {
		padding: 0 10px;
	}
}
@media (max-width: 600px) {
	.online-element > p {
		display: none;
	}
	.info-element {
		background-size: contain;
		background-position: center;
		background-repeat: no-repeat;
	}
	#play-button img {
		width: 80%;
	}
	.play-state {
		padding-right: 10px;
	}
}