262 lines
5.4 KiB
CSS
262 lines
5.4 KiB
CSS
.gallery-hero-placeholder { height: var(--nav-height); width: 100%; }
|
|
|
|
.item-content-flex-wrapper {
|
|
display: flex;
|
|
gap: 3rem;
|
|
padding: 2rem 0 4rem;
|
|
min-height: 80vh;
|
|
max-width: 1400px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.image-col {
|
|
flex: 2;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: flex-start;
|
|
position: relative;
|
|
}
|
|
|
|
.item-image {
|
|
max-width: 100%;
|
|
max-height: 85vh;
|
|
border-radius: var(--radius-lg, 16px);
|
|
box-shadow: 0 20px 50px rgba(0,0,0,0.6);
|
|
object-fit: contain;
|
|
transition: all 0.4s ease;
|
|
cursor: zoom-in;
|
|
}
|
|
|
|
.item-image:hover {
|
|
transform: scale(1.02);
|
|
box-shadow: 0 30px 70px rgba(0,0,0,0.7);
|
|
}
|
|
|
|
.info-col {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2rem;
|
|
min-width: 300px;
|
|
}
|
|
|
|
.info-header h1 {
|
|
font-size: 2.4rem;
|
|
margin: 0 0 0.8rem 0;
|
|
line-height: 1.2;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.provider-name {
|
|
color: var(--color-text-secondary);
|
|
font-size: 1rem;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.actions-row {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.action-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
padding: 1rem 1.5rem;
|
|
border-radius: 99px;
|
|
font-size: 1.05rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
text-decoration: none;
|
|
border: none;
|
|
}
|
|
|
|
.fav-action {
|
|
background: rgba(255,255,255,0.08);
|
|
border: 2px solid rgba(255,255,255,0.2);
|
|
color: white;
|
|
}
|
|
|
|
.fav-action:hover { background: rgba(255,255,255,0.15); }
|
|
.fav-action.favorited {
|
|
background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
|
|
border-color: #ff6b6b;
|
|
color: white;
|
|
animation: pulse 2s infinite;
|
|
}
|
|
|
|
.fav-action i { font-size: 1.4rem; }
|
|
.fav-action.favorited i { animation: heartbeat 1.4s ease infinite; }
|
|
|
|
@keyframes heartbeat {
|
|
0%,100% { transform: scale(1); }
|
|
50% { transform: scale(1.25); }
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0% { box-shadow: 0 0 0 0 rgba(255,107,107,0.4); }
|
|
70% { box-shadow: 0 0 0 12px rgba(255,107,107,0); }
|
|
100% { box-shadow: 0 0 0 0 rgba(255,107,107,0); }
|
|
}
|
|
|
|
.download-btn {
|
|
background: var(--color-primary);
|
|
color: white;
|
|
}
|
|
|
|
.download-btn:hover {
|
|
background: #7c4dff;
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 10px 30px rgba(139,92,246,0.4);
|
|
}
|
|
|
|
.copy-link-btn {
|
|
background: rgba(255,255,255,0.1);
|
|
border: 2px solid rgba(255,255,255,0.2);
|
|
color: white;
|
|
}
|
|
|
|
.copy-link-btn:hover { background: rgba(255,255,255,0.18); }
|
|
|
|
.tags-section h3 {
|
|
margin: 0 0 1rem 0;
|
|
color: var(--color-text-secondary);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.tag-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.6rem;
|
|
}
|
|
|
|
.tag-item {
|
|
background: rgba(139,92,246,0.2);
|
|
color: var(--color-primary);
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 99px;
|
|
font-size: 0.95rem;
|
|
text-decoration: none;
|
|
transition: all 0.2s;
|
|
backdrop-filter: blur(4px);
|
|
}
|
|
|
|
.tag-item:hover {
|
|
background: rgba(139,92,246,0.4);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.item-content-flex-wrapper { flex-direction: column; align-items: center; gap: 2rem; }
|
|
.info-col { width: 100%; max-width: 600px; }
|
|
.item-image { max-height: 70vh; }
|
|
.actions-row { flex-direction: row; }
|
|
.action-btn { flex: 1; }
|
|
}
|
|
|
|
@media (max-width: 500px) {
|
|
.actions-row { flex-direction: column; }
|
|
.action-btn { padding: 0.9rem; font-size: 1rem; }
|
|
}
|
|
|
|
.similar-section {
|
|
margin-top: 4rem;
|
|
padding: 2rem 0;
|
|
border-top: 1px solid rgba(255,255,255,0.1);
|
|
max-width: 1400px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.similar-section h3 {
|
|
margin: 0 0 1.5rem 0;
|
|
font-size: 1.6rem;
|
|
color: var(--color-text-primary);
|
|
text-align: center;
|
|
}
|
|
|
|
.similar-grid {
|
|
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
|
gap: 1rem;
|
|
padding: 1rem 0;
|
|
}
|
|
|
|
.similar-card {
|
|
|
|
height: 180px;
|
|
border-radius: var(--radius-lg, 16px);
|
|
overflow: hidden;
|
|
position: relative;
|
|
cursor: pointer;
|
|
transition: transform 0.3s ease;
|
|
box-shadow: 0 8px 25px rgba(0,0,0,0.4);
|
|
}
|
|
|
|
.similar-card:hover {
|
|
transform: scale(1.03);
|
|
}
|
|
|
|
.similar-card img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
transition: opacity 0.3s;
|
|
}
|
|
|
|
.similar-card:hover img {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.similar-card::after {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background: linear-gradient(transparent 60%, rgba(0,0,0,0.7));
|
|
pointer-events: none;
|
|
}
|
|
|
|
.similar-overlay {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
padding: 1rem;
|
|
color: white;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
text-shadow: 0 1px 3px rgba(0,0,0,0.8);
|
|
}
|
|
|
|
.back-btn {
|
|
position: fixed;
|
|
top: 5rem; left: 2rem; z-index: 100;
|
|
display: flex; align-items: center; gap: 0.5rem;
|
|
padding: 0.8rem 1.5rem;
|
|
background: var(--color-glass-bg); backdrop-filter: blur(12px);
|
|
border: var(--glass-border); border-radius: var(--radius-full);
|
|
color: white; text-decoration: none; font-weight: 600;
|
|
transition: all 0.2s ease;
|
|
}
|
|
body.electron .back-btn {
|
|
top: 115px !important;
|
|
}
|
|
.back-btn:hover { background: rgba(255, 255, 255, 0.15); transform: translateX(-5px); }
|
|
|
|
@media (max-width: 768px) {
|
|
.similar-grid {
|
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
padding: 1rem;
|
|
}
|
|
.similar-card { height: 140px; }
|
|
}
|
|
|
|
@media (max-width: 500px) {
|
|
.similar-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
} |