body {
    background: #111;
    color: white;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
}

/* INTRO */
.intro-box {
    max-width: 500px;
    margin: auto;
    background: #222;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.start-btn {
    padding: 15px;
    width: 100%;
    font-size: 18px;
    background: #2980b9;
    color: white;
    border-radius: 8px;
}

/* CHARACTER SELECT */
.char-box {
    max-width: 500px;
    margin: auto;
    background: #222;
    padding: 20px;
    border-radius: 10px;
}

.character-option {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 15px 0;
}

.char-img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    border: 1px solid #444;
}

/* GAME UI */
.container {
    max-width: 500px;
    margin: auto;
    background: #222;
    padding: 20px;
    border-radius: 10px;
}

.gaia-title {
    text-align: center;
    color: #fdb823;
}

.big-price {
    font-size: 32px;
    font-weight: bold;
}

/* GRID */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 15px;
    margin-bottom: 10px;
    font-size: 14px;
}

.info-item label {
    color: #bbb;
    display: block;
    margin-bottom: 2px;
}

/* CHART */
.chart-container {
    position: relative;
    margin-bottom: 20px;
    border: 2px solid #555;
    padding: 5px;
    border-radius: 8px;
    background: black;
}

#priceChart {
    width: 100%;
    background: black;
}

#chart-y-axis {
    position: absolute;
    top: 5px;
    left: 5px;
    color: #ccc;
    font-size: 10px;
    line-height: 40px;
}

#chart-x-axis {
    position: absolute;
    bottom: -15px;
    width: 100%;
    text-align: center;
    color: #ccc;
}

/* BUTTONS */
#buttons,
#leverage-panel {
    display: flex;
    gap: 10px;
}

button {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

#buy-btn { background: #2ecc71; }
#sell-btn { background: #e74c3c; }
#long-btn { background: #2980b9; }
#short-btn { background: #8e44ad; }

/* LOG */
#log {
    background: rgba(0,0,0,0.4);
    border-radius: 8px;
    padding: 10px;
    height: 160px;
    overflow-y: auto;
    font-size: 13px;
}

/* FOLLOW BUTTON */
.share-button {
    width: 100%;
    margin-top: 12px;
    padding: 12px;
    background: #1DA1F2;
    border-radius: 8px;
}

.follow-note {
    text-align: center;
    font-size: 12px;
    color: #aaa;
    margin-top: 6px;
}

/* POPUP */
.popup {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: #222;
    padding: 25px;
    border-radius: 10px;
    width: 280px;
    text-align: center;
}

.popup-btn {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    margin-top: 10px;
}

.cancel {
    background: #555;
}
