        :root {
            --bg-primary: #121212;
            --bg-secondary: #1e1e1e;
            --text-primary: #ffffff;
  --bet-input-bg: rgba(255, 255, 255, 0.1);
  --bet-input-color: #ffffff;
  --bet-input-border: rgba(255, 255, 255, 0.2);			
            --text-secondary: #b0b0b0;
            --accent-color: #6c5ce7;
    --bet-control-bg: rgba(108, 92, 231, 0.1);
    --bet-control-color: var(--accent-color);
    --bet-control-hover-bg: rgba(108, 92, 231, 0.2);			
            --accent-hover: #5649c0;
			--bs-secondary-color: rgb(109 134 159 / 75%);
            --sidebar-width: 250px;
            --header-height: 70px;
		    --dice-win: #00b894;
            --dice-lose: #ff7675;
  --jackpot-bg: var(--bs-body-bg);
  --jackpot-card-bg: var(--bs-card-bg);
  --jackpot-text: var(--bs-body-color);
  --jackpot-border: var(--bs-border-color);
  --jackpot-progress: var(--bs-info);
  --jackpot-table-stripe: var(--bs-table-striped-bg);			
        }
		
:root {
  --jackpot-bg: var(--bs-body-bg);
  --jackpot-card-bg: var(--bs-card-bg);
  --jackpot-text: var(--bs-body-color);
  --jackpot-border: var(--bs-border-color);
  --jackpot-progress: var(--bs-info);
  --jackpot-table-stripe: var(--bs-table-striped-bg);
}

.active{
	border-color: #4bb543 !important;
}

.payment-method{
   cursor:pointer
}

.lottie-container {
  width: 128px !important;
  height: 128px !important;
  min-width: 128px;
  min-height: 128px;
}

.jackpot-container {
  background: var(--jackpot-card-bg);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  color: var(--jackpot-text);
  border: 1px solid var(--jackpot-border);
}

.item-price{
	    margin-top: 10px;
    font-weight: 600;
}

  .cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
  }
  .case {
    text-align: center;
    background: #141f34;
    border-radius: 12px;
    overflow: hidden;
    padding: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
  }
  .case:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  }
  .case img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
  }
  .case-name {
    font-size: 16px;
    margin-top: 8px;
  }
  .case-price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 4px;
    font-size: 15px;
    font-weight: bold;
    background: rgba(255,255,255,0.05);
    padding: 4px 10px;
    border-radius: 6px;
  }
  .case-price img {
    width: 20px;
    height: 20px;
    display: block;
  }


.case-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}
    .case-header img.case-image {
        width: 220px;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    }
    .case-title {
        font-size: 26px;
        font-weight: bold;
        margin-top: 15px;
    }
    .open-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: linear-gradient(90deg, #00c6ff, #0072ff);
        padding: 12px 24px;
        border: none;
        border-radius: 8px;
        color: white;
        font-size: 16px;
        font-weight: bold;
        margin-top: 15px;
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .open-button img {
        width: 20px;
        height: 20px;
    }
    .open-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 114, 255, 0.4);
    }
    h2 {
        font-size: 20px;
        margin-top: 40px;
        margin-bottom: 20px;
    }
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 140px)); /* Фиксированная ширина */
    justify-content: center; /* Центрируем колонки */
    gap: 15px;
    width: 100%;
    margin: 0;
    padding: 10px; /* Добавляем отступы по краям */
}


/* Основной контейнер рулетки */
.case-roll-container {
    position: relative;
    width: 100%;
    height: 260px;
    margin: 25px auto;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    background: linear-gradient(145deg, #2a3a4e, #19192d);
    padding: 15px 0;
}

/* Область с бегущей лентой призов */
.case-roll-wheel {
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: calc(100% - 30px);
    overflow-x: hidden;
}

/* Дорожка с призами */
.roll-track {
    display: flex;
    position: absolute;
    height: 100%;
	overflow-y: hidden;
    will-change: transform;
    backface-visibility: hidden;		
    overflow-x: hidden;
	transform-style: preserve-3d;
    gap: 20px;
    padding: 0 20px;
    align-items: center;
    transition: transform 5s cubic-bezier(0.15, 0.55, 0.15, 1);
}

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    padding: 15px;
}

.inventory-item {
    background: rgba(30, 30, 50, 0.8);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s;
}

.inventory-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.1);
}

.inventory-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 10px;
}

.inventory-item .item-name {
    color: white;
    font-weight: 600;
    margin-bottom: 5px;
}

.inventory-item .item-price {
    color: gold;
    font-weight: 700;
    margin-bottom: 10px;
}

.inventory-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.inventory-buttons button {
    padding: 5px 10px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-use {
    background: linear-gradient(to right, #4CAF50, #2E7D32);
    color: white;
}

.btn-sell {
    background: linear-gradient(to right, #f5d742, #f5a742);
    color: #333;
}

/* Конфетти частицы */
.confetti-particle {
    position: absolute;
    bottom: 0;
    z-index: 1000;
    opacity: 0.8;
    animation: confettiFall linear forwards;
    border-radius: 50%;
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(-150px) rotate(720deg);
        opacity: 0;
    }
}


/* Стиль для выигранного приза */
.roll-prize.won-prize {
    animation: prizeGlow 1.5s infinite alternate;
    transform: scale(1.1);
    box-shadow: 0 0 20px gold;
}

@keyframes prizeGlow {
    from { box-shadow: 0 0 10px gold; }
    to { box-shadow: 0 0 30px gold; }
}

/* Эффект пульсации для индикатора */
.roll-indicator.pulse {
    animation: indicatorPulse 1s infinite;
}

@keyframes indicatorPulse {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    bottom: -10px;
    z-index: 1000;
    animation: confettiFall 2s linear forwards;
    opacity: 0.8;
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(-200px) rotate(360deg);
        opacity: 0;
    }
}

/* Стили для каждого приза */
.roll-prize {
    flex: 0 0 150px !important;
    width: 150px !important;
	height: 200px !important;
    transform: translateZ(0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(35, 35, 60, 0.8);
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

/* Стили для изображения приза */
.prize-image {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
    transition: transform 0.3s;
}

/* Текстовая информация о призе */
.prize-title {
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.prize-value {
    color: gold;
    font-weight: 700;
    font-size: 15px;
}

/* Центральный индикатор */
.roll-indicator {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: gold;
    box-shadow: 0 0 15px gold;
    z-index: 10;
}

/* Иконка звезды */
.gold-icon {
    color: gold;
    margin-left: 3px;
}
    .item {
        background: #141f34;
        border-radius: 10px;
        padding: 10px;
        text-align: center;
        transition: transform 0.2s ease;
    }
    .item:hover {
        transform: translateY(-4px);
    }
    .item img {
        width: 100%;
        border-radius: 8px;
    }
    .item-name {
        font-size: 14px;
        margin-top: 8px;
    }
	
#insideCase {
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрируем по горизонтали */
    justify-content: flex-start; /* Смещаем к верху */
    min-height: 100vh;
    padding-top: 10vh; /* Отступ сверху — регулируешь сам */
    text-align: center;
}
	
  
.roulette-wheel-container {
  position: relative;
  margin: 0 auto;
  max-width: 800px;
}

.roulette {
  width: 100%;
  height: 60px;
  background: var(--jackpot-bg);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--jackpot-border);
}

.roulette-pointer {
  position: absolute;
  left: 50%;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--bs-danger);
  z-index: 10;
  transform: translateX(-50%);
}

.roulette-inbox {
  height: 100%;
  will-change: transform;
  transform: translateZ(0);
}

.jackpot-stat-card {
  background: var(--jackpot-bg);
  border-radius: 10px;
  padding: 15px;
  height: 100%;
  border: 1px solid var(--jackpot-border);
}

.stat-title {
  font-size: 16px;
  color: var(--bs-secondary-color);
  margin-bottom: 10px;
}

.stat-value {
  font-size: 28px;
  font-weight: bold;
  color: var(--bs-primary);
}

.trophy-icon {
  color: gold;
  font-size: 28px;
  margin-left: 5px;
}

.timer-container {
  display: flex;
  justify-content: center;
  background: var(--jackpot-bg);
  border-radius: 12px;
  padding: 8px 15px;
  border: 1px solid var(--jackpot-border);
}

.timer-block {
  font-size: 24px;
  font-weight: bold;
  min-width: 40px;
  text-align: center;
  color: var(--jackpot-text);
}

.timer-separator {
  font-size: 24px;
  padding: 0 5px;
  color: var(--jackpot-text);
}

.chance-value {
  font-size: 24px;
  font-weight: bold;
  color: var(--bs-primary);
  margin-bottom: 5px;
}

.chance-progress {
  height: 8px;
  border-radius: 4px;
  background-color: var(--jackpot-bg);
}

.chance-progress .progress-bar {
  background-color: var(--jackpot-progress);
}

.random-info {
  padding: 10px;
}

.random-text {
  font-size: 16px;
  color: var(--bs-secondary-color);
}

.random-hash {
  font-weight: 600;
  color: var(--jackpot-text);
}

.bet-input-group {
  margin-bottom: 10px;
}

.bet-input {
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 16px;
  margin-bottom: 10px;
  text-align: center;
  background: var(--jackpot-bg);
  color: var(--jackpot-text);
  border: 1px solid var(--jackpot-border);
}

.bet-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-join {
  height: 100%;
  padding: 12px;
  font-size: 20px;
  border-radius: 8px;
}

.players-table {
  border-radius: 8px;
  overflow: hidden;
  color: var(--jackpot-text);
  background: var(--jackpot-card-bg);
}

.players-table th {
  background: var(--jackpot-bg);
  font-weight: 600;
  border-color: var(--jackpot-border);
}

.players-table td {
  border-color: var(--jackpot-border);
}

.players-table-striped tbody tr:nth-of-type(odd) {
  background-color: var(--jackpot-table-stripe);
}

.winner-info {
  max-width: 500px;
  margin: 0 auto;
  padding: 15px;
  background: var(--jackpot-bg);
  border-radius: 8px;
  border: 1px solid var(--jackpot-border);
}

.hidden{
  display:none
}

.jackpot-controls-container {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  max-width: 800px;
  margin: 0 auto;
  padding: 15px;
}

.bet-input-section {
  flex: 1;
}

.bet-input {
  width: 100%;
  padding: 12px 15px;
  font-size: 16px;
  border-radius: 8px;
  margin-bottom: 10px;
  text-align: center;
}

.bet-adjust-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.bet-control-btn {
  flex: 1;
  min-width: 60px;
  padding: 8px 12px;
  border-radius: 6px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
}

.place-bet-btn {
  padding: 12px 25px;
  height: auto;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  min-width: 180px;
  align-self: stretch;
}

@media (max-width: 768px) {
  .jackpot-controls-container {
    flex-direction: column;
  }
  
  .place-bet-btn {
    width: 100%;
  }
}

@media screen and (max-width: 720px) {
	.roulette {
		width: 100% !important;
	}

	.winJpPanel {
		width: 100% !important;
	}
}

.odometer.odometer-auto-theme,
.odometer.odometer-theme-default {
	display: inline-block;
	vertical-align: middle;
	*vertical-align: auto;
	*zoom: 1;
	*display: inline;
	position: relative;
}

.odometer.odometer-auto-theme .odometer-digit,
.odometer.odometer-theme-default .odometer-digit {
	display: inline-block;
	vertical-align: middle;
	*vertical-align: auto;
	*zoom: 1;
	*display: inline;
	position: relative;
}

.odometer.odometer-auto-theme .odometer-digit .odometer-digit-spacer,
.odometer.odometer-theme-default .odometer-digit .odometer-digit-spacer {
	display: inline-block;
	vertical-align: middle;
	*vertical-align: auto;
	*zoom: 1;
	*display: inline;
	visibility: hidden;
}

.odometer.odometer-auto-theme .odometer-digit .odometer-digit-inner,
.odometer.odometer-theme-default .odometer-digit .odometer-digit-inner {
	text-align: left;
	display: block;
	position: absolute;
	top: -4px;
	left: 0;
	right: 0;
	bottom: 0px;
	overflow: hidden;
}

.odometer.odometer-auto-theme .odometer-digit .odometer-ribbon,
.odometer.odometer-theme-default .odometer-digit .odometer-ribbon {
	display: block;
}

.odometer.odometer-auto-theme .odometer-digit .odometer-ribbon-inner,
.odometer.odometer-theme-default .odometer-digit .odometer-ribbon-inner {
	display: block;
	-webkit-backface-visibility: hidden;
}

.odometer.odometer-auto-theme .odometer-digit .odometer-value,
.odometer.odometer-theme-default .odometer-digit .odometer-value {
	display: block;
	-webkit-transform: translateZ(0);
}

.odometer.odometer-auto-theme .odometer-digit .odometer-value.odometer-last-value,
.odometer.odometer-theme-default .odometer-digit .odometer-value.odometer-last-value {
	position: absolute;
}

.odometer.odometer-auto-theme.odometer-animating-up .odometer-ribbon-inner,
.odometer.odometer-theme-default.odometer-animating-up .odometer-ribbon-inner {
	-webkit-transition: -webkit-transform 2s;
	-moz-transition: -moz-transform 2s;
	-ms-transition: -ms-transform 2s;
	-o-transition: -o-transform 2s;
	transition: transform 2s;
}

.odometer.odometer-auto-theme.odometer-animating-up.odometer-animating .odometer-ribbon-inner,
.odometer.odometer-theme-default.odometer-animating-up.odometer-animating .odometer-ribbon-inner {
	-webkit-transform: translateY(-100%);
	-moz-transform: translateY(-100%);
	-ms-transform: translateY(-100%);
	-o-transform: translateY(-100%);
	transform: translateY(-100%);
}

.odometer.odometer-auto-theme.odometer-animating-down .odometer-ribbon-inner,
.odometer.odometer-theme-default.odometer-animating-down .odometer-ribbon-inner {
	-webkit-transform: translateY(-100%);
	-moz-transform: translateY(-100%);
	-ms-transform: translateY(-100%);
	-o-transform: translateY(-100%);
	transform: translateY(-100%);
}

.odometer.odometer-auto-theme.odometer-animating-down.odometer-animating .odometer-ribbon-inner,
.odometer.odometer-theme-default.odometer-animating-down.odometer-animating .odometer-ribbon-inner {
	-webkit-transition: -webkit-transform 2s;
	-moz-transition: -moz-transform 2s;
	-ms-transition: -ms-transform 2s;
	-o-transition: -o-transform 2s;
	transition: transform 2s;
	-webkit-transform: translateY(0);
	-moz-transform: translateY(0);
	-ms-transform: translateY(0);
	-o-transform: translateY(0);
	transform: translateY(0);
}

.odometer.odometer-auto-theme .odometer-value,
.odometer.odometer-theme-default .odometer-value {
	text-align: center;
}

.roulette .inbox {
	transform: translate3d(0, 0, 0);
}

.roulette {
	background: #3f3f4d80 no-repeat;
	width: 100%;
	height: 80px;
	margin-bottom: 10px;
	text-align: center;
	overflow: hidden;
}

.inbox, .inbox img {
  will-change: transform;
}

#pointerJPot2 {
	border: 3px solid mediumpurple;
	position: absolute;
	left: calc(50%);
	height: 80px;
	box-shadow: 0px 0px 15px mediumpurple;
	z-index: 99;
}

#pointerJPot {
	position: absolute;
	left: calc(50%);
	z-index: 99;
	height: 80px;
	box-shadow: 0px 0px 50px 6px #0ff;
	width: 3px;
	background: #0ff;
}

.betplayers-panel {
	max-width: 100%;
	margin-top: 10px;
	display: flex;
	justify-content: center;
	background: var(--kt-light);
	overflow-x: auto;
	border-radius: 16px;
}

.playerjp-bet {
	width: 60px;
}

.playerjp-bet div {
	background: #ff11;
	position: relative;
	color: var(--bs-body-color);
	font-size: 12px;
	padding: 5px;
}

.betplayers-panel img {
	width: 60px;
	height: 60px;
}



/* Темная тема */
@media (prefers-color-scheme: dark) {
  :root {
    --jackpot-bg: rgba(255, 255, 255, 0.05);
    --jackpot-card-bg: #1e1e2d;
    --jackpot-text: #e9ecef;
    --jackpot-border: #2d2d3d;
    --jackpot-progress: #0dcaf0;
    --jackpot-table-stripe: rgba(255, 255, 255, 0.03);
  }
  
  .jackpot-container {
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
  }
  
  .bet-input:focus {
    background: var(--jackpot-bg);
    color: var(--jackpot-text);
  }
}		

        .light-theme {
            --bg-primary: #f5f5f5;
            --bg-secondary: #ffffff;
    --bet-control-bg: rgba(108, 92, 231, 0.08);
    --bet-control-color: #6c5ce7;
    --bet-control-hover-bg: rgba(108, 92, 231, 0.15);			
            --text-primary: #333333;
            --text-secondary: #666666;
		     --bet-input-bg: #f5f5f5; /* Светлый фон, но не чисто белый */
  --bet-input-color: #333333; /* Темный текст */
  --bet-input-border: rgba(0, 0, 0, 0.1);	
            --accent-color: #6c5ce7;
            --accent-hover: #5649c0;
        }

        body {
            font-family: 'Manrope', sans-serif;
            background-color: var(--bg-primary);
            color: var(--text-primary);
            transition: all 0.3s ease;
            min-height: 100vh;
            padding-top: var(--header-height);
        }

        /* Header */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: var(--header-height);
            background-color: var(--bg-secondary);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            z-index: 1000;
            display: flex;
            align-items: center;
            padding: 0 20px;
            transition: all 0.3s ease;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: bold;
            color: var(--accent-color);
            display: flex;
            align-items: center;
        }

        .logo i {
            margin-right: 10px;
            color: var(--accent-color);
        }

        .user-info {
            display: flex;
            align-items: center;
            margin-left: auto;
        }

        .balance {
            background-color: rgba(108, 92, 231, 0.2);
            padding: 5px 15px;
            border-radius: 20px;
            margin-right: 15px;
            font-weight: bold;
        }

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--accent-color)!important;
    background-size: cover!important;
    background-position: center!important;
    background-repeat: no-repeat!important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    cursor: pointer;
    overflow: hidden;
}

    /* Стили для колеса */
    .wheel-container {
        margin: 0 auto;
    }
    
    .bet-amount-btn {
        flex: 1 0 calc(33% - 10px);
        background-color: rgba(108, 92, 231, 0.1);
        color: var(--accent-color);
        border: none;
        border-radius: 6px;
        padding: 8px 5px;
        font-weight: 500;
        transition: all 0.2s;
    }
    
    .bet-amount-btn:hover {
        background-color: rgba(108, 92, 231, 0.2);
    }
    
    .bet-amount-btn:active {
        transform: translateY(1px);
    }
    
    .wheel-pointer {
        filter: drop-shadow(0 0 5px rgba(0,0,0,0.3));
    }

        /* Sidebar */
        .sidebar {
            position: fixed;
            left: 0;
            top: var(--header-height);
            width: var(--sidebar-width);
            height: calc(100vh - var(--header-height));
            background-color: var(--bg-secondary);
            padding: 20px 0;
            overflow-y: auto;
            transition: all 0.3s ease;
            z-index: 999;
        }

        .sidebar-item {
            padding: 12px 20px;
            display: flex;
            align-items: center;
            color: var(--text-secondary);
            text-decoration: none;
            transition: all 0.2s ease;
            border-left: 3px solid transparent;
        }

        .sidebar-item:hover, .sidebar-item.active {
            background-color: rgba(108, 92, 231, 0.1);
            color: var(--text-primary);
            border-left: 3px solid var(--accent-color);
        }

        .sidebar-item i {
            margin-right: 10px;
            width: 20px;
            text-align: center;
        }

        /* Main content */
        .main-content {
            margin-left: var(--sidebar-width);
            padding: 20px;
            transition: all 0.3s ease;
        }

        /* Game cards */
        .game-card {
            background-color: var(--bg-secondary);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            margin-bottom: 20px;
            border: none;
        }

        .game-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        .game-card-img {
            height: 180px;
            background-size: cover;
            background-position: center;
        }

        .game-card-body {
            padding: 15px;
        }

        .game-card-title {
            font-weight: bold;
            margin-bottom: 10px;
        }

        .game-card-desc {
            color: var(--text-secondary);
            font-size: 0.9rem;
            margin-bottom: 15px;
        }

        .play-btn {
            background-color: var(--accent-color);
            color: white;
            border: none;
            padding: 8px 15px;
            border-radius: 5px;
            font-weight: bold;
            transition: all 0.2s ease;
            width: 100%;
        }

        .play-btn:hover {
            background-color: var(--accent-hover);
        }

        /* Chat */
        .chat-container {
            background-color: var(--bg-secondary);
            border-radius: 10px;
            height: calc(100vh - var(--header-height) - 40px);
            display: flex;
            flex-direction: column;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .chat-header {
            padding: 15px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            font-weight: bold;
        }

        .chat-messages {
            flex-grow: 1;
            overflow-y: auto;
            padding: 15px;
        }

        .message {
            margin-bottom: 15px;
        }

        .message-user {
            font-weight: bold;
            color: var(--accent-color);
            margin-right: 5px;
        }

        .message-text {
            color: var(--text-primary);
        }

        .chat-input {
            padding: 15px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .chat-input input {
            width: 100%;
            background-color: rgba(255, 255, 255, 0.1);
            border: none;
            padding: 10px 15px;
            border-radius: 5px;
            color: var(--text-primary);
        }

        /* Theme switcher */
        .theme-switcher {
            position: fixed;
            bottom: 20px;
            left: 20px;
            z-index: 1000;
            background-color: var(--bg-secondary);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            cursor: pointer;
        }

        /* Mobile adaptation */
        @media (max-width: 992px) {
            .sidebar {
                transform: translateX(-100%);
            }

            .sidebar.active {
                transform: translateX(0);
            }

            .main-content {
                margin-left: 0;
            }

            .chat-container {
                margin-top: 20px;
                height: auto;
                max-height: 400px;
            }
        }

        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .fade-in {
            animation: fadeIn 0.5s ease-in;
        }
		
    /* Основные стили таблицы */
    .table {
        --table-bg: var(--bg-secondary);
        --table-color: var(--text-primary); /* Белый в темной теме, темный в светлой */
        --table-border-color: rgba(255, 255, 255, 0.1);
        --table-header-bg: var(--bg-secondary);
        --table-header-color: var(--text-primary);
        --table-hover-bg: rgba(255, 255, 255, 0.05);
        width: 100%;
        color: var(--table-color); /* Применяем к тексту в ячейках */
        background-color: var(--table-bg);
        border-collapse: collapse;
        margin-bottom: 1rem;
    }

    /* Светлая тема */
    .light-theme .table {
        --table-bg: var(--bg-secondary);
        --table-color: var(--text-primary); /* Темный текст */
        --table-border-color: rgba(0, 0, 0, 0.1);
        --table-header-bg: var(--bg-secondary);
        --table-header-color: var(--text-primary);
        --table-hover-bg: rgba(0, 0, 0, 0.03);
    }

    /* Явно задаем цвет текста для ячеек */
    .table td {
        color: var(--table-color) !important;
    }

    /* Заголовки таблицы */
    .table thead th {
        background-color: var(--table-header-bg);
        color: var(--table-header-color);
        padding: 12px 15px;
        text-align: left;
        font-weight: 600;
        border-bottom: 2px solid var(--table-border-color);
    }

    /* Ячейки таблицы */
    .table tbody td {
        padding: 12px 15px;
        border-bottom: 1px solid var(--table-border-color);
        background-color: var(--table-bg);
    }

    /* Последняя строка */
    .table tbody tr:last-child td {
        border-bottom: none;
    }

    /* Эффект при наведении */
    .table tbody tr:hover {
        background-color: var(--table-hover-bg);
    }

    /* Адаптивность */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Стили для статусов (оставляем как есть) */
    .table .badge {
        font-weight: 500;
        padding: 5px 8px;
        font-size: 0.8em;
    }

    /* Стили для Dice игры */
    .slider {
        -webkit-appearance: none;
        height: 8px;
        border-radius: 4px;
        outline: none;
        transition: all 0.3s;
    }
    
    .slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: white;
        cursor: pointer;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        border: 2px solid var(--accent-color);
    }
    
    .bet-direction.active {
        background-color: var(--accent-color) !important;
        color: white !important;
        border-color: var(--accent-color) !important;
    }	
	
    .play-btn {
        background: linear-gradient(135deg, var(--accent-color), #8c7ae6);
        color: white;
        border: none;
        border-radius: 8px;
        font-weight: bold;
        transition: all 0.2s;
    }
    
    .play-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
    }
    
    .bet-direction.active {
        background-color: var(--accent-color) !important;
        color: white !important;
    }
	
.bet-input {
  background-color: var(--bet-input-bg);
  color: var(--bet-input-color);
  border: 1px solid var(--bet-input-border);
  border-radius: 8px;
  padding: 15px;
  width: 100%;
  transition: all 0.3s ease;
}

.bet-input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(108, 92, 231, 0.2);
}	

.bet-control-btn {
    flex-grow: 1;
    background-color: var(--bet-control-bg);
    color: var(--bet-control-color);
    border: none;
    border-radius: 6px;
    padding: 8px 5px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s;
}

.bet-control-btn:hover {
    background-color: var(--bet-control-hover-bg);
    transform: translateY(-1px);
}

.bet-control-btn:active {
    transform: translateY(0);
}

    .inventory-item {
        transition: transform 0.3s, box-shadow 0.3s;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .inventory-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }
    
    .light-theme .inventory-item {
        border: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .light-theme .inventory-item:hover {
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }