@charset "UTF-8";

@font-face {
	font-display: swap;
	font-family: 'Zen Kaku Gothic New';
	font-style: normal;
	font-weight: 400;
	src: url('../lib/fonts/zen-kaku-gothic-new-v18-japanese_latin-regular.woff2') format('woff2');
}

@font-face {
	font-display: swap;
	font-family: 'Zen Kaku Gothic New';
	font-style: normal;
	font-weight: 700;
	src: url('../lib/fonts/zen-kaku-gothic-new-v18-japanese_latin-700.woff2') format('woff2');
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

:root {
	--bg-color: #050505;
	--panel-bg: rgba(20, 20, 20, 0.85);
	--text-color: #f0f0f0;
	--accent-color: #ff5252;
	--brand-color: #ff69b4;
	--focus-color: #00e5ff;
	--font-main: "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

button,
input,
textarea,
select {
	font-family: inherit;
}

body,
html {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	background-color: var(--bg-color);
	touch-action: manipulation;
	overflow-x: hidden; 
	overflow-y: auto;
}

#gridCanvas {
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 0;
	pointer-events: none;
}

#particleCanvas {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 5;
	pointer-events: none;
}

.about-link {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 10;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 15px;
	border: 1px solid #666;
	border-radius: 20px;
	font-family: var(--font-main);
	font-size: 11px;
	font-weight: bold;
	color: #ccc;
	background: rgba(0, 0, 0, 0.6);
	text-decoration: none;
	transition: all 0.3s;
}
.about-link:hover {
	color: #fff;
	border-color: #fff;
}

#stage {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
	font-family: var(--font-main);
	color: var(--text-color);
	z-index: 1;
	perspective: 1200px;
	user-select: none;
	-webkit-user-select: none;
}

#stage::before,
#stage::after {
	content: '';
	flex: 1;
	min-height: 20px;
}

#bonus-screen {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle, #ffffff 15%, #ffeb3b 40%, #f57f17 100%);
	opacity: 0;
	pointer-events: none;
}

#bonus-screen.visible {
	z-index: 40;
	opacity: 1;
	pointer-events: auto;
}

.clear-text {
	font-size: clamp(30px, 8vw, 50px);
	letter-spacing: 5px;
	color: #fff;
	text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

#puzzle-screen {
	z-index: 10;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: min-content;
	transition: opacity 0.5s;
	padding: 20px 0;
	flex-shrink: 0;
}

.security-panel {
	position: relative;
	width: 95%;
	max-width: 440px;
	padding: 30px 20px;
	border: 1px solid #555;
	border-radius: 12px;
	text-align: center;
	background: var(--panel-bg);
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
	transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
	margin: 20px 0;
}

.security-panel.shift-up {
	transform: translateY(-5vh);
}

.main-title {
	margin: 0 0 5px 0;
	font-size: clamp(16px, 5.5vw, 24px);
	letter-spacing: 1px;
	line-height: 1.2;
	color: #fff;
	white-space: nowrap;
	width: 100%;
}

.genkey-logo {
	color: var(--brand-color);
	text-shadow: 0 0 5px rgba(255, 105, 180, 0.6);
}

.sub-title {
	margin: 0 0 20px 0;
	font-size: clamp(10px, 3vw, 12px);
	color: #aaa;
	font-weight: bold;
	white-space: nowrap;
}

.status-text {
	border-bottom: 1px solid #333;
	display: block;
	width: 100%;
	text-align: center;
	padding-bottom: 20px;
	margin-bottom: 30px;
	font-family: var(--font-main);
	font-size: clamp(11px, 3.5vw, 13px);
	font-weight: bold;
	letter-spacing: 2px;
	color: #888;
	line-height: 2.0;
	white-space: nowrap;
	overflow: visible;
}

.status-checking {
	color: #ffeb3b !important;
	animation: blink-warning 0.2s infinite;
}

.status-granted {
	color: #00ff00 !important;
	text-shadow: 0 0 20px #00ff00;
}

@keyframes blink-warning {
	0%, 100% {
		opacity: 1;
		text-shadow: 0 0 10px #ffeb3b;
	}
	50% {
		opacity: 0.5;
		text-shadow: none;
	}
}

.input-group {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-bottom: 10px;
}

.pass-char {
	width: clamp(32px, 9vw, 42px);
	height: clamp(42px, 12vw, 54px);
	border: 1px solid #555;
	border-radius: 4px;
	color: #fff;
	font-family: var(--font-main);
	font-size: clamp(20px, 6vw, 28px);
	font-weight: bold;
	line-height: clamp(42px, 12vw, 54px);
	text-align: center;
	background: #000;
	box-shadow: none;
	cursor: pointer;
	transition: all 0.2s;
}

.pass-char.active {
	border-color: var(--focus-color);
	background: #0a0a0a;
	box-shadow: 0 0 8px var(--focus-color);
}

.pass-char.error {
	border-color: var(--accent-color);
	color: var(--accent-color);
	animation: shake 0.4s ease-in-out;
}

.pass-char.correct {
	border-color: #00ff00;
	color: #00ff00;
	background: rgba(0, 255, 0, 0.1);
	box-shadow: 0 0 15px #00ff00;
}

/* Input Blink Animation (Soft Glow) */
@keyframes genkey-input-glow {
	0%, 100% {
		border-color: rgba(255, 255, 255, 0.2);
		box-shadow: 0 0 0 rgba(255, 255, 255, 0);
	}
	50% {
		border-color: rgba(255, 255, 255, 0.4);
		box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
	}
}

.input-group.is-idle .pass-char,
.sound-toggle-btn.is-idle {
	animation: genkey-input-glow 3.0s infinite ease-in-out;
}

@keyframes shake {
	0%, 100% { transform: translateX(0); }
	20%, 60% { transform: translateX(-5px); }
	40%, 80% { transform: translateX(5px); }
}

.instruction {
	margin-top: 0;
	font-size: clamp(10px, 3vw, 12px);
	font-weight: bold;
	color: #888;
}

.instruction i {
	margin-right: 4px;
}

.sound-setting-area {
	border-top: 1px solid #333;
	margin-top: 20px;
	padding-top: 20px;
	text-align: center;
}

.sound-note {
	margin-bottom: 10px;
	font-size: clamp(10px, 3vw, 11px);
	line-height: 1.4;
	color: #aaa;
}

.sound-toggle-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 20px;
	border: 1px solid #666;
	border-radius: 20px;
	font-size: clamp(11px, 3.5vw, 13px);
	font-weight: bold;
	color: #ccc;
	background: rgba(0, 0, 0, 0.6);
	cursor: pointer;
	transition: all 0.3s;
}

.sound-toggle-btn:hover {
	border-color: #fff;
	color: #fff;
}

.sound-toggle-btn.is-active {
	border-color: #00e5ff;
	color: #00e5ff;
	background: rgba(0, 229, 255, 0.15);
	box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.sound-toggle-btn i {
	font-size: 1.1em;
}

.keyboard-wrapper {
	position: fixed;
	left: 0;
	bottom: -100%;
	z-index: 100;
	width: 100%;
	padding-bottom: env(safe-area-inset-bottom);
	border-top: 1px solid #444;
	background: rgba(15, 15, 15, 0.98);
	box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
	transition: bottom 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.keyboard-wrapper.show {
	bottom: 0;
}

.kb-toolbar {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 10px;
	padding: 8px 15px;
	border-bottom: 1px solid #333;
	background: #111;
	min-height: 44px;
}

.kb-label {
	font-size: 10px;
	font-weight: bold;
	color: #666;
	white-space: nowrap;
}

.kb-input-mirror {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 4px;
	padding: 0 10px;
	height: 100%;
}

.mirror-char {
	display: inline-block;
	width: 24px;
	height: 30px;
	line-height: 30px;
	border-bottom: 2px solid #444; 
	color: #aaa; 
	font-family: var(--font-main);
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	cursor: pointer;
	touch-action: manipulation;
	transition: all 0.2s;
	border-radius: 4px 4px 0 0;
}

.mirror-char.filled {
	color: #fff;
	border-bottom-color: #888;
}

.mirror-char.selected {
	background-color: rgba(0, 229, 255, 0.25); 
	border-bottom-color: var(--focus-color);
	color: #fff;
	text-shadow: 0 0 5px var(--focus-color);
}

.close-btn {
	padding: 5px 15px;
	border: none;
	font-size: 16px;
	color: #aaa;
	background: none;
	cursor: pointer;
}

.keyboard-grid {
	display: grid;
	grid-template-columns: repeat(10, minmax(0, 1fr));
	gap: 4px;
	max-width: 800px;
	margin: 0 auto;
	padding: 10px;
}

.key {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	border: 1px solid #444;
	border-radius: 4px;
	font-family: var(--font-main);
	font-size: clamp(14px, 4vw, 18px);
	font-weight: bold;
	color: #fff;
	background: #252525;
	cursor: pointer;
	touch-action: manipulation;
	user-select: none;
}

.key:active {
	color: #000;
	background: var(--focus-color);
}

.key.disabled {
	opacity: 0.3;
	pointer-events: none;
}

.key-special {
	grid-column: span 2;
	aspect-ratio: auto;
	height: clamp(40px, 10vw, 45px);
	border-color: #666;
	font-size: clamp(11px, 3.5vw, 13px);
	font-weight: bold;
	background: #1a1a1a;
}

.key-symbol-text {
	position: relative;
	top: 2px;
	font-size: 18px;
}

.key-del {
	grid-column: span 2;
	aspect-ratio: auto;
	height: clamp(40px, 10vw, 45px);
	border-color: #ff5252;
	font-size: clamp(12px, 3.5vw, 14px);
	font-weight: bold;
	color: #fff;
	text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
	background: #b71c1c;
}

.key-enter {
	grid-column: 9 / span 2;
	aspect-ratio: auto;
	height: clamp(40px, 10vw, 45px);
	font-size: clamp(12px, 3.5vw, 14px);
	font-weight: bold;
	color: #000;
	background: var(--focus-color);
	box-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
	transition: all 0.2s;
}

.key-enter.disabled {
	background: #333;
	border-color: #444;
	color: #aaa;
	box-shadow: none;
	cursor: not-allowed;
	pointer-events: none;
}

.mode-active {
	border-color: var(--focus-color);
	color: var(--focus-color);
	background: #333;
}

.validation-overlay {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.9);
	z-index: 2000;
	
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	
	width: 80%;
	max-width: 320px;
	padding: 30px;
	background: rgba(10, 10, 10, 0.95);
	border: 1px solid #555;
	border-radius: 16px;
	box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
	
	opacity: 0;
	pointer-events: none;
	transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.validation-overlay.visible {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
	pointer-events: auto;
}

.validation-overlay .vo-icon,
.validation-overlay .vo-text {
	transition: color 0.3s;
}

.validation-overlay .vo-icon { color: #ccc; }
.validation-overlay .vo-text { color: #fff; }

.validation-overlay.success {
	border-color: #00ff00;
	box-shadow: 0 0 30px rgba(0, 255, 0, 0.3);
}
.validation-overlay.success .vo-icon,
.validation-overlay.success .vo-text {
	color: #00ff00;
}

.validation-overlay.error {
	border-color: #ff5252;
}
.validation-overlay.error .vo-icon,
.validation-overlay.error .vo-text {
	color: #ff5252;
}

.validation-overlay.promotion {
	border-color: #ff69b4;
	box-shadow: 0 0 30px rgba(255, 105, 180, 0.3);
}
.validation-overlay.promotion .vo-icon,
.validation-overlay.promotion .vo-text {
	color: #ff69b4;
}

.validation-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.validation-overlay.error .validation-content {
	animation: shake-content 0.4s ease-in-out;
}

@keyframes shake-content {
	0%, 100% { margin-left: 0; }
	20%, 60% { margin-left: -10px; }
	40%, 80% { margin-left: 10px; }
}

.vo-icon {
	font-size: 40px;
	margin-bottom: 15px;
}

.vo-text {
	font-family: var(--font-main);
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	letter-spacing: 2px;
	line-height: 1.5;
}

.toast-message {
	position: fixed;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	padding: 10px 20px;
	background: rgba(0,0,0,0.8);
	color: #fff;
	border-radius: 4px;
	font-size: 12px;
	z-index: 3000;
	pointer-events: none;
	transition: opacity 0.5s;
	opacity: 1;
}
.toast-message.fade-out {
	opacity: 0;
}

.video-wrapper {
	position: relative;
	width: 95%;
	max-width: 800px;
	aspect-ratio: 16 / 9;
	margin: 0 auto;
	background-color: #000;
	border-radius: 8px;
	box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
	z-index: 10;
}

.video-wrapper video {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 8px;
	display: block;
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
}

.quality-ctrl-container {
	position: absolute;
	top: -36px;
	right: 0;
	z-index: 200;
	display: flex;
	gap: 8px;
}

.q-btn {
	padding: 6px 12px;
	border: 1px solid #444;
	border-radius: 4px;
	background: #111;
	color: #ccc;
	font-size: 12px;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.2s;
}

.q-btn:hover {
	border-color: #fff;
	color: #fff;
}

.q-btn.active {
	border-color: #00e5ff;
	color: #00e5ff;
	background: #1a1a1a;
	box-shadow: 0 0 5px rgba(0, 229, 255, 0.3);
}

.q-btn.locked {
	border-color: #333;
	color: #555;
	background: #0d0d0d;
	cursor: not-allowed;
	pointer-events: none;
}

.split-layer {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	width: 100%;
	height: 100%;
	opacity: 0;
	perspective: 1200px; 
	transform-style: preserve-3d;
	transition: opacity 0.2s ease-out;
	pointer-events: none;
}

.split-layer.fade-out {
	transition: opacity 1.5s ease;
	opacity: 0 !important;
}

.split-layer.visible {
	opacity: 1;
}

.split-part {
	position: absolute;
	top: 0;
	width: 50%;
	height: 100%;
	background-repeat: no-repeat;
	background-size: 200% 100%;
	backface-visibility: hidden;
}

.split-left {
	left: 0;
	background-position: left top;
	transform-origin: left center;
}

.split-right {
	right: 0;
	background-position: right top;
	transform-origin: right center;
}

.crack-line {
	position: absolute;
	top: 0;
	left: 50%;
	z-index: 101;
	width: 3px;
	height: 0%;
	background: #fff;
	box-shadow: 0 0 15px 5px rgba(255, 255, 255, 1);
	opacity: 0;
	transform: translateX(-50%);
}

.flash-layer {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 50;
	width: 100%;
	height: 100%;
	background-color: #fff;
	opacity: 0;
	pointer-events: none;
	transition: opacity 1.0s ease;
}

.flash-layer.active {
	opacity: 1;
}

.active .crack-line {
	animation: lineDraw 0.5s ease-out forwards;
}

@keyframes lineDraw {
	0% { height: 0%; opacity: 1; }
	100% { height: 100%; opacity: 1; }
}

.active .split-left {
	animation: sequenceLeft 2.6s linear 1.0s forwards;
}

.active .split-right {
	animation: sequenceRight 2.6s linear 1.0s forwards;
}

@keyframes sequenceLeft {
	0% { box-shadow: inset 0 0 0 0 transparent; transform: rotateY(0deg); }
	10% { box-shadow: inset -40px 0 40px -15px rgba(255,255,255,1.0); transform: rotateY(-4deg); }
	15% { box-shadow: inset 0 0 0 0 transparent; transform: rotateY(0deg); }
	25% { box-shadow: inset -10px 0 15px -5px rgba(255,255,255,0.6); transform: rotateY(-1deg); }
	30% { box-shadow: inset 0 0 0 0 transparent; transform: rotateY(0deg); }
	50% { box-shadow: inset -30px 0 30px -10px rgba(255,255,255,0.9); transform: rotateY(-3deg); }
	55% { box-shadow: inset -10px 0 15px -5px rgba(255,255,255,0.6); transform: rotateY(-1deg); }
	60% { box-shadow: inset -50px 0 50px -20px rgba(255,255,255,1.0); transform: rotateY(-5deg); }
	70% { box-shadow: inset -40px 0 40px -15px rgba(255,255,255,1.0); transform: rotateY(-4deg); }
	89.9% { box-shadow: inset -40px 0 40px -15px rgba(255,255,255,1.0); transform: rotateY(-4deg); }
	90% { box-shadow: inset 0 0 0 0 transparent; transform: rotateY(-4deg); }
	100% { box-shadow: inset 0 0 0 0 transparent; transform: rotateY(-110deg); }
}

@keyframes sequenceRight {
	0% { box-shadow: inset 0 0 0 0 transparent; transform: rotateY(0deg); }
	10% { box-shadow: inset 40px 0 40px -15px rgba(255,255,255,1.0); transform: rotateY(4deg); }
	15% { box-shadow: inset 0 0 0 0 transparent; transform: rotateY(0deg); }
	25% { box-shadow: inset 10px 0 15px -5px rgba(255,255,255,0.6); transform: rotateY(1deg); }
	30% { box-shadow: inset 0 0 0 0 transparent; transform: rotateY(0deg); }
	50% { box-shadow: inset 30px 0 30px -10px rgba(255,255,255,0.9); transform: rotateY(3deg); }
	55% { box-shadow: inset 10px 0 15px -5px rgba(255,255,255,0.6); transform: rotateY(1deg); }
	60% { box-shadow: inset 50px 0 50px -20px rgba(255,255,255,1.0); transform: rotateY(5deg); }
	70% { box-shadow: inset 40px 0 40px -15px rgba(255,255,255,1.0); transform: rotateY(4deg); }
	89.9% { box-shadow: inset 40px 0 40px -15px rgba(255,255,255,1.0); transform: rotateY(4deg); }
	90% { box-shadow: inset 0 0 0 0 transparent; transform: rotateY(4deg); }
	100% { box-shadow: inset 0 0 0 0 transparent; transform: rotateY(110deg); }
}

@media screen and (min-width: 768px) {
	.keyboard-grid {
		max-width: 540px;
		padding: 15px;
		gap: 6px;
	}
	
	.key {
		height: 45px;
		font-size: 14px;
	}
	
	.key-special,
	.key-del,
	.key-enter {
		height: 45px;
	}
	
	.security-panel.shift-up {
		transform: translateY(-5vh);
	}
	
	.keyboard-wrapper {
		padding-bottom: 0;
	}
	
	.security-panel {
		max-width: 640px;
		padding: 40px 30px;
	}
	
	.main-title {
		font-size: 40px;
		letter-spacing: 2px;
	}
	
	.sub-title {
		font-size: 16px;
		letter-spacing: 1px;
	}
	
	.status-text {
		font-size: 17px;
	}
	
	.pass-char {
		width: 55px;
		height: 70px;
		font-size: 36px;
		line-height: 70px;
	}
	
	.instruction {
		font-size: 15px;
	}
	
	.sound-note {
		font-size: 13px;
	}
	
	.kb-input-mirror {
		gap: 8px;
	}
	
	.mirror-char {
		width: 30px;
		font-size: 24px;
	}
}

@media screen and (orientation: landscape) and (max-height: 600px) {
	.sub-title {
		font-size: 11.5px;
	}
	
	.video-wrapper {
		width: auto;
		height: auto;
		max-height: 70vh;
		max-width: 90vw;
		aspect-ratio: 16 / 9;
		margin: 0 auto;
	}
	
	.quality-ctrl-container {
		position: fixed;
		top: 10px;
		right: 10px;
		z-index: 1000;
		background: rgba(0, 0, 0, 0.6);
		padding: 2px;
		border-radius: 4px;
	}
	
	.q-btn {
		font-size: 9px;
	}
	
	.keyboard-wrapper {
		width: auto;
		max-width: 560px;
		left: 50%;
		right: auto;
		transform: translateX(-50%);
		border-radius: 12px 12px 0 0;
		border: 1px solid #444;
		border-bottom: none;
	}
	
	.keyboard-grid {
		padding: 5px;
		gap: 3px;
	}
	
	.key {
		aspect-ratio: auto;
		height: 32px;
		font-size: 13px;
		border-radius: 3px;
	}
	
	.key-special,
	.key-del,
	.key-enter {
		height: 32px;
		font-size: 11px;
	}
	
	.key-symbol-text {
		font-size: 18px;
		top: 4px;
		left: 5px;
	}
	
	.kb-toolbar {
		padding: 4px 10px;
		min-height: 30px;
	}
	
	.kb-label {
		font-size: 10px;
	}
	
	.kb-input-mirror {
		padding: 0 5px;
	}
	
	.mirror-char {
		width: 18px;
		height: 24px;
		line-height: 24px;
		font-size: 14px;
	}
}

.expiration-message {
	margin-top: 10px;
	font-size: 14px;
	font-weight: bold;
	color: #fff;
	line-height: 1.8;
}

/* ----------------------------------------------------------
   Final Key Animation
   ---------------------------------------------------------- */

.genkey-final-icon {
	width: 80px;
	height: auto;
	display: block;
	margin: 0 auto;
	transition: opacity 0.1s;
}

.genkey-fly-clone {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80px;
	height: auto;
	z-index: 9999;
	pointer-events: none;
	will-change: transform;
	animation: key-unlock-sequence 3.5s forwards;
}

.vo-text.fade-out,
.validation-overlay.success.fade-bg {
	transition: opacity 1.0s ease-out !important;
	opacity: 0 !important;
	pointer-events: none;
}
.validation-overlay.success.fade-bg {
	transition: opacity 1.0s ease-out !important;
	opacity: 0 !important;
	pointer-events: none;
}

@keyframes key-unlock-sequence {
	/* Phase 1: Smooth Zoom */
	0% {
		width: 80px;
		transform: translate(-50%, -50%);
		animation-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
	}
	30% {
		width: 60vmin;
		transform: translate(-50%, -50%);
	}
	
	/* Phase 1.5: Pause */
	45% {
		width: 60vmin;
		transform: translate(-50%, -50%);
		animation-timing-function: cubic-bezier(0.35, 0.35, 0.2, 1);
	}
	
	/* Phase 2: Resistant Pull Down (-20%) */
	55% {
		width: 60vmin;
		transform: translate(-50%, -20%);
		animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
	}
	
	/* Phase 3: High-Tension Vibration */
	56% { transform: translate(-50.2%, -19.8%); }
	57% { transform: translate(-49.8%, -20.2%); }
	58% { transform: translate(-50.3%, -19.7%); }
	59% { transform: translate(-49.7%, -20.3%); }
	
	60% { transform: translate(-50.2%, -20.1%); }
	61% { transform: translate(-49.8%, -19.9%); }
	62% { transform: translate(-50.4%, -20.2%); }
	63% { transform: translate(-49.6%, -19.8%); }
	
	64% { transform: translate(-50.2%, -19.9%); }
	65% { transform: translate(-49.8%, -20.1%); }
	66% { transform: translate(-50.3%, -19.7%); }
	67% { transform: translate(-49.7%, -20.3%); }
	
	68% { transform: translate(-50.4%, -20.2%); }
	69% { transform: translate(-49.6%, -19.8%); }
	70% { transform: translate(-50.2%, -20.1%); }
	71% { transform: translate(-49.8%, -19.9%); }
	
	72% { transform: translate(-50.5%, -20.3%); }
	73% { transform: translate(-49.5%, -19.7%); }
	74% { transform: translate(-50.3%, -20.2%); }
	75% { transform: translate(-49.7%, -19.8%); }
	
	76% { transform: translate(-50.4%, -20.1%); }
	77% { transform: translate(-49.6%, -19.9%); }
	78% { transform: translate(-50.2%, -19.8%); }
	79% { transform: translate(-49.8%, -20.2%); }
	
	80% { transform: translate(-50.3%, -19.7%); }
	81% { transform: translate(-49.7%, -20.3%); }
	82% { transform: translate(-50.2%, -20.1%); }
	83% { transform: translate(-49.8%, -19.9%); }
	
	84% { transform: translate(-50.4%, -20.2%); }
	85% { transform: translate(-49.6%, -19.8%); }
	86% { transform: translate(-50.2%, -19.9%); }
	87% { transform: translate(-49.8%, -20.1%); }
	
	88% { transform: translate(-50.3%, -19.7%); }
	89% { transform: translate(-49.7%, -20.3%); }
	90% { transform: translate(-50.4%, -20.2%); }
	
	91% { transform: translate(-49.6%, -19.8%); }
	92% { transform: translate(-50.2%, -20.1%); }
	93% { transform: translate(-49.8%, -19.9%); }
	94% { transform: translate(-50.5%, -20.3%); }
	95% { transform: translate(-49.5%, -19.7%); }
	96% { transform: translate(-50.2%, -20.1%); }
	97% { transform: translate(-49.8%, -19.9%); }
	
	/* Phase 4: Instant Launch (98% - 100%) */
	98% { 
		transform: translate(-50%, -20%);
		animation-timing-function: cubic-bezier(1, 0, 1, 1);
	}
	100% {
		width: 60vmin;
		transform: translate(-50%, -200vh);
	}
}
