:root {
    --primary: #d32f1f;
    --bg: #1a1a1a;
    --text: #eeeeee;
    --card: #2a2a2a;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
}

#app {
    max-width: 800px;
    margin: 0 auto;
}

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
}

.tab-btn {
    padding: 10px 20px;
    background: #444;
    color: #ccc;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.tab-btn.active {
    background: var(--primary);
    color: white;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #444;
}

.skill-button {
    padding: 20px 10px;
    background: var(--card);
    border: 2px solid #444;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.1s;
    font-size: 1rem;
}

.skill-button:active {
    transform: scale(0.95);
}

button {
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.blow-up {
    animation: explode 0.5s;
}

@keyframes explode {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); border-color: var(--primary); }
    100% { transform: scale(1); }
}

.history-list {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #444;
    border-radius: 8px;
    background: var(--card);
}

.history-item {
    padding: 8px;
    border-bottom: 1px solid #444;
}

.history-item:last-child {
    border-bottom: none;
}

.menu-container {
    position: absolute;
    top: 10px;
    right: 10px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #444;
    min-width: 160px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
    z-index: 100;
    border-radius: 4px;
    padding: 5px 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content button {
    width: 100%;
    text-align: left;
    padding: 10px 20px;
    background: none;
    border: none;
    color: white;
    border-radius: 0;
}

.dropdown-content button:hover {
    background: var(--primary);
}

#app {
    position: relative;
}

.character-selection-list {
    margin-bottom: 20px;
}

.turbo-area {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.turbo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
    gap: 5px;
}

.turbo-token {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffd700;
    border: 2px solid #8b7500;
    cursor: pointer;
}

#turbo-add-btn {
    padding: 5px 10px;
    background: var(--primary);
    font-weight: bold;

    /* width: 40px; */
    /* height: 40px; */
    /* border-radius: 8px;
    background: #5f5f5f;
    border: 2px solid #353535;
    cursor: pointer; */
}