body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  background-image: url("images/background.png");
  background-position: 20px 0px;
  background-repeat: no-repeat;
}

#wrap {
  width: 300px;
  height: 240px;
  overflow: hidden;
}

#game {
  width: 200px;
  text-align: center;
}

#slots {
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  background: linear-gradient(145deg, #f8f9fa, #e9ecef);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

button {
  font-size: 7pt;
}

#info {
  position: absolute;
  top: 20px;
  left: 200px;
  width: 100px;
  text-align: left;
  font-size: 9pt;
  font-family: arial, helvetica, sans-serif;
}

#credits {
  font-size: 10pt;
}

#log {
  color: #666666;
}

#attribution {
  text-align: right;
  width: 280px;
  font-size: 7pt;
  color: #666666;
  font-family: arial, helvetica, sans-serif;
  margin-top: 20px;
}

#attribution a {
  color: #6666ff;
}

/* Центрирование главного контейнера */
.main-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("../images/3.webp") center center/cover no-repeat fixed;
  position: relative;
}

.main-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.game-block {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  padding: 32px 36px 28px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 340px;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.bet-row,
.lines-row {
  display: flex;
  gap: 12px;
  margin: 18px 0 0 0;
}

.bet-input {
  width: 80px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 2px solid #E0E0E0;
  font-size: 1.1em;
  font-weight: 600;
  outline: none;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
}
.bet-input:focus {
  border: 2px solid #F39C12;
  box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1);
  transform: scale(1.02);
}

.main-btn {
  background: linear-gradient(90deg, #F39C12 0%, #E68A00 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  font-size: 1.1em;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.main-btn:hover,
.main-btn:focus {
  background: linear-gradient(90deg, #E68A00 0%, #F39C12 100%);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
}
.spin-btn {
  background: linear-gradient(90deg, #2C3E50 0%, #34495E 100%);
  color: #fff;
  font-size: 1.2em;
  padding: 14px 28px;
}
.spin-btn:hover,
.spin-btn:focus {
  background: linear-gradient(90deg, #34495E 0%, #2C3E50 100%);
  box-shadow: 0 6px 20px rgba(44, 62, 80, 0.4);
}

.info-block {
  margin-top: 22px;
  width: 100%;
  text-align: center;
}

#credits {
  font-size: 1.3em;
  font-weight: 800;
  color: #2C3E50;
  margin-bottom: 8px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

#log {
  font-size: 1em;
  color: #34495E;
  min-height: 24px;
  font-weight: 500;
}
