.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px 30px;
    margin-top: 30px;
    margin-bottom: 60px;
}

.tile {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 36px;
    background: #111;
    border: 1px solid #222;
    border-radius: 6px;
    color: #f0f0f0;
    font-size: 1.15rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
    filter: drop-shadow(0 0 30px rgba(0, 0, 0, 1));
}

.tile i {
    font-size: 3rem;
    color: #f0f0f0;
    opacity: 1;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.tile:hover {
    background: #1a1a1a;
    border-color: #444;
    transform: translateY(-5px);
}

.tile:hover i {
    transform: scale(1.15);
}

.dashboard-search {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    z-index: 1;
}

.dashboard-search input {
    width: 100%;
    max-width: 1000px;
    padding: 10px 14px;
    font-size: 0.95rem;
    color: #f0f0f0;
    background-color: #111;
    border: 1px solid #222;
    border-radius: 6px;
    outline: none;
    transition: all 0.3s ease;
    margin-top: 30px;
    margin-bottom: 30px;
    z-index: 1;
    filter: drop-shadow(0 0 30px rgba(0, 0, 0, 1));
}

.dashboard-search input::placeholder {
    color: #888;
}

.dashboard-search input:focus {
    background-color: #0e0e0e;
    border-color: #444;
}

.dashboard-sort {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: start;
    z-index: 1;
    position: relative;
}

.dashboard-sort select {
    padding: 6px 10px;
    border-radius: 4px;
    background: none;
    border: none;
    color: #f0f0f0;
    background-color: rgba(255, 255, 255, 0.08);
    font-size: 1rem;
    cursor: pointer;
}

.dashboard-sort option {
    background-color: #0e0e0e;
    color: #f0f0f0;
}

.dashboard-sort select:hover {
    border-color: #555;
    background-color: #1a1a1a;
}

.dashboard-sort select:focus {
    border-color: #888;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

#redplanet {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 0;
    transform: scale(1.5);
    pointer-events: none;
    user-select: none;
    opacity: 0.5;
    filter: drop-shadow(0 0 100px rgba(255, 255, 255, 0.2));
    animation: planetRotate 15s ease-in-out infinite;
}

@media (max-width: 1440px) {
    #redplanet {
        transform: scale(1);
        animation: planetRotate2 15s ease-in-out infinite;
        top: -150px;
        left: 50vw;
    }
}

@media (max-width: 1024px) {
    #redplanet {
        transform: scale(0.75);
        animation: planetRotate3 15s ease-in-out infinite;
        left: 40vw;
        top: -200px;
    }
}

@media (max-width: 768px) {
    #redplanet {
        transform: scale(0.5);
        animation: planetRotate4 15s ease-in-out infinite;
        left: 20vw;
        top: -200px;
    }
}

@media (max-width: 456px) {
    #redplanet {
        left: 0;
        top: -240px;
    }
}

@keyframes planetRotate {
    0% {
        transform: scale(1.5) rotate(0deg);
        filter: drop-shadow(0 0 100px rgba(255, 255, 255, 0.2));
    }

    25% {
        transform: scale(1.5) rotate(5deg);
        filter: drop-shadow(0 0 100px rgba(255, 255, 255, 0.6));
    }

    50% {
        transform: scale(1.5) rotate(0deg);
        filter: drop-shadow(0 0 100px rgba(255, 255, 255, 0.45));
    }

    75% {
        transform: scale(1.5) rotate(-5deg);
        filter: drop-shadow(0 0 100px rgba(255, 255, 255, 0.3));
    }

    100% {
        transform: scale(1.5) rotate(0deg);
        filter: drop-shadow(0 0 100px rgba(255, 255, 255, 0.2));
    }
}

@keyframes planetRotate2 {
    0% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 100px rgba(255, 255, 255, 0.2));
    }

    25% {
        transform: scale(1) rotate(5deg);
        filter: drop-shadow(0 0 100px rgba(255, 255, 255, 0.6));
    }

    50% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 100px rgba(255, 255, 255, 0.45));
    }

    75% {
        transform: scale(1) rotate(-5deg);
        filter: drop-shadow(0 0 100px rgba(255, 255, 255, 0.3));
    }

    100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 100px rgba(255, 255, 255, 0.2));
    }
}

@keyframes planetRotate3 {
    0% {
        transform: scale(0.75) rotate(0deg);
        filter: drop-shadow(0 0 100px rgba(255, 255, 255, 0.2));
    }

    25% {
        transform: scale(0.75) rotate(5deg);
        filter: drop-shadow(0 0 100px rgba(255, 255, 255, 0.6));
    }

    50% {
        transform: scale(0.75) rotate(0deg);
        filter: drop-shadow(0 0 100px rgba(255, 255, 255, 0.45));
    }

    75% {
        transform: scale(0.75) rotate(-5deg);
        filter: drop-shadow(0 0 100px rgba(255, 255, 255, 0.3));
    }

    100% {
        transform: scale(0.75) rotate(0deg);
        filter: drop-shadow(0 0 100px rgba(255, 255, 255, 0.2));
    }
}

@keyframes planetRotate4 {
    0% {
        transform: scale(0.5) rotate(0deg);
        filter: drop-shadow(0 0 100px rgba(255, 255, 255, 0.2));
    }

    25% {
        transform: scale(0.5) rotate(5deg);
        filter: drop-shadow(0 0 100px rgba(255, 255, 255, 0.6));
    }

    50% {
        transform: scale(0.5) rotate(0deg);
        filter: drop-shadow(0 0 100px rgba(255, 255, 255, 0.45));
    }

    75% {
        transform: scale(0.5) rotate(-5deg);
        filter: drop-shadow(0 0 100px rgba(255, 255, 255, 0.3));
    }

    100% {
        transform: scale(0.5) rotate(0deg);
        filter: drop-shadow(0 0 100px rgba(255, 255, 255, 0.2));
    }
}

.planetWrapper #planetgradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, black 60%);
    z-index: 1;
    pointer-events: none;
    user-select: none;
    bottom: -30px;
    left: 0;
}

.planetWrapper {
    overflow: hidden;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.planetWrapper img {
    z-index: -10;
}

.planetWrapper .scrollbarfix {
    position: fixed;
    background-color: black;
    z-index: 0;
    top: 0;
    right: 0;
    width: 15px;
    height: 100%;
}
