* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Arial', sans-serif; background: #1a1a1a; color: white; overflow-x: hidden; } .station-page-desktop { min-height: 100vh; position: relative; display: flex; flex-direction: column; } /* Main Layout */ .desktop-main { display: flex; flex: 1; padding: 40px 40px 0 40px; gap: 60px; max-width: 1400px; margin: 0 auto; width: 100%; height: calc(100vh - 80px); /* Account for progress bar */ position: relative; } /* Left Section */ .left-section { flex: 0 0 400px; /* Fixed width instead of flex: 1 */ display: flex; flex-direction: column; align-items: center; justify-content: center; max-width: 400px; } /* Vinyl Container */ .vinyl-container { position: relative; margin-bottom: 40px; } .vinyl-record-desktop { width: 300px; height: 300px; background: radial-gradient(circle, #1a1a1a 30%, #333 31%, #1a1a1a 32%, #333 33%, #1a1a1a 34%); border-radius: 50%; position: relative; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); transition: transform 0.3s ease; } .vinyl-record-desktop.spinning { animation: spin 3s linear infinite; } @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } .vinyl-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; background: #8B4513; border-radius: 50%; box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5); } .vinyl-center::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 10px; height: 10px; background: #000; border-radius: 50%; } .vinyl-grooves { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 200px; height: 200px; border-radius: 50%; border: 2px solid transparent; /* Changed from rgba(255, 255, 255, 0.1) to transparent */ } .vinyl-grooves::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid transparent; /* Changed from rgba(255, 255, 255, 0.1) to transparent */ width: 160px; height: 160px; } .vinyl-grooves::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.1); width: 240px; height: 240px; } /* Music Notes Animation */ .music-notes-desktop { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; } .music-note { position: absolute; font-size: 24px; color: #4A90E2; animation: float 3s ease-in-out infinite; } .note-1 { top: 20%; right: -40px; animation-delay: 0s; } .note-2 { top: 50%; right: -60px; animation-delay: 1s; } .note-3 { top: 80%; right: -40px; animation-delay: 2s; } @keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0; } 50% { transform: translateY(-30px) rotate(15deg); opacity: 1; } } /* Next Song Info */ .next-song-info { text-align: center; background: rgba(255, 255, 255, 0.05); padding: 20px; border-radius: 15px; margin-bottom: 30px; width: 100%; max-width: 300px; } .next-label { font-size: 14px; color: #aaa; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; } .next-song-info h4 { font-size: 18px; margin-bottom: 5px; color: #4A90E2; } .next-artist { font-size: 14px; color: #ccc; } /* Bottom Play Icon */ .bottom-play-icon { display: flex; justify-content: center; } .mini-play-btn { width: 60px; height: 60px; border: none; border-radius: 50%; background: linear-gradient(135deg, #4A90E2, #6BB6FF); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; box-shadow: 0 10px 20px rgba(74, 144, 226, 0.3); } .mini-play-btn:hover { transform: scale(1.1); box-shadow: 0 15px 30px rgba(74, 144, 226, 0.4); } /* Right Section */ .right-section { position: absolute; left: 50%; top: 20px; /* Add top margin */ right: 20px; /* Reduced from 40px */ bottom: 20px; /* Add bottom margin */ display: flex; flex-direction: column; } .recommendations-container { background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 50%, #0a0a0a 100%); backdrop-filter: blur(10px); border-radius: 20px; padding: 30px; height: 100%; /* Take full height of parent */ display: flex; flex-direction: column; } .recommendations-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; border-bottom: 2px solid rgba(74, 144, 226, 0.3); padding-bottom: 15px; } .recommendations-header h2 { font-size: 28px; color: #4A90E2; font-weight: bold; } .add-suggestion-btn { width: 50px; height: 50px; border: none; border-radius: 50%; background: linear-gradient(135deg, #4A90E2, #6BB6FF); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3); } .add-suggestion-btn:hover { transform: scale(1.1); box-shadow: 0 8px 20px rgba(74, 144, 226, 0.4); } .recommendations-list { display: flex; flex-direction: column; gap: 15px; flex: 1; /* Take remaining space */ overflow-y: auto; } .recommendations-list::-webkit-scrollbar { width: 8px; } .recommendations-list::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.1); border-radius: 10px; } .recommendations-list::-webkit-scrollbar-thumb { background: #4A90E2; border-radius: 10px; } .recommendation-item { display: flex; align-items: center; padding: 15px; background: rgba(255, 255, 255, 0.05); border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1); transition: all 0.3s ease; cursor: pointer; } .recommendation-item:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); } .song-cover { width: 60px; height: 60px; border-radius: 8px; margin-right: 15px; object-fit: cover; } .song-info { flex: 1; } .song-info h4 { font-size: 16px; margin-bottom: 5px; color: white; } .artist { font-size: 14px; color: #4A90E2; margin-bottom: 3px; } .album { font-size: 12px; color: #aaa; } .duration { font-size: 14px; color: #ccc; font-weight: bold; } /* Progress Container */ .progress-container { padding: 20px 40px; background: rgba(0, 0, 0, 0.3); backdrop-filter: blur(10px); position: relative; z-index: 10; } .progress-bar { width: 100%; height: 8px; background: rgba(255, 255, 255, 0.2); border-radius: 4px; overflow: hidden; position: relative; } .progress-fill { height: 100%; background: linear-gradient(90deg, #4A90E2, #6BB6FF); border-radius: 4px; transition: width 0.3s ease; box-shadow: 0 0 10px rgba(74, 144, 226, 0.5); } /* Home Page Styles */ .home-container { min-height: 100vh; position: relative; display: flex; flex-direction: column; background: #1a1a1a; } .home-main { display: flex; flex: 1; padding: 40px; gap: 60px; max-width: 1400px; margin: 0 auto; width: 100%; height: 100vh; align-items: center; } /* Home Left Section */ .home-left-section { flex: 1; display: flex; align-items: center; justify-content: center; } .home-vinyl-container { position: relative; } .home-vinyl-record { width: 250px; height: 250px; background: radial-gradient(circle, #1a1a1a 30%, #333 31%, #1a1a1a 32%, #333 33%, #1a1a1a 34%); border-radius: 50%; position: relative; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); animation: spin 8s linear infinite; } .home-music-notes { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; } .home-music-notes .music-note { position: absolute; font-size: 20px; color: #4A90E2; animation: float 4s ease-in-out infinite; } .home-music-notes .note-1 { top: 20%; right: -30px; animation-delay: 0s; } .home-music-notes .note-2 { top: 50%; right: -50px; animation-delay: 1.5s; } .home-music-notes .note-3 { top: 80%; right: -30px; animation-delay: 3s; } /* Home Right Section */ .home-right-section { flex: 1; display: flex; align-items: center; justify-content: center; } .home-content { text-align: center; max-width: 500px; background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 50%, #0a0a0a 100%); backdrop-filter: blur(10px); border-radius: 20px; padding: 50px 40px; border: 1px solid rgba(255, 255, 255, 0.1); } .home-title { font-size: 48px; font-weight: bold; color: #4A90E2; margin-bottom: 20px; text-shadow: 0 2px 10px rgba(74, 144, 226, 0.3); } .home-subtitle { font-size: 18px; color: #ccc; margin-bottom: 40px; line-height: 1.6; } .home-button-container { display: flex; flex-direction: column; gap: 20px; } .home-action-button { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 18px 30px; font-size: 16px; font-weight: bold; border: none; border-radius: 12px; cursor: pointer; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 1px; min-height: 60px; } .home-action-button.primary { background: linear-gradient(135deg, #4A90E2, #6BB6FF); color: white; box-shadow: 0 10px 20px rgba(74, 144, 226, 0.3); } .home-action-button.primary:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(74, 144, 226, 0.4); } .home-action-button.secondary { background: transparent; color: #4A90E2; border: 2px solid #4A90E2; box-shadow: 0 5px 15px rgba(74, 144, 226, 0.2); } .home-action-button.secondary:hover { background: rgba(74, 144, 226, 0.1); transform: translateY(-3px); box-shadow: 0 10px 25px rgba(74, 144, 226, 0.3); } /* Create Station Styles */ .create-station-container { min-height: 100vh; position: relative; display: flex; flex-direction: column; background: #1a1a1a; } .create-station-main { display: flex; flex: 1; padding: 40px; gap: 60px; max-width: 1400px; margin: 0 auto; width: 100%; height: 100vh; align-items: center; } /* Create Station Left Section */ .create-station-left-section { flex: 1; display: flex; align-items: center; justify-content: center; } .create-station-vinyl-container { position: relative; } .create-station-vinyl-record { width: 280px; height: 280px; background: radial-gradient(circle, #1a1a1a 30%, #333 31%, #1a1a1a 32%, #333 33%, #1a1a1a 34%); border-radius: 50%; position: relative; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); animation: spin 6s linear infinite; } .create-station-music-notes { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; } .create-station-music-notes .music-note { position: absolute; font-size: 24px; color: #4A90E2; animation: float 3s ease-in-out infinite; } .create-station-music-notes .note-1 { top: 20%; right: -40px; animation-delay: 0s; } .create-station-music-notes .note-2 { top: 50%; right: -60px; animation-delay: 1s; } .create-station-music-notes .note-3 { top: 80%; right: -40px; animation-delay: 2s; } /* Create Station Right Section */ .create-station-right-section { flex: 1; display: flex; align-items: center; justify-content: center; } .create-station-content { width: 100%; max-width: 500px; background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 50%, #0a0a0a 100%); backdrop-filter: blur(10px); border-radius: 20px; padding: 40px; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); } .create-station-header { text-align: center; margin-bottom: 40px; } .create-station-header h1 { font-size: 32px; font-weight: bold; color: #4A90E2; margin-bottom: 10px; text-shadow: 0 2px 10px rgba(74, 144, 226, 0.3); } .create-station-form { display: flex; flex-direction: column; gap: 30px; } .join-method-section h2 { font-size: 18px; color: #fff; margin-bottom: 20px; font-weight: 600; } .radio-option { margin-bottom: 20px; } .radio-option label { display: flex; align-items: center; gap: 12px; cursor: pointer; padding: 15px 20px; background: rgba(255, 255, 255, 0.05); border: 2px solid rgba(255, 255, 255, 0.1); border-radius: 12px; transition: all 0.3s ease; font-size: 16px; font-weight: 500; color: #fff; } .radio-option label:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(74, 144, 226, 0.5); } .radio-option input[type="radio"] { display: none; } .radio-custom { width: 20px; height: 20px; border: 2px solid #4A90E2; border-radius: 50%; position: relative; transition: all 0.3s ease; } .radio-option input[type="radio"]:checked + .radio-custom { background: #4A90E2; box-shadow: 0 0 10px rgba(74, 144, 226, 0.5); } .radio-option input[type="radio"]:checked + .radio-custom::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 8px; height: 8px; background: white; border-radius: 50%; } .password-input-section { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; padding: 20px; background: rgba(255, 255, 255, 0.03); border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1); } .password-input-section label { font-size: 14px; font-weight: 600; color: #4A90E2; text-transform: uppercase; letter-spacing: 1px; } .password-input-section input { padding: 15px 20px; background: rgba(255, 255, 255, 0.05); border: 2px solid rgba(255, 255, 255, 0.1); border-radius: 10px; color: #fff; font-size: 16px; transition: all 0.3s ease; } .password-input-section input:focus { outline: none; border-color: #4A90E2; background: rgba(255, 255, 255, 0.1); box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1); } .password-input-section input::placeholder { color: #aaa; } .create-station-final-btn { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 18px 30px; font-size: 16px; font-weight: bold; border: none; border-radius: 12px; cursor: pointer; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 1px; min-height: 60px; background: linear-gradient(135deg, #4A90E2, #6BB6FF); color: white; box-shadow: 0 10px 20px rgba(74, 144, 226, 0.3); margin-top: 20px; } .create-station-final-btn:hover:not(:disabled) { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(74, 144, 226, 0.4); } .create-station-final-btn:disabled { background: rgba(255, 255, 255, 0.1); color: #666; cursor: not-allowed; box-shadow: none; transform: none; } /* Add Song Modal Styles */ .add-song-modal-backdrop { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 20px; } .add-song-modal-content { background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 50%, #0a0a0a 100%); border-radius: 20px; width: 100%; max-width: 600px; max-height: 80vh; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); display: flex; flex-direction: column; overflow: hidden; } .add-song-modal-header { display: flex; justify-content: space-between; align-items: center; padding: 25px 30px; border-bottom: 2px solid rgba(74, 144, 226, 0.3); background: rgba(255, 255, 255, 0.02); } .add-song-modal-header h2 { font-size: 24px; color: #4A90E2; font-weight: bold; margin: 0; } .add-song-close-btn { width: 40px; height: 40px; border: none; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; } .add-song-close-btn:hover { background: rgba(255, 255, 255, 0.2); transform: scale(1.1); } .add-song-modal-body { padding: 30px; flex: 1; display: flex; flex-direction: column; min-height: 0; } .add-song-search-container { margin-bottom: 25px; } .add-song-search-box { position: relative; display: flex; align-items: center; } .add-song-search-box .search-icon { position: absolute; left: 15px; color: #4A90E2; z-index: 1; } .add-song-search-box input { width: 100%; padding: 15px 20px 15px 50px; background: rgba(255, 255, 255, 0.05); border: 2px solid rgba(255, 255, 255, 0.1); border-radius: 12px; color: #fff; font-size: 16px; transition: all 0.3s ease; } .add-song-search-box input:focus { outline: none; border-color: #4A90E2; background: rgba(255, 255, 255, 0.1); box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1); } .add-song-search-box input::placeholder { color: #aaa; } .search-loading { position: absolute; right: 15px; display: flex; align-items: center; } .loading-spinner { width: 20px; height: 20px; border: 2px solid rgba(74, 144, 226, 0.3); border-top: 2px solid #4A90E2; border-radius: 50%; animation: spin 1s linear infinite; } .add-song-results-container { flex: 1; display: flex; flex-direction: column; min-height: 300px; overflow: hidden; } .add-song-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 1; text-align: center; color: #aaa; gap: 15px; } .add-song-placeholder svg { color: #4A90E2; opacity: 0.6; } .add-song-placeholder p { margin: 0; font-size: 16px; } .placeholder-subtitle { font-size: 14px !important; color: #666 !important; } .add-song-results-list { display: flex; flex-direction: column; gap: 12px; flex: 1; overflow-y: auto; padding-right: 10px; } .add-song-results-list::-webkit-scrollbar { width: 6px; } .add-song-results-list::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.1); border-radius: 10px; } .add-song-results-list::-webkit-scrollbar-thumb { background: #4A90E2; border-radius: 10px; } .add-song-result-item { display: flex; align-items: center; padding: 15px; background: rgba(255, 255, 255, 0.03); border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1); transition: all 0.3s ease; gap: 15px; } .add-song-result-item:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-1px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); } .result-song-cover { width: 50px; height: 50px; border-radius: 8px; object-fit: cover; flex-shrink: 0; } .result-song-info { flex: 1; min-width: 0; } .result-song-info h4 { font-size: 16px; margin: 0 0 5px 0; color: white; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .result-artist { font-size: 14px; color: #4A90E2; margin: 0 0 3px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .result-album { font-size: 12px; color: #aaa; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .add-song-btn { display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: linear-gradient(135deg, #4A90E2, #6BB6FF); color: white; border: none; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; flex-shrink: 0; } .add-song-btn:hover { transform: scale(1.05); box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4); } /* Responsive Design */ @media (max-width: 768px) { .desktop-main { flex-direction: column; padding: 20px 20px 0 20px; gap: 30px; height: auto; } .left-section { flex: none; max-width: none; } .recommendations-container { height: auto; min-height: 400px; } .vinyl-record-desktop { width: 200px; height: 200px; } .progress-container { padding: 15px 20px; } .home-main { flex-direction: column; padding: 20px; gap: 40px; height: auto; min-height: 100vh; } .home-vinyl-record { width: 180px; height: 180px; } .home-content { padding: 30px 20px; } .home-title { font-size: 36px; } .home-subtitle { font-size: 16px; } .home-action-button { padding: 15px 25px; font-size: 14px; } .create-station-main { flex-direction: column; padding: 20px; gap: 40px; height: auto; min-height: 100vh; } .create-station-vinyl-record { width: 200px; height: 200px; } .create-station-content { padding: 30px 20px; } .create-station-header h1 { font-size: 28px; } .join-method-section h2 { font-size: 16px; } .create-station-final-btn { padding: 15px 25px; font-size: 14px; } .add-song-modal-content { max-width: 100%; max-height: 90vh; } } @media (max-width: 480px) { .home-title { font-size: 28px; } .home-subtitle { font-size: 14px; } .home-vinyl-record { width: 150px; height: 150px; } .create-station-header h1 { font-size: 24px; } .create-station-vinyl-record { width: 150px; height: 150px; } .password-input-section input { padding:12px 15px; font-size: 14px; } }