* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.container {
    display: none;
    width: 100%;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
}

.glass-panel {
    background: linear-gradient(135deg, rgba(24, 20, 41, 0.95) 0%, rgba(28, 23, 48, 0.95) 100%);
    border-radius: 15px;
    width: 1600px;
    height: 900px;
    color: white;
    padding: 0;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: 80px;
    background: rgba(255, 255, 255, 0.03);
}

.left-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo img {
    height: 40px;
    width: auto;
}

.header-title h1 {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
}

.player-info {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: default;
}

.player-name {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.player-name i {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.player-details {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.player-balance {
    font-size: 14px;
    color: #4CAF50;
    font-weight: 500;
}

.content {
    display: flex;
    height: calc(100% - 80px);
}

.sidebar {
    width: 280px;
    background: rgba(255, 255, 255, 0.02);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
}

.sidebar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar nav ul li {
    padding: 12px 30px;
    margin: 4px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar nav ul li:hover {
    background: rgba(255, 255, 255, 0.05);
}

.sidebar nav ul li.active {
    background: rgba(255, 255, 255, 0.1);
    border-left: 3px solid #4CAF50;
}

.nav-item {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.main-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.tab-content {
    display: none;
    height: 100%;
}

.tab-content.active {
    display: block;
}

/* Update slots container to fill tab content */
.slots-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    width: 100%;
    height: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.slots-controls-panel {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    grid-column: 1;
    grid-row: 1;
}

.slots-machine {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 35px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    grid-column: 2;
    grid-row: 1;
}

/* Update slots info container styles */
.slots-info-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    grid-column: 1 / -1;
    grid-row: 2;
    height: 100%;
}

.slots-how-to-play {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Update payout table layout */
.payout-table {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.slots-how-to-play h3 {
    color: white;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

.slots-how-to-play p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.payout-table h4 {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    grid-column: 1 / -1;
}

.payout-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
}

.payout-row .symbol {
    font-size: 32px;
    margin-bottom: 8px;
}

.payout-row .multiplier {
    color: #4CAF50;
    font-weight: 600;
    font-size: 16px;
}

/* Update game container to center content */
.game-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    height: 100%;
}

.slots-display {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    justify-content: center;
}

.slot {
    width: 140px;
    height: 160px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 62px;
    font-weight: bold;
    color: #fff;
}

/* Update controls panel styles */
.controls-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.controls-section h3 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.bet-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.spin-btn {
    width: 100%;
    height: 46px;
    background: #4CAF50;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 4px;
}

.spin-btn:hover:not(:disabled) {
    background: #45a049;
    transform: translateY(-2px);
}

.spin-btn:disabled {
    background: #666;
    cursor: not-allowed;
}

.history-list {
    padding: 20px;
}

.history-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.history-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.history-item .game-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.history-item .game-time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.history-item .game-type {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.history-item .game-result {
    display: flex;
    align-items: center;
    gap: 15px;
}

.history-item .bet-amount {
    color: rgba(255, 255, 255, 0.7);
}

.history-item .win-amount {
    font-weight: 600;
    min-width: 100px;
    text-align: right;
}

.history-item .win {
    color: #4CAF50;
}

.history-item .lose {
    color: #ff4444;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.win-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(76, 175, 80, 0.9);
    padding: 20px 40px;
    border-radius: 10px;
    font-size: 24px;
    font-weight: bold;
    color: white;
    animation: popIn 0.5s ease-out, fadeOut 0.5s ease-in 2.5s;
    z-index: 100;
}

@keyframes popIn {
    0% { transform: translate(-50%, -50%) scale(0); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.slot {
    transition: transform 0.1s ease;
}

.slot.spinning {
    transform: scale(1.05);
}

@keyframes spinning {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.slot.spinning {
    animation: spinning 0.3s ease-in-out infinite;
    background: rgba(255, 255, 255, 0.1);
}



.payout-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    width: 200px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.payout-container h3 {
    text-align: center;
    margin-bottom: 15px;
    color: #fff;
    font-size: 18px;
}

.payout-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payout-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: transform 0.2s;
}

.payout-row:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.1);
}

.payout-row .symbol {
    font-size: 24px;
}

.payout-row .multiplier {
    color: #4CAF50;
    font-weight: 500;
}

.payout-note {
    text-align: center;
    margin-top: 15px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Update header styles */
.player-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-right: 20px;
}

.balance-display {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
}

.balance-display i {
    color: #4CAF50;
    font-size: 14px;
}

/* Remove hover effect */
.player-info:hover {
    background: rgba(255, 255, 255, 0.05);
}

#player-name {
    font-size: 14px;
    font-weight: 500;
}

.balance-amount {
    font-size: 14px;
    font-weight: 500;
}

/* Profile styles */
.profile-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1); 
    border-radius: 15px;
    padding: 30px;
    height: 100%;
}

.profile-header {
    margin-bottom: 30px;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5px;
}

.stat-value {
    font-size: 24px;
    font-weight: 600;
    color: #4CAF50;
}

.game-history {
    margin-top: 30px;
}

.history-container {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 15px;
    height: 400px;
    overflow: hidden;
}

.history-list {
    height: 100%;
    overflow-y: auto;
    padding-right: 10px;
}

/* Custom scrollbar for history list */
.history-list::-webkit-scrollbar {
    width: 6px;
}

.history-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.history-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    transition: background 0.3s ease;
}

.history-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Update history item styles for the container */
.history-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: none;
    transition: all 0.3s ease;
    height: 60px;
    box-sizing: border-box;
}

.history-item:last-child {
    margin-bottom: 0;
}

.history-item.visible {
    display: flex;
}

.history-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

/* Update header styles to match container */
.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 0 5px;
}

.history-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.plinko-container {
    display: grid;
    grid-template-columns: 300px 1fr; /* Controls on left, game on right */
    grid-template-rows: minmax(600px, auto) auto; /* Fixed height for game area, auto for explanation */
    gap: 20px;
    padding: 20px;
    height: 100%;
}

.plinko-game {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.plinko-layout {
    display: flex;
    gap: 12px;
    width: 100%;
    align-items: flex-start;
    margin-bottom: 15px;
}

.plinko-controls-panel {
    grid-column: 1;
    grid-row: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 600px; /* Match plinko board height */
    display: flex;
    flex-direction: column;
}

.plinko-controls-panel::before {
    content: 'Game Settings';
    position: absolute;
    top: -30px;
    left: 0;
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.plinko-board {
    grid-column: 2;
    grid-row: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 600px;
    position: relative; /* Add this to properly position absolute messages */
}

.plinko-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#plinkoCanvas {
    width: 100%;
    max-width: 750px;
    height: 500px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

.bet-input-group {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 8px;
    width: 100%;
}

.drop-btn {
    width: 100%;
    height: 46px;
}

.drop-btn {
    background: #4CAF50;
    border: none;
    color: white;
    padding: 12px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
}

.drop-btn:hover {
    background: #45a049;
}

.drop-btn:disabled {
    background: #666;
    cursor: not-allowed;
}

.game-type {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

/* Add styles for Plinko history items */
.game-multiplier {
    background: rgba(76, 175, 80, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 14px;
    color: #4CAF50;
    font-weight: 500;
}

/* Add loading spinner styles */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    gap: 15px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: #4CAF50;
    animation: spin 1s ease-in-out infinite;
}

.loading-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.mines-container {
    display: flex;
    height: 100%;
    padding: 20px;
}

.mines-game {
    display: flex;
    gap: 20px;
    width: 100%;
}

.mines-controls-container {
    width: 450px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mines-controls-container h2 {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
}

.mines-count-selector, .bet-controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
}



.mines-info {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
}

.next-profit, .total-profit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.info-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.multiplier-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.multiplier-row {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.multiplier-row.current {
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.3);
}

.multiplier-row.next {
    background: rgba(255, 152, 0, 0.1);
    border-color: rgba(255, 152, 0, 0.3);
}

.multiplier-row .label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
}

.multiplier-row span:last-child {
    color: #4CAF50;
    font-size: 16px;
    font-weight: 600;
}

.multiplier-row.next span:last-child {
    color: #ff9800;
}

.mines-btn {
    width: 100%;
    height: 46px;
    background: #4CAF50;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mines-btn:hover:not(:disabled) {
    background: #45a049;
    transform: translateY(-2px);
}

.mines-btn:disabled {
    background: #666;
    cursor: not-allowed;
}

.mines-grid-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
}

.dice-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
    gap: 20px;
}

.dice-content-wrapper {
    display: flex;
    gap: 20px;
    flex: 1;
}

/* Controls Container Styles */
.dice-controls-container {
    width: 300px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Game Container Styles */
.dice-game-container {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.dice-game {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Target Container Styles */
.target-container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin-bottom: 20px;
}

/* Result Display Styles */
.dice-result {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    font-size: 48px;
    font-weight: bold;
    position: relative;
    overflow: hidden;
}

.dice-number {
    position: absolute;
    width: 100%;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.dice-number.rolling {
    animation: rollNumber 0.1s linear infinite;
}

@keyframes rollNumber {
    0% { transform: translateY(-100%); opacity: 0; }
    10% { transform: translateY(0); opacity: 1; }
    90% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}

.result-text.rolling {
    animation: fadeOut 0.3s forwards;
}

@keyframes fadeOut {
    to { opacity: 0; }
}

.dice-result .win {
    color: #4CAF50;
    animation: bounceIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.dice-result .lose {
    color: #ff4444;
    animation: bounceIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Controls Styles */
.bet-and-roll {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: visible;
}

.dice-input {
    width: 100%;
    max-width: 500px;
    height: 56px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 15px;
    text-align: center;
    padding: 8px;
    transition: all 0.3s ease;
    resize: horizontal;
    overflow: auto;
    min-width: 250px;
}

.dice-input:focus {
    outline: none;
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

/* Explanation Container Styles */
.dice-explanation-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
}

/* Target Controls Styles */
.target-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.roll-buttons {
    display: flex;
    gap: 10px;
}

.roll-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.roll-btn.active {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid #4CAF50;
}

.win {
    color: #4CAF50 !important;
}

.lose {
    color: #ff4444 !important;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.history-filters {
    display: flex;
    gap: 10px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.7);
    padding: 5px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.filter-btn.active {
    background: #4CAF50;
    border-color: #4CAF50;
    color: white;
}

.history-item {
    display: none; /* Hide by default */
}

.history-item.visible {
    display: flex; /* Show when has visible class */
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.deposit-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.deposit-modal.active {
    display: flex;
}

.deposit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.deposit-header h3 {
    margin: 0;
    color: white;
}

.deposit-body {
    padding: 20px;
}

.quick-amounts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}


.amount-btn.deposit:hover {
    background: rgba(76, 175, 80, 0.1);
    border-color: #4CAF50;
}

.amount-btn.withdraw:hover {
    background: rgba(255, 152, 0, 0.1);
    border-color: #ff9800;
}

.action-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.custom-amount {
    margin-bottom: 20px;
}

.custom-amount label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.custom-input {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
}

.action-btn.deposit-btn {
    background: #4CAF50;
    color: white;
}

.action-btn.withdraw-btn {
    background: #ff9800;
    color: white;
}

.action-btn.deposit-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
}

.action-btn.withdraw-btn:hover {
    background: #f57c00;
    transform: translateY(-2px);
}

.action-btn:disabled {
    background: #666;
    cursor: not-allowed;
    transform: none;
}

.nav-item i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.sidebar nav ul li:hover i {
    color: #4CAF50;
}

.sidebar nav ul li.active i {
    color: #4CAF50;
}

/* Add category styles */
.nav-category {
    margin-bottom: 20px;
}

.category-title {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 30px;
    margin-bottom: 10px;
    display: block;
    font-weight: 500;
}

/* Update deposit modal styles */
.deposit-content {
    background: rgba(24, 20, 41, 0.95);
    border-radius: 15px;
    width: 800px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.balance-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.balance-section {
    flex: 1;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.balance-section h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
    text-align: center;
    font-weight: 600;
}

.quick-amounts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.amount-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.amount-btn:hover {
    background: rgba(76, 175, 80, 0.1);
    border-color: #4CAF50;
}

.amount-btn.withdraw {
    border-color: rgba(255, 152, 0, 0.1);
}

.amount-btn.withdraw:hover {
    background: rgba(255, 152, 0, 0.1);
    border-color: #ff9800;
}

.custom-amount {
    margin-bottom: 20px;
}

.custom-amount label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    font-size: 14px;
}

.custom-input {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    transition: all 0.3s ease;
}

.custom-input:focus-within {
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.balance-section:last-child .custom-input:focus-within {
    border-color: #ff9800;
    background: rgba(255, 152, 0, 0.1);
}

.currency {
    color: rgba(255, 255, 255, 0.7);
    margin-right: 8px;
    font-size: 14px;
}

#custom-deposit,
#custom-withdraw {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    width: 100%;
    outline: none;
}

.action-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.deposit-error {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    color: #ff4444;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 15px;
    font-size: 14px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* Add confirmation modal styles */
.confirmation-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1100;
    justify-content: center;
    align-items: center;
}

.confirmation-content {
    background: rgba(24, 20, 41, 0.95);
    border-radius: 15px;
    width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.confirmation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.confirmation-header h3 {
    margin: 0;
    color: white;
}

.confirmation-body {
    padding: 20px;
    text-align: center;
}

.confirmation-body p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    font-size: 16px;
}

.confirmation-amount {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    color: white;
    font-size: 18px;
    font-weight: 500;
}

.confirm-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
}

.cancel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Coin Flip Styles */
.coinflip-container {
    display: grid;
    grid-template-columns: 300px 1fr; /* Controls on left, game on right */
    grid-template-rows: 450px auto; /* Fixed height for game area, auto for explanation */
    gap: 15px; /* Reduced gap between elements */
    padding: 20px;
    height: 100%;
}

/* Controls Container */
.coinflip-controls-container {
    grid-column: 1;
    grid-row: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%; /* Changed from fixed height to 100% */
    display: flex;
    flex-direction: column;
}

/* Coin Display */
.coin-display {
    grid-column: 2;
    grid-row: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%; /* Changed from fixed height to 100% */
}

/* Game Explanation */
.coinflip-explanation {
    grid-column: 1 / -1;
    grid-row: 2;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments */
@media screen and (max-width: 992px) {
    .coinflip-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 15px;
    }
    
    .coinflip-controls-container,
    .coin-display {
        grid-column: 1;
        height: 450px;
    }
    
    .coin-display {
        grid-row: 2;
    }
    
    .coinflip-explanation {
        grid-row: 3;
    }
}

.coinflip-game {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    width: 500px;
    text-align: center;
}

.heads {
    background: radial-gradient(circle at 50% 50%, #FFD700, #FFA500);
    transform: rotateY(0deg);
}

.tails {
    background: radial-gradient(circle at 50% 50%, #C0C0C0, #808080);
    transform: rotateY(180deg);
}

@keyframes flipHeads {
    from { transform: rotateY(0); }
    to { transform: rotateY(720deg); }
}

@keyframes flipTails {
    from { transform: rotateY(0); }
    to { transform: rotateY(900deg); }
}

.close-ui {
    position: relative;
    top: auto;
    right: auto;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.7);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.close-ui:hover {
    background: rgba(255, 68, 68, 0.2);
    color: #ff4444;
}

.plinko-game-explanation {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    min-width: 1220px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.explanation-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.multiplier-info {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.multiplier-info span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.multiplier-list {
    color: #4CAF50;
    font-size: 13px;
    font-weight: 500;
    background: rgba(76, 175, 80, 0.1);
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    line-height: 1.8;
}

.risk-buttons {
    display: flex;
    gap: 8px;
    margin-top: 5px;
}

.risk-btn {
    flex: 1;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    color: white;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.risk-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.risk-btn.active {
    background: rgba(76, 175, 80, 0.2);
    border-color: #4CAF50;
}



#mines-count-value {
    width: 140px; /* Larger width for bet amount */
    height: 35px; /* Slightly taller */
    font-size: 14px;
    padding: 8px;
    margin-left: 18px;
}

.mines-count-selector, .bet-controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 0;
}

.mines-settings {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 10px;
    width: 400px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mines-count-controls {
    margin: 0;
}

.dice-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 0;
}

/* Update bet section styles */


/* Add these styles for the dice game explanation */
.dice-game .game-explanation {
    margin-top: 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dice-game .explanation-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dice-game .explanation-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

.dice-game .multiplier-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dice-game .multiplier-info span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.dice-game .multiplier-list {
    color: #4CAF50;
    font-size: 13px;
    font-weight: 500;
    background: rgba(76, 175, 80, 0.1);
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    line-height: 1.8;
}

.roll-action-btn {
    width: 100%;
    height: 46px;
    background: #4CAF50;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.roll-action-btn:hover:not(:disabled) {
    background: #45a049;
}

.roll-action-btn:disabled {
    background: #666;
    cursor: not-allowed;
}

/* Add these styles for the mines grid */
.mines-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 600px;
}

.mine-cell {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.mine-cell:hover:not(.revealed) {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.mine-cell.revealed {
    cursor: default;
}

.mine-cell.revealed.mine {
    background: rgba(255, 68, 68, 0.2);
    border-color: #ff4444;
}

.mine-cell.revealed.gem {
    background: rgba(76, 175, 80, 0.2);
    border-color: #4CAF50;
}

/* Add cashout button style */
.mines-btn.cashout {
    background: #ff9800;
}

.mines-btn.cashout:hover:not(:disabled) {
    background: #f57c00;
    transform: translateY(-2px);
}

/* Add animation for button state change */
.mines-btn {
    position: relative;
    overflow: hidden;
}

.mines-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mines-btn:hover::after {
    transform: translateX(0);
}

/* Update mines boxes styles */
.mines-boxes-header {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.mines-boxes-container {
    padding: 2px;
    width: 100%;
}

.mines-boxes-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    width: 100%;
}

.mines-box {
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: white;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
}

.mines-box:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.mines-box.active {
    background: rgba(76, 175, 80, 0.2);
    border-color: #4CAF50;
}

.deposit-btn {
    background: #4CAF50;
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-left: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.deposit-btn:hover {
    transform: scale(1.1);
    background: #45a049;
}

.close-modal {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: white;
}

.amount-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    width: 100%;
    text-align: center;
}

#submit-deposit {
    background: #4CAF50;
}

#submit-withdraw {
    background: #ff9800;
}

#submit-deposit:hover {
    background: #45a049;
    transform: translateY(-2px);
}

#submit-withdraw:hover {
    background: #f57c00;
    transform: translateY(-2px);
}

.currency {
    color: rgba(255, 255, 255, 0.7);
    margin-right: 8px;
}

.balance-info {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-top: 10px;
}

.info-item {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-item span:last-child {
    color: white;
    font-size: 16px;
    font-weight: 500;
}

.confirmation-modal.active {
    display: flex;
}

.confirmation-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.confirm-btn, .cancel-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.confirm-btn {
    background: #4CAF50;
    color: white;
}

.cancel-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.balance-container {
    padding: 30px;
}

.balance-overview {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.balance-header {
    margin-bottom: 30px;
}

.balance-header h2 {
    color: white;
    font-size: 24px;
    font-weight: 600;
}

.coin {
    width: 180px;
    height: 180px;
    position: relative;
    margin: 0 auto;
    transform-style: preserve-3d;
    transition: transform 1s ease-in;
}

.coin.flip-heads {
    animation: flipHeads 3s forwards;
}

.coin.flip-tails {
    animation: flipTails 3s forwards;
}

.heads, .tails {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    backface-visibility: hidden;
}

.side-selection {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.side-btn {
    flex: 1;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.side-btn.active {
    background: rgba(76, 175, 80, 0.2);
    border-color: #4CAF50;
}

.side-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.side-btn .multiplier {
    color: #4CAF50;
    font-weight: 500;
}

.flip-action-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 8px;
    background: #4CAF50;
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.flip-action-btn:hover:not(:disabled) {
    background: #45a049;
    transform: translateY(-2px);
}

.flip-action-btn:disabled {
    background: #666;
    cursor: not-allowed;
}

input {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.slots-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 180px;
    margin-left: auto;
}

.payout-item {
    padding: 8px;
    gap: 8px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
}

.payout-item .symbol {
    font-size: 20px;
    width: 28px;
}

.payout-item .multiplier {
    font-size: 12px;
    color: #4CAF50;
    font-weight: 600;
}

.panel-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.bet-input:focus {
    outline: none;
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.explanation-text {
    flex: 1;
}

.risk-selector {
    margin-bottom: 15px;
}

.risk-btn[data-risk="low"] {
    border-color: rgba(76, 175, 80, 0.3);
}

.risk-btn[data-risk="medium"] {
    border-color: rgba(255, 152, 0, 0.3);
}

.risk-btn[data-risk="high"] {
    border-color: rgba(255, 68, 68, 0.3);
}

.risk-btn[data-risk="low"].active {
    background: rgba(76, 175, 80, 0.2);
    border-color: #4CAF50;
}

.risk-btn[data-risk="medium"].active {
    background: rgba(255, 152, 0, 0.2);
    border-color: #ff9800;
}

.risk-btn[data-risk="high"].active {
    background: rgba(255, 68, 68, 0.2);
    border-color: #ff4444;
}

.dice-bet-controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
}

.dice-input {
    width: 140px;
    height: 35px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 14px;
    text-align: center;
    padding: 8px;
    transition: all 0.3s ease;
}

.bet-input-group {
    display: none;
}

.play-btn {
    width: 100%;
    padding: 10px;
    background: #4CAF50;
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
}



.coinflip-game .bet-label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.slots-bet-label, .dice-bet-label, .coinflip-bet-label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
}

.plinko-bet-label, .plinko-risk-label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.coinflip-game {
    width: 100%;
    height: 46px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.bet-input {
    width: 190px;
    height: 35px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 16px;
    text-align: center;
    padding: 8px;
    transition: all 0.3s ease;
}

.coinflip-game .bet-input:focus {
    outline: none;
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

/* Coin Flip Explanation Styles */
.coinflip-explanation {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.coinflip-explanation-content {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.coinflip-explanation-text {
    flex: 1;
}

.coinflip-explanation-text h3 {
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.coinflip-explanation-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.5;
}

.coinflip-multiplier-info {
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 15px;
}

.coinflip-multiplier-info > span {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
}

.coinflip-details-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.coinflip-detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.coinflip-detail-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.coinflip-detail-item i {
    color: #4CAF50;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.coinflip-detail-item span {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

/* Add hover effect for the entire explanation panel */
.coinflip-explanation:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(76, 175, 80, 0.3);
}

/* Add animation for the detail items */
.coinflip-detail-item {
    animation: slideIn 0.3s ease-out forwards;
    opacity: 0;
    transform: translateX(-10px);
}

.coinflip-detail-item:nth-child(1) { animation-delay: 0.1s; }
.coinflip-detail-item:nth-child(2) { animation-delay: 0.2s; }
.coinflip-detail-item:nth-child(3) { animation-delay: 0.3s; }

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.coinflip-controls-title {
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: left;
}

.plinko-controls-title {
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: left;
}

.coinflip-controls-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.coinflip-controls-container .bet-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 46px;
    font-size: 16px;
}

.coinflip-controls-container .side-selection {
    display: flex;
    gap: 15px;
}

.coinflip-controls-container .side-btn {
    flex: 1;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
}

.coinflip-controls-container .side-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.coinflip-controls-container .side-btn.active {
    background: rgba(76, 175, 80, 0.1);
    border-color: #4CAF50;
}

.coinflip-controls-container .side-btn .multiplier {
    color: #4CAF50;
    font-weight: 500;
}

.coinflip-controls-container .flip-action-btn {
    width: 100%;
    padding: 15px;
    background: #4CAF50;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.coinflip-controls-container .flip-action-btn:hover:not(:disabled) {
    background: #45a049;
    transform: translateY(-2px);
}

.coinflip-controls-container .flip-action-btn:disabled {
    background: #666;
    cursor: not-allowed;
}

/* Add hover effect for the container */
.coinflip-controls-container:hover,
.coin-display:hover {
    border-color: rgba(76, 175, 80, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Update side selection styles */
.coinflip-controls-container .side-selection {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.coinflip-controls-container .side-selection p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
}

.coinflip-controls-container .side-buttons {
    display: flex;
    gap: 15px;
}

/* Update existing side button styles to work with new structure */
.coinflip-controls-container .side-btn {
    flex: 1;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Add styles for coin result display */
.coin-result {
    margin-top: 20px;
    text-align: center;
    min-height: 30px;
}

.coin-result .result-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    font-weight: 500;
}

.coin-result .win {
    color: #4CAF50;
    font-weight: 600;
}

.coin-result .lose {
    color: #ff4444;
    font-weight: 600;
}

.plinko-board .win-message {
    z-index: 100;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.plinko-game-explanation:hover,
.plinko-board:hover,
.plinko-controls-panel:hover,
.slots-controls-panel:hover,
.slots-machine:hover,
.slots-info-container:hover,
.mines-controls-container:hover,
.mines-grid-container:hover,
.dice-controls-container:hover,
.dice-game-container:hover,
.dice-explanation-container:hover {
    border-color: rgba(76, 175, 80, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Add these new styles for slots bet input */
.slots-bet-controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    width: 100%;
}

.slots-bet-input {
    width: 100%;
    height: 46px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 16px;
    text-align: center;
    padding: 8px;
    transition: all 0.3s ease;
}

.slots-bet-input:focus {
    outline: none;
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.mines-label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.mines-input {
    width: 100%;
    height: 46px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 16px;
    text-align: center;
    padding: 8px;
    transition: all 0.3s ease;
}

.mines-input:focus {
    outline: none;
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.slots-bet-label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.coinflip-bet-input, .dice-bet-input ,.plinko-bet-input {
    width: 100%;
    height: 46px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 16px;
    text-align: center;
    padding: 8px;
    transition: all 0.3s ease;
}

.coinflip-bet-input:focus, .dice-bet-input:focus, .plinko-bet-input:focus {
    outline: none;
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.coinflip-bet-label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.mines-controls-container {
    width: 450px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mines-boxes-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    width: 100%;
}

.mines-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    margin-top: 5px;
}

.game-stats {
    display: flex;
    gap: 10px;
    align-items: center;
}

.game-stats .gems,
.game-stats .mines {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.game-stats .gems {
    color: #4CAF50;
}

.game-stats .mines {
    color: #ff4444;
}

.game-banner {
    width: 230px;
    height: 240px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
    transition: transform 0.2s ease-in-out;
}

.game-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.game-banner:hover {
    transform: scale(1.05);
    border-color: rgba(76, 175, 80, 0.3);
    cursor: pointer;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(5, 230px);
    gap: 10px;
    justify-content: center;
}

.welcome-section {
    padding: 30px;
    margin: 0 25px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.welcome-section h2 {
    color: white;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.welcome-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.5;
}

.banner-game-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transform: translateY(70%);
    transition: transform 0.3s ease;
}

.banner-game-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.game-banner:hover .banner-game-info {
    transform: translateY(0);
}

.game-banner:hover .banner-game-info p {
    opacity: 1;
    transform: translateY(0);
}