body {
   font-family: "Press Start 2P";
    margin: 0;
    padding: 0;
    background: url('https://i.imgur.com/fW4Zrnw.jpeg') no-repeat center center fixed; 
    background-size: cover;
    color: #fff;
    overflow-x: hidden;
}

header {
    font-family: "Press Start 2P";
    text-align: center;
    padding: 3rem 1rem;
    background: rgba(0, 0, 0, 0.5); 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
header h1 {
    font-family: "Press Start 2P";
    font-family: 'Press Start 2P', cursive;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #f39c12;
    text-shadow: 2px 2px #000;
}
header p {
    font-family: "Press Start 2P";
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #ddd;
}
header .cta-button {
    text-decoration: none;
    background: #f39c12;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    transition: transform 0.3s, background 0.3s;
}
header .cta-button:hover {
    background: #e67e22;
    transform: scale(1.1);
}

.mining-section {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    padding: 3rem 1rem;
}
.mine {
    background: rgba(41, 41, 67, 0.9); 
    padding: 1.5rem;
    border-radius: 15px;
    width: 300px;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s;
}
.mine:hover {
    transform: translateY(-10px);
}
.mine img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    border-radius: 10px;
}
.mine h3 {
    font-family: "Press Start 2P";
    font-size: 1.2rem;
    margin: 0.5rem 0;
    font-weight: 700;
    color: #f39c12;
}
.mine .badge {
    position: absolute;
    top: -15px;
    right: 15px;
    background: #f39c12;
    color: #fff;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    border-radius: 50px;
}

/* Mine Button */
.mine-button {
    font-family: "Press Start 2P";
    display: inline-block;
    background: #f39c12;
    color: #fff;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    font-size: 1rem;
    transition: transform 0.3s, background 0.3s;
}
.mine-button:hover {
    background: #e67e22;
    transform: scale(1.1);
}

.leaderboard-section {
    background: rgba(41, 41, 67, 0.9);
    color: #fff;
    border-radius: 15px;
    margin: 3rem auto;
    padding: 2rem;
    max-width: 700px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}
.leaderboard-section h2 {
    font-family: "Press Start 2P";
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #f39c12;
    font-family: 'Press Start 2P', cursive;
}
.leaderboard {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.leaderboard .player {
    font-family: "Press Start 2P";
    display: flex;
    justify-content: space-between;
    width: 90%;
    padding: 0.8rem;
    background: #353555;
    border-radius: 10px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 1rem;
}
.achievements {
    font-family: "Press Start 2P";
    text-align: center;
    margin-top: 2rem;
}
.achievements img {
    width: 150px;
    margin: 0.5rem;
    border-radius: 10px;
    transition: transform 0.3s;
}
.achievements img:hover {
    transform: scale(1.1);
}

footer {
    font-family: "Press Start 2P";
    text-align: center;
    padding: 2rem 1rem;
    color: #fff;
    margin-top: 2rem;
}
footer p {
    font-family: "Press Start 2P";
    font-size: 1rem;
}
.achievements-container {
  display: flex; 
  justify-content: space-around; 
  align-items: center; 
  gap: 20px; 
}

.achievement {
  text-align: center; 
}

.achievement img {
  display: block; 
  margin: 0 auto; 
  border-radius: 8px; 
}

.achievement p {
    font-family: "Press Start 2P";
  margin-top: 8px; 
  font-size: 14px; 
  color: white; 
  font-weight: bold;
}

