* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

body, html {
  font-family: "Inter", sans-serif;
  height: 100%;
  overflow: hidden;
}

button {
  all: unset;
  font-family: "Inter", sans-serif;
  cursor: pointer;
}

.container {
  width: 100%;
  height: 100vh;
  background-color: #080E1B;
  display: flex;
  flex-direction: column;
  padding: 10px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  position: relative;
  z-index: 5;
}

.header_balance {
  font-weight: 400;
  font-size: 13px;
  color: rgba(255, 255, 255, 1);
}

.header_price {
  color: rgba(255, 255, 255, 1);
  font-weight: 700;
  font-size: 20px;
}

.menu_buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.wallet_btn.play_btn {
  position: relative;
  color: rgba(255, 255, 255, 1);
  border-radius: 15px;
  overflow: hidden;
  min-height: 150px;
}

.wallet_btn.play_btn .content-wrapper {
  position: relative;
  z-index: 2;
  padding: 30px;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.wallet_btn.play_btn p {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  font-size: 10px;
}

.wallet_btn.play_btn h1 {
  color: rgba(255, 255, 255, 1);
  font-size: 16px;
  font-weight: 500;
  margin: 4px 0 0 0;
}

.wallet_btn.play_btn button {
  background: linear-gradient(180deg, #FC3F83 0%, #F0216C 100%);
  border: 1px solid rgba(34, 180, 150, 0);
  border-radius: 10px;
  padding: 8px 24px;
  color: rgba(255, 255, 255, 1);
  font-weight: 400;
  font-size: 10px;
  margin: 16px 20px 0 0;
}

.play_btn {
  color: rgba(255, 255, 255, 1);
  font-weight: 700;
  font-size: 28px;
  border-radius: 15px;
  text-align: center;
  position: relative;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play_btn .content-wrapper {
  position: absolute;
  top: 0;
  left: -100px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.menu_row_btns {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.row_btn {
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  text-align: left;
  flex-grow: 1;
  position: relative;
  min-height: 220px;
  overflow: hidden;
}

.row_btn .content-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 15px;
  z-index: 2;
}

.row_btn p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 1);
}

.row_btn h1 {
  font-weight: 700;
  color: rgba(255, 255, 255, 1);
  font-size: 20px;
}

.how_to_play {
  position: relative;
  color: rgba(255, 255, 255, 1);
  border-radius: 15px;
  min-height: 120px;
  overflow: hidden;
}

.how_to_play .content-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 15px;
  z-index: 2;
}

.how_to_play p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 1);
}

.how_to_play h1 {
  font-weight: 700;
  color: rgba(255, 255, 255, 1);
  font-size: 20px;
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(4, 8, 15, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.3s ease-out;
}

.preloader.hidden {
  opacity: 0;
}

.preloader .logo {
  width: 80px;
  height: auto;
  margin-bottom: 15px;
}

.loader {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}