:root {
  --primary-guindo: #7d1d1d;
  --primary-dark: #5a1515;
  --secondary-celeste: #00a2e8;
  --secondary-light: #70d1ff;
  --accent-gold: #c5a059;
  --text-white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1a0505 100%);
  color: var(--text-white);
  overflow-x: hidden;
  position: relative;
}

/* Background image with overlay */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('background.jpg') no-repeat center center fixed;
  background-size: cover;
  opacity: 0.4;
  z-index: -1;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--glass-border);
}

header button {
  background: var(--primary-guindo);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 10px 20px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(125, 29, 29, 0.4);
}

header button:hover {
  background: var(--secondary-celeste);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 162, 232, 0.4);
}

#shareBtn {
  background: var(--glass-bg);
  padding: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--glass-border);
}

.share-icon {
  width: 18px;
  filter: invert(1);
}

main {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 20px 80px 20px;
}

.content {
  width: 100%;
  max-width: 400px;
  padding: 40px 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 30px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  text-align: center;
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo {
  width: 100%;
  max-width: 180px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
  transition: transform 0.5s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin: 10px 0 5px 0;
  letter-spacing: 2px;
  color: var(--text-white);
  text-transform: uppercase;
}

.slogan {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--secondary-celeste);
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.waves-container {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  height: 60px;
  margin: 30px auto 10px auto;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.waves-container.active {
  opacity: 1;
}

.wave {
  width: 8px;
  height: 100%;
  background: var(--secondary-celeste);
  border-radius: 10px;
  animation: wave-anim 1s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(0, 162, 232, 0.5);
}

.wave:nth-child(2) {
  animation-delay: 0.1s;
  height: 70%;
}

.wave:nth-child(3) {
  animation-delay: 0.2s;
  height: 100%;
}

.wave:nth-child(4) {
  animation-delay: 0.3s;
  height: 80%;
}

.wave:nth-child(5) {
  animation-delay: 0.4s;
  height: 60%;
}

@keyframes wave-anim {

  0%,
  100% {
    transform: scaleY(0.3);
  }

  50% {
    transform: scaleY(1);
  }
}

@media (max-width: 600px) {
  .waves-container {
    height: 45px;
    gap: 4px;
  }

  .wave {
    width: 6px;
  }
}

.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 30px 0 20px 0;
}

.control-btn {
  width: 65px;
  height: 65px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.control-btn:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.5));
}

.feedback-message {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: var(--secondary-celeste);
  margin-bottom: 20px;
  font-weight: 500;
  min-height: 20px;
}

/* Custom Volume Slider */
#volumeControl {
  -webkit-appearance: none;
  appearance: none;
  width: 80%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  outline: none;
  margin-bottom: 20px;
}

#volumeControl::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--secondary-celeste);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 0 10px rgba(0, 162, 232, 0.5);
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  padding: 30px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--glass-border);
}

.social-icon {
  width: 40px;
  transition: all 0.3s ease;
  filter: grayscale(0.5);
}

.social-icon:hover {
  transform: translateY(-5px);
  filter: grayscale(0);
}

#closeAppBtn {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid var(--glass-border);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  transition: all 0.3s ease;
}

#closeAppBtn:hover {
  background: #ff4b2b;
  border-color: #ff4b2b;
}

@media (max-width: 600px) {
  .content {
    max-width: 90%;
    padding: 30px 15px;
  }

  .logo {
    max-width: 150px;
  }

  .control-btn {
    width: 55px;
    height: 55px;
  }
}