@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Montserrat:wght@500;700;800&family=Roboto:wght@300;400;500&display=swap'); 

:root {
  --border-color: linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #f43f5e 100%);
  --border-color-subtle: linear-gradient(135deg, rgba(168, 85, 247, 0.3) 0%, rgba(236, 72, 153, 0.3) 50%, rgba(244, 63, 94, 0.3) 100%);
  --card-color: rgba(22, 19, 29, 0.95);
  --bg-dark-base: #110f17;
  --accent-pink: #f472b6;
  --accent-magenta: #ec4899;
}

.cardBig-body {
  background: var(--card-color);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  padding: 1.75rem;
  gap: 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.cardBig {
  background: var(--border-color);
  min-height: 140px;
  width: 100%;
  padding: 2px;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 8px 32px rgba(236, 72, 153, 0.15);
}

.cardLittle-body {
  background: var(--card-color);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  padding: 1.75rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.cardLittle {
  background: var(--border-color);
  height: fit-content;
  width: 100%;
  padding: 2px;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 8px 32px rgba(236, 72, 153, 0.15);
}

.imgRounded {
  border: 2px solid #ec4899;
  vertical-align: middle;
  border-radius: 50%;
  padding: 2px;
  max-width: 120px;
  height: auto;
  box-shadow: 0 0 16px rgba(236, 72, 153, 0.35);
}

.textoBlanco {
  font-family: 'Roboto', sans-serif;
  color: #f3f4f6;
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  font-weight: 300;
  display: block;
  letter-spacing: 0.5px;
}

.textoGradiente {
  background: var(--border-color);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: bold;
  display: inline-block;
}

.textoGradienteSub {
  background: var(--border-color);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.5rem;
}

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--bg-dark-base);
  color: #f3f4f6;
  font-size: 16px;
  margin: 0;
}

h1 {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
}

h3 {
  font-family: 'Montserrat', sans-serif;
}

h4 {
  font-family: 'Roboto', sans-serif;
}

.linkGradient {
  text-decoration: none;
  color: var(--accent-pink);
  display: inline-block;
  transition: color 0.25s ease, transform 0.25s ease, filter 0.25s ease;
}

.linkGradient:hover,
.linkGradient:focus {
  color: #ffffff !important;
  transform: translateY(-4px) scale(1.1);
  filter: drop-shadow(0 0 12px rgba(236, 72, 153, 0.75));
}

.linkGradient i {
  transition: transform 0.25s ease, color 0.25s ease;
}

.cabecera {
  padding: 2.5rem 1rem 1rem;
  background-color: var(--bg-dark-base);
}

.social-bar {
  background-color: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(236, 72, 153, 0.12);
  border-bottom: 1px solid rgba(236, 72, 153, 0.12);
}

.footer-custom {
  background-color: var(--bg-dark-base);
  border-top: 1px solid rgba(236, 72, 153, 0.12) !important;
}

.skill-box {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.25s ease, filter 0.25s ease;
  color: #e5e7eb !important;
  cursor: pointer;
}

.skill-box:hover,
.skill-box:focus {
  transform: translateY(-5px) scale(1.12);
  color: #f472b6 !important;
  filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.8));
}

.skill-box i {
  transition: color 0.25s ease;
}

.skill-box:hover i {
  color: #f472b6 !important;
}

.skills-container {
  scrollbar-width: thin;
  scrollbar-color: rgba(236, 72, 153, 0.3) transparent;
}

tool-tip {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(28, 24, 36, 0.96);
  border-radius: 8px;
  border: 1px solid rgba(236, 72, 153, 0.4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 500;
  left: 50%;
  transform: translateX(-50%);
  max-width: 320px;
  min-width: 110px;
  opacity: 0;
  padding: 0.35rem 0.85rem;
  pointer-events: none;
  position: absolute;
  text-align: center;
  top: -2.3rem;
  transition: opacity 0.25s ease-out, transform 0.25s ease-out;
  user-select: none;
  z-index: 20;
  white-space: nowrap;
}

:has(> tool-tip):hover tool-tip {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

:has(> tool-tip) {
  position: relative;
}

.form-custom-control {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(236, 72, 153, 0.25);
  color: #ffffff;
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.form-custom-control:focus {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ec4899;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.45);
}

.form-custom-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.btn-gradiente {
  background: var(--border-color);
  color: #ffffff;
  border: none;
  font-weight: 600;
  padding: 0.7rem 1.8rem;
  border-radius: 8px;
  transition: opacity 0.2s ease-in-out, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.3);
}

.btn-gradiente:hover {
  opacity: 0.95;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.5);
}