683 lines
12 KiB
CSS
683 lines
12 KiB
CSS
:root {
|
|
--bg-base: #09090b;
|
|
--bg-surface: #121215;
|
|
--bg-surface-hover: #1e1e22;
|
|
--accent: #8b5cf6;
|
|
--accent-glow: rgba(139, 92, 246, 0.4);
|
|
--text-primary: #ffffff;
|
|
--text-secondary: #a1a1aa;
|
|
--radius-md: 12px;
|
|
--radius-lg: 24px;
|
|
--nav-height: 80px;
|
|
--danger: #ef4444;
|
|
--success: #22c55e;
|
|
}
|
|
|
|
* { box-sizing: border-box; margin: 0; padding: 0; }
|
|
|
|
body {
|
|
background-color: var(--bg-base);
|
|
color: var(--text-primary);
|
|
font-family: 'Inter', system-ui, sans-serif;
|
|
overflow-x: hidden;
|
|
padding-top: var(--nav-height);
|
|
}
|
|
|
|
.navbar {
|
|
width: 100%;
|
|
height: var(--nav-height);
|
|
position: fixed;
|
|
top: 0;
|
|
z-index: 1000;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 3rem;
|
|
background: rgba(9, 9, 11, 0.85);
|
|
backdrop-filter: blur(12px);
|
|
border-bottom: 1px solid rgba(255,255,255,0.05);
|
|
}
|
|
|
|
.nav-brand {
|
|
font-weight: 900;
|
|
font-size: 1.5rem;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.8rem;
|
|
letter-spacing: -0.5px;
|
|
color: white;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.brand-icon {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.brand-icon img {
|
|
width: 70%;
|
|
height: 70%;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.nav-center {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
background: rgba(255,255,255,0.03);
|
|
padding: 0.4rem;
|
|
border-radius: 999px;
|
|
border: 1px solid rgba(255,255,255,0.05);
|
|
}
|
|
|
|
.nav-button {
|
|
background: transparent;
|
|
border: none;
|
|
color: var(--text-secondary);
|
|
padding: 0.6rem 1.5rem;
|
|
border-radius: 999px;
|
|
cursor: pointer;
|
|
font-weight: 600;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.nav-button:hover { color: white; }
|
|
.nav-button.active {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: white;
|
|
backdrop-filter: blur(8px);
|
|
border: 1px solid rgba(255,255,255,0.1);
|
|
}
|
|
|
|
.search-wrapper {
|
|
position: relative;
|
|
width: 300px;
|
|
}
|
|
|
|
.search-input {
|
|
width: 100%;
|
|
background: rgba(255,255,255,0.05);
|
|
border: 1px solid rgba(255,255,255,0.1);
|
|
padding: 0.7rem 1rem 0.7rem 2.5rem;
|
|
border-radius: 99px;
|
|
color: white;
|
|
font-family: inherit;
|
|
transition: 0.2s;
|
|
}
|
|
|
|
.search-input:focus {
|
|
background: rgba(255,255,255,0.1);
|
|
border-color: var(--accent);
|
|
box-shadow: 0 0 15px var(--accent-glow);
|
|
outline: none;
|
|
}
|
|
|
|
.search-icon {
|
|
position: absolute;
|
|
left: 12px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
pointer-events: none;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.container {
|
|
max-width: 1600px;
|
|
margin: 0 auto;
|
|
padding: 3rem;
|
|
}
|
|
|
|
.header-section {
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
.page-title {
|
|
font-size: 3rem;
|
|
font-weight: 900;
|
|
margin-bottom: 2rem;
|
|
background: linear-gradient(135deg, var(--accent), #a78bfa);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
.stats-row {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.stat-card {
|
|
background: var(--bg-surface);
|
|
border: 1px solid rgba(255,255,255,0.1);
|
|
border-radius: var(--radius-lg);
|
|
padding: 1.5rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
transition: transform 0.3s, box-shadow 0.3s;
|
|
box-shadow: 0 10px 30px rgba(0,0,0,0.3);
|
|
}
|
|
|
|
.stat-card:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 10px 40px var(--accent-glow);
|
|
}
|
|
|
|
.stat-value {
|
|
font-size: 2.5rem;
|
|
font-weight: 900;
|
|
color: var(--accent);
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 0.9rem;
|
|
color: var(--text-secondary);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.filters-section {
|
|
display: flex;
|
|
gap: 1rem;
|
|
margin-bottom: 2rem;
|
|
padding: 1.5rem;
|
|
background: var(--bg-surface);
|
|
border-radius: var(--radius-md);
|
|
border: 1px solid rgba(255,255,255,0.05);
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.filter-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
flex: 1;
|
|
min-width: 150px;
|
|
}
|
|
|
|
.filter-group label {
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
color: var(--text-secondary);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.filter-select {
|
|
background: var(--bg-base);
|
|
border: 1px solid rgba(255,255,255,0.1);
|
|
color: var(--text-primary);
|
|
padding: 0.7rem 1rem;
|
|
border-radius: 8px;
|
|
font-family: inherit;
|
|
cursor: pointer;
|
|
transition: 0.2s;
|
|
}
|
|
|
|
.filter-select:hover {
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
.filter-select:focus {
|
|
outline: none;
|
|
border-color: var(--accent);
|
|
box-shadow: 0 0 10px var(--accent-glow);
|
|
}
|
|
|
|
.view-toggle {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.view-btn {
|
|
background: var(--bg-base);
|
|
border: 1px solid rgba(255,255,255,0.1);
|
|
color: var(--text-secondary);
|
|
padding: 0.7rem;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
transition: 0.2s;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.view-btn:hover {
|
|
border-color: var(--accent);
|
|
color: white;
|
|
}
|
|
|
|
.view-btn.active {
|
|
background: var(--accent);
|
|
border-color: var(--accent);
|
|
color: white;
|
|
}
|
|
|
|
.loading-state {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 5rem 0;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.spinner {
|
|
width: 50px;
|
|
height: 50px;
|
|
border: 4px solid rgba(139, 92, 246, 0.1);
|
|
border-top-color: var(--accent);
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
.empty-state {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 5rem 0;
|
|
gap: 1.5rem;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.empty-state svg {
|
|
opacity: 0.3;
|
|
}
|
|
|
|
.empty-state h2 {
|
|
font-size: 1.8rem;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.list-grid {
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.list-grid.list-view {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.list-item {
|
|
background: var(--bg-surface);
|
|
border: 1px solid rgba(255,255,255,0.1);
|
|
border-radius: var(--radius-md);
|
|
overflow: hidden;
|
|
transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.list-item:hover {
|
|
transform: translateY(-5px);
|
|
border-color: var(--accent);
|
|
box-shadow: 0 10px 20px rgba(0,0,0,0.5);
|
|
}
|
|
|
|
.list-grid.list-view .list-item {
|
|
flex-direction: row;
|
|
}
|
|
|
|
.list-grid.list-view .list-item:hover {
|
|
transform: translateX(5px);
|
|
}
|
|
|
|
.item-poster-link {
|
|
display: block;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.item-poster {
|
|
width: 100%;
|
|
aspect-ratio: 2/3;
|
|
object-fit: cover;
|
|
background: #222;
|
|
}
|
|
|
|
.list-grid.list-view .item-poster {
|
|
width: 120px;
|
|
height: 180px;
|
|
aspect-ratio: auto;
|
|
}
|
|
|
|
.item-content {
|
|
padding: 1rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.list-grid.list-view .item-content {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.item-title {
|
|
font-size: 1rem;
|
|
font-weight: 700;
|
|
margin-bottom: 0.5rem;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.list-grid.list-view .item-title {
|
|
font-size: 1.3rem;
|
|
white-space: normal;
|
|
}
|
|
|
|
.item-meta {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
margin-bottom: 0.8rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.meta-pill {
|
|
font-size: 0.75rem;
|
|
padding: 0.3rem 0.7rem;
|
|
border-radius: 6px;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.status-pill {
|
|
background: rgba(34, 197, 94, 0.2);
|
|
color: var(--success);
|
|
border: 1px solid rgba(34, 197, 94, 0.3);
|
|
}
|
|
|
|
.type-pill {
|
|
background: rgba(139, 92, 246, 0.15);
|
|
color: var(--accent);
|
|
border: 1px solid rgba(139, 92, 246, 0.3);
|
|
}
|
|
|
|
.source-pill {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: var(--text-primary);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.progress-bar-container {
|
|
background: rgba(255,255,255,0.05);
|
|
border-radius: 999px;
|
|
height: 8px;
|
|
overflow: hidden;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.progress-bar {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, var(--accent), #a78bfa);
|
|
border-radius: 999px;
|
|
transition: width 0.3s;
|
|
}
|
|
|
|
.progress-text {
|
|
font-size: 0.9rem;
|
|
color: var(--text-secondary);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.score-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.3rem;
|
|
font-weight: 700;
|
|
color: var(--success);
|
|
}
|
|
|
|
.edit-btn-card {
|
|
background: var(--accent);
|
|
color: white;
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 999px;
|
|
font-weight: 700;
|
|
border: none;
|
|
cursor: pointer;
|
|
transition: transform 0.2s, background 0.2s;
|
|
margin-top: 1rem;
|
|
}
|
|
.edit-btn-card:hover {
|
|
background: #7c3aed;
|
|
transform: scale(1.03);
|
|
}
|
|
|
|
.modal-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0,0,0,0.8);
|
|
backdrop-filter: blur(8px);
|
|
z-index: 2000;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 2rem;
|
|
}
|
|
|
|
.modal-content {
|
|
background: var(--bg-surface);
|
|
border: 1px solid rgba(255,255,255,0.1);
|
|
border-radius: var(--radius-lg);
|
|
max-width: 500px;
|
|
width: 100%;
|
|
padding: 2rem;
|
|
position: relative;
|
|
animation: modalSlideUp 0.3s ease;
|
|
}
|
|
|
|
@keyframes modalSlideUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.modal-close {
|
|
position: absolute;
|
|
top: 1rem;
|
|
right: 1rem;
|
|
background: rgba(255,255,255,0.05);
|
|
border: 1px solid rgba(255,255,255,0.1);
|
|
color: white;
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 1.2rem;
|
|
transition: 0.2s;
|
|
}
|
|
|
|
.modal-close:hover {
|
|
background: var(--danger);
|
|
border-color: var(--danger);
|
|
}
|
|
|
|
.modal-title {
|
|
font-size: 1.8rem;
|
|
font-weight: 900;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.modal-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.form-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.form-group label {
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.form-input {
|
|
background: var(--bg-base);
|
|
border: 1px solid rgba(255,255,255,0.1);
|
|
color: var(--text-primary);
|
|
padding: 0.8rem 1rem;
|
|
border-radius: 8px;
|
|
font-family: inherit;
|
|
font-size: 1rem;
|
|
transition: 0.2s;
|
|
}
|
|
|
|
.form-input:focus {
|
|
outline: none;
|
|
border-color: var(--accent);
|
|
box-shadow: 0 0 10px var(--accent-glow);
|
|
}
|
|
|
|
.modal-actions {
|
|
display: flex;
|
|
gap: 1rem;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.btn-primary, .btn-secondary, .btn-danger {
|
|
padding: 0.8rem 1.5rem;
|
|
border-radius: 999px;
|
|
font-weight: 700;
|
|
font-size: 0.95rem;
|
|
border: none;
|
|
cursor: pointer;
|
|
transition: transform 0.2s, opacity 0.2s;
|
|
flex: 1;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--accent);
|
|
color: white;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: rgba(255,255,255,0.1);
|
|
color: white;
|
|
border: 1px solid rgba(255,255,255,0.2);
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background: rgba(255,255,255,0.15);
|
|
}
|
|
|
|
.btn-danger {
|
|
background: var(--danger);
|
|
color: white;
|
|
}
|
|
|
|
.btn-danger:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.modal-overlay {
|
|
|
|
display: none;
|
|
opacity: 0;
|
|
}
|
|
.modal-overlay.active {
|
|
display: flex;
|
|
opacity: 1;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.navbar {
|
|
padding: 0 1.5rem;
|
|
}
|
|
|
|
.container {
|
|
padding: 2rem 1.5rem;
|
|
}
|
|
|
|
.page-title {
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.stats-row {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
|
|
.filters-section {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.list-grid {
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
|
gap: 1.5rem;
|
|
}
|
|
}
|
|
|
|
.edit-icon-btn {
|
|
position: absolute;
|
|
top: 1rem;
|
|
right: 1rem;
|
|
z-index: 50;
|
|
|
|
background: rgba(0, 0, 0, 0.6);
|
|
backdrop-filter: blur(5px);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
color: white;
|
|
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
opacity: 0;
|
|
transition: opacity 0.3s, background 0.2s;
|
|
}
|
|
|
|
.list-item:hover .edit-icon-btn {
|
|
opacity: 1;
|
|
}
|
|
|
|
.edit-icon-btn:hover {
|
|
background: var(--accent);
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
.edit-btn-card {
|
|
display: none;
|
|
}
|
|
|
|
.item-poster-link {
|
|
z-index: 1;
|
|
} |