/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global Styles */
body {
  font-family: 'Roboto', sans-serif;
  color: #e0e0e0;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

/* BACKGROUND: back.gif with 50% opacity */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("back.gif") no-repeat center center fixed;
  background-size: cover;
  opacity: 0.8;
  z-index: -2;
}

/* Crypto Ticker with bold neon */
.crypto-ticker {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 0;
  background: #111;
  border-bottom: 4px solid #39ff14;
  font-size: 20px;
  text-align: center;
  z-index: 1000;
  color: #39ff14;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { text-shadow: 0 0 5px #39ff14; }
  50% { text-shadow: 0 0 20px #39ff14; }
  100% { text-shadow: 0 0 5px #39ff14; }
}

/* For negative percentages in ticker */
.negative { color: red; }
.positive { color: #39ff14; }

/* Animated PNG elements with random movement and collision */
.animated-elements .element {
  position: absolute;
  width: 150px;
  height: 150px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.7;
  /* Velocidades e posições serão definidas via JavaScript */
}

/* Each element gets its own layer */
.trovoes {
  background: url("fungame.png") no-repeat;
  z-index: 10;
}
/* .galaxias {
  background: url("Sherkcoinfrente.png") no-repeat;
  z-index: 20;
}
.metaverso {
  background: url("Sherk_NFT-removebg-preview.png") no-repeat;
  z-index: 30;
}
*/


/* Floating Menu at Top Right */
#floating-menu {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.9);
  border: 4px solid #39ff14;
  border-radius: 8px;
  z-index: 1200;
  cursor: pointer;
  transition: transform 0.3s;
}
#floating-menu:hover {
  transform: scale(1.05);
}
#floating-menu .menu-button {
  padding: 10px 20px;
  font-size: 1.2rem;
  color: #39ff14;
}
#floating-menu .menu-dropdown {
  display: none;
  list-style: none;
  background: rgba(0, 0, 0, 0.95);
  border-top: 1px solid #39ff14;
}
#floating-menu:hover .menu-dropdown {
  display: block;
  animation: fadeIn 0.3s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
#floating-menu .menu-dropdown li {
  padding: 8px 15px;
  text-align: right;
}
#floating-menu .menu-dropdown li a {
  color: #ff1493;
  text-decoration: none;
  transition: color 0.3s, transform 0.3s;
}
#floating-menu .menu-dropdown li a:hover {
  color: #39ff14;
  transform: scale(1.1);
}

/* Enigma Counter (Guess and Win) */
.enigma-counter {
  font-size: 2rem;
  text-align: center;
  margin: 10px 0;
  color: #39ff14;
  text-shadow: 0 0 12px #39ff14;
  cursor: pointer;
}

/* Banner Section */
.banner-section {
  margin-top: 20px;
}
.banner-container {
  position: relative;
  max-width: 1024px;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 30px #39ff14;
}
.banner-container img {
  width: 100%;
  display: block;
  transition: opacity 0.5s ease-in-out;
}
.banner-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}
.banner-nav button {
  background: rgba(0, 0, 0, 0.6);
  border: none;
  padding: 12px;
  font-size: 2.2rem;
  color: #39ff14;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.banner-nav button:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.15);
}

/* Content Boxes with fixed neon border and animated color change */
.content-box {
  width: 80%;
  max-width: 900px;
  margin: 40px auto;
  padding: 25px;
  background: rgba(0, 0, 0, 0.8);
  border: 4px solid #39ff14;
  border-radius: 15px;
  animation: changeBorderColor 5s linear infinite, rotateContent 10s linear infinite;
  transition: transform 0.3s, box-shadow 0.3s;
}
@keyframes changeBorderColor {
  0% { border-color: #39ff14; }
  50% { border-color: #ff1493; }
  100% { border-color: #39ff14; }
}
@keyframes rotateContent {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(2deg); }
  100% { transform: rotate(0deg); }
}
.content-box:hover {
  transform: scale(1.1);
  box-shadow: 0 0 40px #ff1493;
}
.content-box ul {
  list-style: none;
  margin: 15px auto;
  padding: 0;
}
.content-box ul li {
  margin-bottom: 10px;
  text-align: left;
}

/* Neon Headings */
.neon-text {
  font-family: 'Orbitron', sans-serif;
  color: #39ff14;
  text-shadow: 0 0 8px #39ff14, 0 0 15px #39ff14, 0 0 25px #ff1493, 0 0 35px #ff1493;
  text-align: center;
  margin-bottom: 20px;
  font-size: 2rem;
}

/* Buttons and Links with animation */
.button-highlightgame,
.button {
  display: inline-block;
  padding: 14px 28px;
  margin: 12px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s, background 0.3s;
}
.button-highlightgame {
  background: #ff1493;
  color: #fff;
  box-shadow: 0 0 15px #ff1493;
}
.button-highlightgame:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px #ff1493;
}
.button {
  background: #1e90ff;
  color: #fff;
  box-shadow: 0 0 15px #1e90ff;
}
.button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px #1e90ff;
}
a {
  transition: color 0.3s, transform 0.3s;
}
a:hover {
  color: #ff1493;
  transform: scale(1.05);
}

/* Images in Meme and Giveaway sections */
.meme-image {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 25px #39ff14;
  transition: transform 0.3s;
}
.meme-image:hover {
  transform: scale(1.05);
}
.giveaway-img {
  text-align: center;
  margin-top: 20px;
}
.giveaway-img img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 25px #39ff14;
}

/* Footer */
footer {
  text-align: center;
  padding: 25px;
  background: #111;
  border-top: 4px solid #39ff14;
  margin-top: 40px;
}
footer p {
  margin: 12px 0;
}

/* Hover effect for "@SherkFunToken": display mvpico.png */
#contact-token {
  position: relative;
  display: inline-block;
}
#contact-token:hover::after {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 150px;
  height: 150px;
  background: url("mvpico.png") no-repeat center center;
  background-size: contain;
  z-index: 1200;
  pointer-events: none;
}

/* Floating Contact Button */
#floating-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #ff1493;
  color: #fff;
  border: none;
  padding: 16px 24px;
  border-radius: 50px;
  box-shadow: 0 0 15px #ff1493;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  z-index: 1200;
}
#floating-button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px #ff1493;
}

/* Contact Modal for Countdown */
#contactModal {
  display: none;
  position: fixed;
  z-index: 1300;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.85);
}
#contactModal .modal-content {
  background: #0d0d0d;
  margin: 20% auto;
  padding: 20px;
  border: 4px solid #39ff14;
  border-radius: 10px;
  max-width: 400px;
  position: relative;
  box-shadow: 0 0 30px #39ff14;
  text-align: center;
}
#contactModal .modal-content h2 {
  color: #39ff14;
  margin-bottom: 20px;
}
#contactModal .modal-content p {
  font-size: 2rem;
  margin: 20px 0;
}
#contactModal .close {
  color: #ff1493;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2rem;
  cursor: pointer;
}

/* Enigma Modal for Guess and Win */
#enigmaModal {
  display: none;
  position: fixed;
  z-index: 1400;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.85);
}
#enigmaModal .modal-content {
  background: #0d0d0d;
  margin: 15% auto;
  padding: 40px;
  border: 4px solid #39ff14;
  border-radius: 10px;
  max-width: 600px;
  position: relative;
  box-shadow: 0 0 30px #39ff14;
  text-align: center;
}
#enigmaModal .modal-content h2 {
  color: #39ff14;
  font-size: 3rem;
  margin-bottom: 20px;
}
#enigmaModal .modal-content p {
  font-size: 2.5rem;
  color: #ff1493;
  animation: pulseText 1s infinite;
}
@keyframes pulseText {
  0% { opacity: 0.8; }
  50% { opacity: 1; }
  100% { opacity: 0.8; }
}
#enigmaModal .close {
  color: #ff1493;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2rem;
  cursor: pointer;
}

/* Admin Modal (for admin login) */
.modal {
  display: none;
  position: fixed;
  z-index: 1300;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.85);
}
.modal-content {
  background: #0d0d0d;
  margin: 10% auto;
  padding: 20px;
  border: 4px solid #39ff14;
  border-radius: 10px;
  max-width: 400px;
  position: relative;
  box-shadow: 0 0 30px #39ff14;
}
.modal-content h2 {
  color: #39ff14;
  text-align: center;
  margin-bottom: 20px;
}
.modal-content input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 2px solid #39ff14;
  border-radius: 5px;
  background: #222;
  color: #e0e0e0;
  font-size: 1rem;
}
.modal-content button {
  width: 100%;
  padding: 12px;
  border: none;
  background: #1e90ff;
  color: #fff;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}
.modal-content button:hover {
  background: #1c86ee;
}
.close {
  color: #ff1493;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2rem;
  cursor: pointer;
}

/* Main Content Spacing */
main {
  padding-top: 120px;
  padding-bottom: 100px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  #floating-menu {
    top: 10px;
    right: 10px;
  }
  #floating-menu .menu-button {
    font-size: 1rem;
    padding: 8px 15px;
  }
  .button-highlightgame,
  .button {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}
@media (max-width: 480px) {
  .banner-nav button {
    font-size: 1.5rem;
    padding: 8px;
  }
}

/* FAQ Section Styling */
#faq.faq-section {
  margin-top: 40px;
  padding: 25px;
  background: rgba(0, 0, 0, 0.85);
  border: 4px solid #39ff14;
  border-radius: 15px;
  box-shadow: 0 0 30px #39ff14;
  animation: changeBorderColor 5s linear infinite, rotateContent 10s linear infinite;
  transition: transform 0.3s, box-shadow 0.3s;
}

/* FAQ Heading */
#faq.faq-section h2 {
  margin-bottom: 20px;
  font-family: 'Orbitron', sans-serif;
  color: #39ff14;
  text-shadow: 0 0 8px #39ff14, 0 0 15px #39ff14, 0 0 25px #ff1493, 0 0 35px #ff1493;
  text-align: center;
  font-size: 2rem;
}

/* FAQ Item Styling */
.faq-item {
  margin: 15px 0;
  padding: 10px 0;
  border-bottom: 1px solid rgba(57, 255, 20, 0.5);
  cursor: pointer;
  transition: background 0.3s;
}

/* FAQ Question */
.faq-item .faq-question {
  font-size: 1.2rem;
  font-weight: bold;
  color: #ff1493;
  padding: 10px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 5px;
  transition: background 0.3s;
}

/* FAQ Answer */
.faq-item .faq-answer {
  margin-top: 10px;
  font-size: 1rem;
  color: #e0e0e0;
  display: none;
  padding: 10px;
  border-left: 3px solid #39ff14;
  animation: fadeIn 0.5s ease-in-out;
}

/* Exibe a resposta quando o item estiver ativo */
.faq-item.active .faq-answer {
  display: block;
}

/* Hover Effects */
.faq-item:hover .faq-question {
  background: rgba(0, 0, 0, 0.9);
}

/* Animação de FadeIn */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Roadmap Section */
/* Roadmap Section Geral */
/* Roadmap Section Geral */
/* Roadmap Section Geral */
/* Roadmap Section Geral */
.roadmap {
  text-align: center;
  padding: 40px;
  margin: 30px auto;
  background: rgba(0, 0, 0, 0.8);
  border: 4px solid #39ff14;
  border-radius: 15px;
  max-width: 900px;
  box-shadow: 0 0 30px #39ff14;
  animation: changeBorderColor 5s linear infinite, rotateContent 10s linear infinite;
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: visible; /* Garante que os cards hover não fiquem cortados */
}

/* Título do Roadmap */
.roadmap h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #39ff14;
  text-shadow: 0 0 8px #39ff14, 0 0 15px #ff1493;
}

/* Contêiner Horizontal para os MiniCards */
.mini-card-grid {
  display: flex;
  flex-direction: row;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

/* Estilização da Scrollbar para navegadores compatíveis */
.mini-card-grid::-webkit-scrollbar {
  height: 10px;
}
.mini-card-grid::-webkit-scrollbar-thumb {
  background: #434343;
  border-radius: 10px;
}
.mini-card-grid::-webkit-scrollbar-track {
  background: #262626;
}

/* Estilo Base dos MiniCards */
.mini-card {
  flex: 0 0 auto;
  min-width: 150px;
  min-height: 200px;
  padding: 1rem;
  border-radius: 16px;
  background: linear-gradient(85deg, #434343, #262626);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: justify;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin: 0;
  box-shadow: -1.5rem 0 2.5rem -1.5rem black;
  scroll-snap-align: start;
  position: relative;
  z-index: 1;
  /* Garante que o texto quebre em várias linhas */
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Remover decorações de links internos, se houver */
.mini-card a {
  text-decoration: none;
}
.mini-card h3 a {
  color: white !important;
}
.mini-card h3 .aal_anchor {
  display: none;
}

/* Sobreposição leve: os minicards se sobrepõem */
.mini-card:not(:first-child) {
  margin-left: -30px;
}

/* Efeito Hover e Focus: o card se eleva e rotaciona suavemente */
.mini-card:hover,
.mini-card:focus-within {
  transform: translate(0, -1rem) rotate(3deg);
  z-index: 20; /* Garante que o card hover fique sobre os demais */
}
.mini-card:hover ~ .mini-card {
  transform: translateX(30px);
}

/* Ajustes para o Primeiro Card (opcional) */
.mini-card:first-child:hover,
.mini-card:first-child:focus-within {
  transform: translate(-0.5rem, -1rem) rotate(3deg);
}

/* Media Queries para Responsividade */
@media (max-width: 1200px) {
  .mini-card {
    min-width: 220px;
  }
  .mini-card:not(:first-child) {
    margin-left: -20px;
  }
  .mini-card:hover ~ .mini-card {
    transform: translateX(20px);
  }
}

@media (max-width: 800px) {
  .mini-card {
    min-width: 200px;
  }
  .mini-card:not(:first-child) {
    margin-left: -10px;
  }
  .mini-card:hover ~ .mini-card {
    transform: translateX(10px);
  }
}

/* Estilo para o Título do MiniCard */
.mini-card-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Estilo para os parágrafos dentro dos MiniCards */
.mini-card p {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
