:root { --primary-color: #9147ff; --secondary-color: #5c16c5; --accent-color: #bf94ff; --dark-color: #1a1a1a; --light-color: #f8f8f8; --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%); } * { margin: 0; padding: 0; box-sizing: border-box; } body { min-height: 100vh; font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; background: url('img/background.webp') no-repeat center center fixed; background-size: cover; color: var(--light-color); position: relative; } body::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); z-index: 1; } .header { position: fixed; top: 0; left: 0; width: 100%; background: rgba(26, 26, 26, 0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 15px 20px; z-index: 1000; box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2); border-bottom: 1px solid rgba(145, 71, 255, 0.2); display: flex; justify-content: space-between; align-items: center; } .header-content { display: flex; align-items: center; width: 100%; max-width: 1200px; margin: 0 auto; justify-content: space-between; } .header-title { font-size: 1.8rem; font-weight: 700; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; margin-right: 20px; } .header-nav { display: flex; gap: 15px; } .nav-link { padding: 8px 16px; background: rgba(26, 26, 26, 0.5); color: var(--accent-color); text-decoration: none; border-radius: 8px; border: 1px solid rgba(145, 71, 255, 0.3); transition: all 0.3s ease; display: flex; align-items: center; gap: 8px; font-size: 0.9rem; } .nav-link:hover, .nav-link.active { background: var(--gradient); color: white; box-shadow: 0 4px 15px rgba(92, 22, 197, 0.3); } .main-content { position: relative; z-index: 10; padding: 100px 20px 40px; max-width: 1200px; margin: 0 auto; } .gallery-stats { background: rgba(26, 26, 26, 0.8); backdrop-filter: blur(10px); border-radius: 10px; padding: 15px 20px; margin-bottom: 30px; border: 1px solid rgba(145, 71, 255, 0.2); text-align: center; } .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; } .image-card { background: rgba(26, 26, 26, 0.9); border-radius: 15px; overflow: hidden; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); border: 1px solid rgba(145, 71, 255, 0.2); transition: all 0.3s ease; backdrop-filter: blur(10px); } .image-card:hover { transform: translateY(-5px); box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4); border-color: var(--accent-color); } .image-container { position: relative; width: 100%; height: 250px; overflow: hidden; } .image-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; } .image-card:hover img { transform: scale(1.05); } .image-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); opacity: 0; transition: opacity 0.3s ease; display: flex; align-items: center; justify-content: center; gap: 10px; } .image-card:hover .image-overlay { opacity: 1; } .overlay-btn { background: var(--gradient); color: white; border: none; padding: 10px 15px; border-radius: 8px; cursor: pointer; font-size: 0.9rem; transition: all 0.3s ease; display: flex; align-items: center; gap: 5px; } .overlay-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(92, 22, 197, 0.4); } .overlay-btn.delete { background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%); } .image-info { padding: 20px; } .image-filename { font-weight: 600; color: var(--accent-color); margin-bottom: 10px; word-break: break-word; } .image-details { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 15px; font-size: 0.85rem; color: #ccc; } .detail-item { display: flex; align-items: center; gap: 5px; } .link-container { background: rgba(40, 40, 40, 0.8); padding: 10px; border-radius: 10px; width: 100%; margin-top: 15px; } .toggle-links-btn { background: rgba(145, 71, 255, 0.2); color: var(--accent-color); border: none; border-radius: 8px; padding: 8px 12px; width: 100%; text-align: left; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: all 0.3s ease; font-size: 0.85rem; } .toggle-links-btn:hover { background: rgba(145, 71, 255, 0.3); } .toggle-links-btn i { transition: transform 0.3s ease; } .links-content { margin-top: 10px; animation: fadeIn 0.3s ease; display: none; } .link-item { margin-bottom: 12px; } .link-item label { display: block; margin-bottom: 5px; color: var(--accent-color); font-size: 0.85rem; } .link-row { display: flex; align-items: center; gap: 8px; } .link-input { flex: 1; padding: 6px 10px; border-radius: 5px; border: 1px solid rgba(145, 71, 255, 0.3); background: rgba(30, 30, 30, 0.8); color: white; font-size: 0.85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .small-copy-btn { background: var(--gradient); color: white; border: none; border-radius: 5px; padding: 6px 10px; cursor: pointer; transition: all 0.2s ease; display: flex; align-items: center; justify-content: center; } .small-copy-btn:hover { transform: translateY(-1px); box-shadow: 0 2px 8px rgba(92, 22, 197, 0.3); } .small-copy-btn i { font-size: 0.8rem; } @keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } } .loading { text-align: center; padding: 40px; font-size: 1.2rem; color: var(--accent-color); } .loading i { animation: spin 1s linear infinite; margin-right: 10px; } .empty-state { text-align: center; padding: 60px 20px; color: #ccc; } .empty-state i { font-size: 4rem; margin-bottom: 20px; color: var(--accent-color); } .empty-state h2 { font-size: 1.5rem; margin-bottom: 10px; } .empty-state p { margin-bottom: 20px; } .empty-state a { color: var(--accent-color); text-decoration: none; } .modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.9); } .modal-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: 90%; max-height: 90%; } .modal img { max-width: 100%; max-height: 100%; border-radius: 10px; } .modal-close { position: absolute; top: 20px; right: 30px; color: white; font-size: 40px; cursor: pointer; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } @media (max-width: 768px) { .main-content { padding: 90px 15px 20px; } .gallery { grid-template-columns: 1fr; gap: 20px; } .header-title { font-size: 1.4rem; } .header-nav { gap: 8px; } .nav-link { padding: 6px 10px; font-size: 0.8rem; } } @media (max-width: 480px) { .header-title { display: none; } .header-nav { width: 100%; justify-content: space-around; } .image-details { grid-template-columns: 1fr; } }