* {
  box-sizing: border-box;
}

html {
  font-family: 'Press Start 2P', cursive;
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 600px) {
  html {
    font-size: 10px;
  }
}

.countdown-timer {
  font-family: 'Press Start 2P', cursive;
  font-size: 1.2rem;
  color: #ffb209;
  text-align: center;
  margin-top: 10px;
  text-shadow: 1px 1px 0 #000;
}


body {
  margin: 0;
  padding-bottom: 140px;
  background-color: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 50px;
}

/* Warning bar */
.warning-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffb209;
  color: #000;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  z-index: 2000;
  user-select: none;
  font-size: 1rem;
}

.warning-text-full {
  display: inline;
}

.warning-text-short {
  display: none;
}

@media (max-width: 500px) {
  .warning-text-full {
    display: none;
  }

  .warning-text-short {
    display: inline;
  }
}

.warning-bar a {
  margin-left: 6px;
  color: #000;
  font-weight: 900;
  text-decoration: underline;
  cursor: pointer;
}

.warning-bar a:hover {
  opacity: 0.8;
}

header {
  padding: 20px 0;
  width: 300px;
  max-width: 80%;
  margin-bottom: 20px;
}

header img {
  width: 100%;
  height: auto;
  display: block;
}

.image-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  width: 100%;
  max-width: 1000px;
}

.card {
  width: 120px;
  text-align: center;
  position: relative;
}

.card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  image-rendering: pixelated;
  margin-bottom: 10px;
  display: block;
}

.card .name {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 4px;
  color: #ffb209;
  text-shadow: none;
}

.card .price,
.card .mint-date {
  font-size: 0.8rem;
  color: #aaa;
}

@media (max-width: 600px) {
  .card {
    width: calc((100% - 40px) / 3);
  }
}

/* Fixed horizontal button row */
.button-row {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
}

.button-row img {
  width: 120px;
  max-width: 30vw;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.button-row img:hover {
  transform: scale(1.05);
}

/* Larger buttons for desktop */
@media (min-width: 768px) {
  .button-row img {
    width: 160px;
    max-width: none;
  }
}


/* Loader overlay */
#loader {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 1s ease;
}

#loader img {
  width: 350px; /* 70% of 500px */
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s forwards;
  animation-delay: 0.3s;
}

#loader-message {
  color: #fff;
  font-family: 'Press Start 2P', cursive;
  font-size: 1.2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s forwards;
  animation-delay: 0.6s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Your other existing CSS below ... */
.site-footer {
  text-align: center;
  padding: 30px 20px;
  color: #fff;
  font-family: 'Press Start 2P', cursive;
  font-size: 1.1rem;
  background: transparent;
  margin-top: auto;
}

.whitepaper-link {
  margin-top: 10px;
}

.whitepaper-link a {
  color: #ffb209;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.whitepaper-link a:hover {
  opacity: 0.8;
}

.highlight {
  color: #ffb209;
}
