@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&display=swap');

.yiye-home {
  --bg1: #f7f3ff;
  --bg2: #efe7ff;
  --ink: #15132b;
  --muted: rgba(21, 19, 43, 0.72);
  --p2: #a78bfa;
  --p3: #6d28d9;
  --card: rgba(255, 255, 255, 0.72);
  --card2: rgba(255, 255, 255, 0.55);
  --shadow: 0 20px 60px rgba(36, 20, 90, 0.22);
  --shadow2: 0 12px 30px rgba(36, 20, 90, 0.14);
  --radius: 22px;
  --maxw: 1120px;
  color: var(--ink);
  font-family: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background:
    radial-gradient(1200px 700px at 15% 10%, rgba(124, 58, 237, 0.18), transparent 60%),
    radial-gradient(900px 600px at 90% 20%, rgba(167, 139, 250, 0.22), transparent 55%),
    radial-gradient(900px 700px at 70% 85%, rgba(109, 40, 217, 0.16), transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
  overflow-x: hidden;
}

.yiye-home,
.yiye-site {
  overflow-x: hidden;
}

.yiye-home body,
.yiye-site body {
  overflow-x: hidden;
}

.yiye-home::before {
  background:
    radial-gradient(1200px 700px at 15% 10%, rgba(124, 58, 237, 0.18), transparent 60%),
    radial-gradient(900px 600px at 90% 20%, rgba(167, 139, 250, 0.22), transparent 55%),
    radial-gradient(900px 700px at 70% 85%, rgba(109, 40, 217, 0.16), transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
}

.yiye-home::after {
  opacity: 0.12;
}

.yiye-home * {
  box-sizing: border-box;
}

.yiye-home .gweil-bg-wrap {
  display: none;
}

.yiye-home .blob {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.28;
  pointer-events: none;
  mix-blend-mode: multiply;
  background: radial-gradient(circle at 30% 30%, rgba(124, 58, 237, 0.85), rgba(167, 139, 250, 0.15));
  animation: yiye-float 10s ease-in-out infinite;
}

.yiye-home .blob.b1 {
  left: -180px;
  top: -120px;
  animation-delay: -2s;
}

.yiye-home .blob.b2 {
  right: -220px;
  top: 40px;
  width: 560px;
  height: 560px;
  animation-delay: -5s;
}

.yiye-home .blob.b3 {
  left: 30%;
  bottom: -260px;
  width: 620px;
  height: 620px;
  opacity: 0.22;
  animation-delay: -7s;
}

@keyframes yiye-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -14px, 0) scale(1.03);
  }
}

.yiye-home .confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.85;
}

.yiye-home .confetti i {
  position: absolute;
  top: -10vh;
  width: 10px;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.9), rgba(167, 139, 250, 0.7));
  box-shadow: 0 8px 22px rgba(124, 58, 237, 0.25);
  animation: yiye-fall linear infinite;
  transform: rotate(20deg);
  opacity: 0.75;
}

.yiye-home .confetti i:nth-child(3n) {
  background: linear-gradient(180deg, rgba(255, 106, 0, 0.9), rgba(255, 200, 0, 0.7));
}

.yiye-home .confetti i:nth-child(4n) {
  background: linear-gradient(180deg, rgba(0, 176, 255, 0.9), rgba(117, 231, 255, 0.7));
}

.yiye-home .confetti i:nth-child(5n) {
  background: linear-gradient(180deg, rgba(255, 0, 122, 0.9), rgba(255, 152, 220, 0.7));
}

@keyframes yiye-fall {
  to {
    transform: translate3d(var(--dx), 120vh, 0) rotate(540deg);
  }
}

.yiye-home .container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.yiye-home header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: none;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}

.yiye-home .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.yiye-home nav {
  position: relative;
}

.yiye-home .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.yiye-home .brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.65);
  padding: 4px;
}

.yiye-home nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  padding: 0;
  margin: 0;
  align-items: center;
}

.yiye-home .nav-toggle {
  display: none;
  border: 1px solid rgba(124, 58, 237, 0.2);
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
  border-radius: 12px;
  padding: 8px 12px;
  font-weight: 800;
  cursor: pointer;
}

.yiye-home .nav-menu {
  display: flex;
}

.yiye-home nav a {
  text-decoration: none;
  color: rgba(21, 19, 43, 0.76);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 10px;
  border-radius: 12px;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.yiye-home nav a:hover {
  background: rgba(124, 58, 237, 0.08);
  color: var(--ink);
  transform: translateY(-1px);
}

.yiye-home .btn {
  appearance: none;
  border: none;
  cursor: pointer;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  user-select: none;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.yiye-home .btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--p3), var(--p2));
  box-shadow: 0 14px 32px rgba(109, 40, 217, 0.28);
}

.yiye-home .btn.primary:hover {
  filter: saturate(1.05);
  transform: translateY(-1px);
}

.yiye-home .btn.ghost {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(124, 58, 237, 0.14);
  color: var(--ink);
  box-shadow: 0 10px 22px rgba(36, 20, 90, 0.1);
}

.yiye-home .btn.ghost:hover {
  transform: translateY(-1px);
}

.yiye-home .nav-right {
  display: flex;
  gap: 10px;
  align-items: center;
}

.yiye-home .hero {
  padding: 44px 0 24px;
}

.yiye-home .hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 28px;
  align-items: center;
  padding-top: 24px;
}

.yiye-home .kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(124, 58, 237, 0.16);
  box-shadow: 0 10px 24px rgba(36, 20, 90, 0.08);
  font-weight: 900;
  width: fit-content;
}

.yiye-home .dot {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.1)),
    linear-gradient(135deg, var(--p3), var(--p2));
  box-shadow: 0 8px 18px rgba(124, 58, 237, 0.25);
}

.yiye-home h1 {
  margin: 14px 0 10px;
  font-size: clamp(40px, 4.4vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.8px;
}

.yiye-home h1 .accent {
  background: linear-gradient(135deg, var(--p3), var(--p2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.yiye-home .lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 18px;
}

.yiye-home .hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 6px;
}

.yiye-home .mini {
  font-size: 13px;
  color: rgba(21, 19, 43, 0.62);
  margin-top: 10px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.yiye-home .mini span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.yiye-home .tick {
  width: 18px;
  height: 18px;
  border-radius: 8px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.16);
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--p3);
  line-height: 1;
}

.yiye-home .robot-wrap {
  perspective: 900px;
}

.yiye-home .robot-card {
  position: relative;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.35));
  border: 1px solid rgba(124, 58, 237, 0.14);
  box-shadow: var(--shadow);
  padding: 18px;
  overflow: hidden;
  transform-style: preserve-3d;
}

.yiye-home .robot-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 30% 30%, rgba(124, 58, 237, 0.22), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(167, 139, 250, 0.22), transparent 55%);
  transform: translateZ(-1px);
}

.yiye-home .robot-img {
  width: 100%;
  display: block;
  border-radius: 22px;
  filter: drop-shadow(0 24px 30px rgba(36, 20, 90, 0.14));
  transform: translateZ(28px);
}

.yiye-home .badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(124, 58, 237, 0.18);
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(36, 20, 90, 0.1);
  transform: translateZ(40px);
}

.yiye-home .cards {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  perspective: 1100px;
}

.yiye-home .tilt {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card), var(--card2));
  border: 1px solid rgba(124, 58, 237, 0.16);
  box-shadow: var(--shadow2);
  padding: 18px 16px;
  transform-style: preserve-3d;
  transition: transform 0.14s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  overflow: hidden;
  min-height: 138px;
}

.yiye-home .tilt::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(240px 180px at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.6), transparent 60%);
  opacity: 0.75;
  pointer-events: none;
}

.yiye-home .tilt:hover {
  border-color: rgba(124, 58, 237, 0.28);
  box-shadow: 0 26px 70px rgba(36, 20, 90, 0.22);
}

.yiye-home .tilt .icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.18);
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--p3);
  transform: translateZ(24px);
  box-shadow: 0 14px 30px rgba(36, 20, 90, 0.1);
}

.yiye-home .tilt h3 {
  margin: 10px 0 6px;
  font-size: 16px;
  letter-spacing: -0.2px;
  transform: translateZ(22px);
}

.yiye-home .tilt p {
  margin: 0;
  color: rgba(21, 19, 43, 0.68);
  font-size: 13.5px;
  line-height: 1.5;
  transform: translateZ(18px);
}


.yiye-home section {
  padding: 46px 0;
}

.yiye-home .panel {
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.26));
  border: 1px solid rgba(124, 58, 237, 0.14);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.yiye-home .panel::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 20% 30%, rgba(124, 58, 237, 0.2), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(167, 139, 250, 0.22), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.yiye-home .panel-inner {
  position: relative;
  padding: 28px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: center;
}

.yiye-home .h2 {
  font-size: clamp(28px, 3vw, 44px);
  margin: 0 0 10px;
  letter-spacing: -0.6px;
  line-height: 1.06;
}

.yiye-home .sub {
  margin: 0 0 16px;
  color: rgba(21, 19, 43, 0.7);
  line-height: 1.6;
  max-width: 60ch;
}

.yiye-home .poses {
  width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(124, 58, 237, 0.14);
  box-shadow: 0 18px 45px rgba(36, 20, 90, 0.18);
  filter: drop-shadow(0 22px 30px rgba(36, 20, 90, 0.12));
  transform: translateZ(22px);
  display: block;
  background: rgba(255, 255, 255, 0.35);
}

.yiye-home .project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.yiye-home .project-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
}

.yiye-home .project-card img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(124, 58, 237, 0.16);
  box-shadow: 0 14px 32px rgba(36, 20, 90, 0.18);
}

.yiye-home .project-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(21, 19, 43, 0.6);
}

.yiye-home footer {
  padding: 32px 0 40px;
  color: rgba(21, 19, 43, 0.62);
}

.yiye-home .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.yiye-home .ai-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.yiye-home .ai-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(124, 58, 237, 0.25);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  padding: 8px 12px 8px 8px;
  box-shadow: 0 12px 30px rgba(36, 20, 90, 0.2);
  font-weight: 800;
  color: var(--ink);
}

.yiye-home .ai-toggle img {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  padding: 3px;
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.yiye-home .ai-box {
  width: min(380px, calc(100vw - 28px));
  border-radius: 18px;
  border: 1px solid rgba(124, 58, 237, 0.2);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 20px 60px rgba(36, 20, 90, 0.24);
  padding: 14px;
  display: none;
  flex-direction: column;
}

.yiye-home .ai-box.is-open {
  display: flex;
}

.yiye-home .ai-head {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.yiye-home .ai-clear {
  margin-left: auto;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 10px;
}

.yiye-home .ai-close {
  border: 1px solid rgba(124, 58, 237, 0.2);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  width: 30px;
  height: 30px;
  line-height: 1;
  font-size: 20px;
  color: var(--ink);
}

.yiye-home .ai-form textarea {
  width: 100%;
  min-height: 72px;
  max-height: 120px;
  resize: vertical;
  border-radius: 16px;
  border: 1px solid rgba(124, 58, 237, 0.2);
  background: rgba(255, 255, 255, 0.72);
  padding: 14px 16px;
  color: var(--ink);
  font: inherit;
  line-height: 1.45;
}

.yiye-home .ai-form textarea:focus {
  outline: 3px solid rgba(124, 58, 237, 0.24);
  outline-offset: 2px;
}

.yiye-home .ai-actions {
  margin-top: 8px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.yiye-home .ai-suggest {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.yiye-home .ai-chip {
  border: 1px solid rgba(124, 58, 237, 0.2);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  cursor: pointer;
}

.yiye-home .ai-thread {
  max-height: 300px;
  min-height: 170px;
  overflow-y: auto;
  padding: 6px 2px;
  margin: 4px 0 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.yiye-home .ai-msg {
  border-radius: 14px;
  padding: 10px 12px;
  line-height: 1.45;
  font-size: 14px;
  white-space: pre-wrap;
  word-break: break-word;
  max-width: 92%;
}

.yiye-home .ai-msg .ai-time {
  margin-top: 6px;
  display: block;
  font-size: 11px;
  opacity: 0.68;
}

.yiye-home .ai-msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--p3), var(--p2));
  color: #fff;
}

.yiye-home .ai-msg.bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(124, 58, 237, 0.18);
  color: var(--ink);
}

.yiye-home .ai-msg.typing {
  opacity: 0.85;
  font-style: italic;
}

.yiye-home .ai-cta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.yiye-home .ai-cta a {
  text-decoration: none;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(124, 58, 237, 0.2);
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
}

.yiye-home .ai-status {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(21, 19, 43, 0.62);
  min-height: 18px;
}

.yiye-home .foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid rgba(124, 58, 237, 0.12);
  padding-top: 18px;
}

@media (max-width: 980px) {
  .yiye-home .hero-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .yiye-home .cards {
    grid-template-columns: 1fr;
  }
  .yiye-home .panel-inner {
    grid-template-columns: 1fr;
  }
  .yiye-home .nav-toggle {
    display: inline-flex;
  }
  .yiye-home .nav-menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(124, 58, 237, 0.2);
    box-shadow: 0 20px 50px rgba(36, 20, 90, 0.2);
    min-width: 220px;
    max-width: calc(100vw - 24px);
    z-index: 20;
    text-align: center;
  }
  .yiye-home .nav-menu.is-open {
    display: flex;
  }
  .yiye-home .nav-right .btn.ghost,
  .yiye-home .nav-right [data-theme-toggle] {
    display: none;
  }
  .yiye-home .project-grid {
    grid-template-columns: 1fr;
  }
  .yiye-home .ai-float {
    top: 12px;
    left: 12px;
    right: auto;
    bottom: auto;
    align-items: flex-start;
  }
  .yiye-home .ai-toggle span {
    display: none;
  }
  .yiye-home .ai-box {
    width: min(340px, calc(100vw - 24px));
  }
  .yiye-home .ai-thread {
    max-height: 230px;
    min-height: 150px;
  }
  .yiye-home .ai-actions .btn {
    width: 100%;
  }
  .yiye-home #contacto .tilt {
    min-height: auto;
    padding: 16px;
    margin-top: 12px;
  }
}

.yiye-home a:focus,
.yiye-home button:focus {
  outline: 3px solid rgba(124, 58, 237, 0.24);
  outline-offset: 3px;
}

.yiye-site {
  --bg1: #f7f3ff;
  --bg2: #efe7ff;
  --bg0: #f5f1ff;
  --ink: #15132b;
  --text: #15132b;
  --muted: rgba(21, 19, 43, 0.72);
  --border: rgba(124, 58, 237, 0.16);
  --accent: #6d28d9;
  --accent-soft: rgba(109, 40, 217, 0.2);
  --p2: #a78bfa;
  --p3: #6d28d9;
  --card: rgba(255, 255, 255, 0.72);
  --card2: rgba(255, 255, 255, 0.55);
  --shadow: 0 20px 60px rgba(36, 20, 90, 0.22);
  --shadow2: 0 12px 30px rgba(36, 20, 90, 0.14);
  --radius: 22px;
  --maxw: 1120px;
  color: var(--ink);
  font-family: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background:
    radial-gradient(1200px 700px at 15% 10%, rgba(124, 58, 237, 0.18), transparent 60%),
    radial-gradient(900px 600px at 90% 20%, rgba(167, 139, 250, 0.22), transparent 55%),
    radial-gradient(900px 700px at 70% 85%, rgba(109, 40, 217, 0.16), transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
  overflow-x: hidden;
}

.yiye-site[data-theme='dark'] {
  --bg1: #f7f3ff;
  --bg2: #efe7ff;
  --bg0: #f5f1ff;
  --ink: #15132b;
  --text: #15132b;
  --muted: rgba(21, 19, 43, 0.72);
  --border: rgba(124, 58, 237, 0.16);
  --accent: #6d28d9;
  --accent-soft: rgba(109, 40, 217, 0.2);
  --p2: #a78bfa;
  --p3: #6d28d9;
  --card: rgba(255, 255, 255, 0.72);
  --card2: rgba(255, 255, 255, 0.55);
  --shadow: 0 20px 60px rgba(36, 20, 90, 0.22);
  --shadow2: 0 12px 30px rgba(36, 20, 90, 0.14);
}

.yiye-site::before {
  background:
    radial-gradient(1200px 700px at 15% 10%, rgba(124, 58, 237, 0.18), transparent 60%),
    radial-gradient(900px 600px at 90% 20%, rgba(167, 139, 250, 0.22), transparent 55%),
    radial-gradient(900px 700px at 70% 85%, rgba(109, 40, 217, 0.16), transparent 60%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
}

.yiye-site::after {
  opacity: 0.12;
}

.yiye-site .gweil-bg-wrap {
  display: none;
}

.yiye-site .container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.yiye-site .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: none;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}

.yiye-site .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.yiye-site nav {
  position: relative;
}

.yiye-site .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.yiye-site .brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.65);
  padding: 4px;
}

.yiye-site nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  padding: 0;
  margin: 0;
  align-items: center;
}

.yiye-site .nav-toggle {
  display: none;
  border: 1px solid rgba(124, 58, 237, 0.2);
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
  border-radius: 12px;
  padding: 8px 12px;
  font-weight: 800;
  cursor: pointer;
}

.yiye-site .nav-menu {
  display: flex;
}

.yiye-site nav a {
  text-decoration: none;
  color: rgba(21, 19, 43, 0.76);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 10px;
  border-radius: 12px;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.yiye-site nav a:hover {
  background: rgba(124, 58, 237, 0.08);
  color: var(--ink);
  transform: translateY(-1px);
}

.yiye-site .nav-right {
  display: flex;
  gap: 10px;
  align-items: center;
}

.yiye-site .btn {
  appearance: none;
  border: none;
  cursor: pointer;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  user-select: none;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.yiye-site .btn.primary,
.yiye-site .btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--p3), var(--p2));
  box-shadow: 0 14px 32px rgba(109, 40, 217, 0.28);
}

.yiye-site .btn.primary:hover,
.yiye-site .btn-primary:hover {
  filter: saturate(1.05);
  transform: translateY(-1px);
}

.yiye-site .btn.ghost,
.yiye-site .btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(124, 58, 237, 0.14);
  color: var(--ink);
  box-shadow: 0 10px 22px rgba(36, 20, 90, 0.1);
}

.yiye-site .btn.ghost:hover,
.yiye-site .btn-ghost:hover {
  transform: translateY(-1px);
}

.yiye-site main,
.yiye-site .stage {
  padding: 40px 0 60px;
}

.yiye-site .panel {
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.26));
  border: 1px solid rgba(124, 58, 237, 0.14);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.yiye-site .panel::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 20% 30%, rgba(124, 58, 237, 0.2), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(167, 139, 250, 0.22), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.yiye-site .panel > * {
  position: relative;
}

.yiye-site .panel-wrap {
  margin-bottom: 28px;
}

.yiye-site h1,
.yiye-site h2,
.yiye-site h3,
.yiye-site h4 {
  color: var(--ink);
}

.yiye-site p {
  color: var(--muted);
}

.yiye-site .listing,
.yiye-site .top3-grid,
.yiye-site .projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.yiye-site .item-card,
.yiye-site .top3-card,
.yiye-site .card {
  border-radius: 20px;
  background: linear-gradient(180deg, var(--card), var(--card2));
  border: 1px solid rgba(124, 58, 237, 0.16);
  box-shadow: var(--shadow2);
}

.yiye-site .item-card,
.yiye-site .top3-card {
  padding: 16px;
}

.yiye-site .item-card img,
.yiye-site .top3-card img,
.yiye-site .card-cover {
  border-radius: 16px;
  border: 1px solid rgba(124, 58, 237, 0.16);
  box-shadow: 0 14px 32px rgba(36, 20, 90, 0.18);
}

.yiye-site .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(124, 58, 237, 0.18);
  font-weight: 800;
  font-size: 12px;
  color: var(--ink);
}

.yiye-site .form input,
.yiye-site .form textarea,
.yiye-site .form select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(124, 58, 237, 0.18);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
  box-shadow: 0 10px 22px rgba(36, 20, 90, 0.08);
}

.yiye-site .form input:focus,
.yiye-site .form textarea:focus,
.yiye-site .form select:focus {
  outline: 2px solid rgba(124, 58, 237, 0.35);
  outline-offset: 2px;
}

.yiye-site .site-footer {
  padding: 32px 0 40px;
  color: rgba(21, 19, 43, 0.62);
}

.yiye-site .foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid rgba(124, 58, 237, 0.12);
  padding-top: 18px;
}

@media (max-width: 980px) {
  .yiye-site .nav-toggle {
    display: inline-flex;
  }
  .yiye-site .nav-menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(124, 58, 237, 0.2);
    box-shadow: 0 20px 50px rgba(36, 20, 90, 0.2);
    min-width: 220px;
    max-width: calc(100vw - 24px);
    z-index: 20;
    text-align: center;
  }
  .yiye-site .nav-menu.is-open {
    display: flex;
  }
  .yiye-site .nav-right .btn.ghost,
  .yiye-site .nav-right [data-theme-toggle] {
    display: none;
  }
  .yiye-site .listing,
  .yiye-site .top3-grid,
  .yiye-site .projects-grid {
    grid-template-columns: 1fr;
  }
  .yiye-site #contacto .tilt {
    min-height: auto;
    padding: 16px;
    margin-top: 12px;
  }
}

.yiye-site a:focus,
.yiye-site button:focus {
  outline: 3px solid rgba(124, 58, 237, 0.24);
  outline-offset: 3px;
}
