:root {
	--bpw-primary: #1b2838;
	--bpw-secondary: #2a475e;
	--bpw-accent: #66c0f4;
	--bpw-success: #5baa3a;
	--bpw-danger: #cd3a3a;
	--bpw-warning: #f0a500;
	--bpw-dark: #171a21;
	--bpw-light: #c7d5e0;
}

body {
	background: linear-gradient(135deg, var(--bpw-primary) 0%, var(--bpw-secondary) 100%);
	min-height: 100vh;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	color: var(--bpw-light);
}

.bpw-card {
	background: linear-gradient(145deg, #2a475e 0%, #1b2838 100%);
	border: 2px solid var(--bpw-accent);
	border-radius: 15px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(10px);
}

.bpw-header {
	background: linear-gradient(90deg, var(--bpw-accent) 0%, #4a9eff 100%);
	color: var(--bpw-dark);
	border-radius: 10px;
	padding: 1rem;
	font-weight: bold;
	text-align: center;
}

#gameScreen .bpw-header{
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.bpw-btn {
	background: linear-gradient(145deg, var(--bpw-accent) 0%, #4a9eff 100%);
	border: none;
	border-radius: 8px;
	color: var(--bpw-dark);
	font-weight: bold;
	padding: 12px 24px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(102, 192, 244, 0.3);
}

.bpw-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(102, 192, 244, 0.4);
	background: linear-gradient(145deg, #4a9eff 0%, var(--bpw-accent) 100%);
}

.bpw-btn-success {
	background: linear-gradient(145deg, var(--bpw-success) 0%, #6bbf47 100%);
	box-shadow: 0 4px 15px rgba(91, 170, 58, 0.3);
}

.bpw-btn-danger {
	background: linear-gradient(145deg, var(--bpw-danger) 0%, #e74c3c 100%);
	box-shadow: 0 4px 15px rgba(205, 58, 58, 0.3);
}

.question-display {
	font-size: 2rem;
	text-align: center;
	padding: 2rem;
	background: rgba(0, 0, 0, 0.2);
	border-radius: 10px;
	margin: 1rem 0;
	min-height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.options-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);;
	gap: 10px;
	margin: 1rem 0;
}

.option-btn {
	background: linear-gradient(145deg, #3a5568 0%, #2a5568 100%);
	border: 2px solid transparent;
	border-radius: 10px;
	color: var(--bpw-light);
	padding: 15px 10px;
	transition: all 0.3s ease;
	font-size: 1rem;
	text-align: center;
	cursor: pointer;
	min-height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.option-btn:hover {
	background: linear-gradient(145deg, var(--steam-accent) 0%, #4a9eff 100%);
	color: var(--steam-dark);
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(102, 192, 244, 0.3);
}

.option-btn.selected {
	background: linear-gradient(145deg, var(--steam-accent) 0%, #4a9eff 100%);
	color: var(--steam-dark);
	border-color: var(--steam-accent);
}

.option-btn.correct {
	background: linear-gradient(145deg, var(--bpw-success) 0%, #6bbf47 100%);
	color: white;
	border-color: var(--bpw-success);
}

.option-btn.incorrect {
	background: linear-gradient(145deg, var(--bpw-danger) 0%, #e74c3c 100%);
	color: white;
	border-color: var(--bpw-danger);
}

.timer-display {
	background: linear-gradient(145deg, var(--bpw-dark) 0%, #0f1419 100%);
	border: 2px solid var(--bpw-accent);
	border-radius: 10px;
	padding: 10px 20px;
	text-align: center;
	font-size: 1.2rem;
	font-weight: bold;
	color: var(--bpw-accent);
}

.progress-bar-custom {
	background: linear-gradient(90deg, var(--bpw-accent) 0%, #4a9eff 100%);
	border-radius: 10px;
	height: 8px;
}

.result-card {
	background: linear-gradient(145deg, #2a475e 0%, #1b2838 100%);
	border: 3px solid var(--bpw-accent);
	border-radius: 20px;
	padding: 2rem;
	text-align: center;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.score-display {
	font-size: 3rem;
	font-weight: bold;
	color: var(--bpw-accent);
	text-shadow: 0 0 20px rgba(102, 192, 244, 0.5);
}

.feedback {
	font-size: 1.5rem;
	font-weight: bold;
	padding: 1rem;
	border-radius: 10px;
	margin: 1rem 0;
	animation: pulse 0.5s ease-in-out;
	width: calc(100% - 20px);
	margin-left: 10px;
	margin-right: 10px;
	text-align: center;
}

.feedback.correct {
	background: linear-gradient(145deg, var(--bpw-success) 0%, #6bbf47 100%);
	color: white;
}

.feedback.incorrect {
	background: linear-gradient(145deg, var(--bpw-danger) 0%, #e74c3c 100%);
	color: white;
}

@keyframes pulse {
	0% { transform: scale(1); }
	50% { transform: scale(1.05); }
	100% { transform: scale(1); }
}

.game-container {
	max-width: 600px;
	margin: 0 auto;
	padding: 1rem;
}

.start-screen {
	text-align: center;
	padding: 3rem 1rem;
}

.game-title {
	font-size: 3rem;
	font-weight: bold;
	color: #ffffff;
	text-shadow: 0 0 30px rgba(102, 192, 244, 0.6);
	margin-bottom: 0.5rem;
}

.game-subtitle {
	font-size: 3.5rem;
	color: #ffffff;
	margin-bottom: 0;
}

/* Fix text-muted visibility */
.text-muted {
	color: #8fa3b3 !important;
}

/* Modal styling */
.modal-content {
	background: linear-gradient(145deg, #2a475e 0%, #1b2838 100%);
	border: 2px solid var(--bpw-accent);
	border-radius: 15px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.modal-header {
	border-bottom: 1px solid var(--bpw-accent);
}

.modal-footer {
	border-top: 1px solid var(--bpw-accent);
}

.explanation-area {
	margin: 1rem 0;
	transition: all 0.3s ease;
}

.explanation-content {
	background: rgba(0, 0, 0, 0.2);
	border-radius: 10px;
	padding: 1rem;
	color: var(--bpw-light);
	font-size: 1rem;
	line-height: 1.5;
	border-left: 4px solid var(--bpw-accent);
}

.hidden {
	display: none !important;
}

/* Help Button Styles */
.help-btn {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	border: 2px solid var(--bpw-accent);
	background: transparent;
	color: var(--bpw-accent);
}

.help-btn:hover {
	background: var(--bpw-accent);
	color: var(--bpw-dark);
	transform: scale(1.1);
	box-shadow: 0 4px 15px rgba(102, 192, 244, 0.3);
}

.help-btn i {
	font-size: 1.2rem;
}

/* Modal Custom Styles */
.modal-content {
	background: linear-gradient(145deg, #2a475e 0%, #1b2838 100%);
	border: 2px solid var(--bpw-accent);
	border-radius: 15px;
	color: var(--bpw-light);
}

.modal-header {
	border-bottom: 1px solid var(--bpw-accent);
	background: linear-gradient(90deg, var(--bpw-accent) 0%, #4a9eff 100%);
	color: var(--bpw-dark);
	border-radius: 13px 13px 0 0;
}

.modal-footer {
	border-top: 1px solid var(--bpw-accent);
}

.modal-body .table {
	color: var(--bpw-light);
    border: solid 1px rgb(102 192 244 / 20%);
    border-radius: 10px;
}

.modal-body .table-striped > tbody > tr:nth-of-type(odd) > td {
	background-color: rgba(102, 192, 244, 0.1);
}

.modal-body .alert {
	background: rgba(102, 192, 244, 0.1);
	border: 1px solid var(--bpw-accent);
	color: var(--bpw-light);
}

.modal-body code {
	background: rgba(102, 192, 244, 0.2);
	color: var(--bpw-accent);
	padding: 0.5rem;
	border-radius: 5px;
}

.modal .table>:not(caption)>*>*{
	background-color: transparent!important;
}

@media (max-width: 768px) {
	.question-display {
		font-size: 1.5rem;
		padding: 1.5rem;
		min-height: 100px;
	}
	
	.game-title {
		font-size: 2.5rem;
	}
	
	.options-grid {
		gap: 8px;
	}
	
	.option-btn {
		font-size: 0.9rem;
		padding: 12px 8px;
		min-height: 50px;
	}
}