@font-face {
  font-family: 'Evils';
  src: url('/evils.ttf') format('truetype');
}
@font-face {
  font-family: 'Apache';
  src: url('/apache.ttf') format('truetype');
}

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  font-family: Apache, Arial, sans-serif;
  background: black;
  color: white;
  position: relative;
  z-index: 1;
  transition: background 0.5s ease;
}

#background-stars,
#background-fire,
#overlay {
  display: none;
}

#background-stars {
  display: block;
}

body.video-active #background-stars {
  display: none;
}

body.video-active #background-fire {
  display: block;
}

#background-stars,
#background-fire {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -2;
  object-fit: cover;
  pointer-events: none;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  z-index: -1;
  pointer-events: none;
}

.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
}

h1 {
  font-size: 2.5em;
}

.centered h1 a {
  color: inherit;
  text-decoration: none;
}

.jefe {
  font-family: 'Evils', cursive;
  font-size: 2.2em;
  color: white;
}

button {
  padding: 14px 24px;
  font-size: 18px;
  border: none;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: 2px solid white;
  cursor: pointer;
  transition: opacity 0.5s ease;
  margin-top: 20px;
}

button:disabled {
  background-color: gray;
  cursor: not-allowed;
}

#claimBtn {
  display: none;
}

a {
  color: white;
  text-decoration: underline;
}
/* Modal */
#walletModal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.4s ease;
}

#walletModal .modal-content {
  background: #111;
  color: #fff;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 0 20px #f90;
  font-size: 1.2rem;
}

#walletModal button {
  margin-top: 1.2rem;
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  background-color: #f90;
  border: none;
  border-radius: 5px;
  color: #000;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Solscan botones extra */
.solscan-button {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #ff5722;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.solscan-button:hover {
  background-color: #ff784e;
}

.solscan-video-button {
  position: relative;
  display: inline-block;
  width: 300px;
  height: 60px;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 5px;
  border: 2px solid darkorange;
}

.solscan-video-button video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 1;
}

.solscan-text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  color: white;
  font-weight: 600;
  font-size: 18px;
  text-align: center;
  text-decoration: none;
  background: transparent;
  line-height: 1.3;
}

/* 🔮 Phantom Button para móviles fuera de app */
.phantom-mobile-button {
  margin-top: 30px;
  text-align: center;
}

.phantom-link-button {
  display: inline-block;
  background: #ab9ff2;
  color: #000;
  font-size: 1.1em;
  padding: 12px 24px;
  border-radius: 5px;
  border: 2px solid #000;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(85, 27, 249, 0.4);
  animation: phantomPulse 1.5s infinite;
  transition: transform 0.2s ease;
}

.phantom-link-button:hover {
  transform: scale(1.05);
}

@keyframes phantomPulse {
  0% { box-shadow: 0 0 0 0 rgba(85, 27, 249, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(85, 27, 249, 0); }
  100% { box-shadow: 0 0 0 0 rgba(85, 27, 249, 0); }
}

@media (max-width: 480px) {
  .phantom-link-button {
    font-size: 1em;
    padding: 12px 20px;
  }
}
