@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Rationale&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Trade+Winds&display=swap');

body {
	background: rgb(179, 219, 219);
}

#monitor {
    border-radius: 40px;
    padding: 40px; 
    margin: 10px;
    border: rgb(198, 250, 198) 4px solid;
	-webkit-box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.79); 
	box-shadow: 0px 0px 15px 5px rgba(0,0,0,0.79);
    color: rgb(100, 255, 100);
    font-family: "IBM Plex Mono", monospace;
    max-height: 85vh;
    overflow-y: auto;
    background-image: url("wallpaper.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-color: rgba(0, 0, 0, 0.95);
    background-blend-mode: multiply;
}

#monitor::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 40px; 
    pointer-events: none;
    background: linear-gradient(
        45deg, 
        rgba(0, 0, 0, 0.9) 0%, 
        rgba(100, 255, 100, 0.5) 70%,
        rgba(0, 0, 0, 0.9) 100%
    );
    opacity: 0.6;
}

textarea {
	opacity: 0.6;
	background: rgb(0, 0, 139);
	color: white;
	width: 60%;
	border: 3px white solid;
	border-radius: 10px;
	padding: 10px;
  	font-family: "IBM Plex Mono", monospace;
}

button {
	background: rgba(251, 27, 27, 0.5);
  	font-family: "Trade Winds", system-ui;
	color: black;
	font-size: 2em;
}

button:hover {
	transition-duration: 0.5s;
	background: rgba(251, 0, 0, 1);
	transform: scale(1.1);
}

label {
  	font-family: "IBM Plex Mono", monospace;
	font-size: 2em;
}

p {
	display: inline-block;
	border-radius: 10px;
	border: 1px solid rgba(250, 243, 243, 0.1);
	padding: 3px;
}

.center span{
	color: rgb(142, 142, 249);
}

h1, h2, h3, .center {
	text-align: center;
	width: 100%;
}

/* --- Concepts bar & instructions link (game page) --- */

#concepts-bar {
	text-align: center;
	margin: 10px auto 20px;
}

.concept-tag {
	display: inline-block;
	background-color: rgba(0, 100, 0, 0.7);
	color: rgb(150, 255, 150);
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.8em;
	padding: 6px 14px;
	border-radius: 20px;
	margin: 4px;
	border: 1px solid rgba(150, 255, 150, 0.4);
}

.instructions-link {
	text-align: center;
}

.instructions-link a {
	display: inline-block;
	background-color: rgba(0, 60, 0, 0.9);
	color: rgb(150, 255, 150);
	text-decoration: none;
	padding: 8px 18px;
	border-radius: 20px;
	font-weight: bold;
	font-family: "IBM Plex Mono", monospace;
	border: 1px solid rgba(150, 255, 150, 0.4);
}

.instructions-link a:hover {
	background-color: rgba(0, 90, 0, 0.9);
}

/* --- Instructions page layout --- */

.instructions-body {
	text-align: left;
	font-family: "IBM Plex Mono", monospace;
	background-color: #0d1410;
	color: rgb(200, 255, 200);
}

.instr-header {
	max-width: 700px;
	margin: 0 auto;
	padding: 30px 25px 10px;
	text-align: center;
}

.instr-eyebrow {
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.8em;
	color: rgb(100, 255, 100);
	margin: 0 0 6px;
}

.instr-header h1 {
	font-family: "IBM Plex Mono", monospace;
	font-size: 1.8em;
	color: rgb(150, 255, 150);
}

.back-to-game {
	display: inline-block;
	margin-top: 10px;
	color: rgb(100, 255, 100);
	text-decoration: none;
	font-weight: bold;
	font-size: 0.9em;
}

.back-to-game:hover {
	text-decoration: underline;
}

.quick-nav {
	max-width: 700px;
	margin: 0 auto 10px;
	padding: 0 25px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.quick-nav a {
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.8em;
	font-weight: bold;
	color: rgb(150, 255, 150);
	text-decoration: none;
	background-color: rgba(0, 40, 0, 0.6);
	border: 1px solid rgba(100, 255, 100, 0.4);
	padding: 5px 14px;
	border-radius: 20px;
	transition: background-color 0.15s;
}

.quick-nav a:hover {
	background-color: rgba(0, 70, 0, 0.8);
	border-color: rgb(100, 255, 100);
}

.info-section {
	max-width: 650px;
	margin: 22px auto;
	background-color: rgba(0, 20, 10, 0.85);
	border: rgba(100, 255, 100, 0.4) solid 2px;
	border-radius: 12px;
	padding: 22px 26px;
	scroll-margin-top: 20px;
}

.info-section-head {
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: center;
	margin-bottom: 4px;
}

.info-icon {
	font-size: 1.3em;
	line-height: 1;
}

.info-section h2 {
	text-align: center;
	color: rgb(150, 255, 150);
	margin: 0;
}

.info-section p, .info-section li {
	color: rgb(210, 240, 210);
	display: block;
	border: none;
	padding: 0;
}

.cooldown-note {
	font-size: 0.85em;
	background-color: rgba(255, 220, 100, 0.15);
	border: 1px solid rgba(255, 200, 80, 0.5);
	border-radius: 8px;
	padding: 8px 12px;
	color: rgb(255, 230, 160);
}

#certificate-section p {
	text-align: center;
}

/* --- Hint Helper --- */

.hint-card {
	border: 1px solid rgba(100, 255, 100, 0.3);
	border-radius: 8px;
	padding: 14px 16px;
	margin-bottom: 16px;
	background-color: rgba(0, 10, 0, 0.5);
}

.hint-label {
	margin: 0 0 10px;
	font-size: 1em;
	color: rgb(180, 255, 180);
}

.hint-text {
	background-color: rgba(0, 40, 20, 0.7);
	border-radius: 6px;
	padding: 8px 12px;
	margin: 8px 0;
	font-size: 0.9em;
	color: rgb(210, 240, 210);
}

.hint-answer {
	background-color: rgba(255, 220, 100, 0.15);
	border: 1px solid rgba(255, 200, 80, 0.5);
}

.hint-answer code {
	display: inline-block;
	margin-top: 4px;
	font-family: "Courier New", monospace;
	white-space: pre-wrap;
	color: rgb(255, 230, 160);
}

.hint-btn {
	margin-top: 8px;
	background-color: rgba(0, 90, 0, 0.9);
	border: 1px solid rgba(100, 255, 100, 0.5);
	color: rgb(200, 255, 200);
	padding: 8px 16px;
	border-radius: 6px;
	cursor: pointer;
	font-family: "IBM Plex Mono", monospace;
}

.hint-btn:disabled {
	background-color: #444;
	border-color: #666;
	color: #999;
	cursor: default;
}

/* --- Predict & Check --- */

.predict-question {
	margin-bottom: 22px;
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(100, 255, 100, 0.2);
}

.predict-question:last-child {
	border-bottom: none;
}

.predict-options {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.predict-option-btn {
	text-align: left;
	background-color: rgba(0, 40, 20, 0.7);
	color: rgb(210, 240, 210);
	font-size: 0.9em;
	padding: 8px 12px;
	border: 1px solid rgba(100, 255, 100, 0.3);
	border-radius: 6px;
	cursor: pointer;
	font-family: "IBM Plex Mono", monospace;
}

.predict-option-btn:hover:not(:disabled) {
	background-color: rgba(0, 60, 30, 0.8);
}

.predict-option-btn:disabled {
	cursor: default;
	opacity: 0.75;
}

.predict-correct {
	background-color: rgba(40, 167, 69, 0.35) !important;
	border: 2px solid #28a745 !important;
	opacity: 1 !important;
}

.predict-wrong {
	background-color: rgba(220, 53, 69, 0.35) !important;
	border: 2px solid #dc3545 !important;
	opacity: 1 !important;
}

.predict-feedback {
	margin-top: 10px;
	font-size: 0.85em;
	color: rgb(210, 240, 210);
}

.predict-feedback-correct {
	color: #7be79b;
}

.predict-feedback-wrong {
	color: #f5a3ab;
}

#creativity-section ul {
	padding-left: 20px;
}

#creativity-section li {
	margin-bottom: 10px;
}
