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

body {
	background: linear-gradient(145deg, #141325, #171d3e);
	color: #f5eff0;
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 2rem;
}

.container {
	background-color: rgba(255, 255, 255, 0.03);
	padding: 3rem;
	border-radius: 20px;
	box-shadow: 0 10px 40px rgba(145, 193, 231, 0.1);
	border: 1px solid #2c2e47;
	backdrop-filter: blur(10px);
	width: 100%;
	max-width: 600px;
}

/* Cabeçalho */
h1 {
	font-size: 2rem;
	margin-bottom: 2rem;
	color: #caf6fe;
	padding: 0 1rem;
}

/* Contador completo */
.countdown {
	gap: 1.5rem;
	display: flex;
	color: #91c1e7;
	flex-wrap: wrap;
	font-weight: bold;
	margin-bottom: 1rem;
	justify-content: center;
}

.countdown div {
	display: flex;
	flex-direction: column;
	align-items: center;
	font-size: 2.5rem;
	min-width: 70px;
}

.countdown p {
	font-size: 1rem;
	margin-top: 0.25rem;
	color: #bdbed3;
}

/* Contador simplificado */
.countdown.only-days {
	gap: 1.5rem;
	display: flex;
	color: #91c1e7;
	font-size: 2rem;
	font-weight: bold;
	align-items: center;
	flex-direction: column;
	justify-content: center;
}

/* Infos */
.date-info {
	font-size: 1rem;
	color: #898ba4;
	margin-top: 1rem;
	padding: 0 1rem;
}

/* Botões */
.toggle-buttons {
	margin-bottom: 1.5rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
}

.toggle-buttons button {
	background-color: #8f778f;
	border: none;
	color: #f5eff0;
	font-weight: bold;
	padding: 0.75rem 1.25rem;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.3s ease;
}

.toggle-buttons button:hover {
	background-color: #64414a;
}

/* Estado do show */
.started {
	font-size: 2rem;
	color: #caf6fe;
	font-weight: bold;
}

/* Social */
.social {
	margin-top: 2rem;
	font-size: 1rem;
	color: #bdbed3;
	padding: 0 1rem;
}

.social a {
	color: #caf6fe;
	text-decoration: none;
	font-weight: bold;
	transition: color 0.3s;
}

.social a:hover {
	color: #91c1e7;
}

/* Imagem do contador */
.counter-image {
	display: flex;
	justify-content: center;
	margin-bottom: 1rem;
}

.counter-image img {
	width: 60px;
	height: 60px;
	filter: drop-shadow(0 0 4px #91c1e7);
	opacity: 0.9;
}

/* Responsivo para celular */
@media (max-width: 480px) {
	body {
		padding: 1rem;
	}

	.container {
		padding: 2rem 1rem;
		border-radius: 16px;
	}

	h1 {
		font-size: 1.4rem;
	}

	.countdown div {
		font-size: 1.8rem;
	}

	.countdown.only-days {
		font-size: 1.8rem;
	}

	.toggle-buttons {
		flex-direction: column;
	}

	.toggle-buttons button {
		width: 100%;
		font-size: 1rem;
	}

	.counter-image img {
		width: 48px;
		height: 48px;
	}
}

body.hibana {
	background: linear-gradient(145deg, #1a0000, #3d0c0c);
	animation: flicker 4s infinite alternate;
}

@keyframes flicker {
	0% {
		filter: brightness(1);
	}
	100% {
		filter: brightness(1.2);
	}
}

body.uraado {
	background: radial-gradient(circle, #2a0033, #000000);
	color: #fce4ec;
}

body.kawaii-mode {
	background: linear-gradient(135deg, #ffc1f3, #ffe5ec);
	color: #5c2552;
}

body.kawaii-mode .container {
	background-color: #fff6fb;
	border: 2px dashed #ff8ecf;
	color: inherit;
}

body.kawaii-mode h1,
body.kawaii-mode h2,
body.kawaii-mode p,
body.kawaii-mode .countdown p,
body.kawaii-mode .date-info,
body.kawaii-mode .social,
body.kawaii-mode a {
	color: #5c2552 !important;
}

body.kawaii-mode .countdown span {
	color: #ff5dbb !important;
}

body.kawaii-mode .toggle-buttons button,
body.kawaii-mode .share-section button {
	background-color: #dca1cf;
	color: #fff;
}

body.kawaii-mode .toggle-buttons button:hover,
body.kawaii-mode .share-section button:hover {
	background-color: #c675ba;
}

body.kawaii-mode .countdown span::after {
	content: " 💖";
}

body.kawaii-mode h1::after {
	content: " ✨";
}

.minigame {
	margin-top: 2rem;
	border: 2px dashed #caf6fe;
	border-radius: 12px;
	padding: 1rem;
	background-color: rgba(255, 255, 255, 0.05);
	color: #caf6fe;
}

.minigame-result {
	background: #1c1c1c;
	color: #fff;
	padding: 20px;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
	text-align: center;
	max-width: 300px;
	margin: 20px auto;
	font-family: "Segoe UI", sans-serif;
}

.minigame-result p {
	margin: 10px 0;
	font-size: 1rem;
}

.minigame-result .reaction {
	font-weight: bold;
	color: #ff7bcb;
}

.minigame-result .hint {
	font-style: italic;
	font-size: 0.9rem;
	color: #ffd36e;
	margin-top: 12px;
}

#retry-btn {
	background: linear-gradient(135deg, #ff66aa, #ffaaff);
	color: white;
	border: none;
	border-radius: 8px;
	padding: 10px 16px;
	cursor: pointer;
	font-size: 1rem;
	transition: transform 0.2s ease;
}

#retry-btn:hover {
	transform: scale(1.05);
	background: linear-gradient(135deg, #ff4c93, #ff99dd);
}

#game-area {
	margin-top: 1rem;
	position: relative;
	width: 100%;
	height: 200px;
	background-color: rgba(255, 255, 255, 0.05);
	border-radius: 10px;
	overflow: hidden;
}

.rose {
	position: absolute;
	width: 40px;
	height: 40px;
	cursor: pointer;
	transition: transform 0.2s;
}

.rose:hover {
	transform: scale(1.2);
}

body.secret-mode {
	background-color: #0a0a0a;
	color: #fff;
	font-family: "Courier New", monospace;
	transition: all 0.5s ease-in-out;
	overflow-x: hidden;
}

body.secret-mode a,
body.secret-mode button {
	color: #ff4ecd;
	border: 1px solid #ff4ecd;
	background-color: transparent;
	padding: 4px 16px;
	border-radius: 4px;
	transition: background 0.3s ease;
}

body.secret-mode a:hover,
body.secret-mode button:hover {
	background-color: #ff4ecd22;
}

.secret-mode {
	background: radial-gradient(circle, #3c3f72, #1d1d2e);
	color: #f5eff0;
}

.secret-banner {
	position: fixed;
	top: 0;
	width: 100%;
	padding: 12px;
	text-align: center;
	font-size: 18px;
	background: linear-gradient(90deg, #111, #222, #111);
	color: #ff4ecd;
	box-shadow: 0 0 12px #ff4ecd;
	z-index: 9999;
	animation: pulse-glow 2s infinite alternate;
}

.fake-end-overlay {
	position: fixed;
	inset: 0;
	background-color: black;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	animation: flicker 0.2s infinite;
}

.fake-end-text {
	font-size: 2rem;
	color: #ff003c;
	font-weight: bold;
	text-shadow: 0 0 10px #ff003c;
}

@keyframes flicker {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.4;
	}
}

body.final-quest {
	background: linear-gradient(145deg, #000014, #1a002a);
	color: #ffb3f3;
	font-family: "Courier New", Courier, monospace;
}

.final-quest-box {
	text-align: center;
	padding: 2rem;
	animation: fadeIn 2s ease-out;
}

.final-quest-box h2 {
	font-size: 2rem;
	margin-bottom: 1rem;
	color: #ff91c3;
}

.final-quest-box p {
	font-size: 1.2rem;
	margin-bottom: 1rem;
}

.final-quest-box .hint {
	font-style: italic;
	color: #ffccf1;
}

.final-quest-box button {
	margin-top: 2rem;
	padding: 0.7rem 1.5rem;
	background: #ff00bb;
	border: none;
	color: white;
	font-weight: bold;
	border-radius: 10px;
	cursor: pointer;
	box-shadow: 0 0 10px #ff00bb;
	transition: background 0.3s;
}

.final-quest-box button:hover {
	background: #d900a6;
}

.truth-revealed {
	text-align: center;
	padding: 4rem 2rem;
	color: #ffd6f9;
}

.truth-revealed h1 {
	font-size: 2rem;
	margin-bottom: 1rem;
}

.truth-revealed p {
	font-size: 1.2rem;
	color: #ffb3ec;
}

body.true-ending {
	background: linear-gradient(to bottom, #0f001f, #ff0066);
	color: #ffeef8;
	font-family: "Segoe UI", sans-serif;
}

.true-ending-screen {
	text-align: center;
	padding: 4rem 2rem;
	animation: fadeIn 2s ease-in;
}

.true-ending-screen h1 {
	font-size: 2.5rem;
	color: #ff91d4;
	margin-bottom: 1rem;
}

.true-ending-screen p {
	font-size: 1.2rem;
	margin: 0.5rem 0;
}

.special-code {
	margin-top: 2rem;
	font-size: 1.4rem;
	font-weight: bold;
	color: #fff3f8;
	text-shadow: 0 0 6px #ff1493;
}

.final-message {
	margin-top: 1rem;
	font-style: italic;
	color: #ffb3e6;
}

.ziul-message {
	margin: 2rem auto;
	background-color: rgba(255, 255, 255, 0.05);
	border-left: 4px solid #ff91d4;
	padding: 1.5rem;
	border-radius: 8px;
	color: #ffeef8;
	max-width: 600px;
	text-align: left;
	box-shadow: 0 0 8px rgba(255, 145, 212, 0.2);
}

.ziul-message h2 {
	color: #ff91d4;
	margin-bottom: 1rem;
}

.true-badge {
	padding: 1rem;
	border: 2px dashed #fff;
	display: inline-block;
	margin-top: 2rem;
	font-family: monospace;
	background: #111;
	color: #ffb3ec;
	border-radius: 10px;
	text-align: center;
	animation: glowBadge 2s infinite alternate;
	box-shadow: 0 0 10px #ff91d4, 0 0 20px #ff91d4;
}

.true-ending-screen h1 {
	font-size: 2.5rem;
	color: #ff91d4;
	margin-bottom: 1rem;
	text-shadow: 0 0 5px #ff91d4, 0 0 15px #ff1493;
}

@keyframes glowBadge {
	0% {
		transform: scale(1);
		box-shadow: 0 0 10px #ff91d4;
	}
	100% {
		transform: scale(1.02);
		box-shadow: 0 0 20px #ff91d4;
	}
}

.konami-hint {
	margin-top: 20px;
	padding: 10px;
	background: rgba(0, 0, 0, 0.8);
	color: #0f0;
	border: 1px solid #0f0;
	font-family: monospace;
	text-align: center;
	border-radius: 5px;
	animation: pulse 2s infinite alternate;
}

.konami-hint .glitchy {
	color: #f0f;
	text-shadow: 1px 1px 0 red, -1px -1px 0 cyan;
	animation: glitch 1s infinite alternate;
}

@keyframes pulse {
	from {
		transform: scale(1);
		opacity: 0.8;
	}
	to {
		transform: scale(1.05);
		opacity: 1;
	}
}

@keyframes glitch {
	0% {
		text-shadow: 1px 1px red, -1px -1px cyan;
	}
	100% {
		text-shadow: -1px -1px red, 1px 1px cyan;
	}
}

body.second-saga {
	background: linear-gradient(145deg, #001d1f, #002e2f);
	color: #d6fefe;
	font-family: "Courier New", Courier, monospace;
}

.second-saga-box {
	text-align: center;
	padding: 3rem 2rem;
	border: 2px dashed #8ff;
	border-radius: 12px;
	background-color: rgba(0, 50, 60, 0.2);
	box-shadow: 0 0 10px #008b8b66;
}

.second-saga-box h2 {
	font-size: 2rem;
	color: #8ff;
	margin-bottom: 1rem;
}

.second-saga-box .hint {
	color: #aaffff;
	font-style: italic;
	font-size: 1.2rem;
}

/* Lucky Bruto */
body.lucky-bruto {
	background: repeating-linear-gradient(
		45deg,
		#140024,
		#220035 10px,
		#140024 20px
	);
	color: #fcd2ff;
	font-family: "Segoe UI", sans-serif;
}

.lucky-bruto-box {
	padding: 2rem;
	text-align: center;
	background-color: rgba(255, 255, 255, 0.05);
	border: 2px solid #b84aff;
	border-radius: 12px;
	box-shadow: 0 0 20px #b84aff55;
	max-width: 600px;
	margin: auto;
}

.lucky-bruto-box h2 {
	font-size: 2rem;
	color: #ff91f9;
	margin-bottom: 1rem;
}

#spin-btn {
	padding: 0.8rem 1.5rem;
	font-size: 1.1rem;
	background-color: #b84aff;
	color: white;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.3s ease;
}

#spin-btn:hover {
	background-color: #9c2ccc;
}

.prize-display {
	margin-top: 1.5rem;
	font-size: 1rem;
	color: #ffe3ff;
}

body.new-genesis {
	background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
	color: #f0faff;
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	animation: nebulaGlow 8s ease-in-out infinite alternate;
}

@keyframes nebulaGlow {
	from {
		background-position: 0% 50%;
		filter: brightness(1);
	}
	to {
		background-position: 100% 50%;
		filter: brightness(1.2);
	}
}

.new-genesis-box {
	padding: 3rem 2rem;
	background-color: rgba(255, 255, 255, 0.03);
	border-radius: 20px;
	backdrop-filter: blur(12px);
	box-shadow: 0 0 20px rgba(200, 250, 255, 0.1);
	max-width: 720px;
	margin: auto;
	border: 1px solid #3a3e60;
	animation: fadeIn 2s ease;
}

.vision-options {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	margin-top: 2rem;
}

.vision-options button {
	padding: 1rem 2rem;
	font-size: 1.1rem;
	border: 1px solid #91c1e7;
	background: linear-gradient(135deg, #1e1e30, #2a2a45);
	color: #caf6fe;
	border-radius: 12px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 10px rgba(145, 193, 231, 0.1);
}

.vision-options button:hover {
	background: #caf6fe;
	color: #0e1a2e;
	transform: scale(1.05);
}

.vision-options button.selected {
	background: #caf6fe;
	color: #0e1a2e;
	font-weight: bold;
	border: 2px solid #fff;
}

#confirm-era {
	margin-top: 2rem;
	background: #00e5ff;
	border: none;
	color: #000;
	font-weight: bold;
	padding: 0.8rem 2rem;
	border-radius: 10px;
	font-size: 1.2rem;
	cursor: pointer;
	box-shadow: 0 0 10px #00e5ff;
	transition: background 0.3s;
}

#confirm-era:hover {
	background: #00bcd4;
}

.era-ending {
	background: rgba(255, 255, 255, 0.03);
	backdrop-filter: blur(12px);
	border: 2px solid #91c1e7;
	border-radius: 20px;
	padding: 3rem 2rem;
	max-width: 700px;
	margin: auto;
	box-shadow: 0 0 20px rgba(145, 193, 231, 0.1);
	animation: fadeIn 2s ease-out;
}

.era-ending h1 {
	font-size: 2.2rem;
	color: #caf6fe;
	text-shadow: 0 0 10px #91c1e7;
	margin-bottom: 1.5rem;
}

.era-ending .era-message {
	font-size: 1.2rem;
	color: #e0e6ff;
	line-height: 1.8;
	background: rgba(255, 255, 255, 0.02);
	padding: 1.5rem;
	border-radius: 12px;
	border: 1px dashed #91c1e7;
	box-shadow: inset 0 0 10px rgba(145, 193, 231, 0.1);
}

.era-ending strong {
	color: #ffb6f9;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.back-to-counter {
	margin-top: 2rem;
	padding: 0.8rem 2rem;
	font-size: 1rem;
	font-weight: bold;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	background: linear-gradient(135deg, #91c1e7, #caf6fe);
	color: #0e1a2e;
	box-shadow: 0 0 10px rgba(145, 193, 231, 0.3);
	transition: background 0.3s ease, transform 0.2s ease;
}

.back-to-counter:hover {
	background: linear-gradient(135deg, #71a4d4, #a0eaff);
	transform: scale(1.05);
}

.secret-line {
	position: relative;
	cursor: help;
}

.secret-line::after {
	content: "Segredo #1 encontrado! [ADO-####-####-########-#######]";
	position: absolute;
	left: 0;
	top: 100%;
	white-space: nowrap;
	background: #111;
	color: #fff;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 12px;
	opacity: 0;
	transform: translateY(5px);
	transition: opacity 0.3s ease, transform 0.3s ease;
	pointer-events: none;
}

.secret-line:hover::after {
	opacity: 1;
	transform: translateY(0);
}

.freedom-secret {
	margin-top: 16px;
	font-weight: bold;
	text-align: center;
	color: #66ffcc;
	animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.unravel-secret-btn {
	background: transparent;
	border: none;
	color: #fff;
	transition: 0.3s ease;
}
.unravel-secret-btn:hover {
	color: #f00;
}

.blink {
	animation: blinkCounter 0.3s ease-in-out;
	color: #f5f56d !important;
	text-shadow: 0 0 5px #ffffaa;
}

@keyframes blinkCounter {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0.1;
	}
	100% {
		opacity: 1;
	}
}

.backlight-secret {
	margin-top: 16px;
	font-weight: bold;
	text-align: center;
	color: #f5f56d;
	animation: fadeIn 1s ease-in-out;
	text-shadow: 0 0 8px #f5f56d;
}

.sakura-secret {
	color: #ffb7c5;
	margin-top: 16px;
	font-weight: bold;
	text-align: center;
	animation: fadeIn 1s ease-in-out;
	text-shadow: 0 0 6px #ffb7c5, 0 0 12px #ffcadd;
}

.menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: rgba(20, 19, 37, 0.9);
	backdrop-filter: blur(12px);
	z-index: 999;
	box-shadow: 0 0 16px rgba(145, 193, 231, 0.3);
	border-bottom: 1px solid #2c2e47;
	padding: 1rem 0;
}

.menu ul {
	display: flex;
	justify-content: center;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 2.5rem;
}

.menu li a {
	color: #caf6fe;
	text-decoration: none;
	font-weight: 700;
	font-size: 1.1rem;
	letter-spacing: 0.5px;
	padding: 0.5rem 1rem;
	border-radius: 6px;
	transition: color 0.3s ease, background 0.3s ease, text-shadow 0.3s ease;
}

.menu li a:hover {
	color: #ffffff;
	text-shadow: 0 0 10px #91c1e7;
	background: rgba(255, 255, 255, 0.05);
}
