CinePlex/css/details-view.css
2025-08-16 10:53:11 +02:00

668 lines
14 KiB
CSS

.item-details {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
display: none;
overflow-y: auto;
background: var(--primary);
z-index: 1035;
clip-path: inset(0 0 0 0);
}
.item-details.active {
display: block;
}
.back-button {
position: absolute;
top: 2rem;
left: 2rem;
z-index: 10;
display: flex;
justify-content: center;
align-items: center;
width: 42px;
height: 42px;
background: var(--glass);
color: var(--text-primary);
border-radius: 50%;
border: 1px solid var(--glass-border);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
cursor: pointer;
transition: var(--transition);
}
.back-button:hover {
background: var(--accent);
color: var(--primary);
transform: scale(1.1);
box-shadow: 0 4px 15px rgba(0, 224, 255, 0.3);
}
.details-backdrop-container {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 60vh;
overflow: hidden;
z-index: 0;
}
.details-backdrop-img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center 20%;
opacity: 0.4;
}
.details-backdrop-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(to top, var(--primary) 15%, transparent 50%),
linear-gradient(to right, var(--primary) 10%, transparent 70%);
}
.item-details-container {
max-width: 1200px;
margin: 0 auto;
position: relative;
z-index: 1;
padding: 8rem 2rem 5rem;
}
.item-details-header {
display: flex;
flex-direction: row;
gap: 3rem;
margin-bottom: 3rem;
align-items: flex-start;
}
.item-details-poster-wrapper {
flex-shrink: 0;
width: 100%;
max-width: 320px;
}
.item-details-poster {
display: block;
width: 100%;
height: auto;
border-radius: var(--border-radius-lg);
box-shadow: var(--shadow);
transition: var(--transition);
}
.item-details-poster:hover {
transform: scale(1.03);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}
#item-details-content {
opacity: 0;
}
.item-details-content {
flex: 1;
min-width: 0;
}
.item-details-title {
font-family: 'Orbitron', sans-serif;
font-size: clamp(2rem, 5vw, 3.2rem);
font-weight: 700;
margin-bottom: 0.5rem;
line-height: 1.2;
}
.item-details-tagline {
font-size: 1.2rem;
font-style: italic;
color: var(--text-secondary);
margin-bottom: 1.5rem;
font-weight: 300;
}
.item-details-meta {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 1rem 1.8rem;
margin-bottom: 1.8rem;
font-size: 0.95rem;
}
.item-details-meta-item {
display: flex;
align-items: center;
gap: 0.6rem;
color: var(--text-secondary);
}
.item-details-meta-item i {
color: var(--accent);
font-size: 1.05rem;
}
.item-details-overview {
font-size: 1.05rem;
margin-bottom: 2rem;
line-height: 1.8;
color: rgba(240, 240, 245, 0.85);
}
.item-details-genres {
display: flex;
flex-wrap: wrap;
gap: 0.8rem;
margin-bottom: 1.8rem;
}
.genre-badge {
padding: 0.5rem 1.1rem;
font-size: 0.8rem;
font-weight: 500;
background: var(--glass);
border: 1px solid var(--glass-border);
border-radius: 50px;
transition: var(--transition);
cursor: default;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.item-details-crew p {
margin-bottom: 0.5rem;
font-size: 0.95rem;
color: var(--text-secondary);
}
.item-details-crew strong {
color: var(--text-primary);
margin-right: 0.5em;
}
.item-details-external-links a {
display: inline-flex;
align-items: center;
gap: 0.5rem;
color: var(--text-secondary);
text-decoration: none;
padding: 0.4rem 0.9rem;
border: 1px solid var(--glass-border);
border-radius: 50px;
font-size: 0.85rem;
background: var(--glass);
transition: var(--transition);
}
.item-details-external-links a:hover {
color: var(--accent);
border-color: var(--accent);
background: rgba(0, 224, 255, 0.1);
}
.item-details-actions {
display: flex;
flex-wrap: wrap;
gap: 1rem;
margin-top: 2rem;
}
.item-details-section {
margin-bottom: 3.5rem;
}
.cast-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
gap: 1.8rem;
}
.cast-card {
text-align: center;
transition: var(--transition);
cursor: pointer;
background: var(--secondary);
padding: 1rem;
border-radius: var(--border-radius-md);
}
.cast-card:hover {
transform: translateY(-8px);
background: var(--glass);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.cast-photo {
width: 100px;
height: 100px;
border-radius: 50%;
object-fit: cover;
margin: 0 auto 1rem auto;
border: 3px solid var(--glass-border);
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
transition: var(--transition);
}
.cast-card:hover .cast-photo {
transform: scale(1.05);
border-color: var(--accent);
box-shadow: 0 6px 18px rgba(0, 224, 255, 0.25);
}
.cast-name {
font-size: 1rem;
font-weight: 600;
margin-bottom: 0.3rem;
color: var(--text-primary);
}
.cast-character {
font-size: 0.85rem;
color: var(--text-secondary);
}
.similar-items-grid, .filmography-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
gap: 1.5rem;
}
.similar-item-card {
background: transparent;
border-radius: var(--border-radius-md);
overflow: hidden;
transition: var(--transition);
cursor: pointer;
position: relative;
}
.similar-item-card:hover {
transform: translateY(-8px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}
.similar-item-card:hover .similar-item-poster {
transform: scale(1.05);
}
.similar-item-poster {
display: block;
width: 100%;
height: auto;
border-radius: var(--border-radius-md);
aspect-ratio: 2 / 3;
object-fit: cover;
transition: transform 0.4s ease;
}
.similar-item-info {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
padding: 0.8rem;
background: linear-gradient(to top, rgba(10, 10, 15, 0.95) 0%, transparent 100%);
border-bottom-left-radius: var(--border-radius-md);
border-bottom-right-radius: var(--border-radius-md);
}
.similar-item-title {
color: var(--text-primary);
font-size: 0.9rem;
font-weight: 500;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.seasons-tabs {
background: var(--card-bg);
border-radius: var(--border-radius-lg);
border: 1px solid var(--glass-border);
overflow: hidden;
}
.season-tabs-list {
display: flex;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
border-bottom: 1px solid var(--glass-border);
padding: 0.5rem 1.5rem 0;
margin-bottom: 1rem;
}
.season-tabs-list::-webkit-scrollbar {
height: 8px;
}
.season-tabs-list::-webkit-scrollbar-thumb {
background-color: var(--accent);
border-radius: 4px;
}
.season-tabs-list::-webkit-scrollbar-track {
background: transparent;
}
.season-tab-btn {
background: transparent;
border: none;
color: var(--text-secondary);
padding: 1rem 1.5rem;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: var(--transition);
white-space: nowrap;
position: relative;
border-bottom: 3px solid transparent;
}
.season-tab-btn.is-local::after {
content: '';
position: absolute;
top: 12px;
right: 12px;
width: 8px;
height: 8px;
background-color: var(--success);
border-radius: 50%;
border: 1px solid var(--primary);
box-shadow: 0 0 5px var(--success);
}
.season-tab-btn:hover {
color: var(--text-primary);
}
.season-tab-btn.active {
color: var(--accent);
border-bottom-color: var(--accent);
}
.episodes-container {
padding: 1.5rem;
}
.episodes-content-header {
display: flex;
gap: 1.5rem;
padding-bottom: 1.5rem;
margin-bottom: 1.5rem;
border-bottom: 1px solid var(--glass-border);
}
.episode-content-details {
flex-grow: 1;
}
.season-title {
font-size: 1.5rem;
font-weight: 600;
margin-bottom: 0.5rem;
}
.season-meta {
display: flex;
gap: 1.5rem;
font-size: 0.9rem;
color: var(--text-secondary);
margin-bottom: 0.8rem;
}
.season-meta span {
display: flex;
align-items: center;
gap: 0.5rem;
}
.season-overview {
font-size: 0.9rem;
line-height: 1.6;
color: var(--text-secondary);
}
.season-header-actions {
flex-shrink: 0;
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
}
.season-local-badge {
background: var(--gradient);
color: var(--primary);
font-size: 0.7rem;
padding: 0.4rem 1rem;
border-radius: 20px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.8px;
display: inline-flex;
align-items: center;
gap: 0.4rem;
box-shadow: 0 0 10px rgba(0, 224, 255, 0.4);
}
.download-season-btn {
width: 42px;
height: 42px;
font-size: 1rem;
background: var(--glass);
border: 1px solid var(--glass-border);
border-radius: 50%;
color: var(--text-primary);
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: var(--transition);
}
.download-season-btn:hover {
background: var(--accent);
color: var(--primary);
transform: scale(1.1);
}
.episodes-list {
display: grid;
gap: 1rem;
}
.episode-item {
display: grid;
grid-template-columns: 180px 1fr;
gap: 1.5rem;
padding: 1rem;
background: var(--secondary);
border-radius: var(--border-radius-md);
transition: background-color 0.3s ease;
cursor: pointer;
}
.episode-item:hover {
background: var(--glass);
}
.episode-item-image {
width: 100%;
border-radius: var(--border-radius-sm);
aspect-ratio: 16 / 9;
object-fit: cover;
}
.episode-item-content {
display: flex;
flex-direction: column;
}
.episode-item-header {
display: flex;
align-items: baseline;
gap: 1rem;
margin-bottom: 0.5rem;
}
.episode-item-number {
font-size: 1.2rem;
font-weight: 700;
color: var(--accent);
}
.episode-item-title {
font-size: 1.1rem;
font-weight: 600;
color: var(--text-primary);
}
.episode-item-meta {
display: flex;
flex-wrap: wrap;
gap: 0.5rem 1.5rem;
font-size: 0.85rem;
color: var(--text-secondary);
margin-bottom: 0.5rem;
}
.episode-item-overview {
font-size: 0.9rem;
line-height: 1.6;
color: var(--text-secondary);
margin-top: 0.5rem;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}
.episode-item.expanded .episode-item-overview {
display: block;
-webkit-line-clamp: unset;
}
.watch-providers-section {
margin-top: 2rem;
}
.watch-providers-grid {
display: flex;
flex-wrap: wrap;
gap: 1rem;
align-items: center;
}
.watch-providers-grid .provider-link {
display: block;
transition: var(--transition);
border-radius: var(--border-radius-md);
overflow: hidden;
}
.watch-providers-grid .provider-link:hover {
transform: scale(1.1);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.watch-providers-grid .provider-logo {
display: block;
width: 50px;
height: 50px;
object-fit: cover;
border-radius: var(--border-radius-md);
background-color: var(--glass);
border: 1px solid var(--glass-border);
}
.local-files-list {
background: var(--secondary);
border-radius: var(--border-radius-md);
border: 1px solid var(--glass-border);
padding: 1rem;
overflow-x: auto;
}
.local-files-list table {
width: 100%;
border-collapse: collapse;
}
.local-files-list th, .local-files-list td {
padding: 0.75rem 1rem;
text-align: left;
border-bottom: 1px solid var(--glass-border);
font-size: 0.9rem;
}
.local-files-list th {
font-weight: 600;
color: var(--text-primary);
position: sticky;
top: 0;
background: var(--secondary);
}
.local-files-list td {
color: var(--text-secondary);
}
.local-files-list tbody tr:last-child td {
border-bottom: none;
}
.local-files-list tbody tr:hover {
background-color: var(--glass);
}
.local-files-list .btn-sm {
padding: 0.25rem 0.6rem;
font-size: 0.8rem;
}
@media (max-width: 992px) {
.item-details-header {
flex-direction: column;
align-items: center;
text-align: center;
}
.item-details-container { padding-top: calc(5vh + var(--topbar-height)); }
.item-details-poster-wrapper { max-width: 350px; margin: 0 auto 1rem; }
.item-details-content { text-align: center; }
.item-details-meta, .item-details-genres, .item-details-crew, .item-details-actions, .item-details-external-links {
justify-content: center;
}
}
@media (max-width: 768px) {
.item-details-title { font-size: 2rem; }
.cast-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 1.5rem; }
.similar-items-grid, .filmography-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 1rem; }
.back-button { top: 1rem; left: 1rem; width: 38px; height: 38px; }
.item-details-poster-wrapper { max-width: 280px; }
.episodes-content-header { flex-direction: column; }
.season-header-actions { flex-direction: row; justify-content: center; width: 100%; }
.episode-item {
grid-template-columns: 1fr;
}
}
@media (max-width: 576px) {
.item-details-poster-wrapper { max-width: 240px; }
.item-details-title { font-size: 1.8rem; }
.cast-grid { grid-template-columns: repeat(auto-fill, minmax(95px, 1fr)); gap: 1rem; }
.cast-photo { width: 80px; height: 80px; }
.similar-items-grid, .filmography-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
@media (min-width: 992px) {
.back-button {
left: calc(var(--sidebar-width) + 2rem);
}
}