.cards {
    background: #17212b !important;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(33, 47, 65, 0.6) !important;
    transition: box-shadow 0.3s ease;
}
.cards:hover {
    box-shadow: 0 12px 40px rgba(33, 47, 65, 0.85) !important;
}

body {
    background-color: #0e1621 !important;
    background-image: none !important;
    color: #a0b0c3 !important;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
}

/* Убираем только фоновые изображения у основных контейнеров */
body, 
.header,
.cards,
.modal-content,
.likeLevlBox,
.games-menu,
.diceRouletteBox,
.form-control,
.winT,
.card-header {
    background-image: none !important;
}

.aqua-fullwidth-category {
    width: 100vw;
    margin: 0;
    padding: 30px 0;
    border-radius: 0;
    box-sizing: border-box;
}

.aqua-fullwidth-container {
    padding: 0;
}

.diceRouletteBox {
    background-color: #183856 !important;
    border: 1px solid #1f2c43 !important;
    border-radius: 10px;
    box-shadow: inset 0 0 8px #1f3a5a;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.diceRouletteBox:hover {
    background-color: #215380 !important;
    border-color: #1d4e7b !important;
}

.form-control {
    background-color: rgb(24, 37, 51) !important;
    border: 1px solid #1a222c !important;
    color: #d2d2d2 !important;
    border-radius: 8px;
    padding: 0.6em 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-size: 15px;
    box-shadow: none;
}
.form-control:focus {
    border-color: #3d8ee3 !important;
    box-shadow: 0 0 8px #3d8ee3 !important;
    outline: none;
}

.amount-number {
    border: 1px solid #182533 !important;
    background-color: #163756 !important;
    color: #d2d2d2 !important;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.amount-number:hover {
    background-color: #215380 !important;
    box-shadow: 0 4px 12px rgba(33, 83, 128, 0.8);
}

.games-item {
    border-top: 1px solid #17212b !important;
    padding: 16px 20px;
    border-radius: 8px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.games-item:hover {
    background-color: #215380 !important;
    box-shadow: 0 8px 24px rgba(33, 83, 128, 0.6) !important;
}

.still svg {
    fill: #5a7cc9 !important;
    transition: fill 0.3s ease;
}
.still .games-title {
    color: #a0b0c3 !important;
    font-weight: 500;
    font-size: 1.1rem;
}

.games-menu {
    background-color: #17212b !important;
    box-shadow: none !important;
    border-radius: 12px;
    padding: 12px;
}

.lds-ellipsis div {
    background: #5a7cc9 !important;
}

.games-title {
    color: #a0b0c3 !important;
    font-weight: 600;
}

.games-img {
    filter: invert(20%) !important;
    transition: filter 0.3s ease;
}
.games-img:hover {
    filter: invert(40%) brightness(1.1) !important;
}

.buttons .amount-number:last-child {
    border-radius: 0 8px 8px 0 !important;
}

.header {
    background-color: #17212b !important;
    border-bottom: 1px solid #17212b !important;
    box-shadow: none !important;
    padding: 1em;
}

.gm {
    filter: invert(20%) !important;
}

::-webkit-scrollbar-thumb {
    background-color: #5b7287 !important;
    border-radius: 12px;
}

::-webkit-scrollbar-track-piece {
    background-color: #173756 !important;
}

.likeLevlBox {
    background-color: #0e1621 !important;
    border-radius: 12px;
    padding: 1em;
}

.lvl, .sumDep {
    color: #a0b0c3 !important;
    font-weight: 500;
}

.logoBox div {
    color: #a0b0c3 !important;
}

.list, .logoBox, .circle-online, img {
    filter: invert(10%) !important;
}

.mines .cell.win {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.winT {
    background-color: #163756 !important;
    border: 2px solid #17212bc4 !important;
    color: #eee !important;
    border-radius: 10px;
    padding: 0.4em 0.8em;
}

.card-header {
    background-color: #17212b !important;
    font-weight: 600;
    font-size: 1.25rem;
    padding: 1em;
}

.stepsCoffs {
    border: 1px solid #3d3d3d !important;
    border-radius: 6px;
    padding: 0.5em 1em;
    font-weight: 600;
    color: #a0b0c3 !important;
    transition: border-color 0.3s ease, color 0.3s ease;
}
.stepsCoffs.win {
    border-color: #28a745d6 !important;
    color: #28a745fa !important;
}
.stepsCoffs.active {
    border-color: #8696a8 !important;
    color: #8696a8 !important;
}

.header-menu .item:hover {
    color: #5a7cc9 !important;
    transition: color 0.3s ease;
}

.cards, .blue {
    box-shadow: 0 8px 30px rgba(33, 47, 65, 0.5) !important;
    border-radius: 12px;
}

.ser {
    color: #fff !important;
    background-color: #163756 !important;
    border-radius: 8px;
    padding: 0.7em 1.5em;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(22, 55, 86, 0.8);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.ser:hover {
    background-color: #215380 !important;
    box-shadow: 0 10px 28px rgba(33, 83, 128, 0.9);
}

.blue {
    background-color: #163756 !important;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(22, 55, 86, 0.7);
}
.blue:hover {
    background-color: #215380 !important;
    box-shadow: 0 12px 32px rgba(33, 83, 128, 0.85);
}

td, th {
    border-bottom: 1px solid #5c5c5c2e !important;
    padding: 0.75em 1em;
}

.noty.success {
    background-color: #1d7237 !important;
    color: #e6f4ea !important;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.7);
}

.noty.error {
    background-color: #721d1d !important;
    color: #fce8e8 !important;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(215, 33, 33, 0.7);
}

.close {
    color: #eee !important;
    cursor: pointer;
    transition: color 0.3s ease;
}
.close:hover {
    color: #5a7cc9 !important;
}

.modal-header {
    border-bottom: 1px solid #182533 !important;
    font-weight: 700;
    font-size: 1.2rem;
}

.modal-content {
    background-color: #182533 !important;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(24, 37, 51, 0.85);
    padding: 1.5em;
}

.vue-notification.success {
    border-left-color: #326b42 !important;
    background-color: #165a28 !important;
    color: #e0f0dc !important;
    box-shadow: 0 4px 14px rgba(22, 110, 66, 0.8);
    border-radius: 8px;
}

.vue-notification.error {
    border-left-color: #731e18 !important;
    background-color: #5a1616 !important;
    color: #f9d9d9 !important;
    box-shadow: 0 4px 14px rgba(183, 25, 25, 0.8);
    border-radius: 8px;
}

.amount-number.amounts {
    color: #d2d2d2 !important;
    font-weight: 600;
}

.mines .cell {
    border: none !important;
    background-color: #163756ba !important;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}
.mines .cell:hover {
    background-color: #215380 !important;
    box-shadow: 0 0 10px rgba(33, 83, 128, 0.7);
}

.legend-wheel-coefficient {
    background-color: #465768 !important;
    border-radius: 8px;
    padding: 0.4em 0.8em;
}

.legend-wheel-inner {
    -webkit-box-align: center;
    align-items: center;
    background-color: #fff !important;
    border: 4px solid #4e6588;
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0.2), 0 0 32px 0 rgba(0, 0, 0, 0.65);
    border-radius: 50% !important;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    z-index: 3;
}

.legend-wheel-coefficient-item > span {
    display: flex !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background-color: #465768 !important;
    color: #dedede !important;
    font-weight: 600 !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    text-align: center !important;
    line-height: normal !important;
    overflow: hidden !important;
}

/* Мобильная адаптация */
@media (max-width: 767px) {
    body {
        font-size: 14px;
    }
    
    .header {
        padding: 0.8em;
    }
    
    .card-header {
        font-size: 1.1rem;
        padding: 0.8em;
    }
    
    .form-control {
        padding: 0.5em 0.8em;
        font-size: 14px;
    }
    
    .games-item {
        padding: 12px 15px;
    }
    
    .legend-wheel-inner {
        width: 280px;
        height: 280px;
    }
    
    .legend-wheel-coefficient-item > span {
        width: 36px !important;
        height: 36px !important;
        font-size: 14px !important;
    }
    
    .modal-content {
        padding: 1em;
    }
    
    .ser {
        padding: 0.6em 1.2em;
        font-size: 14px;
    }
    
    .amount-number {
        padding: 6px 10px;
        font-size: 14px;
    }
    
    .stepsCoffs {
        padding: 0.4em 0.8em;
        font-size: 14px;
    }
    
    td, th {
        padding: 0.5em 0.8em;
        font-size: 14px;
    }
    
    .games-title {
        font-size: 1rem;
    }
    
    .still .games-title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 13px;
    }
    
    .legend-wheel-inner {
        width: 240px;
        height: 240px;
        border-width: 3px;
    }
    
    .legend-wheel-coefficient-item > span {
        width: 32px !important;
        height: 32px !important;
        font-size: 13px !important;
    }
    
    .card-header {
        font-size: 1rem;
    }
    
    .modal-header {
        font-size: 1.1rem;
    }
    
    .ser {
        padding: 0.5em 1em;
    }
    
    .games-item {
        padding: 10px 12px;
    }
    
    .mines .cell {
        padding: 8px;
    }
    
    .form-control {
        padding: 0.4em 0.7em;
    }
}

@media (max-width: 375px) {
    .legend-wheel-inner {
        width: 200px;
        height: 200px;
    }
    
    .legend-wheel-coefficient-item > span {
        width: 28px !important;
        height: 28px !important;
        font-size: 12px !important;
    }
    
    .card-header {
        padding: 0.6em;
    }
    
    .modal-content {
        padding: 0.8em;
    }
    
    .amount-number {
        padding: 5px 8px;
    }
    
    .games-img {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 320px) {
    body {
        font-size: 12px;
    }
    
    .legend-wheel-inner {
        width: 180px;
        height: 180px;
    }
    
    .form-control {
        font-size: 13px;
    }
    
    .ser {
        font-size: 13px;
        padding: 0.4em 0.8em;
    }
    
    .games-item {
        padding: 8px 10px;
    }
    
    .card-header {
        font-size: 0.9rem;
    }
}

/* Горизонтальная ориентация */
@media (max-height: 480px) and (orientation: landscape) {
    .header {
        padding: 0.6em;
    }
    
    .card-header {
        padding: 0.6em;
        font-size: 1rem;
    }
    
    .games-item {
        padding: 8px 10px;
    }
    
    .legend-wheel-inner {
        width: 200px;
        height: 200px;
    }
    
    .form-control {
        padding: 0.4em 0.6em;
    }
}