@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-position: center;
	background-repeat: no-repeat;
	height: 100vh;
	font-family: "Tomorrow", sans-serif;
	overflow: hidden;
}

#main {
	display: flex;
	flex-direction: column;
	align-content: center;
	justify-content: center;
	width: 100%;
	text-align: center;
	height: 100vh;
	padding: 20px 0;
}

.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;
	position: relative;
	cursor: pointer;
	display: inline-block;
}
#play-button:hover .play-state {
	opacity: 0;
}
.play-state {
	opacity: 1;
	transition: 0.2s;
	position: absolute;
	top: 0;
	left: 0;
}
.play-hover {
	display: block;
}

.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);
	}
  }
}

#agreement-btn {
	position: fixed;
	right: 20px;
	transform: translateY(-50%);
	font-family: "Tomorrow", sans-serif;
	cursor: pointer;
	z-index: 100;
	transition: background 0.3s, border-color 0.3s;
	width: 268px;
	height: 45px;
	background-image: url("Image/button.png");
	background-color: transparent;
	background-size: cover;
	background-position: center;
	border: none;
	bottom: 0;
	
	& > span {
		background: linear-gradient(180deg, #FFF 0%, #C8A668 100%);
		background-clip: text;
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
		font-size: 14px;
		font-style: normal;
		font-weight: 400;
		line-height: normal;
	}

}

.agreement-modal-content {
	max-width: 645px;
	width: 90%;
	height: auto;
	max-height: 80vh;
	padding: 40px 30px 30px;
	overflow-y: auto;
	box-sizing: border-box;
	background-image: url("Image/modal.png");
	background-size: cover;
	background-position: center;
	--cut: 20px;
  clip-path: polygon(
    var(--cut) 0, calc(100% - var(--cut)) 0,
    100% var(--cut), 100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%, var(--cut) 100%,
    0 calc(100% - var(--cut)), 0 var(--cut)
  );
}

.agreement-text h2 {
	color: #FFD469;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 1.4px;
	margin-bottom: 20px;
	text-align: center;
}

.agreement-text p {
	color: #CCC;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: 0.5px;
	margin-bottom: 12px;
}

.agreement-modal-content .close {
	top: 8px;
	right: 12px;
}


@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 {
		width: 80%;
		max-width: 300px;
	}
	#play-button img {
		width: 100%;
		height: auto;
		display: block;
	}
	body {
		overflow: auto;
	}
}
@media (max-width: 525px) {
	#main {
		height: auto;
		padding: 0;
	}
	body {
		display: flex;
		justify-content: center;
		align-items: center;
	}
	.block-logo > a > img  {
		width: 100%;
	}
	.divider {
	  width: 100%;
	}
	.block-info {
		flex-wrap: wrap;
		justify-content: center;
	}
	.all-race > div > img {
	  max-width: 25px;
	}
	.bellato-online div, .cora-online div, .acretia-online div {
	  & > span {
		  font-size: 13px;
	  }
	}
	.bellato-online div, .cora-online div, .acretia-online div {
	  & > strong {
		  font-size: 18px;
	  }
	}
	.all-online {
	  display: none;
	}
	.online-element {
	  display: flex;
	  justify-content: center;
	  align-items: center;
	  margin: 0;
	  height: 120px;
	}
	.divider {
		margin: 5px 0;
	}
	.block-play {
		margin-bottom: 15px;
	}
	.info-element {
		height: 100px;
	}
	.info-element strong {
		font-size: 20px;
	}
	.info-element span {
		font-size: 12px;
	}
	.modal-list {
	  gap: 5px;
	}
	.modal-list {
	  & > a {
		width: 100px;
		height: 100px;
		padding: 0;
		text-align: center;
		  
	  }
	}
	#agreement-btn {
		position: static;
		margin: 10px auto 0;
		padding: 10px;
	}
	.agreement-modal-content {
		padding: 30px 15px 20px;
		width: 92%;
	}
	.agreement-text h2 {
		font-size: 16px;
	}
	.agreement-text p {
		font-size: 12px;
	}
}

