:root {
--pink: #ff2d75;
--pink-light: #ff6fa5;
--bg: #0f0f13;
--card: #1a1a22;
--white: #fff;
--gray: #cfcfd6;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.8)),
  url('https://i.pinimg.com/originals/3a/e9/cd/3ae9cd953f1769b5730968a2cc82bfc9.webp');
  
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
}

/* NAV */
header {
  position: fixed;
  width: 100%;
  background: rgba(255, 45, 117, 0.1);
  backdrop-filter: blur(10px);
  padding: 1rem 5%;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--pink-light);
  font-weight: bold;
}

nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

nav a {
  color: var(--gray);
  text-decoration: none;
}

nav a:hover {
  color: var(--pink-light);
}

/* HERO */
#hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-content {
  animation: float 3s infinite ease-in-out;
}

.hero-content h1 span {
  color: var(--pink-light);
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: var(--pink);
  border-radius: 30px;
  color: white;
  text-decoration: none;
  box-shadow: 0 0 15px var(--pink);
}

/* SECCIONES */
.section {
  padding: 80px 20px;
  max-width: 1000px;
  margin: auto;
}

/* CARDS */
.card {
  background: var(--card);
  padding: 25px;
  border-radius: 15px;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px var(--pink);
}

/* GRID FLEX */
.grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.grid .card {
  flex: 1 1 250px;
}

/* TITULOS */
h2 {
  margin-bottom: 20px;
  color: var(--pink-light);
}

/* FOOTER */
footer {
  text-align: center;
  padding: 2rem;
  color: var(--gray);
}

/* ANIMACIONES */
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* RESPONSIVE */
@media (max-width: 768px) {

  nav {
    flex-direction: column;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  .grid {
    flex-direction: column;
  }

}

.card a {
  display: inline-block;
  margin-top: 10px;
  color: #ff6fa5;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.card a:hover {
  color: #ff2d75;
  transform: translateX(5px);
}