
.roulette-page {
    padding: 130px;
}

.upper-info-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.last-bets-text {
    display: flex;
    align-items: center;
    gap: 25px;
}

.roulette-page {
    padding-top: 210px;
}

.last-bets-counter-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.last-bets-history {
    margin-top: 15px;
}

.bets-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.big-circle {
    width: 30px;
    height: 30px;
    margin-right: 5px;
}

.time-wrapper {
    background-color: #1A1B1E;
    border-radius: 5px;
    padding: 10px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: fit-content;
    margin-left: auto;
}

.time-wrapper span {
    color: #777777;
}

.jackpot-amount {
    background-color: #1A1B1E;
    border-radius: 5px;
    padding: 15px;
    font-size: 18px;

    border-left: 3px solid #777777;
    border-right: 3px solid #777777;
    display: flex;
    gap: 5px;
}

.jack-rub {
    width: 16px;
    height: 16px;
}

.jackpot-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.vertical-line {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 86%;
    background-color: white;
    z-index: 2;
    pointer-events: none;
} 

.roulette-container {
    overflow: hidden;
    position: relative;
    height: 90px;
    margin: 30px 0;
    background-color: #1A1B1E;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    padding: 5px;
}

.roulette-wheel {
    display: flex;
    position: absolute;
    height: 100%;
    left: 0;
    transition: transform 7s cubic-bezier(0.2, 0.8, 0.4, 1);
}

.number {
    width: 70px;
    height: 70px;
    margin: 10px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    color: white;
    border-radius: 10px;
    flex-shrink: 0;
}

.red { background-color: #a70031; }
.black { background-color: #352f7d; }
.green { background-color: #00ad10; }

.controls {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
}

input {
    padding: 10px;
    font-size: 16px;
    width: 60px;
    text-align: center;
}

.result {
    margin-top: 20px;
    font-size: 24px;
    font-weight: bold;
}

@media (max-width: 600px) {
    .number {
        width: 50px;
        height: 50px;
        font-size: 16px;
        margin: 5px;
    }
    .roulette-container {
        height: 70px;
    }
}

.time-line {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background-color: white;
    margin-bottom: 8px;
    overflow: hidden;
    margin-top: 10px;
    border-radius: 5px;
}

.progress-fill {
    height: 100%;
    width: 0;
    background-color: #0077ff;
    border-radius: 5px;
}

.time-counter {
    text-align: center;
    color: white;
    font-family: 'Gotham';
    font-size: 19px;
}

.bet-manage-wrapper {
    background-color: #1A1B1E;
    border-radius: 10px;
    padding: 10px;
    justify-content: space-between;
    margin-top: 75px;
}

.bet-manage-wrapper {
    display: flex;
    align-items: center;
}

#amount-bet-block {
    display: flex;
    align-items: center;
    gap: 5px;
}

.bet-rub {
    width: 15px;
    height: 15px;
}

.bet-input {
    width: 200px;
    height: 5px;
    background-color: transparent;
    color: white;
    outline: 0;
    border: 0;
    border-right: 1px solid #777777;
    text-align: left;
}

.left-side-bet {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-right: 1px solid #777777;
    padding-right: 10px;
}

.bet-block {
    padding: 10px;
    border-radius: 10px;
    background-color: #1E2025;
    color: #777777;
    transition: 0.1s ease-in;
}

.right-side-bet {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-left: 10px;
}

.clear-block {
    cursor: pointer;
    color: #777777;
    transition: 0.1s ease-in;
}

.bet-block:hover, .clear-block:hover {
    color: white;
}

#bet-red {
    background-color: #a70031;
}

#bet-green {
    background-color: #00ad10;
}

#bet-blue {
    background-color: #352f7d;
}

.controls-bet-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px; 
    width: 100%;
    margin-top: 40px;
}

#your-bet-wrapper {
    margin-top: 10px;
}

.make-bet-button {
    flex: 1; 
    min-width: 100px; 
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.make-bet-button:hover {
    transform: translateY(-2px);
}

.win-x {
    position: absolute;
    right: 15px;
    color: #e5e5e5;
}

@media (max-width: 944px) {
    .controls-bet-wrapper {
        gap: 10px;
    }

    .bet-input {
        width: 100%;
    }

    .right-side-bet {
        padding-left: 0;
    }

    .clear-block {
        display: none;
    }
    
    .make-bet-button {
        width: 100%;
    }

    .your-bet {
        width: 100%;
        height: 32px;
    }
    
    .bet-manage-wrapper {
        flex-direction: column;
        gap: 10px;
    }
    
    .left-side-bet, .right-side-bet {
        width: 100%;
        border-right: none;
        padding-right: 0;
    }
    
    .right-side-bet {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .bet-block {
        flex: 1;
        min-width: calc(33% - 10px);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .roulette-page {
        padding: 20px;
    }
    
    .last-bets-text {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .upper-info-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .time-wrapper {
        margin-left: 0;
    }
}

.your-bet {
    flex: 1; 
    min-width: 100px; 
    padding: 15px;
    text-align: center;
    border-radius: 5px;
    position: relative;
    background-color: #1A1B1E;
    display: flex;
    align-items: center;
    gap: 5px;
}

.your-bet span {
    display: flex;
    align-items: center;
}

@media (max-width: 1435px) {
    .roulette-page {
        padding: 85px;
    }
}

@media (max-width: 1263px) {
    .roulette-page {
        padding: 40px;
    }
}

@media (max-width: 1100px) {
    header {
        padding-top: 100px;
    }

    .bet-input {
        border: 0;
    }

    .make-bet-button:hover {
        transform: none !important;
    }

    #profile-container {
        display: none;
    }

    .second-side-wrapper {
        margin-right: 0;
    }
}

@media (max-width: 735px) {
    .last-bets-text {
        gap: 12px;
        flex-wrap: wrap;
    }

    .last-bets-history {
        display: none;
    }
}

#mobile-bet-wrapper {
    display: none;
}

#your-bet-wrapper-mobile {
    display: none;
}

@media (max-width: 688px) {
    .controls-bet-wrapper {
        flex-wrap: wrap;
    }

    #mobile-bet-wrapper {
        display: block;
    }

    #your-bet-wrapper-mobile {
        display: block;
    }

    #control-bet-wrapper {
        display: none;
    }

    #your-bet-wrapper {
        display: none;
    }

    .make-bet-button {
        width: auto;
        margin-top: 25px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .your-bet {
        width: auto;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
}

@media (max-width: 550px) {
    .jackpot-wrapper {
        display: none;
    }

    .roulette-wheel {
        top: 10px;
    }

    .bet-manage-wrapper {
        margin-top: 45px;
    }

    .roulette-container {
        margin-top: 10px;
    }
}

@media (max-width: 442px) {
    .online-wrapper {
        display: none;
    }

    .roulette-page {
        padding: 15px;
    }
}
