@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

:root {
  --primary-color: #3FE1B0;
  --background-color: #0f1624;
  --secondary-background: #1a2333;
  --text-color: #e0e0e0;
  --accent-color: #FFD700;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(to bottom, var(--background-color), var(--secondary-background));
  color: var(--text-color);
  font-family: 'Orbitron', sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}



/* Header Styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px;
  background-color: rgba(26, 35, 51, 0.8);
  backdrop-filter: blur(5px);
  position: sticky;
  top: 0;
  margin-bottom: 10px;
  z-index: 1000;
}

.header-center {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.header-buttons {
  display: flex;
  justify-content: flex-end; 
  align-items: center;
  gap: 10px;
}

.header-left, .header-right {
  flex: 1;
  display: flex;
  align-items: center;
  z-index: 1;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px; /* Add some space between the JUMP link and the bridge image */
}

#jumpLink {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--primary-color);
  font-weight: bold;
  transition: opacity 0.3s ease;
}

#jumpLink:hover {
  opacity: 0.8;
}


#jumpLink span {
  margin-right: 10px;
}

#jumpImage {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-left: 5px;
}

#bridgeLink {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--primary-color);
  font-weight: bold;
  transition: opacity 0.3s ease;
}

#bridgeImage {
  width: 253px; /* Adjust the size as needed */
  height: 42px;
  transition: opacity 0.3s ease;
}

#bridgeImage:hover {
  opacity: 0.8;
}

.header-right {
  justify-content: flex-end;
}

#tryCounter, #scoreCounter {
  font-size: 14px;
  color: #3FE1B0;
  margin: 0 5px;

}

#shopBtn {
  background-color: #FFD700;
  color: #0f1624;
}

#shopBtn:hover {
  background-color: #FFC000;
}

#startGameCount {
  font-size: 14px;
  color: #fff;
}

#addFundsModal input[type="number"] {
  font-family: 'Orbitron', sans-serif;
  padding: 8px;
  margin-bottom: 10px;
  width: 100%;
  border: none;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-color);
}

#addFundsModal label {
  display: block;
  margin-bottom: 5px;
  color: var(--primary-color);
}

#upgradeShop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.shop-content {
  background-color: rgba(26, 35, 51, 0.95);
  padding: 20px;
  border-radius: 10px;
  width: 95%;
  max-width: 1400px;
  height: auto; /* Change from fixed height to auto */
  max-height: 90vh; /* Set a max-height instead of a fixed height */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center content vertically */
  align-items: center;
  overflow: hidden;
}

.upgrades-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 30px; /* Increase bottom margin slightly */
}

.upgrade-card {
  width: 18%;
  min-width: 200px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.upgrade-card img {
  width: 60px; /* Slightly reduced size */
  height: 60px;
  margin-bottom: 10px;
}

.upgrade-card h3 {
  font-size: 16px; /* Slightly reduced font size */
  margin-bottom: 5px;
}

.upgrade-card p {
  font-size: 12px; /* Reduced font size for description */
  text-align: center;
  margin-bottom: 10px;
}

.upgrade-card .tier-progress {
  width: 100%;
  height: 20px; /* Slightly reduced height */
  margin-bottom: 10px;
}

.upgrade-card .button-container {
  width: 100%;
}

.upgrade-card .upgrade-button,
.upgrade-card .max-button {
  padding: 6px; /* Reduced padding */
  font-size: 12px; /* Reduced font size */
}

/* Adjust the start game button to ensure it's always visible */
.start-game-container {
  margin-top: 20px; /* Reduce top margin */
  padding-top: 0; /* Remove top padding */
}


.upgrade-card h3 {
  margin: 0 0 10px 0;
  text-align: center;
  color: #FFD700;
}

.upgrade-card p {
  text-align: center;
  margin-bottom: 15px;
  min-height: 40px;
}

.upgrade-card .tier-progress {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  height: 25px;
  margin-bottom: 15px;
  position: relative;
  overflow: hidden;
}

.upgrade-card .progress-bar {
  height: 100%;
  background-color: #3FE1B0;
  border-radius: 10px;
  transition: width 0.3s ease;
}

.upgrade-card .tier-progress span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.upgrade-card .upgrade-price {
  text-align: center;
  margin: 10px 0;
  font-size: 14px;
  color: #FFD700;
}

.upgrade-card .upgrade-price p {
  margin: 2px 0;
}

.upgrade-card .button-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 5px;
  margin-top: 10px;
}

.upgrade-card .upgrade-button,
.upgrade-card .max-button {
  flex: 1;
  margin: 0 5px;
  padding: 8px;
  font-size: 14px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.upgrade-card .upgrade-button:hover,
.upgrade-card .max-button:hover {
  transform: translateY(-2px);
}

.upgrade-card .upgrade-button:disabled,
.upgrade-card .max-button:disabled {
  background-color: #888;
  color: #ccc;
  cursor: not-allowed;
}

.upgrade-card .upgrade-button {
  background-color: #3FE1B0;
  color: #1a2333;
}

.upgrade-card .max-button {
  background-color: #FFD700;
  color: #1a2333;
}

.start-game-container {
  margin-top: 20px;
  width: 100%;
  text-align: center;
}

.start-game-button {
  padding: 15px 30px;
  font-size: 20px;
  background-color: #3FE1B0;
  color: #1a2333;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.start-game-button:hover {
  background-color: #2dc898;
  transform: scale(1.05);
}

.shop-header {
  margin-bottom: 30px;
  text-align: center;
}

.shop-header h2 {
  font-size: 28px;
  color: #3FE1B0;
  margin-bottom: 10px;
}

.balance-info {
  font-size: 20px;
  color: #ffffff;
}
#upgradeOptions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
  overflow: hidden;
  flex-grow: 1;
}

#upgradesContainer {
  flex-grow: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  overflow-y: auto;
  padding-right: 10px;
}

.upgrade-option {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.upgrade-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.upgrade-header img {
  width: 60px;
  height: 60px;
  margin-right: 15px;
}

.upgrade-option.purchased {
  border-color: #3FE1B0;
  box-shadow: 0 0 10px rgba(63, 225, 176, 0.5);
}

/* Game Over Overlay Styles */
.game-overlay {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% + 15px); /* Make the height slightly larger than 100% */
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: 'Orbitron', sans-serif;
  z-index: 2000;
  margin-top: 10px;
}

.game-overlay > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 500px;
}

.game-overlay h2 {
  color: #3FE1B0;
  font-size: 36px;
  margin-bottom: 20px;
  text-shadow: 0 0 10px #3FE1B0;
}

.game-overlay p {
  color: #e0e0e0;
  font-size: 18px;
  margin-bottom: 10px;
  text-shadow: 0 0 5px #FFFFFF;
}  


.button-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 5px;
}

.game-overlay .game-button {
  padding: 12px 24px;
  font-size: 16px;
  width: 100%;
  background-color: #3FE1B0;
  color: #1a2333;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
  margin-top: 10px;
  margin: 0 5px;

}

.game-overlay .game-button:hover {
  background-color: #2dc898;
  transform: translateY(-2px);
}

#nameForm {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%; /* Set the width to 50% as intended */
  max-width: 300px; /* Limit the maximum width for larger screens */
  background-color: rgba(26, 35, 51, 0.9);
  padding: 20px;
  border-radius: 8px;
  z-index: 2002;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#nameForm.visible {
  display: block;
}

#nameInput {
  font-family: 'Orbitron', sans-serif;
  padding: 10px;
  margin-bottom: 10px;
  width: 100%;
  border: none;
  border-radius: 4px;
}

.upgrade-option .tier-progress {
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #3FE1B0;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 12px;
}

.bomb-count {
  position: absolute;
  top: 5px;
  left: 5px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #FFD700;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 12px;
}

.upgrade-option img {
  width: 95px;
  height: 95px;
  margin-bottom: 10px;
  margin-top: 5px;
  align-self: center;
}

.upgrade-info {
  text-align: center;
  margin-bottom: 10px;
}

.upgrade-info h3 {
  margin: 0 0 5px 0;
  font-size: 18px;
}

.upgrade-info p {
  margin: 0;
  font-size: 14px;
}

.button-price-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.upgrade-button {
  flex: 1;
  margin: 0 5px;
}

.upgrade-button:not(:disabled):hover {
  filter: brightness(110%);
  transform: translateY(-2px);
}

.upgrade-button:disabled {
  background-color: #888;
  color: #ccc;
  cursor: not-allowed;
}

.buy-max-button {
  background-color: #4CAF50;
  color: #1a2333;
}

.buy-max-button.available {
  background-color: #FFD700;
  color: #1a2333;
}

.buy-max-button:hover {
  background-color: #45a049;
}

.upgrade-price {
  font-size: 10px;
  margin-top: 5px;
  color: #3FE1B0;
}

.upgrade-button:nth-child(2) {
  background-color: #3FE1B0;
}

.upgrade-button:hover {
  filter: brightness(110%);
  transform: translateY(-2px);
}

.upgrade-price {
  font-size: 12px;
  color: #3FE1B0;
}

#startGameButtonContainer {
  display: flex;
  justify-content: center;
  width: 100%;
  align-items: center;
  margin-top: 20px;
  position: sticky;
  bottom: 20px;
  background-color: #1a2333;
  padding: 15px 0;
}

#startGameBtn {
  margin-top: 20px;
  padding: 15px;
  font-size: 18px;
  background-color: #3FE1B0;
  color: #1a2333;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

#startGameBtn:hover {
  background-color: #2dc898;
  transform: translateY(-2px);
}

#bribeLeaderBtn {
  background-color: #FF6B6B;
  color: white;
  margin-top: 25px;
}

#bribeLeaderBtn:hover {
  background-color: #FF4757;
}

#bribeModal .modal-content {
  background-color: #1a2333;
  color: #ffffff;
  border: 2px solid #FF6B6B;
}

#bribeModal h2 {
  color: #FF6B6B;
}

#bribeModal .game-button {
  margin: 10px 0;
  width: 100%;
}

#bribeXtzBtn {
  background-color: #3FE1B0;
}

#bribeJumpBtn {
  background-color: #FFD700;
  color: #1a2333;
}

#bribeXtzBtn:hover {
  background-color: #2dc898;
}

#bribeJumpBtn:hover {
  background-color: #FFC600;
}

.main-content {
  display: flex;
  height: calc(100vh - 60px); /* Adjust based on your header height */
  padding: 20px;
  overflow: hidden;
}

.modal-content {
  max-height: 80vh;
  overflow-y: auto;
  padding: 20px;
}

.modal-content section {
  margin-bottom: 20px;
}

.modal-content h3 {
  margin-top: 0;
}

.modal-content img {
  vertical-align: middle;
  margin-right: 10px;
}

.github-link {
  position: fixed;
  bottom: 10px;
  right: 270px;
  z-index: 1000;
}

.github-link img {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.github-link img:hover {
  opacity: 1;
}

#gameWrapper {
  display: flex;
  width: 100%;
  height: 100%;
  gap: 20px;
}

.achievement.unlocked {
  border: 2px solid #3FE1B0;
  box-shadow: 0 0 10px #3FE1B0;
}

.achievement .mint-button {
  display: none;
  background-color: #3FE1B0;
  color: black;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  margin-top: 10px;
}

.achievement.unlocked .mint-button {
  display: block;
}

.achievement.minted {
  border: 2px solid gold;
  box-shadow: 0 0 10px gold;
}

.achievement .minted-label {
  background-color: gold;
  color: black;
  padding: 5px 10px;
  display: inline-block;
  margin-top: 10px;
  font-weight: bold;
}

.start-button {
  background-color: #3FE1B0;
  color: #0f1624;
  border: none;
  padding: 10px 20px;
  font-size: 18px;
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.start-button:hover {
  background-color: #2dc898;
  transform: scale(1.05);
}

.connect-button {
  background-color: #3FE1B0;
  color: #0f1624;
}

.disconnect-button {
  background-color: #e74c3c;
  color: #ffffff;
}

#leftSidebar, #achievementsSection {
  flex: 0 0 auto;
  width: 410px; /* Adjust as needed */
  height: 100%;
  overflow-y: auto;
}


#gameContainer {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 80vh; /* Ensures the game takes up most of the viewport height */
  margin: 0 auto;
  margin-bottom: 25px;
  padding: 10px;
  box-sizing: border-box;
}

#gameLogo {
  height: 70px; /* Adjust as needed */
  width: auto;
}

#canvasContainer {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#gameCanvas {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  margin-top: 20px;
}

#gameInfo {
  width: 100%;
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 1px;
  left: 40px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 5px;
  font-size: 14px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

#achievementsSection {
  width: 250px;
  background-color: rgba(26, 35, 51, 0.9);
  border-radius: 8px 0 0 8px;
  padding: 15px;
}

.game-button {
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  font-size: 14px;
  background-color: #3FE1B0;
  color: #0f1624;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 5px;
}

.game-button:hover {
  background-color: #2dc898;
  transform: translateY(-2px);
}

.game-button:active {
  transform: translateY(1px);
}

#highscoreTable {
  width: 85%;
  border-collapse: separate;
  border-spacing: 0 10px;
  font-size: 12px;
  margin-bottom: 15px;
}

#highscoreTable th, #highscoreTable td {
  padding: 6px 8px;
  text-align: left;
  background-color: rgba(255, 255, 255, 0.05);
}

#highscoreTable th {
  font-weight: bold;
  color: var(--primary-color);
}

#highscoreTable tr:nth-child(even) td {
  background-color: rgba(255, 255, 255, 0.1);
}

#highscoreTable tr:hover td {
  background-color: rgba(63, 225, 176, 0.2);
}

#highscoreTable .first-place {
  background-color: rgba(255, 215, 0, 0.2);
  font-weight: bold;
}

#highscoreTable .first-place td {
  color: #FFD700;
}

.jackpot-info h3,
#contract-balance,
#jump-balance {
  color: #FFD700;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.jackpot-info {
  border: 2px solid #FFD700;
  padding: 10px;
  border-radius: 5px;
  margin-top: 20px;
  background-color: rgba(255, 215, 0, 0.1);
}

#claimPrizeBtn {
    align-self: center;
    margin-top: 10px;
    margin-bottom: 20px;
    width: calc(100% - 40px);
    max-width: 200px;
}

#powerupBar {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.powerup-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.powerup-icon {
  width: 40px;
  height: 40px;
}

.powerup-count {
  font-size: 12px;
  color: var(--accent-color);
}

#achievementsList {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: 10px;
}

.achievement {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
}

.achievement img {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

.achievement h3 {
  font-size: 12px;
  margin-bottom: 5px;
}

.achievement p {
  font-size: 10px;
}

.section-title {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 15px;
  text-align: center;
  text-transform: uppercase;
}

.modal {
  display: none;
  position: fixed;
  z-index: 5001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  overflow: auto;
}

.modal-content {
  background-color: var(--secondary-background);
  margin: 15% auto;
  padding: 20px;
  border: 1px solid var(--primary-color);
  width: 80%;
  max-width: 600px;
  color: var(--text-color);
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(63, 225, 176, 0.5);
}

.close {
  color: var(--primary-color);
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#buyTriesModal .modal-content {
  background-color: #1a2333;
  color: #ffffff;
  border: 2px solid #3FE1B0;
  border-radius: 10px;
  padding: 30px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 0 20px rgba(63, 225, 176, 0.3);
  overflow: hidden;
}

#buyTriesModal h2 {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
  color: #3FE1B0;
}

#buyTriesModal p {
  font-size: 18px;
  margin-bottom: 25px;
  text-align: center;
}

#buyTriesModal .game-button {
  display: block;
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  font-size: 18px;
  background-color: #3FE1B0;
  color: #1a2333;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#buyTriesModal .game-button:hover {
  background-color: #2dc898;
  transform: translateY(-2px);
}

#buyTriesModal #buyJumpBtn {
  background-color: #FFD700;
  color: #1a2333;
}

#buyTriesModal #buyJumpBtn:hover {
  background-color: #FFC600;
}

#buyTriesModal .close {
  color: #3FE1B0;
  font-size: 28px;
  position: absolute;
  top: 10px;
  right: 15px;
}

#buyTriesModal .close:hover {
  color: #ffffff;
}


#submitScore {
  font-family: 'Orbitron', sans-serif;
  background-color: var(--primary-color);
  color: var(--background-color);
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
}

.info-button, .sound-toggle {
  position: fixed;
  width: 25px;
  height: 25px;
  background-color: var(--primary-color);
  color: var(--background-color);
  border: none;
  border-radius: 50%;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease, transform 0.1s ease;
}

.info-button {
  bottom: 10px;
  left: 10px;
}

.sound-toggle {
  bottom: 10px;
  right: 10px;
}

.info-button:hover, .sound-toggle:hover {
  background-color: #2dc898;
  transform: scale(1.1);
}

.share-button {
  position: absolute;
  bottom: 250px; /* Adjust this value to move the button higher or lower */
  left: 50%;
  transform: translateX(-50%);
  background-color: #1DA1F2;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-family: 'Orbitron', sans-serif;
  transition: background-color 0.3s, transform 0.3s;
  z-index: 1000; /* Ensure it's above other elements */
}

.share-button:hover {
  background-color: #1991DB;
  transform: translateX(-50%) translateY(-2px);
}

.share-button:active {
  transform: translateX(-50%) translateY(1px);
}

@media (max-width: 1200px) {
  .main-content {
    flex-direction: column;
    height: auto;
  }

  #leftSidebar, #achievementsSection {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin-bottom: 20px;
  }
  
  #startGameCount {
    position: relative;
    left: 10px;  
    top: 10px;
    font-size: 14px;
    color: #fff;
  }

  #gameWrapper {
    flex-direction: column;
  }

  #leftSidebar, #achievementsSection {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }  

  #canvasContainer {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  #gameContainer {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3; /* Maintain the game's aspect ratio */
  }

  #leftSidebar, #gameContainer, #achievementsSection {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 20px;
  }

  #achievementsSection {
    border-radius: 8px;
    height: 80%;
  }
}

@media (max-width: 768px) {
  .upgrade-option {
    flex-basis: 100%;
  }

  .share-button {
    font-size: 14px;
    padding: 8px 16px;
  }
}
