body {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #1a1a1a;
  color: #ff4444;
  margin: 0;
}

.evil-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.1);
  pointer-events: none;
  z-index: 10;
  transition: background 0.5s;
}

#game-container {
  text-align: center;
  background-color: #2a2a2a;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  width: 90%;
  max-width: 1200px;
  border: 2px solid #600;
}

#game-content {
  display: flex;
  gap: 20px;
}

#ads-section {
  flex: 1;
  background-color: #300;
  padding: 10px;
  border-radius: 5px;
  max-height: 600px;
  overflow-y: auto;
}

.ad-item {
  background-color: #400;
  margin: 10px 0;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.ad-item:hover {
  background-color: #500;
}

#main-game-section {
  flex: 2;
}

#events-section {
  flex: 1;
  background-color: #1a1a1a;
  padding: 10px;
  border-radius: 5px;
  max-height: 600px;
  overflow-y: auto;
}

#cookie {
  cursor: pointer;
  transition: transform 0.1s;
  filter: drop-shadow(0 0 10px #600);
}

#cookie:active {
  transform: scale(0.95);
}

#upgrades {
  margin-top: 20px;
  max-height: 300px;
  overflow-y: auto;
}

.upgrade-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
  padding: 10px;
  background-color: #300;
  border-radius: 5px;
  color: #ff4444;
}

.upgrade-item button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 3px;
  cursor: pointer;
}

.upgrade-item button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

#rebirth-section {
  margin-top: 20px;
  text-align: center;
}

#rebirth-button {
  background-color: #FF6347;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#rebirth-button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

#rebirth-requirement {
  color: #666;
  margin-top: 10px;
}

.event-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
  padding: 10px;
  background-color: #300;
  border-radius: 5px;
  color: #ff4444;
}

.event-item button {
  background-color: #600;
  color: white;
}

#fishing-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  z-index: 20;
}

#facebook-button {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #3b5998;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  z-index: 20;
}

#gambling-button {
  position: fixed;
  bottom: 20px;
  left: 150px;
  background-color: #8B4513;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  z-index: 20;
}

#fishing-minigame {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
}

#facebook-minigame {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
}

#gambling-minigame {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
}

#fishing-container {
  background-color: #2a2a2a;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  color: #ff4444;
}

#facebook-container {
  background-color: #2a2a2a;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  color: #ff4444;
  max-width: 500px;
  width: 90%;
}

#gambling-container {
  background-color: #2a2a2a;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  color: #ff4444;
  max-width: 500px;
  width: 90%;
}

#water {
  width: 400px;
  height: 300px;
  background-color: #0077be;
  position: relative;
  margin: 20px auto;
}

#fishing-rod {
  width: 10px;
  height: 200px;
  background-color: brown;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

#fish-catch-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

#fish-display {
  width: 100%;
  height: 100px;
  background-color: #0077be;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: bold;
}

#catch-fish-button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 10px;
}

#catch-fish-button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

#post-choices {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.post-option {
  background-color: #300;
  padding: 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  flex: 1;
  margin: 0 10px;
}

.post-option:hover {
  background-color: #400;
}

#post-result {
  margin-top: 20px;
  font-weight: bold;
}

#return-to-game {
  margin-top: 20px;
  background-color: #FF6347;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

#return-from-facebook {
  margin-top: 20px;
  background-color: #FF6347;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

#fishing-stats {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
}

#hard-mode-button {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #8B0000;
  color: white;
  border: 2px solid #600;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  z-index: 20;
  transition: background-color 0.3s;
}

#hard-mode-button:hover {
  background-color: #A52A2A;
}

/* Admin cheat menu styles */
#cheat-menu button {
  display: block;
  width: 100%;
  margin: 5px 0;
  padding: 5px;
  background-color: #600;
  color: white;
  border: 1px solid #800;
  border-radius: 3px;
  cursor: pointer;
}

#cheat-menu button:hover {
  background-color: #800;
}

.hidden {
  display: none !important;
}

#slot-machine {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
  background-color: #800;
  padding: 20px;
  border-radius: 10px;
  border: 3px solid #600;
}

.slot-reel {
  width: 80px;
  height: 120px;
  background-color: #fff;
  border: 2px solid #000;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  overflow: hidden;
}

#bet-controls {
  margin: 15px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

#bet-controls input {
  width: 80px;
  padding: 5px;
  border: 1px solid #600;
  background-color: #300;
  color: #ff4444;
  text-align: center;
}

#bet-controls button {
  background-color: #600;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 3px;
  cursor: pointer;
}

#spin-button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 18px;
  margin: 10px 0;
}

#spin-button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

#gambling-result {
  margin: 15px 0;
  font-weight: bold;
  font-size: 18px;
  min-height: 30px;
}

#gambling-stats {
  display: flex;
  justify-content: space-around;
  margin: 15px 0;
}