/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Minecraft', sans-serif;
}

/* Minecraft Font */
@font-face {
  font-family: 'Minecraft';
  src: url('assets/minecraft.ttf') format('truetype');
}

/* Background Full Cover */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background: url("assets/bg.jpg") no-repeat center center fixed;
  background-size: cover;
  color: white;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  animation: fadeIn 1.5s ease-in;
}

/* Colors */
:root {
  --aqua: #00eaff;
  --red: #ff4747;
  --yellow: #ffd600;
  --green: #00ff7f;
  --darkred: #660000;
  --darkyellow: #665c00;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,0,0,0.8);
  padding: 10px 25px;
  position: sticky;
  top: 0;
  z-index: 10;
  animation: slideDown 0.8s ease-out;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  width: 40px;
  height: 40px;
}
.logo span {
  font-size: 22px;
  font-weight: bold;
  color: var(--aqua);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}
.nav-links li a:hover,
.nav-links li a.active {
  color: var(--green);
  transform: scale(1.1);
  text-shadow: 0 0 8px var(--green);
}

/* Hero Section */
.hero {
  padding: 100px 20px;
  background: rgba(0,0,0,0.6);
  animation: fadeUp 1.2s ease-out;
}
.hero .title {
  font-size: 50px;
  animation: glow 2.5s infinite alternate;
}
.hero .title span {
  color: var(--aqua);
}
.hero .subtitle {
  font-size: 20px;
  margin: 15px 0;
  color: var(--yellow);
  animation: fadeIn 2s ease-in;
}

/* Server IP Box */
.server-ip {
  margin: 20px 0;
}
.ip-box {
  display: inline-flex;
  background: rgba(255,255,255,0.1);
  border: 2px solid var(--aqua);
  padding: 8px 15px;
  border-radius: 8px;
  gap: 10px;
  animation: fadeUp 1.4s ease-out;
}
.ip-box span {
  font-weight: bold;
  color: var(--yellow);
}
.ip-box button {
  background: var(--red);
  border: none;
  padding: 5px 12px;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}
.ip-box button:hover {
  background: var(--yellow);
  color: black;
  transform: scale(1.1);
}

/* Buttons */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
  background: var(--green);
}
.btn:hover {
  transform: scale(1.15);
  box-shadow: 0 0 15px var(--green);
}

/* Store Items */
.store-items {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.card {
  padding: 20px;
  border-radius: 12px;
  width: 220px;
  text-align: center;
  font-size: 18px;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: fadeUp 1.5s ease-out;
}
.card h2 {
  margin-bottom: 10px;
  font-size: 22px;
}
.card p {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: bold;
}
.card:hover {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

/* Rank Cards */
.card.rank {
  background: linear-gradient(135deg, var(--darkred), var(--red));
  color: white;
}

/* Coin Cards */
.card.coin {
  background: linear-gradient(135deg, var(--darkyellow), var(--yellow));
  color: black;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}
@keyframes fadeUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes glow {
  from { text-shadow: 0 0 10px var(--aqua), 0 0 20px var(--red); }
  to { text-shadow: 0 0 20px var(--yellow), 0 0 30px var(--red); }
}

/* Footer */
footer {
  margin-top: auto;
  background: rgba(0,0,0,0.85);
  padding: 15px;
}

