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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #0a0a0f;
  color: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
}

#stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.card {
  background: rgba(20, 20, 30, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(100, 200, 255, 0.3);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 8px 32px rgba(0, 150, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 48px rgba(0, 150, 255, 0.2);
}

.title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  background: linear-gradient(135deg, #00d4ff, #0066ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.subtitle {
  text-align: center;
  color: #a0a0b0;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, #0066ff, #00d4ff);
  color: white;
  padding: 15px 40px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(0, 150, 255, 0.4);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.input-group input {
  flex: 1;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid rgba(100, 200, 255, 0.3);
  background: rgba(30, 30, 40, 0.6);
  color: white;
  font-size: 1rem;
}

.input-group input:focus {
  outline: none;
  border-color: #00d4ff;
}

#keyResult {
  margin-top: 20px;
  padding: 15px;
  border-radius: 10px;
  background: rgba(30, 30, 40, 0.6);
  display: none;
}

#keyResult.show {
  display: block;
}

/* Player de Áudio */
.audio-player {
  text-align: center;
}

.player-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.btn-player {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0066ff, #00d4ff);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-player:hover {
  transform: scale(1.1);
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  max-width: 300px;
}

.volume-control input[type="range"] {
  flex: 1;
  height: 6px;
  border-radius: 5px;
  background: rgba(100, 200, 255, 0.3);
  outline: none;
}

.volume-control input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #00d4ff;
  cursor: pointer;
}

/* Menu Lateral */
.sidebar {
  position: fixed;
  left: -300px;
  top: 0;
  width: 300px;
  height: 100vh;
  background: rgba(15, 15, 25, 0.95);
  backdrop-filter: blur(10px);
  border-right: 1px solid rgba(100, 200, 255, 0.3);
  z-index: 1000;
  transition: left 0.3s ease;
  overflow-y: auto;
  padding: 20px;
}

.sidebar.open {
  left: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.sidebar-header h2 {
  color: #00d4ff;
}

.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.menu-toggle {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 999;
  background: linear-gradient(135deg, #0066ff, #00d4ff);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  transform: scale(1.1);
}

.category {
  margin-bottom: 20px;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: rgba(30, 30, 40, 0.6);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-header:hover {
  background: rgba(40, 40, 50, 0.8);
}

.category-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.category-content.open {
  max-height: 500px;
}

.category-item {
  display: block;
  padding: 12px 20px;
  color: #a0a0b0;
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.category-item:hover {
  color: #00d4ff;
  border-left-color: #00d4ff;
  background: rgba(30, 30, 40, 0.4);
}

.arrow {
  transition: transform 0.3s ease;
}

.arrow.rotate {
  transform: rotate(90deg);
}

/* Documentação */
.docs-section {
  max-width: 900px;
}

.route-section {
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(30, 30, 40, 0.4);
  border-radius: 10px;
  border-left: 4px solid #00d4ff;
}

.route-section h3 {
  color: #00d4ff;
  margin-bottom: 10px;
}

.route-section code {
  display: block;
  background: rgba(10, 10, 15, 0.8);
  padding: 15px;
  border-radius: 8px;
  margin: 10px 0;
  color: #00ff88;
  font-family: "Courier New", monospace;
  overflow-x: auto;
}

.route-section p {
  color: #a0a0b0;
  margin-top: 10px;
}

/* Responsivo */
@media (max-width: 768px) {
  .title {
    font-size: 2rem;
  }

  .card {
    padding: 25px;
  }

  .input-group {
    flex-direction: column;
  }
}
