* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html,body {
	height: 100%;
	font-family: Inter, system-ui, Segoe UI, Roboto, "Helvetica Neue", Arial;
	overflow:hidden;
}
body {
	background: radial-gradient(circle at 30% 20%, #071017 0%, #0b1014 35%, #05060a 100%);
	color: #e6f7ff;
	display:flex;
	align-items:center;
	justify-content:center;
}

/* (( LOADING )) */
#loadingOverlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #071017;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	transition: opacity .6s;
}

#loadingOverlay.hidden {
	opacity: 0;
	pointer-events: none;
}

#loadingOverlay img {
	width: 80px;
	height: 80px;
	margin-bottom: 24px;
}
#loadingOverlay .load-text {
	font-size: 1.2rem;
	margin-top: 12px;
	color: #E6F7FF;
}
#loadingOverlay .load-circle {
	position: relative;
	width: 60px;
	height: 60px;
}
.load-dot {
	position: absolute;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: linear-gradient(45deg,#05262F,#003B4F);
	transform-origin: 30px 30px;
}

/* (( WRAP )) */
.wrap {
	width: min(1100px,94vw);
	height: min(700px,90vh);
	background: linear-gradient(180deg,rgba(255,255,255,0.02),rgba(255,255,255,0.01));
	border: 1px solid rgba(255,255,255,0.04);
	border-radius: 14px;
	padding: 28px;
	display: grid;
	grid-template-columns: 1fr 420px;
	gap: 28px;
	box-shadow: 0 8px 30px rgba(2,6,10,0.6);
	opacity: 0;
	transition: opacity .6s;
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
}
.logo {
	width: 56px;
	height: 56px;
	border-radius: 8px;
	background: linear-gradient(135deg,#05262F,#003B4F);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.title {
	display: flex;
	flex-direction: column;
}

.title .name {
	font-weight: 600;
	letter-spacing: 0.02em;
}

.title .tag {
	font-size: 0.82rem;
	color: rgba(230,247,255,0.7);
}

.left {
	display: flex;
	flex-direction: column;
	gap: 18px;
	justify-content: flex-start;
}

.headline {
	font-size: 1.25rem;
	line-height: 1.2;
}
.sub {
	color: rgba(230,247,255,0.75);
	font-size: 0.95rem;
	max-width: 52ch;
}

/* (( STATUS )) */
.status-container {
	margin-top: 12px;
	font-size: 0.88rem;
	color: rgba(230,247,255,0.75);
	display: flex;
	align-items: center;
	gap: 8px;
}

.status-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: linear-gradient(45deg,#ffd500,#ff7b00);
	animation: statusPulse 1.2s infinite alternate;
}

@keyframes statusPulse {
	0% {
		transform: scale(0.8)
	}
	50% {
		transform:scale(1.2)
	}
	100% {
		transform:scale(0.8)
	}
}

/* (( ACTOR IMAGE )) */
.actor-img {
	margin-top: 24px;
	max-width: 380px;
	width: 100%;
	border-radius: 12px;
	box-shadow: 0 0 30px rgba(0, 140, 255, 0.6);
	opacity: 0;
	transform: translateY(30px);
	animation: fadeInSlide 1.4s ease-out forwards;
}

@keyframes fadeInSlide {
	to {
		opacity:1;
		transform:translateY(0);
	}
}

/* (( RIGHT PANEL */
.right {
	padding: 18px;
	border-left: 1px solid rgba(255,255,255,0.02);
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: stretch;
}

.panel {
	background: rgba(255,255,255,0.01);
	border-radius: 10px;
	padding: 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.score {
	font-size: 1.05rem;
	font-weight: 600;
}

.start-btn {
	padding: 10px 16px;
	border-radius: 8px;
	border: 0;
	background: #003B57; 
	color: #E6F7FF;
	cursor: pointer;
	font-weight: 600;
	transition: all .2s;
}

.start-btn:hover {
	background:#005A88;
}

.footer {
	font-size: 0.78rem;
	color: rgba(230,247,255,0.6);
	margin-top: auto;
	text-align: right;
	display: flex;
	align-items: center;
	gap: 8px;
}

/* (( TOKENS )) */
.token {
	position: fixed;
	width: 36px;
	height: 36px;
	z-index: 40;
	cursor: pointer;
	transition: transform .15s,opacity .25s;
}

.token img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 6px;
}

.burst {
	position: absolute;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: rgba(255,255,255,0.9);
	pointer-events: none;
	z-index: 50;
	transform: translate(-50%,-50%);
}

/* (( RESPONSIVE )) */
@media(max-width: 980px) {
	.wrap {
		grid-template-columns: 1fr
	}

	.right {
		border-left: 0
	}
}

@media(max-width: 480px) {
	html,body {
  		overflow:auto;
  	}

	.wrap {
  		height:auto;
  		min-height: 100vh;
  		padding:16px;
  	}

  	.actor-img {
  		max-width:100%;
  	}

  	.start-btn {
  		flex:1;font-size:0.9rem;
  	}
}

/* (( DISCORD )) */
.discord-floating {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #7289da;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  z-index: 1000;
  font-size: 24px;
}

.discord-floating:hover {
  transform: scale(1.2);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
