@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

    :root{
      --bg:#caf4fb;
      --accent:#1e80e9;
      --text:#4a2c2a;   
      --muted:#8b5e5e;
      --card:#fff;
    }

    *{box-sizing:border-box;}
    body{
      margin:0;
      font-family:"Poppins",sans-serif;
      background:var(--bg);
      color:var(--text);
      scroll-behavior:smooth;
    }

    /* Pantalla de contraseña */
    #pw-overlay{
      position:fixed;
      inset:0;
      background:linear-gradient(180deg,rgba(0,0,0,0.4),rgba(0,0,0,0.45));
      display:flex;
      align-items:center;
      justify-content:center;
      z-index:9999;
    }
    .pw-card{
      width:90%;
      max-width:420px;
      background:linear-gradient(180deg,var(--card),#f5bcce);
      border-radius:14px;
      padding:1.8rem;
      box-shadow:0 12px 40px rgba(0,0,0,0.25);
      text-align:center;
      border:1px solid rgba(233,30,99,0.08);
    }
    .pw-card h2{color:var(--accent);margin-top:0;}
    .pw-card input{
      width:80%;
      padding:0.6rem 1rem;
      border-radius:10px;
      border:1px solid rgba(0,0,0,0.1);
      font-size:1rem;
    }
    .pw-card button{
      background:var(--accent);
      color:#fff;
      border:none;
      padding:0.6rem 1rem;
      border-radius:10px;
      font-weight:bold;
      cursor:pointer;
      margin-top:0.8rem;
    }
    .pw-feedback{
      color:#b54261;
      font-size:0.9rem;
      margin-top:0.5rem;
      min-height:1rem;
    }
    .shake{animation:shake 0.4s;}
    @keyframes shake{
      0%{transform:translateX(0)}20%{transform:translateX(-8px)}40%{transform:translateX(8px)}60%{transform:translateX(-6px)}80%{transform:translateX(6px)}100%{transform:translateX(0)}
    }

    /* Header */
    header{
      text-align:center;
      padding:4rem 1rem;
      background:linear-gradient(180deg,#ffe4ec 0%,var(--bg) 100%);
    }
    header h1{
      font-size:2.5rem;
      color:var(--accent);
      margin-bottom:0.5rem;
    }
    header p{
      font-size:1.1rem;
      color:var(--muted);
    }

    /* Línea de tiempo */
    .timeline{
      position:relative;
      max-width:900px;
      margin:3rem auto;
      padding:2rem 0;
    }
    .timeline::after{
      content:"";
      position:absolute;
      width:4px;
      background:var(--accent);
      top:0;
      bottom:0;
      left:50%;
      transform:translateX(-50%);
      border-radius:2px;
    }
    .timeline-item{
      position:relative;
      width:50%;
      padding:2rem 2.5rem;
      box-sizing:border-box;
    }
    .timeline-item:nth-child(odd){
      left:0;
      text-align:right;
    }
    .timeline-item:nth-child(even){
      left:50%;
    }

    .timeline-content{
      background:var(--card);
      padding:1rem 1.5rem;
      border-radius:12px;
      box-shadow:0 4px 20px rgba(0,0,0,0.1);
      position:relative;
      display:flex;
      flex-direction:column;
      align-items:center;
    }

    .timeline-item::before{
      content:"";
      position:absolute;
      width:20px;
      height:20px;
      border-radius:50%;
      background:var(--accent);
      top:2rem;
      z-index:1;
      left:calc(50% - 10px);
    }

    .timeline-content img{
      width:100%;
      max-width:350px;
      border-radius:10px;
      margin-bottom:1rem;
      box-shadow:0 4px 12px rgba(0,0,0,0.15);
      transition:transform 1s ease;
    }

    .timeline-content img:hover{transform:scale(1.05);}
    .timeline-content h3{
      color:var(--accent);
      margin:0.5rem 0;
      font-size:1.5rem;
    }
    .timeline-content p{
      color:var(--text);
      font-size:1rem;
      line-height:1.6;
    }

    /* Animaciones scroll */
    .fade-in{
      opacity:0;
      transform:translateY(50px);
      transition:opacity 1.2s ease, transform 1.2s ease;
    }
    .fade-in.visible{
      opacity:1;
      transform:translateY(0);
    }

    /* Responsivo */
    @media(max-width:768px){
      .timeline::after{left:8px;}
      .timeline-item{
        width:100%;
        padding-left:2.5rem;
        padding-right:1rem;
        margin-bottom:2rem;
      }
      .timeline-item:nth-child(odd),
      .timeline-item:nth-child(even){
        left:0;
        text-align:left;
      }
      .timeline-item::before{
        left:0;
      }
      header h1{font-size:2rem;}
    }

    footer{
      text-align:center;
      padding:2rem;
      background:#ffe4ec;
      font-size:0.9rem;
      color:#7a5555;
    }

    .timeline-content .item-text-up{
        text-align: center;
        font-size: 1.4rem;
        font-weight: 900;
        color:#1659a1;
    }
    