body {
    font-family: 'Arial', sans-serif;
    background-color: #1a1a2e;
    color: #e0e0e0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#app {
    display: flex;
    width: 95%;
    height: 85vh;
    background-color: #16213e;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#map-container {
    flex: 2;
    padding: 20px;
}

#world-map svg {
    cursor: crosshair;
}

#controls {
    flex: 1;
    background-color: #0f3460;
    padding: 20px;
    overflow-y: auto;
}

.weapon-category {
    margin-bottom: 20px;
    background-color: #1a1a2e;
    padding: 15px;
    border-radius: 10px;
}

.weapon-category h3 {
    color: #e94560;
    margin-bottom: 10px;
    text-align: center;
}

.bomb-type {
    background-color: #16213e;
    margin: 10px 0;
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.bomb-type:hover {
    transform: scale(1.05);
    background-color: #0f3460;
}

.bomb-type.selected {
    background-color: #e94560;
    color: white;
}

#instructions {
    background-color: #1a1a2e;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin-top: 20px;
}

#impact-stats {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0,0,0,0.7);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 100%;
}

#custom-bomb-section {
    text-align: center;
    margin-top: 20px;
}

.custom-bomb-btn {
    background-color: #e94560;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.custom-bomb-btn:hover {
    background-color: #ff6b81;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #16213e;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
    position: relative;
}

#planetary-impact-modal .modal-content {
    max-height: 70vh;
    overflow-y: auto;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover {
    color: #e94560;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #e0e0e0;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    background-color: #0f3460;
    border: none;
    color: white;
    border-radius: 5px;
}

.create-btn {
    width: 100%;
    padding: 10px;
    background-color: #e94560;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.create-btn:hover {
    background-color: #ff6b81;
}

#planetary-impact-btn {
    margin-top: 10px;
    background-color: #e94560;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#planetary-impact-btn:hover {
    background-color: #ff6b81;
}

#credits {
    background-color: rgba(0,0,0,0.5);
    padding: 15px;
    margin-top: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

.supporters-list {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.supporters-list li {
    background-color: #0f3460;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8em;
}

.supporters-grid {
    background-color: #0f3460;
    padding: 15px;
    border-radius: 10px;
    max-height: 300px;
    overflow-y: auto;
}

.supporter-names {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.supporter-names > * {
    background-color: #1a1a2e;
    padding: 5px 10px;
    border-radius: 5px;
    margin: 2px;
    font-size: 0.9em;
}

.thanks-message {
    text-align: center;
    margin-top: 15px;
    font-style: italic;
    color: #e94560;
}

.thanks-close-btn {
    color: #e94560;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.thanks-close-btn:hover {
    color: #ff6b81;
}

#credits-toggle-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.credits-btn {
    background-color: #e94560;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.credits-btn:hover {
    background-color: #ff6b81;
}

.hidden {
    display: none;
}