
/*全体*/
body {
    text-align: center;
    background-color: #1a1a24;
    color: #fff;
    margin-top: 50px;

    /*フォント設定*/
    font-family: "M PLUS 1", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
}

h1 {
    font-size: 36px;
    text-shadow: 0 0 10px #28a745, 0 0 20px #28a745;
    margin-bottom: 30px;
}

/*メダル表示*/
#medal-display {
    display: inline-block;
    background: linear-gradient(135deg, #23232f,#2d2d3f);
    padding: 10px 25px;
    border-radius: 50px;
    border: 2px solid #444;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

/*スロットエリア*/
.slot-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

/*リールボックス*/
.reel-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/*リール*/
.reel {
    width: 100px;
    height: 120px;
    font-size: 54px;
    line-height: 120px;
    background:linear-gradient(to bottom, #e0e0e0 0%, #ffffff 25%, #ffffff 75% #e0e0e0 100%);
    border: 4px solid #3a3a4a;
    border-radius: 15px;
    box-shadow: inset 0 10px 15px rgba(0, 0, 0, 0.3),
                inset 0 -10px 15px rgba(0, 0, 0, 0.3),
                0 8px 20px rgba( 0, 0, 0, 0.6);
    margin-top: 20px;
}

/*共通ボタン*/
button {
    font-family: M PLUS 1p, sans-serif;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    border: none;
    font-weight: bold;
    padding: 15px;
    transition: all 0.2s ease;
}

/*ボタンを押したときの沈み込み*/
button:active:not(:disabled) {
    transform: translateY(4px);
    box-shadow:  0 2px 0 rgba(0,0,0,0.5)!important;
}

/*レバーを叩くボタン*/
#spin-btn {
    background: linear-gradient(to bottom, #28a745, #1e7e34);
    color: #fff;
    font-size: 20px;
    padding: 15px 50px;
    border-radius: 50px;
    box-shadow: 0 6px 0 #155d25, 0 10px 20px rgba(40, 167, 69, 0.4);
    margin-bottom: 10px;
}

#spin-btn:hover:not(:disabled) {
    background: linear-gradient(to bottom, #218838, #1c7430);
    box-shadow: 0 6px 0 #155d25, 0 10px 25px rgba(40, 167, 69, 0.6);
}

#spin-btn:disabled {
    background: #333340;
    color: #666;
    box-shadow: 0 6px 0 #222, 0 5px 10px rgba(0,0,0,0.5);
    cursor: not-allowed;
}


/*ストップボタン*/
.stop-btn {
    background: linear-gradient(to bottom, #dc3545, #bd2130);
    color: white;
    font-size: 18px;
    padding: 12px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 0 #7f1d27, 0 8px 15px rgba(0,0,0,0.5);
}

.stop-btn:hover:not(:disabled) {
    background: linear-gradient(to bottom, #c82333, #b21f2d);
}

.stop-btn:disabled {
    background: #333340;
    color: #666;
    box-shadow: 0 5px 0 #222, 0 5px 10px rgba(0,0,0,0.5);
    cursor: not-allowed;
}

/*結果表示*/
#result {
    font-size: 26px;
    font-weight: bold;
    margin-top: 20px;
    height: 40px;
}
