body {
    font-family: Arial, sans-serif;
    background-color: #1e1e1e;
    color: #fff;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 960px;
}

#randomizeBtn {
    display: block;
    margin: 0 auto 20px auto;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #3b7ddd;
    color: white;
}

.trees-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
}

.tree {
    background-color: #2b2b2b;
    padding: 10px;
    border-radius: 8px;
    flex: 1;
    min-width: 250px;
}

.tree-title {
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
}

.rune-row, .shard-row {
    display: flex;
    justify-content: space-around;
    margin-bottom: 10px;
}

.rune, .shard {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    position: relative;
}

.shard {
    width: 32px;
    height: 32px;
}

.rune img, .shard img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.selected::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 2px solid #ffd700;
    box-sizing: border-box;
    border-radius: 5px;
}

.rune:not(.selected) img,
.shard:not(.selected) img {
    opacity: 0.4;
}
