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

body {
	font-family: sans-serif;
	background-color: #000;
	color: #fff;
	line-height: 1.2;
	overflow-x: hidden;
}

#container {
	margin: 0 auto;
	position: relative;
}

#topbar {
	background-color: #DC143C;
	color: white;
	text-align: center;
	padding: 12px 10px;
	top: 0;
}

#topbar h2 {
	font-size: 0.9rem;
	letter-spacing: 2px;
	font-weight: 900;
}

/* --- HERO SECTION --- */
#hero {
	/* Background image with dark overlay for text readability */
	background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)),
	url('https://images.unsplash.com/photo-1677442136019-21780ecad995?q=80&w=1600') center/cover;
	padding: 60px 20px 40px 20px;
	text-align: center;
	position: relative;
	z-index: 5;
}

#hero h1 {
	font-size: 3rem;
	max-width: 950px;
	margin: 0 auto 50px auto;
	text-transform: uppercase;
	line-height: 1.1;
	font-weight: 900;
}

.highlight {
	color: #fbff00; /* High-vis yellow */
	text-decoration: underline;
}

/* --- THE OVERLAP LAYOUT (DESKTOP) --- */
#hero::after {
	content: "";
	display: table;
	clear: both;
}

#banner {
	width: 58%;
	float: left;
	margin-top: 20px;
}

#banner img {
	width: 100%;
	border: 4px solid #fff;
	box-shadow: 0 30px 60px rgba(0,0,0,0.5);
	border-radius: 4px;
}

#registration {
	width: 38%;
	float: right;
	background: #fff;
	color: #000;
	padding: 40px 30px;
	border-radius: 12px;
	box-shadow: 0 25px 50px rgba(0,0,0,0.4);
	/* Push the form down to overlap Section 1 */
	margin-bottom: -220px;

	position: relative;
	z-index: 20;
}

/* --- FORM ELEMENTS --- */
#registration h3 {
	font-size: 1.6rem;
	text-transform: uppercase;
	margin-bottom: 25px;
	text-align: center;
	color: #000;
}
#registration h4 {
	font-size: 1.3rem;
	margin-bottom: 25px;
	text-align: center;
	color: #000;
}

.input-group input {
	width: 100%;
	padding: 18px;
	margin-bottom: 15px;
	border: 2px solid #e0e0e0;
	border-radius: 6px;
	font-size: 1.1rem;
	font-family: sans-serif;
}

.main-btn {
	width: 100%;
	padding: 21px;
	background: #DC143C;
	color: #fff;
	border: none;
	border-bottom: 6px solid #aC143C;
	font-size: 1.4rem;
	font-weight: 900;
	text-transform: uppercase;
	cursor: pointer;
	transition: all 0.2s ease;
	border-radius: 6px;
}

.main-btn:hover {
	transform: translateY(-2px);
	background: #EC143C;
}

.main-btn:active {
	transform: translateY(2px);
	border-bottom-width: 2px;
}

.terms {
	font-size: 0.7rem;
	color: #888;
	margin-top: 20px;
	text-align: center;
	font-family: sans-serif;
	line-height: 1.4;
}

#countdown-container {
	text-align: center;
	margin-bottom: 25px;
}

#display-date {
	font-size: 1.1rem;
	font-weight: 900;
	text-transform: uppercase;
	color: #ff0000; /* Urgency Red */
	margin-top: 15px;
	margin-bottom: 15px;
	letter-spacing: 1px;
}

.timer-circles-wrapper {
	display: flex;
	justify-content: center;
	gap: 15px;
}

/* Ensure the circles look sharp */
.timer-circle {
	background: #000;
	color: #fbff00;
	width: 70px;
	height: 70px;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-weight: bold;
}

/* --- SECTION 1 (WHITE TRANSITION) --- */
#section1 {
	background-color: #ffffff;
	min-height: 300px;
	width: 100%;
	clear: both;
	/* Pull section 1 up to create the layout break */
	margin-top: -120px;
	padding-top: 250px; /* Space for the overlapping registration box */
	position: relative;
	z-index: 1;
}

/* --- FOOTER --- */
.main-footer {
	background: #000;
	padding: 80px 20px;
	text-align: center;
	color: #555;
	font-family: sans-serif;
}

.footer-logo {
	font-size: 2.5rem;
	font-weight: 900;
	color: #fff;
	margin-bottom: 20px;
}

.footer-desc {
	max-width: 600px;
	margin: 0 auto 30px auto;
}

.footer-links a {
	color: #fff;
	text-decoration: none;
	font-weight: bold;
}

.separator {
	margin: 0 10px;
}

.copyright {
	margin-top: 40px;
	font-size: 0.8rem;
}

/* --- TICKET STYLES --- */
.ticket {
	background: #f8f8f8;
	border: 2px dashed #000;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 20px;
}

.ticket-header {
	background: #000;
	color: #fbff00;
	padding: 10px;
	font-weight: 900;
	font-size: 0.8rem;
	letter-spacing: 2px;
}

.ticket-body {
	padding: 20px;
	text-align: center;
}

.ticket-body h3 {
	font-size: 1.8rem;
	margin-bottom: 5px;
}

.ticket-name {
	color: #666;
	font-size: 0.9rem;
	margin-bottom: 15px;
	font-family: sans-serif;
}

.qr-placeholder img {
	width: 100px;
	filter: grayscale(1);
}

/* --- WARNING BOX --- */
.warning-box {
	background: #fff3cd;
	border: 1px solid #ffeeba;
	color: #856404;
	padding: 15px;
	border-radius: 6px;
	font-size: 0.85rem;
	margin-bottom: 25px;
	font-family: sans-serif;
}

.warning-box a {
	color: #856404;
	font-weight: bold;
	text-decoration: underline;
}

/* --- SECTION 1 GRID --- */
.section-title {
	text-align: center;
	color: #000;
	font-size: 2rem;
	margin-bottom: 50px;
	margin-top: 50px;
	font-weight: 900;
}

.steps-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	max-width: 1000px;
	margin: 0 auto;
	padding-bottom: 100px;
}

.step-card {
	background: #fdfdfd;
	padding: 40px 30px;
	border-radius: 12px;
	text-align: center;
	box-shadow: 0 10px 30px rgba(0,0,0,0.05);
	border: 1px solid #eee;
	color: #000;
}

.step-num {
	background: #fbff00;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 900;
	font-size: 1.5rem;
	margin: 0 auto 20px auto;
	border: 3px solid #000;
}

.step-card h3 {
	font-size: 1.3rem;
	margin-bottom: 15px;
}

.step-card p {
	font-family: sans-serif;
	color: #555;
	font-size: 0.95rem;
	line-height: 1.6;
}

.small-btn {
	margin-top: 15px;
	padding: 10px 15px;
	background: #000;
	color: #fff;
	border: none;
	cursor: pointer;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 0.7rem;
}

@media (max-width: 768px) {
	#hero {
		padding-top: 40px;
		display: flex;
		flex-direction: column;
	}

	#hero h1 {
		font-size: 1.8rem;
		order: 1;
	}

	/* Flip order for mobile conversion: Headline -> Form -> Video */
	#registration {
		order: 2;
		width: 100%;
		margin-bottom: 30px;
		margin-top: 0;
		padding: 25px 20px;
	}

	#banner {
		order: 3;
		width: 100%;
		margin-bottom: -80px; /* Overlap into section 1 on mobile */
	}

	#section1 {
		margin-top: -60px;
		padding-top: 150px;
	}

	.main-btn {
		font-size: 1.2rem;
	}
	.steps-grid {
		grid-template-columns: 1fr;
	}

	#registration {
		margin-bottom: 20px !important;
	}
}

#thank-you-page #hero {
	display: flex;
	flex-direction: column;
	align-items: center;
}

#thank-you-page #hero h1 {
	order: 1; /* Headline First */
}

#thank-you-page #banner {
	order: 2; /* Video Second (Now at the top) */
	width: 80%; /* Makes the video larger/heroic on this page */
	float: none;
	margin: 20px auto;
}

#thank-you-page #registration {
	order: 3; /* Ticket/Timer Third (Now below the video) */
	width: 60%; /* Adjusted width for the ticket look */
	float: none;
	margin: 20px auto -150px auto; /* Keeps the overlap into Section 1 */
}

/* Mobile fix for Thank You Page */
@media (max-width: 768px) {
	#thank-you-page #banner,
	#thank-you-page #registration {
		width: 100%;
	}
}
