letsrock / index.html
Amoo0206's picture
Viel mehr darkmode, ausserdem zu wenig mac os , ich will richtigen mac os style vision os apple like dark darkmode - Initial Deployment
c852744 verified
Raw
History Blame Contribute Delete
8.36 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Crunchy | Secure Access</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<style>
body {
background: linear-gradient(135deg, #0a0a0a 0%, #121212 100%);
color: rgba(255, 255, 255, 0.9);
font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', sans-serif;
overflow: hidden;
height: 100vh;
}
.glass {
background: rgba(28, 28, 30, 0.8);
backdrop-filter: blur(40px) saturate(180%);
-webkit-backdrop-filter: blur(40px) saturate(180%);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 16px;
box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
transition: all 0.4s cubic-bezier(0.16, 0.8, 0.32, 1);
}
.glass:hover {
box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
transform: translateY(-2px);
border-color: rgba(255, 255, 255, 0.15);
}
.input-glow {
box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
transition: all 0.4s cubic-bezier(0.16, 0.8, 0.32, 1);
}
.input-glow:focus {
box-shadow: 0 0 0 2px rgba(10, 132, 255, 0.6);
outline: none;
transform: scale(1.02);
background: rgba(10, 132, 255, 0.08);
}
.btn-glow {
transition: all 0.4s cubic-bezier(0.16, 0.8, 0.32, 1);
transform-origin: center;
background: rgba(44, 44, 46, 0.5);
}
.btn-glow:hover {
box-shadow: 0 0 0 1px rgba(10, 132, 255, 0.6);
transform: translateY(-2px);
background: rgba(10, 132, 255, 0.15);
}
.btn-glow:active {
transform: translateY(0) scale(0.96);
background: rgba(10, 132, 255, 0.25);
}
.fade-in {
animation: fadeIn 0.7s cubic-bezier(0.16, 0.8, 0.32, 1);
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(15px); }
to { opacity: 1; transform: translateY(0); }
}
.scale-in {
animation: scaleIn 0.6s cubic-bezier(0.16, 0.8, 0.32, 1);
}
@keyframes scaleIn {
from { transform: scale(0.9); opacity: 0; }
to { transform: scale(1); opacity: 1; }
}
.float {
animation: float 8s ease-in-out infinite;
}
@keyframes float {
0% { transform: translateY(0px); }
50% { transform: translateY(-8px); }
100% { transform: translateY(0px); }
}
</style>
</head>
<body class="min-h-screen flex items-center justify-center p-6 overflow-hidden">
<div id="login-container" class="glass p-10 max-w-md w-full transition-all duration-500 float">
<div class="text-center mb-10">
<h1 class="text-3xl font-medium mb-3 tracking-tight text-white">Security Access</h1>
<p class="text-gray-500 text-sm tracking-wide">Enter your Security ID to continue</p>
</div>
<div class="relative">
<input
id="security-id"
type="password"
placeholder="Security ID"
class="w-full bg-transparent border border-gray-700 rounded-lg py-3.5 px-4 text-white placeholder-gray-600 input-glow transition-all duration-400 focus:border-blue-500"
autocomplete="off"
autofocus
>
<i data-feather="lock" class="absolute right-3.5 top-3.5 text-gray-400"></i>
</div>
<div id="error-message" class="text-red-400 text-xs mt-2 h-5 opacity-0 transition-opacity duration-300 tracking-tight"></div>
</div>
<div id="main-content" class="hidden glass p-10 max-w-md w-full text-center float relative">
<h1 class="text-4xl font-medium mb-8 fade-in tracking-tight">Crunchy</h1>
<div class="grid grid-cols-2 gap-5 mt-10">
<button
id="copy-acc"
class="btn-glow glass py-4 px-8 rounded-lg flex flex-col items-center justify-center transition-all"
data-content="ninapuppylover@yahoo.com"
>
<i data-feather="user" class="mb-2 text-gray-200"></i>
<span class="text-sm tracking-wide text-gray-200">Acc</span>
</button>
<button
id="copy-pw"
class="btn-glow glass py-4 px-8 rounded-lg flex flex-col items-center justify-center transition-all"
data-content="@HappyDays66!!"
>
<i data-feather="key" class="mb-2 text-gray-200"></i>
<span class="text-sm tracking-wide text-gray-200">Pw</span>
</button>
</div>
<div id="copied-notification" class="glass mt-8 py-3 px-6 rounded-lg inline-block opacity-0 transition-all duration-400 scale-in">
<span class="flex items-center text-sm tracking-wide text-gray-200">
<i data-feather="check" class="mr-2 text-green-400"></i>
Copied to clipboard!
</span>
</div>
<div class="absolute bottom-3 right-5 text-xs text-gray-500 tracking-tight">By Amo c:</div>
</div>
<script>
AOS.init();
feather.replace();
const securityIdInput = document.getElementById('security-id');
const loginContainer = document.getElementById('login-container');
const mainContent = document.getElementById('main-content');
const errorMessage = document.getElementById('error-message');
const copiedNotification = document.getElementById('copied-notification');
let checkTimer = null;
securityIdInput.addEventListener('input', (e) => {
clearTimeout(checkTimer);
// Remove error if typing
if (errorMessage.textContent) {
errorMessage.textContent = '';
errorMessage.classList.remove('opacity-100');
errorMessage.classList.add('opacity-0');
}
checkTimer = setTimeout(() => {
if (securityIdInput.value === '1312') {
// Correct code
loginContainer.classList.add('opacity-0', 'scale-90');
setTimeout(() => {
loginContainer.classList.add('hidden');
mainContent.classList.remove('hidden');
mainContent.classList.add('scale-in');
}, 300);
} else {
// Wrong code
errorMessage.textContent = 'Invalid Security ID';
errorMessage.classList.remove('opacity-0');
errorMessage.classList.add('opacity-100');
securityIdInput.classList.add('border-red-400');
setTimeout(() => {
securityIdInput.classList.remove('border-red-400');
}, 1000);
}
}, 2000);
});
// Copy functionality
document.getElementById('copy-acc').addEventListener('click', copyToClipboard);
document.getElementById('copy-pw').addEventListener('click', copyToClipboard);
function copyToClipboard(e) {
const text = e.currentTarget.getAttribute('data-content');
navigator.clipboard.writeText(text).then(() => {
copiedNotification.classList.remove('opacity-0');
copiedNotification.classList.add('opacity-100');
setTimeout(() => {
copiedNotification.classList.remove('opacity-100');
copiedNotification.classList.add('opacity-0');
}, 2000);
});
}
</script>
</body>
</html>