body {
    overflow: auto !important;
    display: block !important;
    height: auto !important;
    width: auto !important;
}

.elements-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    background: transparent;
}

header {
    text-align: center;
    margin-bottom: 4rem;
}

.back-link {
    display: inline-block;
    color: var(--accent-primary);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.back-link:hover {
    letter-spacing: 0.4rem;
    text-shadow: 0 0 10px var(--accent-primary);
}

h1 {
    font-size: 3.5rem !important;
    color: #fff !important;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2) !important;
}

.category {
    margin-bottom: 5rem;
}

.category h2 {
    font-size: 1.5rem;
    color: var(--accent-primary);
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.5rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
}

.element-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.element-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.1);
}

.element-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
}

.element-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 0.1rem;
    color: #fff;
}

.element-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.boss {
    grid-column: span 1;
    border-color: var(--accent-secondary);
}

.boss:hover {
    border-color: var(--accent-secondary);
    box-shadow: 0 10px 30px rgba(255, 0, 234, 0.1);
}

.boss-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-secondary);
    color: #fff;
    font-size: 0.6rem;
    padding: 2px 8px;
    border-radius: 2px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Animations */
.grid>div {
    animation: fadeIn 0.6s ease forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.grid>div:nth-child(1) {
    animation-delay: 0.5s;
}

.lvl3-theme h2 {
    color: #7FFF00 !important;
    text-shadow: 0 0 10px rgba(127, 255, 0, 0.3);
}

.lvl3-theme .element-card:hover {
    border-color: #7FFF00;
    box-shadow: 0 10px 30px rgba(127, 255, 0, 0.1);
}

.lvl4-theme h2 {
    color: #FF4500 !important;
    text-shadow: 0 0 10px rgba(255, 69, 0, 0.3);
}

.lvl4-theme .element-card:hover {
    border-color: #FF4500;
    box-shadow: 0 10px 30px rgba(255, 69, 0, 0.1);
}

.grid>div:nth-child(2) {
    animation-delay: 0.2s;
}

.grid>div:nth-child(3) {
    animation-delay: 0.3s;
}

.grid>div:nth-child(4) {
    animation-delay: 0.4s;
}

.grid>div:nth-child(5) {
    animation-delay: 0.5s;
}