2026-04-03 02:40:34 +00:00
|
|
|
@home-primary: var(--app-primary-color, #6366f1);
|
|
|
|
|
@home-text-main: #1f2937;
|
|
|
|
|
@home-text-gray: #6b7280;
|
|
|
|
|
@home-bg: #f9fafb;
|
2026-03-26 03:18:44 +00:00
|
|
|
|
2026-04-03 02:40:34 +00:00
|
|
|
.home-container {
|
2026-03-26 03:18:44 +00:00
|
|
|
position: relative;
|
2026-04-03 02:40:34 +00:00
|
|
|
min-height: calc(100vh - 160px); // Account for header and footer
|
|
|
|
|
padding: clamp(24px, 4vw, 40px) clamp(24px, 5vw, 60px);
|
|
|
|
|
background: linear-gradient(135deg, #ffffff 0%, #f4f6fa 100%);
|
|
|
|
|
color: @home-text-main;
|
|
|
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
|
|
|
overflow: hidden; // Prevent the background visual from causing scroll
|
|
|
|
|
margin: -24px; // Offset typical parent padding
|
2026-03-26 03:18:44 +00:00
|
|
|
z-index: 1;
|
|
|
|
|
|
2026-04-03 02:40:34 +00:00
|
|
|
// Background Visual (The massive glowing sphere)
|
|
|
|
|
.home-bg-visual {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
right: -10%;
|
|
|
|
|
width: 60vw;
|
|
|
|
|
height: 100%;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
z-index: -1;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.home-bg-sphere {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 50%;
|
|
|
|
|
left: 50%;
|
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
|
width: 800px;
|
|
|
|
|
height: 800px;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(220, 230, 255, 0.4) 40%, transparent 70%);
|
|
|
|
|
box-shadow: inset 0 0 100px rgba(255,255,255,0.5);
|
|
|
|
|
filter: blur(20px);
|
|
|
|
|
|
|
|
|
|
// Inner subtle glow/wave illusion
|
|
|
|
|
&::after {
|
|
|
|
|
content: '';
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 30%;
|
|
|
|
|
left: 20%;
|
|
|
|
|
width: 60%;
|
|
|
|
|
height: 40%;
|
|
|
|
|
background: radial-gradient(ellipse, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
|
|
|
|
|
filter: blur(40px);
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
transform: rotate(-15deg);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Wrapper to keep content contained and above background
|
|
|
|
|
.home-content-wrapper {
|
|
|
|
|
position: relative;
|
|
|
|
|
z-index: 2;
|
|
|
|
|
max-width: 1400px;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
height: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2026-03-26 03:18:44 +00:00
|
|
|
justify-content: flex-start;
|
|
|
|
|
}
|
|
|
|
|
|
2026-04-03 02:40:34 +00:00
|
|
|
// Hero Section
|
|
|
|
|
.home-hero {
|
|
|
|
|
margin-bottom: 48px;
|
|
|
|
|
padding-top: 20px;
|
2026-03-26 03:18:44 +00:00
|
|
|
}
|
|
|
|
|
|
2026-04-03 02:40:34 +00:00
|
|
|
.home-title {
|
|
|
|
|
font-size: clamp(40px, 5vw, 64px) !important;
|
|
|
|
|
font-weight: 800 !important;
|
|
|
|
|
margin-bottom: 48px !important;
|
|
|
|
|
color: @home-text-main !important;
|
|
|
|
|
letter-spacing: -0.01em;
|
2026-03-26 03:18:44 +00:00
|
|
|
|
2026-04-03 02:40:34 +00:00
|
|
|
.home-title-accent {
|
|
|
|
|
background: linear-gradient(90deg, #6366f1, #8b5cf6, #3b82f6);
|
|
|
|
|
-webkit-background-clip: text;
|
|
|
|
|
-webkit-text-fill-color: transparent;
|
|
|
|
|
background-clip: text;
|
|
|
|
|
}
|
2026-03-26 09:42:29 +00:00
|
|
|
}
|
|
|
|
|
|
2026-04-03 02:40:34 +00:00
|
|
|
// Quick Actions Horizontal Layout
|
|
|
|
|
.home-quick-actions {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 64px;
|
|
|
|
|
flex-wrap: wrap;
|
2026-03-26 03:18:44 +00:00
|
|
|
|
2026-04-03 02:40:34 +00:00
|
|
|
@media (max-width: 768px) {
|
|
|
|
|
gap: 32px;
|
|
|
|
|
}
|
2026-03-26 03:18:44 +00:00
|
|
|
}
|
|
|
|
|
|
2026-04-03 02:40:34 +00:00
|
|
|
.home-action-item {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: transform 0.3s ease;
|
|
|
|
|
max-width: 240px;
|
2026-03-26 03:18:44 +00:00
|
|
|
|
2026-04-03 02:40:34 +00:00
|
|
|
&:hover {
|
|
|
|
|
transform: translateY(-4px);
|
|
|
|
|
|
|
|
|
|
.home-action-icon-wrapper {
|
|
|
|
|
transform: scale(1.05);
|
|
|
|
|
}
|
|
|
|
|
.home-action-title {
|
|
|
|
|
color: @home-primary !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&--violet {
|
|
|
|
|
--action-color: #8b5cf6;
|
|
|
|
|
--action-bg: rgba(139, 92, 246, 0.1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&--cyan {
|
|
|
|
|
--action-color: #06b6d4;
|
|
|
|
|
--action-bg: rgba(6, 182, 212, 0.1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.home-action-icon-wrapper {
|
|
|
|
|
position: relative;
|
|
|
|
|
width: 72px;
|
|
|
|
|
height: 72px;
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
transition: transform 0.3s ease;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.home-action-icon {
|
|
|
|
|
position: relative;
|
|
|
|
|
z-index: 2;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
font-size: 32px;
|
|
|
|
|
color: var(--action-color);
|
|
|
|
|
background: #ffffff;
|
|
|
|
|
border-radius: 20px;
|
|
|
|
|
box-shadow: 0 4px 20px rgba(0,0,0,0.05);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.home-action-icon-glow {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 50%;
|
|
|
|
|
left: 50%;
|
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
|
width: 120%;
|
|
|
|
|
height: 120%;
|
|
|
|
|
background: var(--action-bg);
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
filter: blur(12px);
|
|
|
|
|
z-index: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.home-action-title {
|
|
|
|
|
font-size: 20px !important;
|
|
|
|
|
font-weight: 700 !important;
|
|
|
|
|
margin-bottom: 12px !important;
|
|
|
|
|
color: @home-text-main !important;
|
|
|
|
|
transition: color 0.3s ease;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.home-action-desc {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.home-action-line {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
color: @home-text-gray;
|
|
|
|
|
line-height: 1.5;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Recent Section (Horizontal Cards)
|
|
|
|
|
.home-recent-section {
|
|
|
|
|
margin-top: auto; // Push to bottom if viewport is tall
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.home-section-header {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: baseline;
|
|
|
|
|
gap: 16px;
|
|
|
|
|
margin-bottom: 24px;
|
|
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
|
font-size: 18px !important;
|
|
|
|
|
font-weight: 600 !important;
|
|
|
|
|
margin: 0 !important;
|
|
|
|
|
color: @home-text-gray !important;
|
|
|
|
|
}
|
2026-03-26 03:18:44 +00:00
|
|
|
}
|
|
|
|
|
|
2026-04-03 02:40:34 +00:00
|
|
|
.home-view-all {
|
|
|
|
|
display: none; // Hidden in the reference design, but keeping in DOM
|
2026-03-26 03:18:44 +00:00
|
|
|
}
|
|
|
|
|
|
2026-04-03 02:40:34 +00:00
|
|
|
.home-recent-grid {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: repeat(3, 1fr);
|
|
|
|
|
gap: 24px;
|
2026-03-26 03:18:44 +00:00
|
|
|
|
2026-04-03 02:40:34 +00:00
|
|
|
@media (max-width: 1024px) {
|
|
|
|
|
grid-template-columns: repeat(2, 1fr);
|
|
|
|
|
}
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
|
}
|
2026-03-26 03:18:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.home-recent-card {
|
2026-04-03 02:40:34 +00:00
|
|
|
display: flex;
|
|
|
|
|
background: #ffffff;
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
padding: 12px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: all 0.3s ease;
|
|
|
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
|
|
|
|
|
border: 1px solid transparent;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
transform: translateY(-2px);
|
|
|
|
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
|
|
|
|
|
border-color: rgba(99, 102, 241, 0.2);
|
|
|
|
|
|
|
|
|
|
.home-recent-card-action {
|
|
|
|
|
color: @home-primary;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.home-recent-card-thumbnail {
|
|
|
|
|
width: 100px;
|
|
|
|
|
height: 72px;
|
|
|
|
|
background: linear-gradient(135deg, #e0e7ff 0%, #dbeafe 100%);
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
margin-right: 16px;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
|
|
|
|
.home-recent-card-play-icon {
|
|
|
|
|
font-size: 24px;
|
|
|
|
|
color: #fff;
|
|
|
|
|
opacity: 0.8;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.home-recent-card-content {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
flex: 1;
|
|
|
|
|
min-width: 0; // Prevent text overflow pushing flex item
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.home-recent-card-title {
|
|
|
|
|
font-size: 15px !important;
|
|
|
|
|
font-weight: 600 !important;
|
|
|
|
|
margin-bottom: 12px !important;
|
|
|
|
|
color: @home-text-main !important;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.home-recent-card-footer {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.home-recent-card-duration {
|
|
|
|
|
color: @home-text-gray;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.home-recent-card-action {
|
|
|
|
|
color: transparent; // Hidden until hover or distinct blue
|
|
|
|
|
color: #3b82f6; // Default to blue
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
transition: color 0.3s ease;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.home-recent-skeleton {
|
|
|
|
|
background: #ffffff;
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
padding: 16px;
|
|
|
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.home-empty-state {
|
|
|
|
|
padding: 40px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Fade in animation
|
|
|
|
|
.home-container > * {
|
|
|
|
|
animation: homeFadeUp 0.5s ease-out both;
|
|
|
|
|
}
|
|
|
|
|
.home-bg-visual { animation-delay: 0s; }
|
|
|
|
|
.home-content-wrapper { animation-delay: 0.1s; }
|
|
|
|
|
|
|
|
|
|
@keyframes homeFadeUp {
|
|
|
|
|
from {
|
|
|
|
|
opacity: 0;
|
|
|
|
|
transform: translateY(10px);
|
2026-03-26 09:42:29 +00:00
|
|
|
}
|
2026-04-03 02:40:34 +00:00
|
|
|
to {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
transform: translateY(0);
|
2026-03-26 09:42:29 +00:00
|
|
|
}
|
|
|
|
|
}
|