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

/*body {
background: #0a0f1c;
font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 20px;
}*/

/* Info banner styling - lorem ipsum content */
.info-banner {
	max-width: 1600px;
	width: 100%;
	margin-bottom: 20px;
	background: linear-gradient(135deg, #1e2a3a 0%, #0f1722 100%);
	border-left: 5px solid #ffb347;
	padding: 1.2rem 1.8rem;
	border-radius: 0;
	box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.info-banner h2 {
	color: #ffcf7a;
	font-size: 1.4rem;
	margin-bottom: 0.6rem;
	letter-spacing: -0.3px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.info-banner p {
	color: #e0e6f0;
	line-height: 1.5;
	font-size: 0.95rem;
	margin-bottom: 0.5rem;
}

.info-banner .highlight-text {
	color: #ffb347;
	font-weight: 600;
	display: inline-block;
	margin-top: 8px;
	font-size: 0.9rem;
}

.info-banner .price-tag-banner {
	display: inline-flex;
	gap: 20px;
	margin-top: 10px;
	flex-wrap: wrap;
}

.price-category {
	background: rgba(0,0,0,0.4);
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: 500;
}

.price-category span {
	color: #ffb347;
	font-weight: bold;
}

/* main container - no rounded borders */
.venue-container {
	position: relative;
	width: 100%;
	max-width: 1600px;
	margin: 0 auto;
	background: #fff;
	overflow: hidden;
}

/* wrapper holds image and absolute grid */
.wrapper {
	position: relative;
	width: 100%;
	aspect-ratio: 12 / 9;
	background: #fff;
}

/* background image fills wrapper */
.wrapper img {
	width: 99%;
	height: 100%;
	object-fit: cover;
	display: block;
	pointer-events: none;
}

/* GRID POSITIONING: top/bottom/left/right for seat overlay */
.grid {
	position: absolute;
	top: 6%;
	left: 6%;
	right: 12%;
	bottom: 28%;
	display: grid;
	grid-template-columns: repeat(16, 1fr);
	grid-template-rows: repeat(25, 1fr);
	gap: 0px;
	z-index: 10;
}

/* seat box styling */
.box {
	background-color: rgba(100, 250, 170, 0.45);
	border: 1px solid rgba(255, 255, 255, 0.25);
	transition: all 0.15s ease;
	cursor: pointer;
	backdrop-filter: blur(1px);
}

/* HOVER EFFECT: color change on the table/seat */
.box:hover {
	background-color: rgba(50, 168, 82, 0.6) !important;
	border-color: #32a852;
	transform: scale(1.02);
	box-shadow: 0 0 6px rgba(43, 153, 73, 0.8);
	z-index: 20;
}

.box.selected {
	background-color: rgba(204, 204, 204, 0.9) !important;
}

/* seat category variations */
.box.standard {
	background-color: rgba(226, 31, 38, 0.6);
}
.box.premium {
	background-color: rgba(50, 205, 50, 0.6);
}
.box.vip {
	background-color: rgba(218, 165, 32, 0.7);
}

/* --- POPUP MODAL STYLES - no rounded corners on outer, but card has slight rounding for aesthetics --- */
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	visibility: hidden;
	opacity: 0;
	transition: visibility 0.2s, opacity 0.2s ease;
}

.modal-overlay.active {
	visibility: visible;
	opacity: 1;
}

/* popup card - no rounded border on outer container, but inner elements consistent */
.popup-card {
	background: #fff;
	width: 90%;
	max-width: 450px;
	box-shadow: 0 30px 50px rgba(0,0,0,0.6);
	overflow: hidden;
	transform: scale(0.95);
	transition: transform 0.2s cubic-bezier(0.2, 0.9, 0.4, 1.1);
	color: #000;
}

.modal-overlay.active .popup-card {
	transform: scale(1);
}

.popup-header {
	background: #fff;
	padding: 1rem 1.5rem;
	border-bottom: 1px solid #e21f26;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.popup-header h3 {
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: -0.3px;
	color: #000;
}

.close-popup {
	background: rgba(255,255,255,0.1);
	border: none;
	font-size: 1.8rem;
	cursor: pointer;
	color: #000;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
	font-weight: bold;
}

.close-popup:hover {
	background: #681C19;
	color: #fff;
}

.popup-content {
	padding: 1.5rem 1.8rem 1.8rem;
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
}

/* Form field styling */
.form-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.form-group label {
	font-weight: 600;
	color: #544f4f;
	font-size: 0.85rem;
	letter-spacing: 0.5px;
}

.form-group input, .form-group textarea {
	background: #fff;
	border: 1px solid #ccc;
	padding: 10px 12px;
	border-radius: 8px;
	color: #000;
	font-size: 0.95rem;
	font-family: inherit;
	transition: 0.2s;
	width: 100%;
}

.form-group input:focus, .form-group textarea:focus {
	outline: none;
	border-color: #e21f26;
	box-shadow: 0 0 5px rgba(104, 28, 25, 0.5);
}

.form-group textarea {
	resize: vertical;
	min-height: 60px;
}

.info-row-static {
	background: rgba(255, 243, 242,0.3);
	border: 1px solid #681C19;
	padding: 10px 12px;
	border-radius: 8px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.price-display {
	font-size: 1.6rem;
	font-weight: 800;
	color: #e21f26;
}

.seat-badge {
	background: #ccc;
	padding: 6px 12px;
	border-radius: 8px;
	font-size: 0.8rem;
	text-align: center;
	font-weight: bold;
	color: #000;
}

.timer-warning {
	font-size: 0.75rem;
	color: #e21f26;
	text-align: center;
	margin-top: 4px;
	background: rgba(0,0,0,0.4);
	padding: 6px;
	border-radius: 6px;
}

.action-btn {
	background: #e21f26;
	border: none;
	padding: 12px;
	border-radius: 8px;
	font-weight: bold;
	font-size: 1rem;
	color: #fff;
	cursor: pointer;
	transition: 0.2s;
	font-family: inherit;
	margin-top: 8px;
}

.action-btn:hover {
	background: #681C19;
	transform: scale(0.98);
}

#pitch-selected {
	margin: 20px 0;
	padding: 20px;
    display: block;
	background-color: rgba(50, 168, 82, 0.6);
}

textarea {
	width: 100%;
	padding: 5px;
}

@media (max-width: 768px) {
	.grid {
		top: 7%;
		bottom: 10%;
		left: 5%;
		right: 10%;
	}
	.popup-card {
		max-width: 95%;
	}
	.wrapper {
		aspect-ratio: 4 / 3;
	}
	.info-banner h2 {
		font-size: 1.1rem;
	}
	.info-banner p {
		font-size: 0.85rem;
	}
}

.box:active {
	transform: scale(0.98);
}

/* Scroll hint animation */
@keyframes gentleBounce {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(5px); }
}
.scroll-hint {
	text-align: center;
	margin-top: 15px;
	font-size: 0.8rem;
	color: #681C19;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}
.scroll-hint span {
	animation: gentleBounce 1.5s infinite;
	display: inline-block;
}