* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: black;
}

/*NAVBAR*/

.menu {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    font-family: 'Poppins', sans-serif;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }
  
  .menu__logo img {
    height: 75px;
      width: auto;
      border-radius: 50%;
  }
  
  .menu__icon {
    width: 30px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 20px;
    z-index: 1001;
  }
  
  .menu__icon span {
    display: block;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.4s ease;
  }
  
  .menu__icon.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .menu__icon.open span:nth-child(2) {
    opacity: 0;
  }
  .menu__icon.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .menu__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.5s ease;
    box-shadow: -4px 0 15px rgba(0,0,0,0.2);
  }
  
  .menu__links.active {
    right: 0;
  }
  
  .menu__links ul {
    list-style: none;
    text-align: center;
  }
  
  .menu__links li {
    margin: 20px 0;
  }
  
  .menu__links a {
    text-decoration: none;
    color: #fff;
    font-size: 22px;
    font-weight: 500;
    position: relative;
    transition: 0.3s;
  }
  
  .menu__links a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ffde59;
    transition: 0.3s ease;
    transform: translateX(-50%);
  }
  
  .menu__links a:hover::after {
    width: 100%;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  
  

.glow-text {
  margin-top: clamp(60px, 15vh, 120px);
  margin-bottom: clamp(40px, 10vh, 90px);
  font-size: clamp(1.6rem, 4.5vw + 1rem, 4rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #ffffff;
  filter: brightness(1.1);
  z-index: 1;
  text-align: center;
}

  
  .glow-text::before {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #00cfff, #a600ff, #ff006e, #ff8800);
    filter: blur(20px) brightness(0.8);
    opacity: 0.7;
    border-radius: 100px;
    z-index: -1;
    pointer-events: none;
    background-size: 200% 200%;
    animation: gradientShift 12s ease-in-out infinite;
  }
  
  .glow-text::after {
    position: absolute;
    inset: 0;
    font-size: inherit;
    font-weight: inherit;
    font-family: inherit;
    letter-spacing: inherit;
    background: linear-gradient(90deg, #00cfff, #a600ff, #ff006e, #ff8800);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    mix-blend-mode: color-burn;
    filter: blur(3px) brightness(1.3);
    z-index: 0;
    pointer-events: none;
    background-size: 200% 200%;
    animation: gradientShift 12s ease-in-out infinite;
  }
  
  @keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  

@keyframes softGlow {
  0% {
    text-shadow: 0 0 8px rgba(255, 102, 196, 0.6),
                 0 0 15px rgba(192, 132, 252, 0.4);
  }
  100% {
    text-shadow: 0 0 15px rgba(126, 232, 250, 0.7),
                 0 0 25px rgba(255, 182, 222, 0.5);
  }
}


/* CARRUSEL */

:root {
	/* Background & Text */
	--bg: #1a1b26; /* Dark background */
	--fg: #a9b1d6; /* Light foreground text */

	/* Accent Colors */
	--red: #f7768e; /* Error / Danger */
	--green: #9ece6a; /* Success / Valid */
	--yellow: #e0af68; /* Warning */
	--blue: #7aa2f7; /* Primary / Links */
	--purple: #bb9af7; /* Secondary / Highlights */
	--cyan: #7dcfff; /* Info / Accent */

	/* UI Elements */
	--card-bg: #283457; /* Card background */
	--comment: #565f89; /* Comments / muted text */
	--border: #3b4261; /* Borders / dividers */
}

body {
	margin: 0;
	padding: 0;
	font-family: "Segoe UI", system-ui, sans-serif;
	background-color: var(--bg);
	color: var(--fg);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	overflow-x: hidden;
}

.carousel {
  width: 100%;
  max-width: 1200px;  /* O el ancho máximo que quieras */
  margin: 0 auto;
  overflow: hidden;   /* Oculta las tarjetas que salen del contenedor */
}

.carousel-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel::-webkit-scrollbar {
	display: none; /* Chrome/Safari */
}

/* Carousel navigation buttons */
.carousel-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: var(--card-bg);
	border: 1px solid var(--border);
	color: var(--fg);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	cursor: pointer;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	transition: background 0.2s, box-shadow 0.2s, color 0.2s;
	font-size: 1.5rem;
	outline: none;
	border: none;
}
.carousel-nav:hover,
.carousel-nav:focus {
	background: var(--blue);
	color: #fff;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.prev-btn.carousel-nav {
	left: 1rem;
}

.next-btn.carousel-nav {
	right: 1rem;
}

/* Remove old nav-btn if not in use */
/* .nav-btn { ... } */

.card {
	flex: 0 0 300px;
	height: 500px;
	scroll-snap-align: start;
	background-color: var(--card-bg);
	border-radius: 12px;
	border: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	color: var(--fg);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}
.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Optional navigation buttons */
.nav-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: var(--card-bg);
	border: 1px solid var(--border);
	color: var(--fg);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	cursor: pointer;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
}

.prev-btn {
	left: 1rem;
}

.next-btn {
	right: 1rem;
}
/* Modal Styles */
.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 100;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.show-modal {
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 1;
}

.modal-content {
	position: relative;
	background-color: var(--card-bg);
	border-radius: 12px;
	border: 1px solid var(--border);
	width: 80%;
	max-width: 600px;
	padding: 2rem;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
	transform: scale(0.8);
	opacity: 0;
	transition: transform 0.3s, opacity 0.3s;
}

.show-modal .modal-content {
	transform: scale(1);
	opacity: 1;
}

.close-button {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 1.8rem;
	color: var(--fg);
	cursor: pointer;
	transition: color 0.2s;
}

.close-button:hover {
	color: var(--red);
}

.modal-body {
	margin-top: 1rem;
	color: var(--fg);
}

/* Make sure cards look clickable */
.card {
	.card {
  flex: 0 0 100%;     /* Por defecto, una tarjeta ocupa todo el ancho */
  max-width: 300px;   /* opcional: evita que crezcan demasiado en pantallas muy anchas */
}
}

/* En tablets: dos cartas por fila */
@media (min-width: 600px) {
  .card {
    flex: 0 0 calc(50% - 1rem);
  }
}

/* En desktop: tres cartas por fila */
@media (min-width: 900px) {
  .card {
    flex: 0 0 calc(33.333% - 1rem);
  }
}

/* En súper desktop: cuatro cartas */
@media (min-width: 1200px) {
  .card {
    flex: 0 0 calc(25% - 1rem);
  }
}

