body.page-template-niriv-wallpaper {
font-family: 'Inter', sans-serif;
background: #0a0a0a;
color: #ffffff;
overflow-x: hidden;
}
.wallpaper-container {
background: #0a0a0a;
} .wallpaper-container .bg-black.border-b {
border-top-left-radius: 0 !important;
border-top-right-radius: 0 !important;
border-bottom-left-radius: 1rem !important;
border-bottom-right-radius: 1rem !important;
} .tab-content {
background: transparent;
} #wallpaper-grid,
#popular-grid,
#new-grid,
#favorites-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 0.25rem;
width: 100%;
padding: 0 0.5rem;
}
@media (min-width: 640px) {
#wallpaper-grid,
#popular-grid,
#new-grid,
#favorites-grid {
grid-template-columns: repeat(2, 1fr);
gap: 0.375rem;
padding: 0 0.75rem;
}
}
@media (min-width: 768px) {
#wallpaper-grid,
#popular-grid,
#new-grid,
#favorites-grid {
grid-template-columns: repeat(3, 1fr);
gap: 0.5rem;
padding: 0 1rem;
}
}
@media (min-width: 1024px) {
#wallpaper-grid,
#popular-grid,
#new-grid,
#favorites-grid {
grid-template-columns: repeat(3, 1fr);
gap: 0.625rem;
padding: 0 1rem;
}
}
@media (min-width: 1280px) {
#wallpaper-grid,
#popular-grid,
#new-grid,
#favorites-grid {
grid-template-columns: repeat(3, 1fr);
gap: 0.75rem;
padding: 0 1rem;
}
} .wallpaper-item {
transition: transform 0.2s ease;
width: 100%;
min-height: 300px;
overflow: hidden;
position: relative;
}
.wallpaper-item img {
transition: transform 0.3s ease;
width: 100%;
height: 100%;
min-height: 300px;
object-fit: cover;
display: block;
opacity: 1;
} .wallpaper-item .absolute.inset-0 {
pointer-events: none;
}
.wallpaper-item:hover .absolute.inset-0 {
pointer-events: auto;
} #search-input {
background: #1a1a1a;
border: 1px solid #333;
color: #ffffff;
}
#search-input:focus {
background: #2a2a2a;
border-color: #3b82f6;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
#search-input::placeholder {
color: #6b7280;
} .category-btn {
transition: all 0.2s ease;
}
.category-btn:hover {
transform: translateY(-1px);
}
.category-btn.bg-blue-600 {
background: #3b82f6 !important;
color: #ffffff !important;
} #sort-select {
background: #1a1a1a;
border: 1px solid #333;
color: #ffffff;
}
#sort-select:focus {
border-color: #3b82f6;
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
} .nav-btn {
transition: color 0.2s ease;
border: none !important;
background: none !important;
outline: none !important;
}
.nav-btn.active {
color: #3b82f6 !important;
border: none !important;
background: none !important;
outline: none !important;
}
.nav-btn.active i {
color: #3b82f6 !important;
}
.nav-btn.active div {
color: #3b82f6 !important;
}
.nav-btn:hover {
color: #3b82f6;
border: none !important;
background: none !important;
outline: none !important;
} .fixed.bottom-4 {
background: rgba(17, 17, 17, 0.95);
backdrop-filter: blur(10px);
border: 1px solid #333;
} .fixed.left-4 {
background: rgba(17, 17, 17, 0.95);
backdrop-filter: blur(10px);
border: 1px solid #333;
} #image-modal {
backdrop-filter: blur(10px);
position: fixed !important;
top: 0 !important;
left: 0 !important;
width: 100vw !important;
height: 100vh !important;
padding: 0 !important;
margin: 0 !important;
}
#image-modal img {
image-rendering: high-quality;
image-rendering: -webkit-optimize-contrast;
image-rendering: crisp-edges;
image-rendering: auto;
width: 100% !important;
height: 100% !important;
object-fit: cover !important;
object-position: center top !important;
}
#image-info {
background: rgba(0, 0, 0, 0.8) !important;
backdrop-filter: blur(10px);
} .bg-gray-900 {
background: #1a1a1a !important;
}
.border-gray-700 {
border-color: #333 !important;
} .animate-spin {
animation: spin 1s linear infinite;
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
} #toast-container {
z-index: 9999;
} ::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
background: #333;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #555;
} @media (max-width: 640px) {
.wallpaper-container .px-4 {
padding-left: 1rem;
padding-right: 1rem;
}
.wallpaper-container .py-4 {
padding-top: 1rem;
padding-bottom: 1rem;
}
} button:focus,
input:focus,
select:focus {
outline: 2px solid #3b82f6;
outline-offset: 2px;
} button:hover {
transform: translateY(-1px);
}
button:active {
transform: translateY(0);
} .wallpaper-item img {
opacity: 1;
transition: opacity 0.3s ease;
width: 100%;
height: 100%;
min-height: 300px;
object-fit: cover;
border-radius: 0.75rem;
display: block;
position: relative;
z-index: 1;
}
.wallpaper-item img.loaded {
opacity: 1;
} .wallpaper-item .absolute.inset-0 {
z-index: 2;
pointer-events: none;
}
.wallpaper-item:hover .absolute.inset-0 {
pointer-events: auto;
} .favorite-btn i {
transition: all 0.2s ease;
}
.favorite-btn:hover i {
transform: scale(1.1);
} .download-btn i {
transition: all 0.2s ease;
}
.download-btn:hover i {
transform: scale(1.1);
} .category-btn.active {
background: #3b82f6 !important;
color: #ffffff !important;
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
} #search-btn:hover {
background: rgba(59, 130, 246, 0.1);
color: #3b82f6;
} #close-modal:hover {
background: rgba(255, 255, 255, 0.1) !important;
} input[type="radio"]:checked {
accent-color: #3b82f6;
}
input[type="checkbox"]:checked {
accent-color: #3b82f6;
} .wallpaper-skeleton {
background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
background-size: 200% 100%;
animation: loading 1.5s infinite;
}
@keyframes loading {
0% {
background-position: 200% 0;
}
100% {
background-position: -200% 0;
}
} .error-state {
text-align: center;
padding: 2rem;
color: #6b7280;
}
.error-state i {
font-size: 3rem;
margin-bottom: 1rem;
opacity: 0.5;
} .empty-state {
text-align: center;
padding: 3rem 1rem;
color: #6b7280;
}
.empty-state i {
font-size: 4rem;
margin-bottom: 1rem;
opacity: 0.3;
} .bg-gray-800 {
background-color: #1a1a1a !important;
}
.bg-gray-900 {
background-color: #0f0f0f !important;
}
.text-gray-300 {
color: #d1d5db !important;
}
.text-gray-400 {
color: #9ca3af !important;
}
.text-gray-500 {
color: #6b7280 !important;
}
.border-gray-700 {
border-color: #374151 !important;
}
.border-gray-800 {
border-color: #1f2937 !important;
} .fade-in {
animation: fadeIn 0.3s ease-in;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.slide-up {
animation: slideUp 0.3s ease-out;
}
@keyframes slideUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
} .wallpaper-item {
will-change: transform;
}
.wallpaper-item img {
will-change: transform;
} @media (prefers-reduced-motion: reduce) {
* {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}