:root {
  --bg-light: #f0f0f0;
  --bg-dark: #1f1e1ed0;
  --primary-color: #2c3e50;
  --secondary-color: #536976;
  --hover-color: #BBD2C5;
  --overlay-opacity: 0.2;
  --hole-size: 30px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Cinzel Decorative', serif;
}
body {
  font-family: 'Cinzel Decorative', serif;
  background-color: var(--bg-dark);
  color: var(--bg-light);
  position: relative;
  overflow-x: hidden;
}
footer{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  
  
}
.background-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: url('img/bg.jpg') no-repeat center center/cover;
  filter: brightness(0.1);
}

.background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  
}


/*.gradient {
  /*position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: rgba(0, 0, 0, var(--overlay-opacity));
  transition: background-image 0.3s ease;
  pointer-events: none;*/

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}
.header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}
.header__logo {
  height: 120px; /* ou ajuste como quiser, ex: 30px, 50px */
  margin-right: 10px;
}
.header__title {
  font-size: 2rem;
  color: rgba(255, 215, 0, 0.5);
  font-family: 'Cinzel Decorative', serif;
  font-weight: 300;
  align-items: center;
 
}
.main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  background: transparent;
}
.section__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.section__title {
  font-size: 1.3rem;
  color: rgba(255, 215, 0, 0.5);
  font-family: 'Cinzel Decorative', serif;
}
.search-container {
  display: flex;
  align-items: center;
  justify-content: center; /* Centraliza horizontalmente */
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.search-container i {
  color: var(--hover-color);
  font-size: 16px;
  margin-right: 8px;
}

.search-container input {
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--hover-color);
  border-radius: 8px;
  color: var(--hover-color);
  font-size: 16px;
  width: auto;
  min-width: 170px;
  max-width: 220px;
  text-align: left;
  flex-grow: 0;
}

.search-container input::placeholder {
  color: var(--hover-color);
  opacity: 0.6;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--hover-color);
  border-radius: 8px;
  color: var(--hover-color);
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-family: 'Cinzel Decorative', serif;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--hover-color);
  color: #000;
  border-color: var(--hover-color);
  font-weight: bold;
  box-shadow: 0 0 8px var(--hover-color);
}

.section__content {
  margin-bottom: 16px;
}
#bestiary-cards {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(4, 120px);
  grid-auto-columns: 120px;
  gap: 20px;
  padding: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  height: 580px;
  scroll-snap-type: x mandatory;
  scroll-padding: 20px;
  border-radius: 12px
  /*box-shadow: inset 0 0 12px rgb(32, 32, 32)*/
}
#active-timers-cards,
#pending-timers-cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 180px;
  gap: 16px;
  padding-left: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  height: 300px;
  align-items: center;
}
#bestiary-cards::-webkit-scrollbar,
#active-timers-cards::-webkit-scrollbar,
#pending-timers-cards::-webkit-scrollbar {
  height: 10px;
}
#bestiary-cards::-webkit-scrollbar-thumb,
#active-timers-cards::-webkit-scrollbar-thumb,
#pending-timers-cards::-webkit-scrollbar-thumb {
  background: #4aa1d8;
  border-radius: 10px;
}
#bestiary-cards::-webkit-scrollbar-track,
#active-timers-cards::-webkit-scrollbar-track,
#pending-timers-cards::-webkit-scrollbar-track{
  background: #0a1a2a;
}
#bestiary-cards,
#active-timers-cards,
#pending-timers-cards {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 217, 0, 0.178) transparent;
}
.card {
  /*border: 4px double #5e0fe7a3;*/
  border-radius: 20px;
  padding: 20px;
  background-color: #bbd2c51c;
  color: #bbd2c5;
  font-family: 'Cinzel Decorative', serif; /* fonte elfica */
  box-shadow: 0 0 15px #bbd2c569;
  scroll-snap-align: start;
}
.card:hover {
  transform: scale(1.05); /* Aumenta suavemente */
  box-shadow: 0 0 20px 5px rgba(255, 215, 0, 0.5); /* Brilho dourado */
}
.card__content {
  position: relative;
  z-index: 1;
}
.card__img {
  width:80px;
  height: 70px;
  object-fit: contain;
}
.card-header .map-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  margin-left: 8px;
}
.card__title {
  font-size: 0.55rem;
  font-family: 'Cinzel Decorative', serif;
  text-align: center;
  text-wrap: 10;
}

.btn-remove {
  position: absolute;
  top: 5px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 1.2rem;
  color: #e7b93c;
  cursor: pointer;
  z-index: 999;
  transform: none !important;
}
.reorder-buttons {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 5px;
  opacity: 0;
  transition: opacity 0.3s;
  background: transparent;
}
.reorder-buttons button {
  background: transparent;
  border: none;
  color: var(--bg-light);
  cursor: pointer;
  font-size: 1.2rem;
}
.card:hover .reorder-buttons {
  opacity: 1;
}
.active-timer .card-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  padding-right: 8px;
}
.active-timer .card-header .card__img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 8px;
}
.time-remaining {
  font-size: 1.2rem;
  font-family: 'Inter', monospace;
  font-weight: 600;
  text-align: center;
  color: goldenrod;
  margin-bottom: 5px;
}
.progress-container {
  width: 80%;
  background: #dddddda9;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 auto;
  height: 5px;
}
.progress-fill {
  height: 100%;
  background:rgba(255, 215, 0, 0.5);
  width: 0%;
  transition: width 0.5s ease;
}
.pending-timer {
  height: 220px;
}
.pending-timer p {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  margin: 5px 0 2px;
  color: var(--bg-light);
  text-align: center;
}
.expired-time {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--bg-light);
  text-align: center;
}
.btn--icon {
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}
/* Modal Geral */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}
.modal__content {
  background: var(--bg-dark);
  margin: 5% auto;
  padding: 16px;
  border-radius: 16px;
  width: 90%;
  max-width: 700px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  animation: modalFadeIn 0.3s ease-out;
}
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.modal__close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #e74c3c;
}
.modal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
}
.modal__map {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  border: 1px solid var(--bg-light);
  border-radius: 8px;
  padding: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.modal__map:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.modal__map img {
  width: 80px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 5px;
}
.modal__map .map-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  margin: 5px 0 2px;
  color: var(--bg-light);
  text-align: center;
}
.modal__map .map-time {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--bg-light);
  text-align: center;
}
.modal__actions {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
}
.modal__actions .btn {
  padding: 5px 10px;
  font-size: 0.9rem;
}
.modal__title {
  margin-bottom: 12px;
  font-size: 1.0rem;
  text-align: center;
  font-weight: 600;
  word-wrap: break-word;
  margin-top: 16px;
}

/* Settings */
.settings-container {
  position: fixed;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 10px;
  background: rgba(0, 0, 0, 0.3);
  padding: 5px 10px;
  border-radius: 16px;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  z-index: 400;
}
.settings-icon {
  position: relative;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--bg-light);
  cursor: pointer;
  transition: color 0.2s;
}
.settings-icon:hover {
  color: var(--hover-color);
}
.volume-slider-container {
  position: absolute;
  display: flex;
  align-items: center;
  right: 100%;
  top: 50%;
  gap: 8px;
  margin-right: 4px;
  transform: translate(10px, -50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.volume-slider-container.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, -50%);
}
/* Reset Icon */
.reset-icon-container {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 400;
}
.reset-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--bg-light);
  cursor: pointer;
  transition: color 0.2s;
}
.reset-btn:hover {
  color: var(--hover-color);
}
.clear-pending-icon {
  color: var(--bg-light);
  font-size: 1rem;
  margin-left: 4px;
}
.play-sound-btn {
  background: none;
  border: none;
  color: var(--bg-light);
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: 8px;
  transition: color 0.2s;
}
.play-sound-btn:hover {
  color: var(--hover-color);
}
/* Donation Icon */
.donation-icon-container {
  position: fixed;
  bottom: 10px;
  left: 10px;
  z-index: 400;
}
.donation-btn {
  background: none;
  border: none;
  font-size: 2.5rem;
  color: var(--bg-light);
  cursor: pointer;
  transition: color 0.2s;
  animation: pulseGlow 3s ease-in-out infinite; /* Adicionei a animação */
}

/* Efeito de pulsação dourada */
@keyframes pulseGlow {
  0% {
    text-shadow: 0 0 5px goldenrod, 0 0 10px goldenrod, 0 0 15px goldenrod;
    transform: scale(1);
  }
  50% {
    text-shadow: 0 0 15px goldenrod, 0 0 20px goldenrod, 0 0 30px goldenrod;
    transform: scale(1.1);
  }
  100% {
    text-shadow: 0 0 5px goldenrod, 0 0 10px goldenrod, 0 0 15px goldenrod;
    transform: scale(1);
  }
}


.donation-btn:hover {
  color: var(--hover-color);
  animation: pulseGlow 0.5s ease-in-out infinite; /* Acelera ao passar o mouse */
}
/* Modal de Doação - Estilização Atualizada */
#donation-modal {
  display: flex;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Fundo mais escuro para maior destaque */
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(5px); /* Efeito de desfoque */
  animation: fadeIn 0.3s ease-out;
}

/* Animação suave ao abrir */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#donation-modal .modal__content {
  background-color: var(--bg-dark);
  border-radius: 16px;
  padding: 40px 30px;
  max-width: 600px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
  animation: pulseModal 1s ease-in-out infinite alternate;
}

/* Animação de leve pulsação */
@keyframes pulseModal {
  0% {
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
  }
  100% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
  }
}

/* Botão de fechar no Modal de Doação */
#donation-modal .modal__close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #e74c3c;
  cursor: pointer;
  transition: color 0.3s ease;
}

#donation-modal .modal__close:hover {
  color: #c0392b;
}

/* QR Code do Modal de Doação */
.donation-qr {
  width: 280px;
  height: auto;
  display: block;
  margin: 0 auto 20px;
  border: 3px solid var(--hover-color);
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Container do código de doação e botão copiar */
.donation-key {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
}

/* Input com o código de doação */
#donation-code {
  font-size: 0.9rem;
  padding: 8px;
  border: 2px solid var(--hover-color);
  border-radius: 4px;
  width: 60%;
  text-align: center;
  background: #ffffff00;
  color: #ffffff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#donation-code:focus {
  outline: none;
  border-color: gold;
  box-shadow: 0 0 5px gold;
}

/* Botão de copiar */
.copy-btn {
  padding: 12px 18px;
  font-size: 1.1rem;
  background-color: var(--primary-color);
  border: none;
  color: var(--bg-light);
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.copy-btn:hover {
  background-color: var(--hover-color);
  transform: scale(1.05);
}

/* Chamada para Ação */
.donation-call {
  font-size: 1.5rem;
  font-weight: bold;
  color: goldenrod;
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
  animation: pulseText 1.5s ease-in-out infinite alternate;
}

/* Animação no texto */
@keyframes pulseText {
  0% {
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
  }
  100% {
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
  }
}


.highlight {
  animation: pulse-glow 0.8s ease-in-out 3;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 5px goldenrod;
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 15px goldenrod;
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 5px goldenrod;
    transform: scale(1);
  }
}
.experience-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: Arial, sans-serif;
}

.experience-table th {
    background-color: #323c32; /* Verde Claro */
    color: white;
    text-transform: uppercase;
    border: 1px solid #444;
}

.experience-table td {
    border: 1px solid #444;
    padding: 10px;
    background-color: #1a1a1a;
    color: #e5c100; /* Dourado */
}

.experience-table tr:nth-child(even) td {
    background-color: #2a2a2a;
}

.experience-table tr:hover td {
    background-color: #333;
}
/* Botão no topo para rolar até a tabela */
.scroll-button {
    background-color: #228B22; /* Verde Claro */
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    margin-bottom: 20px;
    transition: background-color 0.3s;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.scroll-button:hover {
    background-color: #1d7b1d;
}

