@import url('https://fonts.googleapis.com/css2?family=Russo+One&display=swap');

/* body css from gemini */
body {
margin: 0;
  padding: 20px;
  background-color: #87ceeb;
  background-image: 
    radial-gradient(circle at 20% 30%, white 5%, transparent 10%),
    radial-gradient(circle at 25% 25%, white 8%, transparent 15%),
    radial-gradient(circle at 70% 60%, white 6%, transparent 12%),
    radial-gradient(circle at 76% 55%, white 10%, transparent 18%);
  background-size: 150% 100%; 
  font-family: "Russo One", sans-serif;
  animation: drift 30s linear infinite;
}

@keyframes drift {
    from { background-position: 0 0; }
    to { background-position: 100% 0; }
}

#catch-button {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at 50% 40%, #ff4d4d, #b30000);
    border: 10px solid #333;
    border-radius: 50%;
    color: white;
    font-family: "Arial Black", sans-serif;
    font-size: 24px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 15px #660000, 0 20px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.1s ease;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#catch-button:active {
    box-shadow: 0 5px #660000, 0 8px 10px rgba(0, 0, 0, 0.5);
    transform: translate(-50%, -45%);
    background: radial-gradient(circle at 50% 40%, #e60000, #800000);
}

#game {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1000;
}

#textresult {
	font-size: 3em;
}

#result {
	border-radius: 10px;
	border: rgba(128, 128, 128, 0.5) solid 3px;
}

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

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

.concept-tag {
	display: inline-block;
	background-color: rgba(179, 0, 0, 0.85);
	color: white;
	font-family: "Russo One", sans-serif;
	font-size: 0.8em;
	padding: 6px 14px;
	border-radius: 20px;
	margin: 4px;
}

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

.instructions-link a {
	display: inline-block;
	background-color: #333;
	color: white;
	text-decoration: none;
	padding: 8px 18px;
	border-radius: 20px;
	font-weight: bold;
	font-family: Arial, sans-serif;
}

.instructions-link a:hover {
	background-color: #555;
}

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

.instructions-body {
	text-align: left;
	font-family: Arial, sans-serif;
	background-image: none;
	background-color: #eaf5fc;
	animation: none;
	margin: 0;
	padding: 0;
}

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

.instr-eyebrow {
	font-family: "Russo One", sans-serif;
	font-size: 0.8em;
	color: #b30000;
	margin: 0 0 6px;
}

.instr-header h1 {
	font-family: "Russo One", sans-serif;
	font-size: 1.8em;
	color: #222;
}

.back-to-game {
	display: inline-block;
	margin-top: 10px;
	color: #b30000;
	text-decoration: none;
	font-weight: bold;
	font-size: 0.9em;
	font-family: Arial, sans-serif;
}

.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: Arial, sans-serif;
	font-size: 0.82em;
	font-weight: bold;
	color: #222;
	text-decoration: none;
	background-color: #fff;
	border: 1px solid rgba(179, 0, 0, 0.3);
	padding: 5px 14px;
	border-radius: 20px;
	transition: background-color 0.15s;
}

.quick-nav a:hover {
	background-color: #fdeaea;
	border-color: #b30000;
	color: #b30000;
}

.info-section {
	max-width: 650px;
	margin: 22px auto;
	background-color: white;
	border-radius: 12px;
	padding: 22px 26px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
	font-family: Arial, sans-serif;
	color: #222;
	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;
	font-family: "Russo One", sans-serif;
	color: #222;
	margin: 0;
}

.cooldown-note {
	font-size: 0.85em;
	background-color: #fff3cd;
	border: 1px solid #ffe08a;
	border-radius: 8px;
	padding: 8px 12px;
}

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

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

.hint-card {
	border: 1px solid #ccc;
	border-radius: 8px;
	padding: 14px 16px;
	margin-bottom: 16px;
	background-color: #fafafa;
}

.hint-label {
	margin: 0 0 10px;
	font-size: 1em;
	color: #222;
}

.hint-text {
	background-color: #eaf5fc;
	border-radius: 6px;
	padding: 8px 12px;
	margin: 8px 0;
	font-size: 0.92em;
}

.hint-answer {
	background-color: #fff3cd;
	border: 1px solid #ffc107;
}

.hint-answer code {
	display: inline-block;
	margin-top: 4px;
	font-family: "Courier New", monospace;
	white-space: pre-wrap;
}

.hint-btn {
	margin-top: 8px;
	background-color: #b30000;
	border: none;
	color: white;
	padding: 8px 16px;
	border-radius: 6px;
	cursor: pointer;
}

.hint-btn:disabled {
	background-color: #aaa;
	cursor: default;
}

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

.predict-question {
	margin-bottom: 22px;
	padding-bottom: 18px;
	border-bottom: 1px solid #ddd;
}

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

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

.predict-option-btn {
	text-align: left;
	background-color: #eaf5fc;
	color: #222;
	font-size: 0.95em;
	padding: 8px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	cursor: pointer;
}

.predict-option-btn:hover:not(:disabled) {
	background-color: #d3ecf9;
}

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

.predict-correct {
	background-color: #d4edda !important;
	border: 2px solid #28a745 !important;
	opacity: 1 !important;
}

.predict-wrong {
	background-color: #f8d7da !important;
	border: 2px solid #dc3545 !important;
	opacity: 1 !important;
}

.predict-feedback {
	margin-top: 10px;
	font-size: 0.9em;
}

.predict-feedback-correct {
	color: #1e7e34;
}

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

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

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