318 lines
5.8 KiB
CSS
318 lines
5.8 KiB
CSS
:root {
|
|
--bg-dark: #0f172a;
|
|
--panel-bg: rgba(30, 41, 59, 0.7);
|
|
--panel-border: rgba(255, 255, 255, 0.1);
|
|
--text-primary: #f8fafc;
|
|
--text-secondary: #94a3b8;
|
|
--accent: #3b82f6;
|
|
--accent-hover: #2563eb;
|
|
--accent-glow: rgba(59, 130, 246, 0.5);
|
|
--font-main: 'Inter', sans-serif;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font-main);
|
|
background-color: var(--bg-dark);
|
|
color: var(--text-primary);
|
|
min-height: 100vh;
|
|
display: flex;
|
|
justify-content: center;
|
|
position: relative;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.background-effects {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: -1;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.glow-orb {
|
|
position: absolute;
|
|
width: 600px;
|
|
height: 600px;
|
|
border-radius: 50%;
|
|
filter: blur(80px);
|
|
opacity: 0.4;
|
|
animation: float 20s infinite ease-in-out alternate;
|
|
}
|
|
|
|
.orb-1 {
|
|
top: -200px;
|
|
left: -100px;
|
|
background: radial-gradient(circle, #3b82f6, transparent 70%);
|
|
}
|
|
|
|
.orb-2 {
|
|
bottom: -200px;
|
|
right: -100px;
|
|
background: radial-gradient(circle, #8b5cf6, transparent 70%);
|
|
animation-delay: -10s;
|
|
}
|
|
|
|
@keyframes float {
|
|
0% { transform: translate(0, 0); }
|
|
100% { transform: translate(100px, 50px); }
|
|
}
|
|
|
|
.container {
|
|
width: 100%;
|
|
max-width: 1200px;
|
|
padding: 2rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2rem;
|
|
}
|
|
|
|
header {
|
|
text-align: center;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
header h1 {
|
|
font-size: 3rem;
|
|
font-weight: 800;
|
|
letter-spacing: -1px;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
header h1 span {
|
|
background: linear-gradient(135deg, #3b82f6, #8b5cf6);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
|
|
header p {
|
|
color: var(--text-secondary);
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.dashboard {
|
|
display: grid;
|
|
grid-template-columns: 1fr 2fr;
|
|
gap: 2rem;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.glass-panel {
|
|
background: var(--panel-bg);
|
|
backdrop-filter: blur(16px);
|
|
-webkit-backdrop-filter: blur(16px);
|
|
border: 1px solid var(--panel-border);
|
|
border-radius: 16px;
|
|
padding: 1.5rem;
|
|
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
.section-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 1.5rem;
|
|
border-bottom: 1px solid var(--panel-border);
|
|
padding-bottom: 1rem;
|
|
}
|
|
|
|
.section-header h2 {
|
|
font-size: 1.25rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.icon-btn {
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
padding: 0.5rem;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.icon-btn:hover {
|
|
color: var(--text-primary);
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.video-list {
|
|
list-style: none;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
max-height: 500px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.video-list::-webkit-scrollbar {
|
|
width: 6px;
|
|
}
|
|
.video-list::-webkit-scrollbar-thumb {
|
|
background: var(--panel-border);
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.video-item {
|
|
padding: 1rem;
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border: 1px solid transparent;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.video-item:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.video-item.active {
|
|
background: rgba(59, 130, 246, 0.2);
|
|
border-color: var(--accent);
|
|
box-shadow: 0 0 15px var(--accent-glow);
|
|
}
|
|
|
|
.video-icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 8px;
|
|
background: linear-gradient(135deg, #1e293b, #334155);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--accent);
|
|
}
|
|
|
|
.video-info {
|
|
flex: 1;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.video-title {
|
|
font-weight: 600;
|
|
font-size: 0.95rem;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.video-meta {
|
|
font-size: 0.8rem;
|
|
color: var(--text-secondary);
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
.player-wrapper {
|
|
position: relative;
|
|
width: 100%;
|
|
aspect-ratio: 16/9;
|
|
background: #000;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
|
|
}
|
|
|
|
#video-player {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
outline: none;
|
|
}
|
|
|
|
.player-overlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
background: rgba(0, 0, 0, 0.7);
|
|
color: white;
|
|
text-align: center;
|
|
padding: 2rem;
|
|
z-index: 10;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.player-overlay h3 {
|
|
margin-bottom: 0.5rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.player-overlay p {
|
|
color: var(--text-secondary);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.now-playing {
|
|
margin-top: 1.5rem;
|
|
padding-top: 1.5rem;
|
|
border-top: 1px solid var(--panel-border);
|
|
}
|
|
|
|
.now-playing h3 {
|
|
font-size: 0.9rem;
|
|
color: var(--text-secondary);
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.now-playing p {
|
|
font-size: 1.25rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
.spinner-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 3rem 0;
|
|
gap: 1rem;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.spinner {
|
|
width: 40px;
|
|
height: 40px;
|
|
border: 3px solid rgba(255,255,255,0.1);
|
|
border-radius: 50%;
|
|
border-top-color: var(--accent);
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
/* Responsive adjustments */
|
|
@media (max-width: 900px) {
|
|
.dashboard {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.video-list-section {
|
|
order: 2;
|
|
}
|
|
|
|
.player-section {
|
|
order: 1;
|
|
}
|
|
}
|