.gallery-hero-placeholder { height: var(--nav-height); width: 100%; } .gallery-controls { display: flex; gap: 1.5rem; align-items: center; margin-bottom: 2rem; padding-top: 1rem; } .provider-selector { appearance: none; width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding-right: 2.5rem; border-radius: 99px; color: var(--color-text-primary); font-family: inherit; font-size: 1rem; cursor: pointer; transition: 0.2s; } .provider-selector:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 15px var(--color-primary-glow); } .provider-icon { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--color-text-secondary); font-size: 0.8rem; } .gallery-results { position: relative; padding-bottom: 3rem; margin: 0 -0.75rem; } .gallery-card { width: calc(25% - 1.5rem); margin: 0.75rem; background: var(--bg-surface); border-radius: var(--radius-md); overflow: hidden; cursor: pointer; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); border: 1px solid rgba(255,255,255,0.05); position: relative; opacity: 0; transform: translateY(20px) scale(0.98); } .gallery-card.is-loaded { opacity: 1; transform: translateY(0) scale(1); } .gallery-card:hover { transform: translateY(-8px); z-index: 10; } .gallery-card-img { width: 100%; height: auto; object-fit: cover; display: block; transition: transform 0.4s ease; } .gallery-card:hover .gallery-card-img { transform: scale(1.05); } .fav-btn { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,0.6); color: white; border: none; border-radius: 50%; width: 38px; height: 38px; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(6px); transition: all 0.25s ease; z-index: 3; } .fav-btn:hover { background: rgba(0,0,0,0.85); transform: scale(1.15); } .fav-btn.favorited { color: #ff6b6b; background: rgba(255, 107, 107, 0.25); box-shadow: 0 0 12px rgba(255, 107, 107, 0.4); } .provider-badge { position: absolute; bottom: 8px; left: 8px; background: rgba(0,0,0,0.7); color: white; font-size: 0.75rem; font-weight: 500; padding: 5px 9px; border-radius: 6px; backdrop-filter: blur(6px); z-index: 2; } @media (max-width: 1200px) { .gallery-card { width: calc(33.333% - 1.5rem); } } @media (max-width: 900px) { .gallery-card { width: calc(50% - 1.5rem); } } @media (max-width: 600px) { .gallery-card { width: calc(100% - 1.5rem); } .fav-btn { width: 42px; height: 42px; font-size: 1.4rem; } } .gallery-card.skeleton { min-height: 250px; aspect-ratio: 1/1.4; display: flex; align-items: center; justify-content: center; } .load-more-container { display: flex; justify-content: center; padding: 2rem 0 4rem 0; } .provider-and-fav { display: flex; gap: 12px; align-items: center; position: relative; } .fav-toggle-btn { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.07); color: var(--color-text-primary); border: 1px solid rgba(255,255,255,0.15); padding: 0.7rem 1rem; border-radius: 99px; font-size: 0.95rem; font-family: inherit; cursor: pointer; transition: all 0.25s ease; white-space: nowrap; } .fav-toggle-btn:hover { background: rgba(255,255,255,0.12); border-color: var(--color-primary); } .fav-toggle-btn.active { background: rgba(255,107,107,0.2); border-color: #ff6b6b; color: #ff6b6b; box-shadow: 0 0 15px rgba(255,107,107,0.3); } .fav-toggle-btn.active i { color: #ff6b6b; animation: beat 1.4s ease infinite; } .fav-toggle-btn i { font-size: 1.1rem; transition: color 0.25s; } @keyframes beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } } @media (max-width: 720px) { .fav-text { display: none; } .fav-toggle-btn { padding: 0.7rem 0.9rem; } .provider-and-fav { gap: 8px; } } .gallery-controls { display: flex; gap: 1.5rem; /* Reduced gap since there are fewer items */ align-items: center; margin-bottom: 2rem; padding-top: 1rem; /* Center the provider selector since it's the only one */ justify-content: flex-start; } .provider-selector { appearance: none; width: auto; /* Allow it to shrink */ max-width: 250px; /* Adjusted for better fit */ background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: var(--color-text-primary); padding: 0.75rem 2.8rem 0.75rem 1rem; border-radius: 99px; font-size: 0.95rem; cursor: pointer; min-width: 170px; flex-shrink: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888888' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 6.646a.5.5 0 0 1 .708 0L8 9.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; transition: all 0.25s ease; } .provider-selector:hover { background-color: rgba(255,255,255,0.12); border-color: var(--color-primary); } .provider-selector:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(255,107,107,0.2); } .provider-selector option { background: #111; color: white; padding: 12px; } .search-gallery-wrapper { position: relative; width: 300px; z-index: 2000; } .fav-toggle-btn { flex-shrink: 0; display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.08); color: var(--color-text-primary); border: 1px solid rgba(255,255,255,0.15); padding: 0.75rem 1.1rem; border-radius: 99px; font-size: 0.95rem; cursor: pointer; transition: all 0.3s ease; white-space: nowrap; } .fav-toggle-btn:hover { background: rgba(255,255,255,0.15); border-color: #ff6b6b; } .fav-toggle-btn.active { background: rgba(255,107,107,0.25); border-color: #ff6b6b; color: #ff6b6b; box-shadow: 0 0 15px rgba(255,107,107,0.4); } .fav-toggle-btn.active i { color: #ff6b6b; animation: heartbeat 1.5s ease infinite; } @keyframes heartbeat { 0%,100%{transform:scale(1)} 50%{transform:scale(1.2)} } @media (max-width: 900px) { .gallery-controls { flex-wrap: wrap; gap: 0.8rem; } .provider-selector { max-width: none; width: 48%; } .search-gallery-wrapper { order: -1; width: 100%; } .fav-toggle-btn { width: 48%; justify-content: center; } .fav-text { display: none; } }