/* Reset default styles */ * { box-sizing: border-box; } body { margin: 0; padding: 0; font-family: 'Courier New', Courier, monospace; overflow: hidden; /* Hide overflow to prevent scrolling */ background-color: black; /* Set background color to black */ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; } /* Define custom cursor */ .custom-cursor { cursor: url('./assets/cursor/pointer.png'), auto !important; } /* Volume Control Styles */ #volume-control { position: fixed; top: 20px; left: 20px; display: flex; align-items: center; gap: 10px; z-index: 1001; background-color: rgba(255, 255, 255, 0.1); padding: 10px 15px; border-radius: 25px; backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2); transition: opacity 0.5s ease, transform 0.5s ease; will-change: transform, opacity; opacity: 0; transform: translateY(-20px); } #volume-icon { color: white; font-size: 18px; cursor: pointer; transition: color 0.3s ease; flex-shrink: 0; } #volume-icon:hover { color: #ddd; } #volume-slider { width: 120px; height: 4px; background: rgba(255, 255, 255, 0.3); border-radius: 2px; outline: none; cursor: pointer; -webkit-appearance: none; appearance: none; flex-shrink: 0; } #volume-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; background: white; border-radius: 50%; cursor: pointer; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); } #volume-slider::-moz-range-thumb { width: 16px; height: 16px; background: white; border-radius: 50%; cursor: pointer; border: none; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); } #volume-slider::-webkit-slider-track { background: rgba(255, 255, 255, 0.3); border-radius: 2px; } #volume-slider::-moz-range-track { background: rgba(255, 255, 255, 0.3); border-radius: 2px; height: 4px; } /* Splash Screen Styles */ #splash-screen { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.9); display: flex; justify-content: center; align-items: center; z-index: 2000; cursor: pointer; transition: opacity 0.5s ease; will-change: opacity; } #splash-text { color: white; font-family: 'Courier New', Courier, monospace; font-size: 24px; text-align: center; user-select: none; animation: fadeInOut 2s ease-in-out infinite; will-change: opacity; } @keyframes fadeInOut { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } } /* Video background styles */ #video-background { position: fixed; /* Fixed position to cover the entire viewport */ top: 0; left: 0; width: 100vw; /* 100% of viewport width */ height: 100vh; /* 100% of viewport height */ z-index: -1; /* Behind other content */ transition: opacity 0.8s ease, transform 0.8s ease; will-change: transform, opacity; opacity: 0; transform: scale(0.95); } /* Scan lines effect */ #video-background::before { content: ''; position: absolute; width: 100%; height: 100%; background-image: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 2px); z-index: 1; pointer-events: none; } /* Video styles */ #myVideo { width: 100%; height: 100%; object-fit: cover; /* Cover the entire viewport while maintaining aspect ratio */ z-index: 0; /* Behind other content */ } /* Positioning classes */ .top-left { top: 0; left: 0; } .top-right { top: 0; right: 0; } .bottom-left { bottom: 0; left: 0; } .bottom-right { bottom: 0; right: 0; } /* Reszponzív Blurred Box */ #blurred-box { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.8); width: 90%; max-width: 400px; height: auto; max-height: 80%; background-color: rgba(255, 255, 255, 0); /* Transparent */ border-radius: 20px; border: 2px solid rgba(255, 255, 255, 0); box-shadow: 0 0 10px rgba(100, 100, 100, 0.5); backdrop-filter: blur(5px); z-index: 10; /* CSÖKKENTETT érték, hogy ne takarjon el mindent */ display: none; padding: 20px; text-align: center; transition: background-color 0.3s, opacity 0.6s ease, transform 0.6s ease; overflow: auto; /* Ha kisebb képernyőn tartalom túlcsordul */ transform-style: preserve-3d; perspective: 1000px; will-change: transform, opacity; opacity: 0; } #blurred-box { transition: background-color 0.3s, opacity 0.6s ease, transform 0.6s ease; } /* Avatar + profilkép */ #blurred-box img { width: 100px; height: 100px; object-fit: cover; border-radius: 50%; margin-bottom: 15px; } /* Avatar frame igazítása */ #avatar-frame { position: absolute; width: 120px; height: 120px; top: calc(50% - 60px); left: calc(50% - 60px); z-index: 1000; pointer-events: none; display: none; } /* Felhasználónév */ #username { font-size: 1.5rem; color: #ffffff; font-weight: bold; margin-bottom: 10px; text-align: center; } /* Leírás */ .user-description { margin-bottom: 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; } .user-description p { font-size: 1rem; padding: 10px 15px; margin: 0; background-color: rgba(255, 255, 255, 0.1); border-radius: 8px; color: white; width: 90%; max-width: 400px; text-align: center; word-break: break-word; } /* Ikon linkek */ .links { margin-top: 10px; display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; } .links a { font-size: 1.4rem; color: white; transition: transform 0.2s ease; } .links a:hover { transform: scale(1.1); color: #ff00ff; } /* Discord Profile Section */ .discord-profile { display: flex; align-items: center; gap: 15px; margin-top: 20px; padding: 15px; background-color: rgba(255, 255, 255, 0.05); border-radius: 15px; backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1); } .discord-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, 0.2); flex-shrink: 0; } .discord-info { flex: 1; min-width: 0; } .discord-username { color: white; font-weight: bold; font-size: 1.1rem; margin: 0 0 5px 0; font-family: 'Courier New', Courier, monospace; word-break: break-word; } .discord-status-text { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; margin: 0; font-family: 'Courier New', Courier, monospace; word-break: break-word; } .discord-open-link { color: rgba(255, 255, 255, 0.6); font-size: 0.8rem; text-decoration: none; font-family: 'Courier New', Courier, monospace; transition: color 0.3s ease; display: inline-block; margin-top: 3px; word-break: break-word; } .discord-open-link:hover { color: rgba(255, 255, 255, 0.9); text-decoration: underline; } /* View Counter */ #view-counter { position: fixed; bottom: 20px; left: 20px; color: white; font-size: 14px; display: flex; align-items: center; gap: 5px; opacity: 0; font-family: 'Courier New', Courier, monospace; z-index: 100; transition: opacity 0.5s ease, transform 0.5s ease; will-change: transform, opacity; background-color: rgba(255, 255, 255, 0.1); padding: 5px 10px; border-radius: 15px; backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2); transform: translateY(20px); } /* Responsive Design */ @media screen and (max-width: 768px) { #volume-control { top: 15px; left: 15px; padding: 8px 12px; gap: 8px; } #volume-slider { width: 100px; } #volume-icon { font-size: 16px; } #blurred-box { width: 95%; max-width: 350px; padding: 15px; max-height: 85%; } #blurred-box img { width: 80px; height: 80px; } #username { font-size: 1.3rem; } .user-description p { font-size: 0.9rem; padding: 8px 12px; } .links { gap: 12px; } .links a { font-size: 1.2rem; width: 35px; height: 35px; } .discord-profile { padding: 12px; gap: 12px; } .discord-avatar { width: 45px; height: 45px; } .discord-username { font-size: 1rem; } .discord-status-text { font-size: 0.8rem; } .discord-open-link { font-size: 0.7rem; } #view-counter { bottom: 15px; left: 15px; font-size: 12px; padding: 4px 8px; } } @media screen and (max-width: 480px) { #splash-text { font-size: 20px; } #volume-control { top: 10px; left: 10px; padding: 6px 10px; gap: 6px; } #volume-slider { width: 80px; } #volume-icon { font-size: 14px; } #blurred-box { width: 98%; max-width: 300px; padding: 12px; max-height: 90%; } #blurred-box img { width: 70px; height: 70px; } #username { font-size: 1.2rem; } .user-description p { font-size: 0.85rem; padding: 6px 10px; } .links { gap: 10px; } .links a { font-size: 1.1rem; width: 32px; height: 32px; } .discord-profile { padding: 10px; gap: 10px; } .discord-avatar { width: 40px; height: 40px; } .discord-username { font-size: 0.9rem; } .discord-status-text { font-size: 0.75rem; } .discord-open-link { font-size: 0.65rem; } #view-counter { bottom: 10px; left: 10px; font-size: 11px; padding: 3px 6px; } } @media screen and (max-width: 360px) { #blurred-box { width: 99%; max-width: 280px; padding: 10px; } #blurred-box img { width: 60px; height: 60px; } #username { font-size: 1.1rem; } .user-description p { font-size: 0.8rem; padding: 5px 8px; } .links a { font-size: 1rem; width: 30px; height: 30px; } .discord-avatar { width: 35px; height: 35px; } .discord-username { font-size: 0.85rem; } .discord-status-text { font-size: 0.7rem; } } /* High DPI displays */ @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { #blurred-box { backdrop-filter: blur(10px); } .discord-profile { backdrop-filter: blur(15px); } #volume-control { backdrop-filter: blur(15px); } } /* Touch device optimizations */ @media (hover: none) and (pointer: coarse) { .links a { min-width: 44px; min-height: 44px; } #volume-slider { min-height: 8px; } #volume-slider::-webkit-slider-thumb { min-width: 20px; min-height: 20px; } #volume-slider::-moz-range-thumb { min-width: 20px; min-height: 20px; } } /* Reduced motion preferences */ @media (prefers-reduced-motion: reduce) { #splash-text { animation: none; } } /* Dark mode support */ @media (prefers-color-scheme: dark) { /* Already optimized for dark mode */ } /* Print styles */ @media print { #volume-control, #splash-screen, #view-counter { display: none !important; } #blurred-box { position: static; transform: none; background-color: white; color: black; box-shadow: none; backdrop-filter: none; } }