/* ========================================
   NOTTY LANDING PAGE - Custom Styles
   Complementa o Tailwind CSS
   ======================================== */

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(255, 107, 53, 0.3);
  color: #fff;
}

/* ---- Text Gradient ---- */
.text-gradient {
  background: linear-gradient(135deg, #FF6B35, #FF9800, #E91E63);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Navbar ---- */
.nav-blur {
  background: rgba(26, 11, 63, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-scrolled {
  background: rgba(26, 11, 63, 0.9) !important;
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.3);
}

/* ---- Hero Glows ---- */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  background: rgba(255, 107, 53, 0.12);
  top: 10%;
  left: -10%;
  animation: float 8s ease-in-out infinite;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(156, 39, 176, 0.1);
  top: 40%;
  right: -5%;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-glow-3 {
  width: 300px;
  height: 300px;
  background: rgba(233, 30, 99, 0.08);
  bottom: 10%;
  left: 30%;
  animation: float 12s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.05);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

/* ---- Phone Mockup ---- */
.phone-mockup {
  position: relative;
  z-index: 1;
}

.phone-frame {
  width: 260px;
  height: 530px;
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
  border-radius: 2.5rem;
  padding: 10px;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.08),
    0 25px 80px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(255, 107, 53, 0.08);
  position: relative;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: #111;
  border-radius: 20px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 2rem;
  overflow: hidden;
  background: #1A0B3F;
}

@media (min-width: 640px) {
  .phone-frame {
    width: 290px;
    height: 590px;
  }
}

/* ---- Floating Badges ---- */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  background: rgba(26, 11, 63, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 10px 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  z-index: 2;
  animation: badge-float 4s ease-in-out infinite;
}

.floating-badge-1 {
  top: 20%;
  left: -30px;
  animation-delay: 0s;
}

.floating-badge-2 {
  bottom: 25%;
  right: -30px;
  animation-delay: 2s;
}

@keyframes badge-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 1024px) {
  .floating-badge-1 {
    left: -10px;
  }
  .floating-badge-2 {
    right: -10px;
  }
}

/* ---- Feature Cards ---- */
.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.5rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* ---- Audience Cards ---- */
.audience-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.audience-card:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.audience-card-highlight {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 107, 53, 0.2);
  box-shadow: 0 0 40px rgba(255, 107, 53, 0.05);
}

.audience-card-highlight:hover {
  border-color: rgba(255, 107, 53, 0.3);
  box-shadow: 0 20px 60px rgba(255, 107, 53, 0.1);
}

/* ---- Scroll Animations ---- */
.animate-fade-up {
  animation: fadeUp 0.8s ease-out forwards;
}

.animate-fade-up-delay {
  animation: fadeUp 0.8s ease-out 0.2s forwards;
  opacity: 0;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children animation */
.feature-card:nth-child(1) { transition-delay: 0ms; }
.feature-card:nth-child(2) { transition-delay: 80ms; }
.feature-card:nth-child(3) { transition-delay: 160ms; }
.feature-card:nth-child(4) { transition-delay: 240ms; }
.feature-card:nth-child(5) { transition-delay: 320ms; }
.feature-card:nth-child(6) { transition-delay: 400ms; }

.audience-card:nth-child(1) { transition-delay: 0ms; }
.audience-card:nth-child(2) { transition-delay: 100ms; }
.audience-card:nth-child(3) { transition-delay: 200ms; }

/* ---- Responsive Adjustments ---- */
@media (max-width: 639px) {
  .phone-frame {
    width: 220px;
    height: 450px;
  }

  .phone-frame::before {
    width: 60px;
    height: 18px;
    top: 10px;
  }

  .phone-screen {
    border-radius: 1.8rem;
  }

  .floating-badge {
    display: none !important;
  }
}

@media (max-width: 380px) {
  .phone-frame {
    width: 200px;
    height: 410px;
  }
}

/* ---- Musician Map Cards ---- */
.musician-map-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1rem;
  padding: 1rem;
  transition: all 0.3s ease;
}

.musician-map-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.musician-map-card-sm {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0.875rem;
  padding: 0.75rem;
}

/* ---- Scrollbar hide (mobile card scroll) ---- */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* ---- Beta Tester Section ---- */
.beta-perk-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
}

.beta-perk-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.beta-cta-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 107, 53, 0.18);
  border-radius: 2rem;
  padding: 3rem 2.5rem;
  box-shadow:
    0 0 80px rgba(255, 107, 53, 0.06),
    0 0 120px rgba(156, 39, 176, 0.05);
}

.beta-email-btn {
  background: linear-gradient(135deg, #FF6B35, #FF9800);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.35);
}

.beta-email-btn:hover {
  box-shadow: 0 16px 50px rgba(255, 107, 53, 0.55);
}

/* Stagger for beta perk cards */
.beta-perk-card:nth-child(1) { transition-delay: 0ms; }
.beta-perk-card:nth-child(2) { transition-delay: 100ms; }
.beta-perk-card:nth-child(3) { transition-delay: 200ms; }

/* ══ Beta 3D Coverflow Carousel ══ */
.beta-carousel-wrap {
  padding: 0 48px;
}

@media (max-width: 639px) {
  .beta-carousel-wrap {
    padding: 0 36px;
  }
}

.beta-stage {
  position: relative;
  height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

@media (min-width: 640px) {
  .beta-stage { height: 700px; }
}

.beta-slide {
  position: absolute;
  transition:
    transform 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    opacity   0.55s cubic-bezier(0.4, 0, 0.2, 1),
    filter    0.55s ease;
  cursor: pointer;
  transform-style: preserve-3d;
  /* Default: hidden — only explicitly positioned slides are visible */
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transform: translateX(0) scale(0.1);
}

/* Desktop positions */
@media (min-width: 640px) {
  .beta-slide[data-pos="0"] {
    transform: translateX(0) scale(1) rotateY(0deg);
    opacity: 1;
    z-index: 10;
    pointer-events: auto;
    filter: brightness(1) drop-shadow(0 0 48px rgba(255, 107, 53, 0.22));
  }
  .beta-slide[data-pos="-1"] {
    transform: translateX(-270px) scale(0.8) rotateY(22deg);
    opacity: 0.55;
    z-index: 5;
    pointer-events: auto;
    filter: brightness(0.6);
  }
  .beta-slide[data-pos="1"] {
    transform: translateX(270px) scale(0.8) rotateY(-22deg);
    opacity: 0.55;
    z-index: 5;
    pointer-events: auto;
    filter: brightness(0.6);
  }
  .beta-slide[data-pos="-2"] {
    transform: translateX(-450px) scale(0.6) rotateY(32deg);
    opacity: 0.18;
    z-index: 1;
    pointer-events: auto;
    filter: brightness(0.4);
  }
  .beta-slide[data-pos="2"] {
    transform: translateX(450px) scale(0.6) rotateY(-32deg);
    opacity: 0.18;
    z-index: 1;
    pointer-events: auto;
    filter: brightness(0.4);
  }
}

/* Mobile positions */
@media (max-width: 639px) {
  .beta-stage { height: 580px; }
  .beta-slide[data-pos="0"] {
    transform: translateX(0) scale(1);
    opacity: 1;
    z-index: 10;
    pointer-events: auto;
    filter: brightness(1) drop-shadow(0 0 30px rgba(255, 107, 53, 0.2));
  }
  .beta-slide[data-pos="-1"] {
    transform: translateX(-138px) scale(0.7);
    opacity: 0.35;
    z-index: 5;
    pointer-events: auto;
    filter: brightness(0.55);
  }
  .beta-slide[data-pos="1"] {
    transform: translateX(138px) scale(0.7);
    opacity: 0.35;
    z-index: 5;
    pointer-events: auto;
    filter: brightness(0.55);
  }
  .beta-slide[data-pos="-2"],
  .beta-slide[data-pos="2"] {
    transform: translateX(0) scale(0.3);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
  }
}

/* Screenshot image — images already contain phone mockup */
.beta-slide-img {
  width: 270px;
  height: 555px;
  border-radius: 0.75rem;
  object-fit: cover;
  object-position: top;
  display: block;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
}

@media (min-width: 640px) {
  .beta-slide-img {
    width: 300px;
    height: 616px;
  }
}

/* Active slide — glowing ring */
.beta-slide[data-pos="0"] .beta-slide-img {
  box-shadow:
    0 0 0 2px rgba(255, 107, 53, 0.25),
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 70px rgba(255, 107, 53, 0.14);
}

/* Arrow buttons */
.beta-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 20;
  flex-shrink: 0;
}

.beta-arrow-btn:hover {
  background: rgba(255, 107, 53, 0.15);
  border-color: rgba(255, 107, 53, 0.3);
  transform: translateY(-50%) scale(1.08);
}

.beta-arrow-prev { left: 0; }
.beta-arrow-next { right: 0; }

/* Dots */
.beta-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.beta-dot-active {
  width: 28px;
  background: linear-gradient(90deg, #FF6B35, #FF9800);
}

.beta-dot:hover:not(.beta-dot-active) {
  background: rgba(255, 255, 255, 0.35);
}

/* ---- Scrollbar (WebKit) ---- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #1A0B3F;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}
