:root {
  --bg: #121212;
  --surface: #1e1e1e;
  --primary: rgb(64, 250, 126);
  --secondary: rgb(87, 255, 65);
  --text: #e0e0e0;
  --muted: #999;
  --disabled: #5e5e5e;
  --shadow: rgba(0, 0, 0, 0.598);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}



body {
  font-family: 'Quicksand', sans-serif;
  background: radial-gradient(ellipse at bottom center, #103d27 0%, #121212 100%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  height: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-x: hidden;
}


.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  transition: transform 0.3s ease;
  transform: scale(1);
}

.brand:hover {
  transform: scale(1.05);
}

.logo {
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(159, 255, 4, 0.3));
  
}

.logo-text {
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.5px;
}

.tm {
  font-size: 0.5em;
  vertical-align: super;
}



header {
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav {
  display: flex;
  align-items: center;
  gap: 1rem; 
}

header h1 {
  position: relative;
  color: var(--primary);
  font-weight: 700;
  text-shadow: 0 0 8px rgba(108, 250, 64, 0.3);
  transition: transform 0.3s ease;
}

header h1:hover {
  transform: scale(1.05);
}


nav a {
  color: var(--text);
  margin-left: 1.2rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--primary);
}

.currency-selector {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--surface);
  border: 1px solid #333;
  border-radius: 6px;
  padding: 0.2rem 0.5rem;
}

.currency-selector select {
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  cursor: pointer;
}

.currency-selector select option {
  background-color: var(--surface);
  color: var(--text);
}

.currency-selector .material-icons-round {
  font-size: 1rem;
  color: var(--text);
  margin-right: 0.2rem;
}


.upload-btn {
  background-color: var(--primary);
  color: #000;
  padding: 0.2rem 0.8rem;
  border-radius: 5px;
  margin-left: 1.5rem;
  transition: background 0.2s;
}

.upload-btn:hover {
  background-color: #0ba000;
}

main {
  padding: 2rem 0;
}




.hero {
  text-align: center;
  text-align: center;
  animation: fadeInUp 1s ease forwards;
}


.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.hero p {
  font-size: 1.5rem;
}

.hero-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #fff;
  text-align: center;
}

.carousel-container {
  overflow-x: auto;
  overflow-y: hidden;
  height: auto;
  width: auto;
  padding: 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  background: radial-gradient(
    circle at top center,
    rgba(0, 0, 0, 0.5) 50%,
    transparent 100%
  );
  border-radius: 10px;
}

.carousel-container::-webkit-scrollbar {
  display: none;
}


.carousel-track {
  display: flex;
  gap: 1rem;
  width: 100%;
  justify-content: center; /* ✅ centra si sobran espacios */
}




.carousel-item {
  transform: scale(0.9);
  flex: 1 1 0;
  max-width: 220px;
  min-width: 150;
  background: radial-gradient(circle at bottom, var(--muted) 0%, transparent 100%);
  border-radius: 10px;
  scroll-snap-align: start;
  padding: 1rem;
  text-align: center;
  color: #fff;
  box-shadow: 0 0 10px #00000088;
  transition: transform 0.3s ease;
}



.carousel-item:hover {
  transform: scale(1.05);
  background: radial-gradient(circle at bottom, var(--primary) 0%, transparent 100%);
}

.carousel-item img {
  width:100%;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.carousel-item h3 {
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.carousel-item p {
  font-size: 1rem;
}


.genero-section {
  margin-bottom: 3rem;
}


.cta-section {
  background:
    radial-gradient(circle at center, rgba(0, 255, 85, 0.2) 0%, rgba(0, 255, 85, 0) 100%),
    #132c1f;
  padding: 0.5rem 1rem;
  text-align: center;
  border-top: 2px solid var(--primary);
  margin-top: 4rem;
  overflow: hidden;
  max-height: 90px;
  transition: max-height 0.6s ease, padding-bottom 0.6s ease;
  position: relative;
}

.cta-section:hover {
  max-height: 240px;
  padding-bottom: 3rem;
}


.cta-title {
  font-size: 1.8rem;
  color: var(--primary);
  text-shadow: 0 0 8px rgba(0, 255, 85, 0.3);
}

.cta-subtext {
  font-size: 1.1rem;
  color: var(--text);
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s;
  pointer-events: none;
}

.cta-section:hover .cta-buttons {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.cta-btn {
  background: var(--primary);
  color: var(--surface);
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}

.cta-btn.secondary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.cta-btn:hover {
  background: var(--secondary);
  color: #000;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.genero-titulo {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: var(--primary);
  text-align: center;
  background: radial-gradient(
    circle at center,
    rgba(0, 255, 85, 0.2) 0%,
    rgba(255, 255, 255, 0) 50%,
    transparent 100%
  );
  text-shadow: 0 0 8px rgba(205, 205, 205, 0.6),
               0 0 20px rgba(108, 250, 64, 0.3);
}


.beat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}


.beat-card {
  min-width: 180px;
  max-width: 220px;
  width: 200px;
  /* background: rgb(30, 30, 30, 0.4); */
  background: radial-gradient(
    circle at bottom center,
    rgba(0, 255, 85, 0.2) 0%,
    rgba(30, 30, 30, 0.4) 50%,
    transparent 100%
  );
  border-radius: 10px;
  padding: 0.8rem;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.6);
  transition: opacity 1s ease;
}

.beat-card.playing {
  outline: 3px solid var(--primary);
  outline-offset: -3px;
  border-radius: 10px;
  transition: outline 0.3s ease;
}

.beat-cover-wrapper {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 5px;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0);
  background: rgba(0, 0, 0, 0);
  border-radius: 50%;
  padding: 0.5rem 0.5rem;
  pointer-events: none;
  transition: opacity 0.2s;
}

.beat-cover-wrapper:hover .play-icon {
  color: rgba(0, 255, 98, 1);
  background: rgba(0, 255, 98, 0.3);
  opacity: 1;
  font-size: 2rem;
}

.beat-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 5px;
  pointer-events: none;
}

.beat-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.beat-info {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: -0.8rem;
}

.beat-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text);
}

.beat-cover-area {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.audio-progress {
  width: 100%;
  height: 6px;
  background-color: #333;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  accent-color: var(--primary);
}

.duration {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: right;
  margin-top: 0.2rem;
}

.time-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.paypal-buy-btn {
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    padding: 0 1em;
    font-size: 1em;
    line-height: 1.7em;
    background: var(--primary);
    border-radius: 0.3em;
    color: var(--surface);
    cursor: pointer;
    border: 0;
}

.paypal-buy-btn:hover {
  background-color: var(--secondary);
}


.paypal-buy-btn.disabled {
  background-color: var(--disabled);
  color: var(--bg);
  cursor: not-allowed;
  opacity: 0.6;
}

.buy-btn {
    font-family: 'Quicksand', sans-serif;
    padding: 0 1em;
    font-size: 1.2em;
    line-height: 1em;
    background: var(--primary);
    border-radius: 0.3em;
    color: var(--surface);
    cursor: pointer;
    border: 0;
}

.buy-btn:hover {
  background-color: var(--secondary);
}


.buy-btn.disabled {
  background-color: var(--disabled);
  color: var(--bg);
  cursor: not-allowed;
  opacity: 0.6;
}

.white-link {
  color: white;
  text-decoration: underline; 
}

.green-link {
  color: var(--primary);
  text-decoration: underline; 
}

.legal-section {
  background: var(--surface);
  padding: 2rem;
  margin: 2rem auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  max-width: 800px;
  color: var(--text);
  line-height: 1.7;
}

.legal-section h1,
.legal-section h2 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.4rem;
}

.legal-section p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.legal-section ul {
  list-style-type: disc;
  padding-left: 1.5rem;
}

.legal-section li {
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
  color: var(--text);
}

.legal-section small {
  font-size: 0.9rem;
  color: var(--muted);
}

.legal-banner {
  background-color: #1e1e1e;
  color: var(--muted);
  text-align: center;
  font-size: 0.7rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  z-index: 90;
}

.legal-banner a {
  color: var(--primary);
  text-decoration: underline;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.footer-legal {
  background-color: #1a1a1a;
  color: var(--muted);
  text-align: center;
  padding: 0.35rem;
  font-size: 0.7rem;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 1000;
}

.hidden {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

.hidden-brand{
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
}

.hidden-hero-h2{
  opacity: 0;
  transform: translateX(-20px);
  pointer-events: none
}

.hidden-hero-p{
  opacity: 0;
  transform: scale(0.1);
  pointer-events: none;
}

#beats-page {
  transition: opacity 1s ease, transform 0.6s ease;
}

#brand{
  transition: opacity 1s ease, transform 1s ease;
}

#hero-h2 {
  transition: opacity 4s ease, transform 3s ease;
}

#hero-p {
  transition: opacity 4s ease, transform 3s ease;
}


form input[type="text"],
form input[type="password"] {
    width: 100%;
    background-color: var(--surface);
    color: var(--text);
    border: 1px solid #333;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 1rem;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
    transition: border-color 0.3s, box-shadow 0.3s;
}

form input[type="text"]:focus,
form input[type="password"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 8px var(--primary);
    outline: none;
}

form button[type="submit"] {
    background-color: var(--primary);
    color: #000;
    padding: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s ease;
    display: block;
    margin: 0 auto;

}

form button[type="submit"]:hover {
    background-color: var(--secondary);
}

.login-form-wrapper {
    max-width: 350px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(30, 30, 30, 0.7);
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
    text-align: left;
}

.login-logo {
    display: block;
    margin: 0 auto 20px auto;
    width: 100px; /* ajustable, lo podés cambiar a 80px, 120px, etc */
    height: auto;
    filter: drop-shadow(0 0 4px rgba(159, 255, 4, 0.4));
}

.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(ellipse at center, rgba(0, 50, 31, 0.8) 0%, rgba(0, 0, 0, 0.5) 100%, transparent 100%); 
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-content {
  background-color: var(--surface);
  color: var(--text);
  padding: 20px;
  border-radius: 10px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  text-align: center;
}

.modal-content input[type="email"] {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 15px;
  border: 1px solid var(--muted);
  border-radius: 5px;
  font-size: 14px;
  background-color: var(--bg);
  color: var(--text);
}

.modal-content button {
  width: 100%;
  padding: 12px;
  background-color: var(--primary);
  color: #000;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.modal-content button:hover {
  background-color: var(--secondary);
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 20px;
  color: var(--text);
}

.custom-request-section {
  background: rgba(30, 30, 30, 0.7);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 15px var(--shadow);
  margin: 3rem auto;
  max-width: 700px;
  animation: fadeInUp 1s ease forwards;
}

.custom-title {
  font-size: 2rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(64, 250, 126, 0.3);
}

.custom-description {
  font-size: 1.1rem;
  color: var(--text);
  text-align: center;
  margin-bottom: 2rem;
}

.custom-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.custom-form .form-group {
  display: flex;
  flex-direction: column;
}

.custom-form label {
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.custom-form input,
.custom-form textarea,
.custom-form select {
  background: var(--surface);
  border: 1px solid #333;
  border-radius: 6px;
  padding: 0.6rem 0.8rem;
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.custom-form input:focus,
.custom-form textarea:focus,
.custom-form select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  outline: none;
}

.custom-form textarea {
  resize: vertical;
  min-height: 100px;
}

.custom-form button {
  background-color: var(--primary);
  color: #000;
  font-weight: bold;
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
}

.custom-form button:hover {
  background-color: var(--secondary);
}



@media (min-width: 480px) {
  .carousel-item {
    flex: 0 0 calc(100% / 2 - 1rem); /* 2 items */
  }
}

@media (min-width: 768px) {
  .carousel-item {
    flex: 0 0 calc(100% / 3 - 1rem); /* 3 items */
  }
}

@media (min-width: 1024px) {
  .carousel-item {
    flex: 0 0 calc(100% / 4 - 1rem); /* 4 items */
  }
}

