* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Arial', sans-serif; } body { overflow: hidden; cursor: auto !important; /* Mouse imleci her zaman aktif ve görünür */ background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460); min-height: 100vh; user-select: none; /* Metin seçimini engelle ama cursor aktif kalsın */ } /* Her durumda mouse imleci aktif olsun */ *, *:before, *:after { cursor: auto !important; } .background-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460); display: flex; align-items: center; justify-content: center; } #background-video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s ease-in-out; } #background-video.loaded { opacity: 1; } /* Loading fallback background */ .background-container::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 25% 25%, rgba(255, 68, 68, 0.1) 0%, transparent 50%), radial-gradient(circle at 75% 75%, rgba(68, 147, 255, 0.1) 0%, transparent 50%), linear-gradient(135deg, #1a1a2e, #16213e, #0f3460); z-index: -1; } .logo-container { position: fixed; top: 30px; /* Biraz daha aşağıda */ right: 30px; /* Biraz daha içeride */ z-index: 10; max-width: 250px; /* Biraz daha küçük */ opacity: 1; /* Logo her zaman görünür */ transform: translateY(0) scale(1); /* Normal pozisyon ve boyut */ transition: all 0.8s ease-out; /* Daha yumuşak animasyon */ filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3)); /* Gölge efekti */ } .logo-container.loaded { opacity: 1; transform: translateY(0) scale(1); /* Normal boyuta dön */ } #logo { width: 100%; height: auto; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4)); /* Daha belirgin gölge */ max-height: 120px; /* Biraz daha küçük maksimum yükseklik */ object-fit: contain; border-radius: 10px; /* Hafif yuvarlatılmış köşeler */ transition: transform 0.3s ease; /* Hover efekti için */ } #logo:hover { transform: scale(1.05); /* Hover'da büyütme efekti */ } /* Fallback logo styling */ .fallback-logo { background: linear-gradient(135deg, #ff4444, #ff6666, #ff4444); background-size: 200% 200%; animation: gradientShift 3s ease-in-out infinite; color: white; padding: 20px 30px; border-radius: 15px; text-align: center; box-shadow: 0 8px 32px rgba(255, 68, 68, 0.3), 0 4px 16px rgba(0, 0, 0, 0.2); border: 2px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); transition: all 0.3s ease; } .fallback-logo:hover { transform: scale(1.05); box-shadow: 0 12px 40px rgba(255, 68, 68, 0.4), 0 6px 20px rgba(0, 0, 0, 0.3); } .logo-text { display: block; font-size: 32px; font-weight: 900; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); letter-spacing: 2px; margin-bottom: 5px; } .logo-subtext { display: block; font-size: 14px; font-weight: 600; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); letter-spacing: 3px; opacity: 0.9; } @keyframes gradientShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } } .music-controls { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(20, 20, 20, 0.9)); backdrop-filter: blur(15px); border-radius: 20px; padding: 20px 25px; color: white; display: flex; flex-direction: column; gap: 15px; width: 380px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.15); animation: slideUp 0.5s ease-out; user-select: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; } @keyframes slideUp { from { opacity: 0; transform: translateX(-50%) translateY(100px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } } .song-info { display: flex; align-items: center; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.2); } .music-icon { font-size: 28px; margin-right: 20px; color: #ff4444; text-shadow: 0 0 10px rgba(255, 68, 68, 0.5); animation: pulse 2s infinite; } @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } } .song-details { flex: 1; overflow: hidden; } #song-title { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 18px; font-weight: 600; margin-bottom: 8px; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); } .equalizer { display: flex; height: 18px; align-items: flex-end; gap: 2px; } .equalizer .bar { width: 4px; background: linear-gradient(to top, #ff4444, #ff6666); border-radius: 2px; animation: equalize 1.3s steps(10) infinite; box-shadow: 0 0 5px rgba(255, 68, 68, 0.4); } .equalizer .bar:nth-child(1) { animation-duration: 1.3s; } .equalizer .bar:nth-child(2) { animation-duration: 0.9s; } .equalizer .bar:nth-child(3) { animation-duration: 1.5s; } .equalizer .bar:nth-child(4) { animation-duration: 0.7s; } @keyframes equalize { 0% { height: 4px; } 50% { height: 18px; } 100% { height: 4px; } } .controls { display: flex; align-items: center; justify-content: center; gap: 20px; } button { background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%; color: white; font-size: 18px; width: 45px; height: 45px; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(10px); } button:hover { color: #ff4444; background: linear-gradient(135deg, rgba(255, 68, 68, 0.2), rgba(255, 68, 68, 0.1)); border-color: rgba(255, 68, 68, 0.5); transform: scale(1.1); box-shadow: 0 5px 15px rgba(255, 68, 68, 0.3); } button:active { transform: scale(0.95); box-shadow: 0 2px 8px rgba(255, 68, 68, 0.5); } #play-btn { width: 55px; height: 55px; font-size: 22px; background: linear-gradient(135deg, rgba(255, 68, 68, 0.3), rgba(255, 68, 68, 0.2)); border-color: rgba(255, 68, 68, 0.5); } .volume-control { display: flex; align-items: center; gap: 12px; margin-left: 20px; padding: 8px 15px; background: rgba(255, 255, 255, 0.05); border-radius: 25px; border: 1px solid rgba(255, 255, 255, 0.1); } #volume-icon { font-size: 16px; color: #ff4444; transition: color 0.3s ease; } #volume-icon:hover { color: #ff6666; } #volume-slider { width: 90px; height: 4px; background: rgba(255, 255, 255, 0.2); border-radius: 2px; outline: none; cursor: pointer; -webkit-appearance: none; appearance: none; } #volume-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; background: linear-gradient(135deg, #ff4444, #ff6666); border-radius: 50%; cursor: pointer; box-shadow: 0 2px 6px rgba(255, 68, 68, 0.4); transition: all 0.3s ease; } #volume-slider::-webkit-slider-thumb:hover { transform: scale(1.2); box-shadow: 0 3px 10px rgba(255, 68, 68, 0.6); } #volume-slider::-moz-range-thumb { width: 16px; height: 16px; background: linear-gradient(135deg, #ff4444, #ff6666); border-radius: 50%; cursor: pointer; border: none; box-shadow: 0 2px 6px rgba(255, 68, 68, 0.4); } .music-controls button { position: relative; } .music-controls button:hover::after { content: attr(data-tooltip); position: absolute; bottom: 120%; left: 50%; transform: translateX(-50%); background: rgba(0, 0, 0, 0.9); color: white; padding: 8px 12px; border-radius: 6px; font-size: 12px; white-space: nowrap; z-index: 1000; pointer-events: none; opacity: 0; animation: tooltipFadeIn 0.3s ease forwards; } @keyframes tooltipFadeIn { from { opacity: 0; transform: translateX(-50%) translateY(10px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } } #volume-slider:active { transform: scale(1.05); } /* Make sure all interactive elements have pointer cursor */ button, #volume-slider, #volume-icon { cursor: pointer; } /* Error message styling */ .error-message { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(255, 68, 68, 0.9); color: white; padding: 20px; border-radius: 10px; text-align: center; z-index: 1001; max-width: 400px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); } /* YouTube Background Styling */ .youtube-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; } .youtube-background iframe { position: absolute; top: 50%; left: 50%; width: 100vw; height: 56.25vw; /* 16:9 aspect ratio */ min-height: 100vh; min-width: 177.77vh; /* 16:9 aspect ratio */ transform: translate(-50%, -50%) scale(1.2); pointer-events: none; opacity: 0; transition: opacity 0.5s ease-in-out; } .youtube-background iframe.loaded { opacity: 1; } /* Hide YouTube controls and info */ .youtube-background iframe { border: none; } /* Manuel video başlatma butonu */ .video-start-button { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1000; text-align: center; } .video-start-button button { background: linear-gradient(135deg, #ff4444, #ff6666); color: white; border: none; padding: 15px 30px; border-radius: 50px; font-size: 18px; font-weight: bold; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 5px 15px rgba(255, 68, 68, 0.4); } .video-start-button button:hover { transform: scale(1.05); box-shadow: 0 8px 25px rgba(255, 68, 68, 0.6); } .video-start-button button i { margin-right: 10px; } /* Responsive Design */ @media screen and (max-width: 480px) { .music-controls { width: 90%; padding: 15px 20px; bottom: 20px; } .controls { gap: 15px; } button { width: 40px; height: 40px; font-size: 16px; } #play-btn { width: 50px; height: 50px; font-size: 20px; } .volume-control { margin-left: 10px; padding: 6px 12px; } #volume-slider { width: 70px; } #song-title { font-size: 16px; } .music-icon { font-size: 24px; margin-right: 15px; } } @media screen and (max-width: 320px) { .music-controls { width: 95%; padding: 12px 15px; } .volume-control { display: none; /* Hide volume control on very small screens */ } }