body {
    margin: 0;
    overflow: hidden;
    background-color: #1a1a2e;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#ui-container {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

#ui-container label {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

#coinCount {
    width: 60px;
    padding: 5px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#throwBtn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s;
}

#throwBtn:hover {
    background-color: #0056b3;
}

#color-ui-container {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

#color-ui-container label {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

#coinColor {
    width: 40px;
    height: 30px;
    padding: 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
}

#result-overlay {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 20px 40px;
    border-radius: 12px;
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    z-index: 20;
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    white-space: pre-line;
    line-height: 1.5;
    border: 3px solid #FFD700;
}
