/**********************************************************
*										 				  *
* Title    : Techminati AI Countdown Timer  			  *
* Modified : 2025           				              *
* Description: Dark theme styling                        *
*										 				  *
***********************************************************/

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body, html {
	height: 100%;
	width: 100%;
}

.display {
	flex: 1;
	display: flex;
	flex-direction : column;
	align-items : center;
	justify-content : center;
	background: linear-gradient(135deg, #000000 0%, #1a0000 50%, #0d0d0d 100%);
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
	min-height: 100vh;
	padding: 40px 20px;
}
.event_title {
	color: #fff;	
	text-align: center;
	font-size: 64px;
	letter-spacing: 8px;
	font-weight: 700;
	margin-bottom: 60px;
}

.tech-red {
	color: #ff0000;	
	text-shadow: 0 0 20px rgba(255, 0, 0, 0.8),
	             0 0 40px rgba(255, 0, 0, 0.5),
	             0 0 60px rgba(255, 0, 0, 0.3);
	animation: redGlow 2s ease-in-out infinite alternate;
}

@keyframes redGlow {
	from {
		text-shadow: 0 0 20px rgba(255, 0, 0, 0.8),
		             0 0 40px rgba(255, 0, 0, 0.5);
	}
	to {
		text-shadow: 0 0 30px rgba(255, 0, 0, 1),
		             0 0 60px rgba(255, 0, 0, 0.8),
		             0 0 80px rgba(255, 0, 0, 0.5);
	}
}
.clock{
	width: auto;
	max-width: 1000px;
}
#numbers{
	width: auto;
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
}
#numbers span{
	text-align: center;
	font-size: 72px;
	color: #fff;
	padding: 30px 20px;
	min-width: 140px;
	border-radius: 15px;
	box-sizing: border-box;
	font-weight: bold;
	background: linear-gradient(135deg, #1a0000 0%, #330000 100%);
	backdrop-filter: blur(10px);
	border: 2px solid rgba(255, 0, 0, 0.3);
	box-shadow: 0 8px 32px 0 rgba(255, 0, 0, 0.3);
	transition: all 0.3s ease;
}
#numbers span:hover{
	transform: translateY(-5px);
	box-shadow: 0 12px 40px 0 rgba(255, 0, 0, 0.6);
	border-color: rgba(255, 0, 0, 0.8);
}
#numbers span:nth-child(1){
  background: linear-gradient(135deg, #1a0000 0%, #4d0000 100%);
  border: 2px solid rgba(255, 0, 0, 0.4);
}
#numbers span:nth-child(2){
  background: linear-gradient(135deg, #330000 0%, #660000 100%);
  border: 2px solid rgba(255, 0, 0, 0.5);
}
#numbers span:nth-child(3){
  background: linear-gradient(135deg, #4d0000 0%, #800000 100%);
  border: 2px solid rgba(255, 0, 0, 0.6);
}
#numbers span:nth-child(4){
  background: linear-gradient(135deg, #660000 0%, #990000 100%);
  border: 2px solid rgba(255, 0, 0, 0.7);
}

#units{
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
	margin-top: 20px;
}

#units span{
	text-align: center;
	min-width: 140px;
	margin-top: 10px;
	color: #ff0000;
	text-transform: uppercase;
	font-size: 18px;
	letter-spacing: 3px;
	font-weight: 600;
	text-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
}

span.turn{
  	animation: turn 0.7s ease forwards;
}

@keyframes turn{
	0%{transform: rotateX(0deg)}
	100%{transform: rotateX(360deg)}
}

.hide{
	display: none;
}

.footer{
	position: absolute;
	bottom: 20px;
	color: rgba(255, 255, 255, 0.5);	
	text-align: center;
	font-size: 14px;
	letter-spacing: 2px;
	font-weight: 300;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
	.event_title {
		font-size: 36px;
		letter-spacing: 4px;
		margin-bottom: 40px;
	}
	
	#numbers span {
		font-size: 48px;
		min-width: 100px;
		padding: 20px 15px;
	}
	
	#units span {
		min-width: 100px;
		font-size: 14px;
	}
}

@media screen and (max-width: 480px) {
	.event_title {
		font-size: 28px;
		letter-spacing: 2px;
	}
	
	#numbers span {
		font-size: 36px;
		min-width: 70px;
		padding: 15px 10px;
	}
	
	#units span {
		min-width: 70px;
		font-size: 12px;
	}
}

