* { margin: 0; padding: 0; box-sizing: border-box; } html, body { height: 100%; width: 100%; font-family: 'Cinzel Decorative', cursive, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", "Twemoji Mozilla", sans-serif; background: radial-gradient(#1B1B1B, #000); color: white; overflow: hidden; transition: opacity 0.5s ease; } body.fade-out { opacity: 0; } /* Loading Screen */ #loading { height: 100%; width: 100%; background: radial-gradient(#1b1b1b, #000); display: flex; justify-content: center; align-items: center; font-size: 36px; } .typing { border-right: 3px solid white; white-space: nowrap; overflow: hidden; width: 0; animation: typing 2s steps(10, end) forwards, blink 0.7s infinite; } @keyframes typing { from { width: 0 } to { width: 10ch } /* "Bismillah." = 10 characters */ } @keyframes blink { 0%, 100% { border-color: transparent; } 50% { border-color: white; } } /* Main UI */ #main-content { display: none; flex-direction: column; align-items: center; height: 100vh; } header { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px 40px; background-color: rgba(0, 0, 0, 0.7); border-bottom: 1px solid white; border-bottom-right-radius: 30px; border-bottom-left-radius: 30px; } .logo { width: 60px; height: 60px; } .title { font-size: 28px; text-align: center; } .menu-icon { font-size: 32px; cursor: pointer; } .main { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 30px; padding: 20px; width: 100%; max-width: 600px; } .btn { width: 100%; padding: 20px; border: 1px solid white; background: transparent; color: white; font-size: 20px; border-radius: 12px; transition: all 0.3s ease; cursor: pointer; position: relative; overflow: hidden; font-family: 'Cinzel Decorative', cursive; } .btn::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.2); transition: all 0.5s ease; } .btn:hover::after { left: 0; /* sirf overlay chalega */ } /* Hover par text same white hi rahega */ .btn:hover { background: transparent; color: white; } /* Click par background white + text black + press effect */ .btn:active { background: white; color: black; transform: scale(0.97); } .corners { position: absolute; bottom: 0; left: 0; width: 100%; display: flex; justify-content: space-between; padding: 10px; } .corner-img { width: 120px; height: 120px; } /* Responsive Tweaks */ @media (max-width: 768px) { header { padding: 12px 20px; } .title { font-size: 20px; } .menu-icon { font-size: 24px; } .logo { width: 40px; height: 40px; } .btn { font-size: 16px; padding: 15px; } .corner-img { width: 80px; height: 80px; } } @media (max-width: 480px) { .main { width: 90%; } .btn { font-size: 14px; padding: 12px; } }