/* Reset and base styles */
    *, *::before, *::after {
      box-sizing: border-box;
    }
    body {
      margin: 0; padding: 0;
      font-family: 'Poppins', sans-serif;
      background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
      color: #eee;
      min-height: 100vh;
      overflow-x: hidden;
      perspective: 1500px;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      user-select:none;
    }
    a {
      color: inherit;
      text-decoration: none;
    }

    header {
      position: sticky;
      top: 0;
      background: rgba(15,32,39,0.9);
      backdrop-filter: saturate(180%) blur(10px);
      box-shadow: 0 0 12px #f0a500cc;
      z-index: 1010;
      padding: 1rem 2rem;
      transform-style: preserve-3d;
    }
    nav {
      max-width: 1100px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transform-style: preserve-3d;
      user-select:none;
    }
    nav .logo {
      font-size: 2rem;
      font-weight: 700;
      color:rgb(230, 211, 172);
      text-shadow: 0 0 20px #f0a500cc;
      cursor: default;
      transform-style: preserve-3d;
      transition: transform 0.3s ease;
    }
    nav .logo:hover {
      transform: translateZ(40px) rotateY(12deg);
      text-shadow: 0 0 35px #f0a500ff;
    }
    nav ul {
      list-style: none;
      display: flex;
      gap: 2.5rem;
    }
    nav li {
      font-weight: 600;
      font-size: 1.05rem;
      cursor: pointer;
      transform-style: preserve-3d;
      transition: transform 0.3s ease, color 0.3s ease;
      user-select:none;
    }
    nav li:hover, nav li:focus-within {
      color: #f0a500;
      transform: translateZ(20px);
      text-shadow: 0 0 15px #f0a500cc;
      outline:none;
    }

    main {
      max-width: 1100px;
      margin: 3rem auto 6rem;
      padding: 0 2rem;
      transform-style: preserve-3d;
    }

    /* Hero Section */
    .hero {
      display: flex;
      flex-wrap: wrap;
      gap: 3rem;
      justify-content: center;
      align-items: center;
      perspective: 1500px;
      transform-style: preserve-3d;
      padding-bottom: 3.5rem;
      user-select:none;
    }
    .hero .photo {
      flex: 1 1 320px;
      max-width: 320px;
      border-radius: 50%;
      overflow: hidden;
      transform-style: preserve-3d;
      transition: box-shadow 0.4s ease;
      will-change: transform;
      cursor: default;
      background: #222a33;
      position: relative;
      transform-origin: center center;
      filter: drop-shadow(0 0 8px #f0a500aa);
      /* subtle slow floating */
      animation: floatUpDown 6s ease-in-out infinite;
    }
    .hero .photo img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: contrast(1.15) saturate(1.3);
      pointer-events:none;
      backface-visibility: hidden;
      user-select:none;
      transform-style: preserve-3d;
    }

    .hero .intro {
      flex: 2 1 420px;
      color: #eaeaea;
      perspective: 1500px;
      text-shadow: 0 0 15px #000a inset;
      user-select:none;
      transform-style: preserve-3d;
    }
    .hero .intro h1 {
      font-size: 3.5rem;
      margin-bottom: 0.8rem;
      color:rgb(231, 231, 231);
      cursor: default;
      transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), text-shadow 0.5s ease;
      transform-style: preserve-3d;
    }
    .hero .intro h1:hover {
      transform: translateZ(70px) rotateY(15deg);
      text-shadow:
        0 0 45px #f0a500ff,
        0 0 60px #ffb400ff;
    }
    .hero .intro p {
      font-size: 1.3rem;
      font-weight: 300;
      max-width: 550px;
      line-height: 1.5;
      letter-spacing: 0.02em;
      transform-style: preserve-3d;
      filter: drop-shadow(0 0 4px rgba(0,0,0,0.6));
      user-select:none;
    }

    /* About Section */
    #about {
      margin-bottom: 5rem;
      user-select:none;
      transform-style: preserve-3d;
      text-shadow: 0 0 9px #000a;
      color: #ddd;
    }
    #about h2 {
      font-size: 3rem;
      margin-bottom: 1rem;
      color:rgb(255, 255, 255);
      text-shadow: 0 0 18px #f0a500cc;
      user-select:none;
    }
    #about p {
      font-size: 1.15rem;
      max-width: 740px;
      line-height: 1.6;
      font-weight: 300;
    }

    /* Projects Section */
    .featured-projects {
      margin-bottom: 6rem;
      user-select:none;
    }
    .featured-projects h2 {
      color:rgb(255, 244, 244);
      font-size: 2.9rem;
      text-align: center;
      margin-bottom: 2.5rem;
      text-shadow: 0 0 18pxrgba(247, 247, 247, 0.86);
      user-select:none;
    }
    .projects-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
      gap: 2.2rem;
      perspective: 1500px;
      transform-style: preserve-3d;
    }
    .project-card {
      background: linear-gradient(145deg, #1a2a35, #12202a);
      border-radius: 20px;
      overflow: hidden;
      box-shadow:
        inset 0 0 10px #f0a50030,
        18px 18px 40px #0a121a,
        -18px -18px 40px #233544;
      border: 1px solid #f0a50033;
      color: #eee;
      cursor: pointer;
      user-select:none;
      transform-style: preserve-3d;
      transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), box-shadow 0.5s ease, border-color 0.4s ease;
      will-change: transform;
      position: relative;
      perspective: 1500px;
    }
    .project-card img {
      width: 100%;
      height: 160px;
      object-fit: cover;
      border-bottom: 1px solid #f0a50044;
      user-select:none;
      transform-style: preserve-3d;
      pointer-events:none;
      backface-visibility: hidden;
    }
    .project-card .content {
      padding: 1.5rem 1.8rem;
    }
    .project-card .content h3 {
      font-weight: 700;
      margin-bottom: 0.7rem;
      text-shadow: 0 0 15px #f0a500bb;
      transform-style: preserve-3d;
      user-select:none;
    }
    .project-card .content p {
      font-size: 0.94rem;
      color: #ccc;
      font-weight: 300;
      line-height: 1.35;
      user-select:none;
      transform-style: preserve-3d;
    }
    .project-card:focus-visible {
      outline: none;
      box-shadow:
        0 0 25px 3px #f0a500cc,
        inset 0 0 20px #f0a500a0;
      border-color: #ffcc0077;
    }

    /* Project Links */
    .project-link {
      display: block;
      color: inherit;
      text-decoration: none;
    }
    .project-link:hover .project-card,
    .project-link:focus .project-card {
      transform: translateZ(40px) scale(1.07);
      box-shadow:
        20px 20px 45px #f0a500cc,
        -15px -15px 45px #fff4a5cc,
        inset 0 0 15px #f0a500cc;
    }

    /* Skills Section */
    #skills {
      text-align: center;
      margin-bottom: 6rem;
      user-select:none;
      transform-style: preserve-3d;
    }
    #skills h2 {
      font-size: 2.9rem;
      margin-bottom: 2rem;
      color: #f0a500;
      text-shadow: 0 0 15px #f0a500cc;
    }
    .skills-list {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 2rem;
      perspective: 1500px;
      transform-style: preserve-3d;
    }
    .skill {
      background: linear-gradient(145deg, #162a3a, #0f1f2b);
      border-radius: 18px;
      box-shadow:
        inset 0 0 12px #ffe06644,
        10px 10px 25px #0e1c27,
        -10px -10px 25px #294969;
      padding: 1.1rem 1.6rem;
      width: 140px;
      height: 140px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      color: #ffe066;
      font-weight: 700;
      text-shadow: 0 0 12px #ffe066cc;
      cursor: default;
      user-select:none;
      transform-style: preserve-3d;
      transition: transform 0.4s ease, box-shadow 0.4s ease;
      will-change: transform;
      position: relative;
      perspective: 1200px;
    }
    .skill:hover,
    .skill:focus-visible {
      outline: none;
      transform: translateZ(40px) scale(1.15);
      box-shadow:
        0 0 30px #ffdd70ee,
        20px 20px 40px #ffe66bcc,
        -15px -15px 30px #fff59ecc;
    }
    .skill svg {
      width: 48px;
      height: 48px;
      margin-bottom: 0.6rem;
      fill: #ffd24c;
      filter: drop-shadow(0 0 6px #ffd24cbb);
      transform-style: preserve-3d;
    }
    .skill span {
      font-size: 1.3rem;
      user-select:none;
      transform-style: preserve-3d;
    }

    /* Contact Section */
    #contact {
      color: #ddd;
      text-align: center;
      user-select:none;
      margin-top: 4rem;
      margin-bottom: 2rem;
      transform-style: preserve-3d;
    }
    #contact h2 {
      color: #f0a500;
      font-size: 3rem;
      margin-bottom: 0.8rem;
      text-shadow: 0 0 18px #f0a500cc;
      user-select:none;
    }
    #contact p {
      font-weight: 300;
      font-size: 1.1rem;
      user-select:text;
    }
    #contact a {
      color: #f0a500;
      font-weight: 600;
      text-shadow: 0 0 12px #f0a500cc;
      transition: color 0.3s ease;
      user-select:text;
    }
    #contact a:hover,
    #contact a:focus {
      color: #ffbf00;
      text-shadow: 0 0 18px #ffbf00ff;
      outline: none;
    }

    /* Floating animation */
    @keyframes floatUpDown {
      0%, 100% {
        transform: translate3d(0, 0, 0);
      }
      50% {
        transform: translate3d(0, 10px, 0);
      }
    }

    /* Teks Berjalan */
    .marquee {
      width: 100%;
      overflow: hidden;
      white-space: nowrap;
      box-sizing: border-box;
      position: relative;
      /* background: rgba(15, 32, 39, 0.8); */
      color: #f0a500;
      font-size: 1.5rem;
      padding: 10px 0;
    }
    .marquee span {
      display: inline-block;
      padding-left: 100%;
      animation: marquee 15s linear infinite;
    }
    @keyframes marquee {
      0% { transform: translate(0, 0); }
      100% { transform: translate(-100%, 0); }
    }

    /* Responsive */
    @media (max-width: 720px) {
      .hero {
        flex-direction: column;
        padding-bottom: 2rem;
      }
      .hero .intro h1 {
        font-size: 2.75rem;
        text-align: center;
      }
      .hero .intro p {
        text-align: center;
      }
      nav ul {
        gap: 1.2rem;
        font-size: 0.92rem;
      }
      #about p, #contact p {
        font-size: 1rem;
      }
      .projects-grid {
        grid-template-columns: 1fr;
      }
      .skills-list {
        justify-content: center;
        gap: 1.5rem;
      }
      .skill {
        width: 120px;
        height: 120px;
      }
    }
