body {
    background-color: #1D1A19;
    color: #ffffff;
    max-width: 1080px;
    margin: 0 auto;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

#options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.option-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 10px;
    border: 2px solid #444;
    background-color: #2a2a2a;
    transition: 0.2s;
    filter: grayscale(100%);
    opacity: 0.4;

    width: 100px;
    height: 110px;
    padding: 10px;
}

.option-img {
    width: 60px;
    height: 60px;
    margin-bottom: 5px;
    object-fit: contain;
}

.option-btn span {
    font-size: 14px;
    font-weight: bold;
}

#lobster-button.active {
    filter: grayscale(0%);
    opacity: 1;
    border-color: #ff4500;
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.5);
}

.item-btn.active {
    filter: grayscale(0%);
    opacity: 1;
    border-color: #40d63b;
    box-shadow: 0 0 10px rgba(21, 124, 26, 0.5);
}

#count-display {
    font-size: 18px;
    font-weight: bold;
    color: #ffcc00;
    margin-left: 5px;
    margin-top: 5px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-bottom: 30px;
}

.unit-card {
    border: 2px solid #444;
    text-align: center;
    cursor: default;
    transition: all 0.2s ease-in-out;
    filter: grayscale(100%);
    opacity: 0.2;
}

.unit-card.unlocked {
    filter: grayscale(0%);
    opacity: 0.6;
    border-color: #666;
    cursor: pointer;
}

.unit-card.active {
    opacity: 1 !important;
    transform: scale(1.05);
    filter: grayscale(0%) !important;
    z-index: 10;
}

#basic-container .unit-card.active {
    border: 4px solid #b0b0b0 !important;
    box-shadow: 0 0 10px rgba(176, 176, 176, 0.7);
}

#legendary-container .unit-card.active {
    border: 4px solid #ff8c00 !important;
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.8);
}

#mythic-container .unit-card.active {
    border: 4px solid #ffffff !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.9);
}

.unit-card.locked {
    pointer-events: none;
}

.unit-card img {
    width: 100%;
    display: block;
}

.unit-card p {
    margin: 5px 0;
    font-size: 12px;
    color: #ccc;
}

#active-synergies-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.synergy-item {
    width: 68px;
    height: 68px;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #222;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

#synergy-header {
    margin-bottom: 40px;
}

.synergy-item.inactive {
    border: 4px solid #444;
    filter: grayscale(100%);
    opacity: 0.4;
}

.synergy-item.silver {
    border: 4px solid #c0c0c0 !important;
    filter: grayscale(0%);
    opacity: 1;
    box-shadow: 0 0 8px rgba(192, 192, 192, 0.4);
}

.synergy-item.gold {
    border: 4px solid #ffd700 !important;
    filter: grayscale(0%);
    opacity: 1;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
}

.synergy-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#made-by {
    text-align: right;
    font-size: 14px;
    color: #555;
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 1px;

}