371 lines
8.0 KiB
CSS
371 lines
8.0 KiB
CSS
.main-content {
|
|
padding: 0 2rem 4rem;
|
|
}
|
|
|
|
.section-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.section-title {
|
|
font-family: 'Orbitron', sans-serif;
|
|
font-size: clamp(1.6rem, 4vw, 2rem);
|
|
font-weight: 600;
|
|
position: relative;
|
|
padding-bottom: 0.7rem;
|
|
}
|
|
|
|
.section-title::after {
|
|
content: '';
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: 0;
|
|
height: 4px;
|
|
width: 70px;
|
|
background: var(--gradient);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.section-subtitle {
|
|
font-family: 'Orbitron', sans-serif;
|
|
font-size: 1.7rem;
|
|
font-weight: 600;
|
|
padding-bottom: 0.8rem;
|
|
margin-bottom: 2rem;
|
|
border-bottom: 1px solid var(--glass-border);
|
|
position: relative;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.filters {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 1rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.filter-select {
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
padding: 0.7rem 2.8rem 0.7rem 1.4rem;
|
|
font-size: 0.9rem;
|
|
color: var(--text-primary);
|
|
background-color: var(--secondary);
|
|
background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f0f0f5'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
|
|
background-repeat: no-repeat;
|
|
background-position: right 1rem center;
|
|
background-size: 1rem;
|
|
border: 1px solid var(--glass-border);
|
|
border-radius: 50px;
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.light-theme .filter-select {
|
|
background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231f2937'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
|
|
}
|
|
|
|
.filter-select option {
|
|
background: var(--primary);
|
|
color: var(--text-primary);
|
|
border: none;
|
|
}
|
|
|
|
.filter-select:focus {
|
|
outline: none;
|
|
border-color: var(--accent);
|
|
box-shadow: 0 0 0 3px rgba(0, 224, 255, 0.2);
|
|
}
|
|
|
|
#main-view {
|
|
min-height: calc(100vh - var(--topbar-height) - 100px);
|
|
}
|
|
|
|
.content-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
|
|
gap: 1.8rem;
|
|
}
|
|
|
|
.item-card {
|
|
background: var(--card-bg);
|
|
border-radius: var(--border-radius-lg);
|
|
overflow: hidden;
|
|
position: relative;
|
|
transition: var(--transition);
|
|
box-shadow: var(--shadow);
|
|
cursor: pointer;
|
|
border: 1px solid transparent;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.item-card:hover {
|
|
transform: translateY(-10px) scale(1.03);
|
|
box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
|
|
border-color: rgba(0, 224, 255, 0.5);
|
|
z-index: 10;
|
|
}
|
|
|
|
.item-card .badge {
|
|
position: absolute;
|
|
top: 1rem;
|
|
font-size: 0.7rem;
|
|
font-weight: 600;
|
|
padding: 0.35rem 0.8rem;
|
|
border-radius: 20px;
|
|
z-index: 3;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.item-card .top-badge {
|
|
left: 1rem;
|
|
background: var(--warning);
|
|
color: var(--primary);
|
|
}
|
|
|
|
.item-card .available-badge {
|
|
right: 1rem;
|
|
background: var(--success);
|
|
color: var(--primary);
|
|
}
|
|
|
|
.item-poster {
|
|
display: block;
|
|
width: 100%;
|
|
height: auto;
|
|
aspect-ratio: 2 / 3;
|
|
object-fit: cover;
|
|
background-color: var(--secondary);
|
|
background-size: cover;
|
|
background-position: center;
|
|
transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
|
|
}
|
|
|
|
.item-card:hover .item-poster {
|
|
transform: scale(1.08);
|
|
}
|
|
|
|
.item-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(to top, rgba(10, 10, 15, 0.9) 0%, transparent 50%);
|
|
opacity: 0;
|
|
transition: opacity 0.4s ease;
|
|
z-index: 1;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: center;
|
|
}
|
|
|
|
.item-card:hover .item-overlay {
|
|
opacity: 1;
|
|
}
|
|
|
|
.item-info {
|
|
padding: 1.2rem;
|
|
position: relative;
|
|
z-index: 2;
|
|
margin-top: auto;
|
|
background: var(--card-bg);
|
|
transition: var(--transition);
|
|
}
|
|
|
|
.item-title {
|
|
font-size: 1.05rem;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
margin-bottom: 0.5rem;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.item-card:hover .item-title {
|
|
color: var(--accent);
|
|
}
|
|
|
|
.item-meta {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-size: 0.85rem;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.item-meta span {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
}
|
|
|
|
.item-rating {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.item-rating.rating-good {
|
|
color: var(--success);
|
|
}
|
|
|
|
.item-rating.rating-ok {
|
|
color: var(--warning);
|
|
}
|
|
|
|
.item-rating.rating-bad {
|
|
color: var(--danger);
|
|
}
|
|
|
|
.item-actions {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
z-index: 3;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transform: translateY(10px);
|
|
transition: opacity 0.4s ease, transform 0.4s ease;
|
|
}
|
|
|
|
.item-card:hover .item-actions {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.action-btn {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 44px;
|
|
height: 44px;
|
|
background: rgba(255, 255, 255, 0.15);
|
|
backdrop-filter: blur(8px);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
color: var(--text-primary);
|
|
border-radius: 50%;
|
|
border: 1px solid var(--glass-border);
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
font-size: 1rem;
|
|
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.action-btn:hover:not(:disabled) {
|
|
background: var(--accent);
|
|
color: var(--primary);
|
|
transform: scale(1.1);
|
|
border-color: transparent;
|
|
box-shadow: 0 6px 15px rgba(0, 224, 255, 0.3);
|
|
}
|
|
|
|
.action-btn.favorites-btn.active {
|
|
background: var(--danger);
|
|
color: white;
|
|
}
|
|
|
|
.action-btn.favorites-btn.active:hover {
|
|
background: #c62828;
|
|
}
|
|
|
|
.action-btn.disabled-btn {
|
|
cursor: not-allowed;
|
|
opacity: 0.6;
|
|
background: rgba(80, 80, 80, 0.3);
|
|
}
|
|
|
|
.action-btn.disabled-btn:hover {
|
|
transform: none;
|
|
background: rgba(80, 80, 80, 0.3);
|
|
color: var(--text-primary);
|
|
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.recommendations-section {
|
|
background: var(--glass);
|
|
border: 1px solid var(--glass-border);
|
|
border-radius: var(--border-radius-lg);
|
|
padding: 2.5rem;
|
|
margin-top: 4rem;
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.recommendations-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
|
|
gap: 2rem;
|
|
}
|
|
|
|
.empty-state {
|
|
grid-column: 1 / -1;
|
|
text-align: center;
|
|
padding: 4rem 2rem;
|
|
background: var(--glass);
|
|
border: 1px dashed var(--glass-border);
|
|
border-radius: var(--border-radius-lg);
|
|
backdrop-filter: blur(5px);
|
|
-webkit-backdrop-filter: blur(5px);
|
|
}
|
|
|
|
.empty-state i.fas,
|
|
.empty-state i.far {
|
|
font-size: 3.5rem;
|
|
color: var(--accent);
|
|
opacity: 0.6;
|
|
margin-bottom: 1.5rem;
|
|
display: block;
|
|
}
|
|
|
|
.empty-state p.lead {
|
|
font-size: 1.3rem;
|
|
color: var(--text-primary);
|
|
margin-bottom: 0.8rem;
|
|
}
|
|
|
|
.empty-state p.text-muted {
|
|
font-size: 1rem;
|
|
color: var(--text-secondary);
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.empty-state .btn {
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
@media (max-width: 992px) {
|
|
.content-grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
|
|
gap: 1.5rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.section-title {
|
|
font-size: 1.5rem;
|
|
}
|
|
.content-grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
|
|
gap: 1.2rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 576px) {
|
|
.content-grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(125px, 1fr));
|
|
gap: 1rem;
|
|
}
|
|
} |