body {
      margin: 0;
      font-family: Arial, sans-serif;
      background: linear-gradient(135deg, #7a9cbf, #c1d9e7);
      color: #2c3e50;
      text-align: center;
    }

    header {
      padding: 30px 10px;
    }

    header h1 {
      font-size: 2.5rem;
      margin-bottom: 10px;
    }

    .profile-img {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      object-fit: cover;
    }

    .profile-link {
      display: inline-block;
      position: relative;
      cursor: pointer;
      transition: transform 0.2s;
    }

    .profile-link::after {
      content: "🔗";
      position: absolute;
      right: -6px;
      bottom: -6px;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: #1abc9c;
      color: #ffffff;
      font-size: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 2px 6px rgba(0,0,0,0.15);
      transition: transform 0.2s, box-shadow 0.2s;
    }

    .profile-link:hover::after {
      transform: scale(1.08);
      box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }

    .profile-link:hover .profile-img {
      transform: scale(1.02);
    }

    .subtitle {
      margin: 10px 0;
      font-size: 1.1rem;
    }
    .animated-text {
      display: inline-block;
      background: linear-gradient(90deg, #1abc9c, #3498db, #2ecc71, #f39c12, #e74c3c, #9b59b6);
      background-size: 200% auto;
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      color: transparent;
      animation: color-sweep 6s linear infinite;
    }

    .degree-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 12px;
      margin-top: 8px;
      border-radius: 9999px;
      background: rgba(26, 188, 156, 0.12);
      border: 1px solid #1abc9c;
      color: #2c3e50;
      font-weight: 600;
      font-size: 0.95rem;
      box-shadow: 0 2px 6px rgba(0,0,0,0.08);
      transition: transform 0.2s, box-shadow 0.2s;
      text-decoration: none;
      cursor: pointer;
    }

    .degree-badge:hover {
      transform: scale(1.025);
      box-shadow: 0 4px 10px rgba(0,0,0,0.12);
    }

    .degree-badge::after {
      content: "↗";
      color: #1abc9c;
      font-size: 0.95rem;
      margin-left: 6px;
      transition: transform 0.2s;
    }

    .degree-badge:hover::after {
      transform: translateY(-1px);
    }

    .socials {
      margin: 20px 0;
    }

    .socials a {
      margin: 0 10px;
      display: inline-block;
      position: relative;
      border-radius: 20%;
    }

    .socials img {
      width: 40px;
      height: 40px;
      transition: transform 0.3s;
      border-radius: 20%;
      position: relative;
      z-index: 1;
    }

    .social-icon::before {
      content: "";
      position: absolute;
      inset: -5px;
      border-radius: 50%;
      background: var(--border-gradient, conic-gradient(#1abc9c, #3498db, #2ecc71, #f39c12, #e74c3c));
      filter: blur(10px) saturate(1.05);
      z-index: 0;
      opacity: 0;
      transform: scale(1);
      transition: opacity 0.25s ease, transform 0.25s ease;
      animation: none;
    }

    .social-icon:hover::before {
      opacity: 1;
      transform: scale(1.06);
      animation: glow-pulse 1.8s ease-in-out infinite;
    }

    .social-icon.instagram { 
      --border-gradient: conic-gradient(from 0deg, #f58529, #dd2a7b, #8134AF, #515BD4, #f58529);
    }
    .social-icon.linkedin { 
      --border-gradient: conic-gradient(from 0deg, #004b7c, #0077B5, #00a0dc, #0077B5, #004b7c);
    }

    @keyframes glow-pulse {
      0% { opacity: 0.35; transform: scale(1.02); filter: blur(8px); }
      50% { opacity: 0.8; transform: scale(1.08); filter: blur(12px); }
      100% { opacity: 0.35; transform: scale(1.02); filter: blur(8px); }
    }

    .socials img:hover {
      transform: scale(1.1);
    }

    section {
      padding: 40px 20px;
    }

    h2 {
      margin-bottom: 20px;
      font-size: 1.8rem;
    }

    .skills {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
      gap: 20px;
      max-width: 800px;
      margin: 0 auto;
    }

    .skill {
      display: flex;
      flex-direction: column;
      align-items: center;
      transition: transform 0.2s;
    }

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

    /* 🔵 Círculos de habilidad */
    .circle {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      background: conic-gradient(#1abc9c var(--percent), #ecf0f1 0deg);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      color: #2c3e50;
      font-size: 0.9rem;
    }

    .circle span {
      position: absolute;
    }

    .skill-label {
      margin-top: 10px;
      font-weight: bold;
    }

    /* 🎬 TRABAJOS estilo cartelera */
    .projects {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 20px;
      max-width: 1000px;
      margin: 0 auto;
    }

    .project-card {
      background: #fff;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 6px 12px rgba(0,0,0,0.2);
      transition: transform 0.3s, box-shadow 0.3s;
      text-decoration: none;
      color: inherit;
      display: flex;
      flex-direction: column;
    }

    .project-card:hover {
      transform: scale(1.05);
      box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    }

    .project-card img {
      width: 100%;
      height: 250px;
      object-fit: cover;
    }

    .project-info {
      padding: 15px;
      text-align: center;
      background: #f4f4f4;
    }

    .project-title {
      font-weight: 700;
      font-size: 1.1rem;
      margin-bottom: 6px;
      color: #2c3e50;
    }

    .project-desc {
      font-weight: 400;
      font-size: 0.95rem;
      line-height: 1.4;
      color: #4b5f73;
      max-width: 90%;
      margin: 0 auto;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }


    footer {
      background: #2c3e50;
      padding: 15px;
      color: limegreen;
      font-weight: bold;
      font-size: 0.9rem;
    }
    @keyframes color-sweep {
      0% { background-position: 0% 50%; }
      100% { background-position: 200% 50%; }
    }

    /* 📱 Responsive */
    @media (max-width: 768px) {
      header h1 {
        font-size: 2rem;
      }
      .profile-img {
        width: 100px;
        height: 100px;
      }
      .profile-link::after {
        width: 24px;
        height: 24px;
        font-size: 14px;
        right: -5px;
        bottom: -5px;
      }
      .socials img {
        width: 35px;
        height: 35px;
      }
      .social-icon::before {
        inset: -4px;
      }
      h2 {
        font-size: 1.5rem;
      }
      .degree-badge {
        font-size: 0.9rem;
        padding: 7px 10px;
      }
      .degree-badge::after {
        font-size: 0.9rem;
      }
      .project-card img {
        height: 150px;
      }
      .circle {
        width: 50px;
        height: 50px;
        border: 5px solid #1abc9c;
      }
      .project-title {
        font-size: 1rem;
      }
      .project-desc {
        font-size: 0.9rem;
        -webkit-line-clamp: 3;
        line-clamp: 3;
      }
    }

    @media (max-width: 480px) {
      header h1 {
        font-size: 1.6rem;
      }
      .subtitle {
        font-size: 1rem;
      }
      .degree-badge {
        font-size: 0.88rem;
        padding: 6px 10px;
      }
      .degree-badge::after {
        font-size: 0.88rem;
      }
      .socials img {
        width: 30px;
        height: 30px;
      }
      .social-icon::before {
        inset: -3px;
      }
      .profile-link::after {
        width: 22px;
        height: 22px;
        font-size: 13px;
        right: -4px;
        bottom: -4px;
      }
      h2 {
        font-size: 1.3rem;
      }
      .circle {
        width: 45px;
        height: 45px;
        border: 4px solid #1abc9c;
      }
      footer {
        font-size: 0.8rem;
      }
      .project-desc {
        font-size: 0.85rem;
      }
    }