* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #1a1a1a;
  color: #ffffff;
  min-height: 100vh;
}

.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-header {
  background-color: #2c3e50;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.main-header .logo-container {
  display: flex;
  align-items: center;
}
.main-header .logo-container .logo {
  height: 40px;
  margin-right: 1rem;
}
.main-header .logo-container h1 {
  color: #9b59b6;
  font-weight: 700;
  font-size: 1.5rem;
}
.main-header .main-nav ul {
  display: flex;
  list-style: none;
}
.main-header .main-nav ul li {
  margin: 0 0.5rem;
}
.main-header .main-nav ul li a {
  color: #b3b3b3;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}
.main-header .main-nav ul li a i {
  margin-right: 0.5rem;
}
.main-header .main-nav ul li a:hover, .main-header .main-nav ul li a.active {
  color: #ffffff;
  background-color: rgba(106, 13, 173, 0.2);
}
.main-header .main-nav ul li a.active {
  color: #9b59b6;
}
.main-header .user-panel {
  display: flex;
  align-items: center;
  position: relative;
}
.main-header .user-panel .balance {
  background-color: rgba(106, 13, 173, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  margin-right: 1rem;
  display: flex;
  align-items: center;
}
.main-header .user-panel .balance i {
  color: #f39c12;
  margin-right: 0.5rem;
}
.main-header .user-panel .user-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #2c3e50;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  padding: 1rem;
  width: 200px;
  z-index: 100;
}
.main-header .user-panel .user-menu .user-avatar {
  text-align: center;
  margin-bottom: 1rem;
}
.main-header .user-panel .user-menu .user-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #9b59b6;
}
.main-header .user-panel .user-menu ul {
  list-style: none;
}
.main-header .user-panel .user-menu ul li {
  margin-bottom: 0.5rem;
}
.main-header .user-panel .user-menu ul li a {
  color: #b3b3b3;
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 0.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.main-header .user-panel .user-menu ul li a i {
  margin-right: 0.5rem;
  width: 20px;
  text-align: center;
}
.main-header .user-panel .user-menu ul li a:hover {
  color: #ffffff;
  background-color: rgba(106, 13, 173, 0.2);
}

.main-content {
  flex: 1;
  padding: 2rem;
  background-color: #1a1a1a;
}
.main-content .page {
  display: none;
}
.main-content .page.active {
  display: block;
}
.main-content .hero-banner {
  text-align: center;
  margin-bottom: 2rem;
}
.main-content .hero-banner h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #9b59b6;
}
.main-content .hero-banner p {
  font-size: 1.2rem;
  color: #b3b3b3;
  margin-bottom: 2rem;
}
.main-content .game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.main-content .game-grid .game-card {
  background-color: #2d2d2d;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.main-content .game-grid .game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(106, 13, 173, 0.3);
}
.main-content .game-grid .game-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.main-content .game-grid .game-card h3 {
  padding: 1rem;
  text-align: center;
  color: #9b59b6;
}

.game-container {
  max-width: 1200px;
  margin: 0 auto;
}
.game-container h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #9b59b6;
  font-size: 2rem;
}

.slots-machine {
  background-color: #2d2d2d;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.slots-machine .slots-reels {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}
.slots-machine .slots-reels .reel {
  width: 100px;
  height: 100px;
  background-color: #2c3e50;
  margin: 0 0.5rem;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  color: #9b59b6;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}
.slots-machine .slots-reels .reel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent, rgba(106, 13, 173, 0.2));
  z-index: 1;
}
.slots-machine .slots-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.slots-machine .slots-controls .bet-controls {
  display: flex;
  margin-bottom: 1rem;
}
.slots-machine .slots-controls .bet-controls .bet-btn {
  margin: 0 0.5rem;
  padding: 0.5rem 1rem;
  background-color: #2c3e50;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.slots-machine .slots-controls .bet-controls .bet-btn:hover, .slots-machine .slots-controls .bet-controls .bet-btn.active {
  background-color: #6a0dad;
}
.slots-machine .slots-controls .bet-controls #custom-bet {
  width: 120px;
  padding: 0.5rem;
  background-color: #2c3e50;
  color: #ffffff;
  border: 1px solid #6a0dad;
  border-radius: 4px;
  text-align: center;
}
.slots-machine .slots-controls .btn-spin {
  padding: 1rem 3rem;
  font-size: 1.2rem;
  font-weight: bold;
  background: linear-gradient(45deg, #6a0dad, #9b59b6);
  border: none;
  border-radius: 50px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(106, 13, 173, 0.3);
}
.slots-machine .slots-controls .btn-spin:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(106, 13, 173, 0.4);
}
.slots-machine .slots-controls .btn-spin:disabled {
  background: #2c3e50;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.game-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
}
.game-stats .stat-box {
  background-color: #2d2d2d;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.game-stats .stat-box h4 {
  color: #b3b3b3;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.game-stats .stat-box p {
  font-size: 1.2rem;
  font-weight: bold;
  color: #9b59b6;
}

.coinflip-game {
  background-color: #2d2d2d;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.coinflip-game .coin-container {
  perspective: 1000px;
  margin-bottom: 2rem;
}
.coinflip-game .coin-container .coin {
  width: 150px;
  height: 150px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1s ease;
}
.coinflip-game .coin-container .coin .heads, .coinflip-game .coin-container .coin .tails {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.coinflip-game .coin-container .coin .heads {
  background-color: #6a0dad;
  background-image: url("/assets/images/coin-heads.png");
  background-size: cover;
  transform: rotateY(0deg);
}
.coinflip-game .coin-container .coin .tails {
  background-color: #f39c12;
  background-image: url("/assets/images/coin-tails.png");
  background-size: cover;
  transform: rotateY(180deg);
}
.coinflip-game .coinflip-controls {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.coinflip-game .coinflip-controls .side-selection {
  display: flex;
  margin-bottom: 1rem;
}
.coinflip-game .coinflip-controls .side-selection .btn-side {
  margin: 0 1rem;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.coinflip-game .coinflip-controls .side-selection .btn-side[data-side=heads] {
  background-color: #6a0dad;
  color: #ffffff;
}
.coinflip-game .coinflip-controls .side-selection .btn-side[data-side=heads]:hover, .coinflip-game .coinflip-controls .side-selection .btn-side[data-side=heads].active {
  background-color: rgb(76.935483871, 9.435483871, 125.564516129);
}
.coinflip-game .coinflip-controls .side-selection .btn-side[data-side=tails] {
  background-color: #f39c12;
  color: #ffffff;
}
.coinflip-game .coinflip-controls .side-selection .btn-side[data-side=tails]:hover, .coinflip-game .coinflip-controls .side-selection .btn-side[data-side=tails].active {
  background-color: rgb(199.8795180723, 126.5060240964, 10.1204819277);
}
.coinflip-game .coinflip-controls .side-selection .btn-side.active {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.coinflip-game .coinflip-controls .bet-controls {
  display: flex;
  align-items: center;
}
.coinflip-game .coinflip-controls .bet-controls #coinflip-bet {
  width: 150px;
  padding: 0.8rem;
  margin-right: 1rem;
  background-color: #2c3e50;
  color: #ffffff;
  border: 1px solid #6a0dad;
  border-radius: 4px;
  text-align: center;
}
.coinflip-game .coinflip-controls .bet-controls #flip-btn {
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: bold;
  background: linear-gradient(45deg, #6a0dad, #9b59b6);
  border: none;
  border-radius: 50px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}
.coinflip-game .coinflip-controls .bet-controls #flip-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(106, 13, 173, 0.3);
}
.coinflip-game .coinflip-controls .bet-controls #flip-btn:disabled {
  background: #2c3e50;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.game-history {
  background-color: #2d2d2d;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.game-history h3 {
  margin-bottom: 1rem;
  color: #9b59b6;
}
.game-history .history-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.game-history .history-list .history-item {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}
.game-history .history-list .history-item.heads {
  background-color: #6a0dad;
}
.game-history .history-list .history-item.tails {
  background-color: #f39c12;
}

.rocket-game {
  background-color: #2d2d2d;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.rocket-game .rocket-display {
  height: 300px;
  position: relative;
  margin-bottom: 2rem;
}
.rocket-game .rocket-display .rocket-track {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to top, #6a0dad, transparent);
  transform: translateX(-50%);
}
.rocket-game .rocket-display .rocket {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  transition: bottom 0.1s linear;
}
.rocket-game .rocket-display .rocket img {
  width: 60px;
  height: auto;
  filter: drop-shadow(0 0 5px rgba(155, 89, 182, 0.7));
}
.rocket-game .rocket-display .explosion-point {
  position: absolute;
  left: 50%;
  width: 100px;
  height: 100px;
  background-image: url("/assets/images/explosion.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: translateX(-50%);
  z-index: 10;
}
.rocket-game .rocket-display .multiplier-display {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  font-weight: bold;
  color: #27ae60;
  text-shadow: 0 0 10px rgba(39, 174, 96, 0.5);
}
.rocket-game .rocket-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.rocket-game .rocket-controls .bet-controls {
  display: flex;
  margin-bottom: 1rem;
}
.rocket-game .rocket-controls .bet-controls #rocket-bet {
  width: 150px;
  padding: 0.8rem;
  margin-right: 1rem;
  background-color: #2c3e50;
  color: #ffffff;
  border: 1px solid #6a0dad;
  border-radius: 4px;
  text-align: center;
}
.rocket-game .rocket-controls .bet-controls #launch-btn {
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: bold;
  background: linear-gradient(45deg, #6a0dad, #9b59b6);
  border: none;
  border-radius: 50px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}
.rocket-game .rocket-controls .bet-controls #launch-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(106, 13, 173, 0.3);
}
.rocket-game .rocket-controls .bet-controls #launch-btn:disabled {
  background: #2c3e50;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.rocket-game .rocket-controls #cashout-btn {
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: bold;
  background: linear-gradient(45deg, #27ae60, rgb(54.0422535211, 209.9577464789, 119.8732394366));
  border: none;
  border-radius: 50px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}
.rocket-game .rocket-controls #cashout-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(39, 174, 96, 0.3);
}

.cases-game {
  background-color: #2d2d2d;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  gap: 2rem;
}
.cases-game .case-selection {
  flex: 2;
}
.cases-game .case-selection h3 {
  margin-bottom: 1rem;
  color: #9b59b6;
}
.cases-game .case-selection .cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 1rem;
}
.cases-game .case-selection .cases-grid .case {
  width: 80px;
  height: 80px;
  background-color: #6a0dad;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.cases-game .case-selection .cases-grid .case::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  z-index: 1;
}
.cases-game .case-selection .cases-grid .case .case-number {
  position: relative;
  z-index: 2;
}
.cases-game .case-selection .cases-grid .case:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(106, 13, 173, 0.3);
}
.cases-game .case-selection .cases-grid .case.opened {
  background-color: #2c3e50;
  cursor: default;
}
.cases-game .case-selection .cases-grid .case.opened .case-number {
  display: none;
}
.cases-game .case-selection .cases-grid .case.opened::after {
  content: attr(data-value);
  position: relative;
  z-index: 2;
  color: #ffffff;
}
.cases-game .case-selection .cases-grid .case.selected {
  background-color: #4b0082;
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(155, 89, 182, 0.7);
}
.cases-game .case-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cases-game .case-info .case-preview {
  text-align: center;
  margin-bottom: 2rem;
}
.cases-game .case-info .case-preview h3 {
  margin-bottom: 1rem;
  color: #9b59b6;
}
.cases-game .case-info .case-preview .case {
  width: 120px;
  height: 120px;
  background-color: #4b0082;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
  margin: 0 auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}
.cases-game .case-info .case-preview .case::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  z-index: 1;
}
.cases-game .case-info .case-preview .case .case-number {
  position: relative;
  z-index: 2;
}
.cases-game .case-info .offer-section {
  text-align: center;
  margin-bottom: 2rem;
}
.cases-game .case-info .offer-section h3 {
  margin-bottom: 1rem;
  color: #9b59b6;
}
.cases-game .case-info .offer-section .offer-amount {
  font-size: 2rem;
  font-weight: bold;
  color: #27ae60;
  margin-bottom: 1rem;
  padding: 1rem;
  background-color: rgba(39, 174, 96, 0.1);
  border-radius: 8px;
  border: 2px dashed #27ae60;
}
.cases-game .case-info .offer-section .offer-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.cases-game .case-info .offer-section .offer-buttons button {
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.cases-game .case-info .offer-section .offer-buttons button#decline-offer {
  background-color: #e74c3c;
  color: #ffffff;
}
.cases-game .case-info .offer-section .offer-buttons button#decline-offer:hover {
  background-color: rgb(213.698630137, 43.8356164384, 26.301369863);
}
.cases-game .case-info .offer-section .offer-buttons button#accept-offer {
  background-color: #27ae60;
  color: #ffffff;
}
.cases-game .case-info .offer-section .offer-buttons button#accept-offer:hover {
  background-color: rgb(29.661971831, 132.338028169, 73.014084507);
}
.cases-game .case-info .case-controls {
  margin-top: auto;
  width: 100%;
}
.cases-game .case-info .case-controls button {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}
.cases-game .case-info .case-controls button#open-case-btn {
  background: linear-gradient(45deg, #6a0dad, #9b59b6);
  color: #ffffff;
}
.cases-game .case-info .case-controls button#open-case-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(106, 13, 173, 0.3);
}
.cases-game .case-info .case-controls button#new-game-btn {
  background-color: #2c3e50;
  color: #ffffff;
}
.cases-game .case-info .case-controls button#new-game-btn:hover {
  background-color: rgb(62.0967741935, 87.5, 112.9032258065);
}

.battles-interface {
  background-color: #2d2d2d;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.battles-interface .battles-lobby h3 {
  margin-bottom: 1rem;
  color: #9b59b6;
}
.battles-interface .battles-lobby .battle-list {
  margin-bottom: 2rem;
}
.battles-interface .battles-lobby .battle-list .battle-item {
  background-color: #2c3e50;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  cursor: pointer;
}
.battles-interface .battles-lobby .battle-list .battle-item:hover {
  background-color: rgb(53.0483870968, 74.75, 96.4516129032);
  transform: translateX(5px);
}
.battles-interface .battles-lobby .battle-list .battle-item .battle-info {
  display: flex;
  flex-direction: column;
}
.battles-interface .battles-lobby .battle-list .battle-item .battle-info .battle-host {
  font-weight: bold;
  color: #9b59b6;
}
.battles-interface .battles-lobby .battle-list .battle-item .battle-info .battle-details {
  font-size: 0.9rem;
  color: #b3b3b3;
}
.battles-interface .battles-lobby .battle-list .battle-item .battle-join {
  padding: 0.5rem 1rem;
  background-color: #6a0dad;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.battles-interface .battles-lobby .battle-list .battle-item .battle-join:hover {
  background-color: rgb(76.935483871, 9.435483871, 125.564516129);
}
.battles-interface .battles-lobby #create-battle-btn {
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: bold;
  background: linear-gradient(45deg, #6a0dad, #9b59b6);
  border: none;
  border-radius: 50px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}
.battles-interface .battles-lobby #create-battle-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(106, 13, 173, 0.3);
}
.battles-interface .battle-game .battle-players {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.battles-interface .battle-game .battle-players .player {
  background-color: #2c3e50;
  border-radius: 8px;
  padding: 1rem;
  width: 48%;
  display: flex;
  align-items: center;
}
.battles-interface .battle-game .battle-players .player .player-avatar {
  margin-right: 1rem;
}
.battles-interface .battle-game .battle-players .player .player-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #9b59b6;
}
.battles-interface .battle-game .battle-players .player .player-info {
  flex: 1;
}
.battles-interface .battle-game .battle-players .player .player-info h4 {
  margin-bottom: 0.5rem;
  color: #9b59b6;
}
.battles-interface .battle-game .battle-players .player .player-info .player-cases {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.battles-interface .battle-game .battle-players .player .player-info .player-cases .case {
  width: 30px;
  height: 30px;
  background-color: #6a0dad;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  font-weight: bold;
  color: #ffffff;
}
.battles-interface .battle-game .battle-players .player .player-info .player-cases .case.opened {
  background-color: #4b0082;
}
.battles-interface .battle-game .battle-players .player .player-info .player-cases .case.winner {
  animation: pulse 1s infinite;
  box-shadow: 0 0 10px #27ae60;
}
.battles-interface .battle-game .battle-controls {
  text-align: center;
}
.battles-interface .battle-game .battle-controls .battle-info {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}
.battles-interface .battle-game .battle-controls .battle-info p {
  font-size: 1.1rem;
}
.battles-interface .battle-game .battle-controls .battle-info p span {
  font-weight: bold;
  color: #9b59b6;
}
.battles-interface .battle-game .battle-controls #battle-start-btn, .battles-interface .battle-game .battle-controls #battle-next-btn {
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: bold;
  background: linear-gradient(45deg, #6a0dad, #9b59b6);
  border: none;
  border-radius: 50px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}
.battles-interface .battle-game .battle-controls #battle-start-btn:hover, .battles-interface .battle-game .battle-controls #battle-next-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(106, 13, 173, 0.3);
}

.main-footer {
  background-color: #2c3e50;
  padding: 2rem;
  margin-top: auto;
}
.main-footer .footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.main-footer .footer-links {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.main-footer .footer-links a {
  color: #b3b3b3;
  text-decoration: none;
  transition: color 0.3s ease;
}
.main-footer .footer-links a:hover {
  color: #ffffff;
}
.main-footer .footer-disclaimer {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #b3b3b3;
  max-width: 800px;
}
.main-footer .footer-copyright {
  font-size: 0.9rem;
  color: #b3b3b3;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}
.modal.active {
  display: flex;
}
.modal .modal-content {
  background-color: #2d2d2d;
  border-radius: 8px;
  padding: 2rem;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  position: relative;
}
.modal .modal-content .close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: #b3b3b3;
  cursor: pointer;
  transition: color 0.3s ease;
}
.modal .modal-content .close-modal:hover {
  color: #ffffff;
}
.modal .modal-content h2 {
  margin-bottom: 1.5rem;
  color: #9b59b6;
  text-align: center;
}
.modal .modal-content .form-group {
  margin-bottom: 1.5rem;
}
.modal .modal-content .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #b3b3b3;
}
.modal .modal-content .form-group input, .modal .modal-content .form-group select {
  width: 100%;
  padding: 0.8rem;
  background-color: #2c3e50;
  color: #ffffff;
  border: 1px solid #6a0dad;
  border-radius: 4px;
}
.modal .modal-content .form-group input:focus, .modal .modal-content .form-group select:focus {
  outline: none;
  border-color: #9b59b6;
}
.modal .modal-content button[type=submit] {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-weight: bold;
  background: linear-gradient(45deg, #6a0dad, #9b59b6);
  border: none;
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}
.modal .modal-content button[type=submit]:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(106, 13, 173, 0.3);
}
.modal .modal-content .auth-toggle {
  text-align: center;
  margin-top: 1rem;
  color: #b3b3b3;
}
.modal .modal-content .auth-toggle a {
  color: #9b59b6;
  text-decoration: none;
  cursor: pointer;
}
.modal .modal-content .auth-toggle a:hover {
  text-decoration: underline;
}

.btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-primary {
  background-color: #6a0dad;
  color: #ffffff;
}
.btn-primary:hover {
  background-color: rgb(76.935483871, 9.435483871, 125.564516129);
}
.btn-secondary {
  background-color: #2c3e50;
  color: #ffffff;
}
.btn-secondary:hover {
  background-color: rgb(62.0967741935, 87.5, 112.9032258065);
}
.btn-success {
  background-color: #27ae60;
  color: #ffffff;
}
.btn-success:hover {
  background-color: rgb(29.661971831, 132.338028169, 73.014084507);
}
.btn-danger {
  background-color: #e74c3c;
  color: #ffffff;
}
.btn-danger:hover {
  background-color: rgb(213.698630137, 43.8356164384, 26.301369863);
}

.hidden {
  display: none !important;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
@media (max-width: 992px) {
  .main-header {
    flex-direction: column;
    padding: 1rem;
  }
  .main-header .logo-container {
    margin-bottom: 1rem;
  }
  .main-header .main-nav {
    margin-bottom: 1rem;
  }
  .main-header .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  .cases-game {
    flex-direction: column;
  }
  .battle-game .battle-players {
    flex-direction: column;
  }
  .battle-game .battle-players .player {
    width: 100%;
    margin-bottom: 1rem;
  }
}
@media (max-width: 768px) {
  .main-nav ul {
    flex-direction: column;
    align-items: center;
  }
  .slots-machine .slots-reels .reel {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }
  .game-stats {
    flex-direction: column;
    align-items: center;
  }
  .game-stats .stat-box {
    width: 100%;
    margin-bottom: 1rem;
  }
}
@media (max-width: 576px) {
  .main-content {
    padding: 1rem;
  }
  .coinflip-controls .bet-controls {
    flex-direction: column;
  }
  .coinflip-controls .bet-controls #coinflip-bet {
    width: 100%;
    margin-right: 0;
    margin-bottom: 1rem;
  }
  .rocket-controls .bet-controls {
    flex-direction: column;
  }
  .rocket-controls .bet-controls #rocket-bet {
    width: 100%;
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

/*# sourceMappingURL=main.css.map */
