/* Ajustes leves além do Tailwind para manter layout enxuto e responsivo */
:root {
  color-scheme: dark;
}

body {
  background: radial-gradient(circle at 20% 20%, rgba(59, 209, 255, 0.12), transparent 25%),
              radial-gradient(circle at 80% 0%, rgba(101, 224, 255, 0.15), transparent 20%),
              #0b0b0e;
}

.nav-link {
  color: rgba(226, 232, 240, 0.9);
  transition: color 0.2s ease;
}
.nav-link:hover,
.nav-link:focus-visible {
  color: #3bd1ff;
  outline: none;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #3bd1ff;
  color: #0b0b0e;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 10px 50px rgba(59, 209, 255, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 60px rgba(59, 209, 255, 0.2);
}
.primary-btn:focus-visible {
  outline: 2px solid #3bd1ff;
  outline-offset: 3px;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-size: 0.95rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.ghost-btn:hover {
  border-color: #3bd1ff;
  color: #3bd1ff;
}
.ghost-btn:focus-visible {
  outline: 2px solid #3bd1ff;
  outline-offset: 3px;
}

.pill-btn {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-size: 0.8rem;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.pill-btn:hover {
  border-color: #3bd1ff;
  color: #3bd1ff;
  transform: translateY(-1px);
}
.pill-btn:focus-visible {
  outline: 2px solid #3bd1ff;
  outline-offset: 3px;
}

.card {
  background: #14141c;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1.2rem;
  padding: 1.25rem;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 209, 255, 0.2);
}

.gradient-spot {
  background: radial-gradient(circle at 30% 20%, rgba(59, 209, 255, 0.18), transparent 35%),
              radial-gradient(circle at 90% 30%, rgba(101, 224, 255, 0.2), transparent 30%);
  filter: blur(30px);
}

.hero-frame {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.ratio-box {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(59, 209, 255, 0.08), rgba(17, 17, 24, 0.8));
  border: 1px dashed rgba(255, 255, 255, 0.08);
  overflow: hidden;
  cursor: pointer;
}
.ratio-box::after {
  content: "Clique para carregar o player";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #cbd5e1;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, rgba(10, 10, 12, 0.6), rgba(20, 20, 28, 0.6));
}
.ratio-box iframe {
  position: absolute;
  inset: 0;
}
.ratio-box[data-loaded="true"]::after {
  display: none;
}

.load-player {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.85rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.load-player:hover {
  background: #3bd1ff;
  color: #0b0b0e;
  transform: translateY(-1px);
}
.load-player:focus-visible {
  outline: 2px solid #3bd1ff;
  outline-offset: 3px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: #e2e8f0;
  font-weight: 600;
  text-decoration: none;
  transition: border 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.social-btn i {
  color: #3bd1ff;
  font-size: 1.05rem;
}
.social-btn:hover {
  border-color: rgba(59, 209, 255, 0.5);
  color: #3bd1ff;
  transform: translateY(-1px);
  box-shadow: 0 10px 40px rgba(59, 209, 255, 0.15);
}
.social-btn:focus-visible {
  outline: 2px solid #3bd1ff;
  outline-offset: 3px;
}

.carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 70%;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
@media (min-width: 768px) {
  .carousel {
    grid-auto-columns: 33%;
  }
}
.carousel-item {
  scroll-snap-align: start;
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
}
.carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.carousel-item:hover img,
.carousel-item:focus-visible img {
  transform: scale(1.02);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.visible,
  .card,
  .primary-btn,
  .ghost-btn,
  .pill-btn,
  .carousel-item img {
    transition: none;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-size: 0.9rem;
  color: #e2e8f0;
}
.form-group input,
.form-group textarea {
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
  padding: 0.75rem 0.9rem;
  font-size: 0.95rem;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3bd1ff;
  box-shadow: 0 0 0 3px rgba(59, 209, 255, 0.25);
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #3bd1ff;
  outline-offset: 2px;
}

/* Hide scrollbar thumb for a cleaner dark aesthetic */
.carousel::-webkit-scrollbar {
  height: 8px;
}
.carousel::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}
