/* Reset y configuración básica */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Comic Neue", cursive;
  background: linear-gradient(
    135deg,
    #ff9a9e 0%,
    #fecfef 25%,
    #fecfef 50%,
    #a8edea 75%,
    #fed6e3 100%
  );
  background-attachment: fixed;
  color: #444;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Borde arcoíris animado */
.rainbow-border {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(
    90deg,
    #ff0000,
    #ff8c00,
    #ffd700,
    #32cd32,
    #1e90ff,
    #9370db,
    #ff1493
  );
  background-size: 400% 100%;
  animation: rainbowSlide 3s linear infinite;
  z-index: 1000;
}

@keyframes rainbowSlide {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

/* Header */
.header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 30px 0;
  text-align: center;
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}

.header::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: sparkle 4s ease-in-out infinite;
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

.logo {
  font-family: "Fredoka One", cursive;
  font-size: 3rem;
  margin-bottom: 10px;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

.sparkle {
  display: inline-block;
  animation: bounce 2s infinite;
  font-size: 1.2em;
}

.sparkle:nth-child(1) {
  animation-delay: 0s;
}
.sparkle:nth-child(3) {
  animation-delay: 1s;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.tagline {
  font-size: 1.3rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

/* Navegación */
.nav {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  padding: 15px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 8px;
  z-index: 999;
}

.nav-list {
  display: flex;
  justify-content: center;
  list-style: none;
  flex-wrap: wrap;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: #666;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 10px 20px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.nav-link:hover {
  background: #ff69b4;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 105, 180, 0.4);
}

/* Sección Hero */
.hero {
  padding: 60px 0;
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  border-radius: 0 0 50px 50px;
  margin-bottom: 60px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-title {
  font-family: "Fredoka One", cursive;
  font-size: 2.5rem;
  color: #ff6b6b;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-text {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white;
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
}

.btn-secondary {
  background: linear-gradient(135deg, #a8e6cf, #7fcdcd);
  color: #2c3e50;
  box-shadow: 0 6px 20px rgba(168, 230, 207, 0.4);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(168, 230, 207, 0.6);
}

.btn-full {
  width: 100%;
  margin-top: 10px;
}

/* Showcase de pulseras en hero */
.bracelet-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  justify-items: center;
}

.bracelet {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ff9a9e, #fecfef);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: float 3s ease-in-out infinite;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bracelet:hover {
  transform: scale(1.1);
}

.bracelet-1 {
  animation-delay: 0s;
}
.bracelet-2 {
  animation-delay: 0.5s;
}
.bracelet-3 {
  animation-delay: 1s;
}
.bracelet-4 {
  animation-delay: 1.5s;
}

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

/* Títulos de sección */
.section-title {
  font-family: "Fredoka One", cursive;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  color: #ff6b6b;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.title-icon {
  font-size: 1.2em;
  margin: 0 10px;
  animation: wiggle 2s ease-in-out infinite;
}

@keyframes wiggle {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-5deg);
  }
  75% {
    transform: rotate(5deg);
  }
}

/* Galería */
.gallery {
  padding: 60px 0;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50px;
  margin: 40px 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-image {
  height: 200px;
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.placeholder-bracelet {
  font-size: 3rem;
  animation: pulse 2s ease-in-out infinite;
}

.rainbow-bracelet {
  background: linear-gradient(
    90deg,
    #ff0000,
    #ff8c00,
    #ffd700,
    #32cd32,
    #1e90ff,
    #9370db
  );
}
.unicorn-bracelet {
  background: linear-gradient(135deg, #ff9a9e, #a8e6cf);
}
.flower-bracelet {
  background: linear-gradient(135deg, #ffeaa7, #fab1a0);
}
.star-bracelet {
  background: linear-gradient(135deg, #fdcb6e, #e17055);
}
.ocean-bracelet {
  background: linear-gradient(135deg, #74b9ff, #0984e3);
}
.friendship-bracelet {
  background: linear-gradient(135deg, #fd79a8, #fdcb6e);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.card-content {
  padding: 25px;
}

.card-content h3 {
  font-family: "Fredoka One", cursive;
  font-size: 1.5rem;
  color: #ff6b6b;
  margin-bottom: 15px;
}

.card-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

.price {
  background: linear-gradient(135deg, #55a3ff, #003d82);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: 700;
  display: inline-block;
  font-size: 1.1rem;
}

/* Sección Sobre Mí */
.about {
  padding: 60px 0;
  background: linear-gradient(135deg, #a8e6cf 0%, #dcedc1 100%);
  border-radius: 50px;
  margin: 40px 20px;
}

.about-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 50px;
  align-items: start;
}

.avatar {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto;
}

.avatar-face {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #ffeaa7, #fab1a0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  animation: bounce 3s ease-in-out infinite;
}

.avatar-accessories {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 250px;
}

.bracelet-arm {
  position: absolute;
  font-size: 1.5rem;
  animation: orbit 10s linear infinite;
}

.bracelet-arm:nth-child(1) {
  top: 0%;
  left: 50%;
  animation-delay: 0s;
}

.bracelet-arm:nth-child(2) {
  top: 50%;
  right: 0%;
  animation-delay: -3.33s;
}

.bracelet-arm:nth-child(3) {
  bottom: 0%;
  left: 50%;
  animation-delay: -6.66s;
}

@keyframes orbit {
  0% {
    transform: rotate(0deg) translateX(125px) rotate(0deg);
  }
  100% {
    transform: rotate(360deg) translateX(125px) rotate(-360deg);
  }
}

.about-text h3 {
  font-family: "Fredoka One", cursive;
  font-size: 2rem;
  color: #ff6b6b;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #555;
}

.fun-facts {
  background: rgba(255, 255, 255, 0.8);
  padding: 25px;
  border-radius: 20px;
  margin-top: 30px;
}

.fun-facts h4 {
  color: #ff6b6b;
  font-family: "Fredoka One", cursive;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.fun-facts ul {
  list-style: none;
}

.fun-facts li {
  padding: 8px 0;
  font-size: 1.1rem;
  color: #666;
}

/* Sección de contacto */
.contact {
  padding: 60px 0;
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  border-radius: 50px;
  margin: 40px 20px;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h3 {
  font-family: "Fredoka One", cursive;
  font-size: 1.8rem;
  color: #ff6b6b;
  margin-bottom: 15px;
}

.contact-methods {
  margin-top: 30px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  background: rgba(255, 255, 255, 0.8);
  padding: 20px;
  border-radius: 15px;
}

.contact-method .icon {
  font-size: 2rem;
}

.contact-method h4 {
  color: #ff6b6b;
  margin-bottom: 5px;
}

.contact-method p {
  color: #666;
  font-weight: 700;
}

/* Formulario */
.form {
  background: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.form h3 {
  font-family: "Fredoka One", cursive;
  font-size: 1.8rem;
  color: #ff6b6b;
  margin-bottom: 25px;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: #555;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #ddd;
  border-radius: 15px;
  font-size: 1rem;
  font-family: "Comic Neue", cursive;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff6b6b;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 30px 0;
  text-align: center;
  margin-top: 60px;
}

.footer-content p {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

/* Corazones flotantes */
.floating-hearts {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.heart {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.6;
  animation: floatHeart 15s infinite linear;
}

.heart-1 {
  left: 10%;
  animation-delay: 0s;
}

.heart-2 {
  left: 30%;
  animation-delay: 3s;
}

.heart-3 {
  left: 60%;
  animation-delay: 6s;
}

.heart-4 {
  left: 80%;
  animation-delay: 9s;
}

@keyframes floatHeart {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .logo {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .nav-list {
    gap: 15px;
  }

  .nav-link {
    font-size: 1rem;
    padding: 8px 15px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .bracelet-showcase {
    margin-top: 30px;
  }

  .avatar {
    width: 150px;
    height: 150px;
  }

  .avatar-face {
    width: 150px;
    height: 150px;
    font-size: 3rem;
  }

  .avatar-accessories {
    width: 180px;
    height: 180px;
  }

  @keyframes orbit {
    0% {
      transform: rotate(0deg) translateX(90px) rotate(0deg);
    }
    100% {
      transform: rotate(360deg) translateX(90px) rotate(-360deg);
    }
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.5rem;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .card-content {
    padding: 20px;
  }

  .form {
    padding: 20px;
  }

  .gallery,
  .about,
  .contact {
    margin: 20px 10px;
    border-radius: 30px;
  }
}
