* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Comic Sans MS", "Arial", sans-serif;
  background: #0a0e27;
  color: #fff;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Animação de estrelas */
.stars,
.stars2,
.stars3 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.stars {
  background: transparent
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2" height="2"><circle cx="1" cy="1" r="1" fill="white"/></svg>')
    repeat;
  animation: animateStars 50s linear infinite;
}

.stars2 {
  background: transparent
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="3" height="3"><circle cx="1.5" cy="1.5" r="1" fill="white"/></svg>')
    repeat;
  animation: animateStars 100s linear infinite;
}

.stars3 {
  background: transparent
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="4" height="4"><circle cx="2" cy="2" r="1.5" fill="white"/></svg>')
    repeat;
  animation: animateStars 150s linear infinite;
}

@keyframes animateStars {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(-2000px);
  }
}

.container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  z-index: 1;
}

header {
  text-align: center;
  margin-bottom: 30px;
  padding: 30px;
  background: rgba(138, 43, 226, 0.2);
  border: 3px solid #ff69b4;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(255, 105, 180, 0.6), inset 0 0 20px rgba(138, 43, 226, 0.3);
}

.profile-pic {
  margin-bottom: 20px;
}

.profile-pic img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid #00ffff;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
  object-fit: cover;
}

h1 {
  font-size: 2.5em;
  color: #ff69b4;
  text-shadow: 0 0 10px #ff69b4, 0 0 20px #ff69b4, 0 0 30px #ff1493;
  margin: 10px 0;
}

.glitch {
  position: relative;
  animation: glitch 3s infinite;
}

@keyframes glitch {
  0%,
  90%,
  100% {
    transform: translate(0);
  }
  92% {
    transform: translate(-2px, 2px);
  }
  94% {
    transform: translate(2px, -2px);
  }
  96% {
    transform: translate(-2px, -2px);
  }
  98% {
    transform: translate(2px, 2px);
  }
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid #00ffff;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

.nav-btn {
  padding: 12px 25px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: 2px solid #00ffff;
  border-radius: 10px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  text-transform: uppercase;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.nav-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.nav-btn.active {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  border-color: #ff69b4;
  box-shadow: 0 0 20px rgba(255, 105, 180, 0.8);
}

.content-section {
  display: none;
  animation: fadeIn 0.5s ease;
}

.content-section.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-box,
.welcome-box {
  background: rgba(0, 0, 0, 0.6);
  border: 3px solid #ff69b4;
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 0 30px rgba(255, 105, 180, 0.4), inset 0 0 20px rgba(138, 43, 226, 0.2);
}

h2 {
  color: #00ffff;
  font-size: 2em;
  margin-bottom: 20px;
  text-shadow: 0 0 10px #00ffff;
}

h3 {
  color: #ff69b4;
  margin: 15px 0;
}

p {
  line-height: 1.6;
  margin-bottom: 15px;
}

.anime-gif {
  text-align: center;
  margin-top: 20px;
}

.anime-gif img {
  max-width: 300px;
  border-radius: 15px;
  border: 3px solid #00ffff;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
}

.about-content {
  background: rgba(138, 43, 226, 0.1);
  padding: 20px;
  border-radius: 15px;
  border: 2px solid #8a2be2;
}

.music-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.music-item {
  background: rgba(138, 43, 226, 0.2);
  padding: 20px;
  border-radius: 15px;
  border: 2px solid #00ffff;
}

.music-item audio {
  width: 100%;
  margin-top: 10px;
}

.photo-grid,
.drawing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.photo-item,
.drawing-item {
  background: rgba(138, 43, 226, 0.2);
  padding: 15px;
  border-radius: 15px;
  border: 2px solid #ff69b4;
  text-align: center;
  transition: transform 0.3s ease;
}

.photo-item:hover,
.drawing-item:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 105, 180, 0.8);
}

.photo-item img,
.drawing-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

/* Removido estilos do sistema de tarô aleatório, adicionado estilos para galeria de cartas */
.tarot-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.tarot-card-item {
  background: rgba(138, 43, 226, 0.2);
  padding: 20px;
  border-radius: 15px;
  border: 2px solid #ff69b4;
  text-align: center;
  transition: transform 0.3s ease;
}

.tarot-card-item:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255, 105, 180, 0.8);
}

.tarot-card-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
  border: 2px solid #00ffff;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.tarot-card-item h3 {
  color: #00ffff;
  font-size: 1.3em;
  margin: 10px 0;
  text-shadow: 0 0 10px #00ffff;
}

.tarot-card-item p {
  color: #fff;
  font-size: 0.95em;
  line-height: 1.5;
}

.diary-form {
  background: rgba(138, 43, 226, 0.2);
  padding: 25px;
  border-radius: 15px;
  border: 2px solid #ff69b4;
  margin-bottom: 30px;
}

.diary-date {
  width: 100%;
  padding: 10px;
  margin: 15px 0;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid #00ffff;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
}

#diary-text {
  width: 100%;
  padding: 15px;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid #00ffff;
  border-radius: 10px;
  color: #fff;
  font-family: "Comic Sans MS", Arial, sans-serif;
  font-size: 16px;
  resize: vertical;
  margin: 15px 0;
}

.diary-form button,
.tarot-btn {
  padding: 12px 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: 2px solid #00ffff;
  border-radius: 10px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
}

.diary-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

.diary-entries {
  margin-top: 30px;
}

.diary-entry {
  background: rgba(138, 43, 226, 0.2);
  padding: 20px;
  border-radius: 15px;
  border: 2px solid #ff69b4;
  margin-bottom: 15px;
}

.diary-entry-date {
  color: #00ffff;
  font-weight: bold;
  margin-bottom: 10px;
}

.diary-entry-text {
  color: #fff;
  line-height: 1.6;
}

.note {
  margin-top: 20px;
  padding: 15px;
  background: rgba(255, 215, 0, 0.2);
  border: 2px solid #ffd700;
  border-radius: 10px;
  color: #ffd700;
  text-align: center;
}

footer {
  text-align: center;
  padding: 30px;
  margin-top: 50px;
  background: rgba(0, 0, 0, 0.5);
  border-top: 3px solid #ff69b4;
  border-radius: 15px;
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.8em;
  }
  h2 {
    font-size: 1.5em;
  }
  .nav-btn {
    padding: 10px 15px;
    font-size: 12px;
  }
  .photo-grid,
  .drawing-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  /* Adicionado responsividade para galeria de tarô */
  .tarot-gallery {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}
