* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100vw;
  overflow-x: hidden;
}

body {
  /* Background animasi dark gold, dark black, dark silver */
    background: linear-gradient(
      270deg,
      #0a0a0a,    /* dark black */
      #3a2f1a,    /* dark gold */
      #2f2f2f,    /* dark silver */
      #1a1a1a,    /* dark black */
      #4a3a1e     /* dark gold */
    );
    background-size: 600% 600%;
    animation: bgMove 20s ease infinite;
  color: #fdf19b;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "math", sans-serif;
  padding-top: 4rem;
  padding-bottom: 2rem;
  gap: 1rem;
}

@keyframes bgMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }

/* Responsive */
  @media (max-width: 600px) {
    body p {
      font-size: 14px;
    }
  }

.font-gradient {
    background: -webkit-linear-gradient(#68480b,#cdbb71 21%,#fdf19b 32%,#fcf299 38%,#ab954c 69%,#8a6f2c 83%,#6f5010);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-text-animation {
  position: absolute;
  top: 5rem;
  font-size: 12rem;
  text-transform: uppercase;
  font-weight: 900;
  -webkit-text-stroke: 2px #2d2d56;
  -webkit-text-fill-color: transparent;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  z-index: -1;
  user-select: none;
}

.my-photo {
  width: 10rem;
  /*border-radius: 50%;
  border: 3px solid #ab954c94;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: top;*/
}

a {
  text-decoration: none;
  color: inherit;
}

.sosmed i {
  font-size: 1.5rem;
}

.sosmed i:hover {
  color: gold;
}

.sosmed a:not(:last-child) {
  margin-right: 1rem;
}

ul {
  width: 80%;
  max-width: 40rem;
}

ul li {
  list-style: none;
}

ul.links li:not(:last-child) {
  margin-bottom: 1rem;
}

.links {
  margin-top: 1rem;
}

.link-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(275deg,#68480b73,#cdbb7173 21%,#fdf19b73 32%,#fcf29973 38%,#ab954c73 69%,#8a6f2c73 83%,#6f501073);
  gap: 0rem;
  padding: 0rem;
  border-radius: 36px;
  box-shadow: 3px 3px 0 #68480b63;
  border: 3px solid #ab954c94;
}

.link-card:hover {
  border: 2px solid white;
}

.links .link-icon {
  background-image: linear-gradient(to top, gold, cyan);
  border-radius: 100px;
  aspect-ratio: 1/1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.links .link-icon i {
  color: white;
}

.links .link-text {
  text-align: center;
}

.link-action {
  color: #fcf299;
  cursor: pointer;
  padding: 10px;
  background: -webkit-linear-gradient(rgb(165, 163, 161), rgb(254, 254, 254) 37.29%, rgb(173, 171, 169) 70.1%, rgb(255, 255, 255));
  -webkit-background-clip: text;
  -webkit-text-fill-color: #00000033;
}

.copyright {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
}

.copyright img {
  width: 2rem;
}

#toast {
  width: max-content;
  position: fixed;
  top: 0;
}

.toast-container {
  background: white;
  color: #0f0f25;
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 1rem;
  animation: muncul 300ms ease-in-out;
}

.toast-gone {
  animation: hilang 1s ease-in-out 1s;
}

@keyframes muncul {
  from {
    opacity: 0;
    transform: translateY(-4rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hilang {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes headShake {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }

  6.5% {
    -webkit-transform: translateX(-6px) rotateY(-9deg);
    transform: translateX(-6px) rotateY(-9deg);
  }

  18.5% {
    -webkit-transform: translateX(5px) rotateY(7deg);
    transform: translateX(5px) rotateY(7deg);
  }

  31.5% {
    -webkit-transform: translateX(-3px) rotateY(-5deg);
    transform: translateX(-3px) rotateY(-5deg);
  }

  43.5% {
    -webkit-transform: translateX(2px) rotateY(3deg);
    transform: translateX(2px) rotateY(3deg);
  }

  50% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

.headShake {
  -webkit-animation-name: headShake;
  animation-name: headShake;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
}

.hamburg {
        position: absolute;
        width: 40px;
        height: auto;
        background: linear-gradient(120deg, #cdbb7175 0, #fdf19b75 49%, #cdbb7175);
        border-radius: 5px;
        z-index: 78;
        box-shadow: 0 0 12px 1px #fdf19b;
    }

    .ard-sosmed {
        display: block;
        cursor: pointer;
        position: fixed;
        bottom: 15%;
        left: 15px;
        font-family: "Raleway", sans-serif;
        z-index: 79;
    }

    .ard-sosmed ul {
        margin: 0;
        padding: 0;
        position: relative;
        left: -5px;
    }

    .ard-sosmed ul li {
        position: absolute;
        text-decoration: none;
        list-style: none;
        transform: translate(0, 0) rotate(360deg);
        transition: all .5s ease;
        opacity: 0;
    }

    .ard-sosmed.open ul li:nth-child(1) {
        transform: translateY(-55px);
        transition-delay: .24s;
        opacity: 1;
    }

    .ard-sosmed.open ul li:nth-child(2) {
        transform: translateY(-105px);
        transition-delay: .20s;
        opacity: 1;
    }

    .ard-sosmed.open ul li:nth-child(3) {
        transform: translateY(-150px);
        transition-delay: .16s;
        opacity: 1;
    }

    .ard-sosmed.open ul li:nth-child(4) {
        transform: translateY(-190px);
        transition-delay: .12s;
        opacity: 1;
    }

    .ard-sosmed.open ul li:nth-child(5) {
        transform: translateY(-235px);
        transition-delay: .08s;
        opacity: 1;
    }

    .ard-sosmed.open ul li:nth-child(6) {
        transform: translate(50px, 100px);
        transition-delay: .04s;
        opacity: 1;
    }

   .ard-sosmed.open ul li:nth-child(7) {
        transform: translate(10px, 150px);
        transition-delay: .04s;
        opacity: 1;
    }

    .ard-sosmed ul li a img {
        height: 100%;
        width: auto;
    }

    .ard-sosmed ul li a {
        display: flex;
        width: 50px;
        height: 45px;
        border-radius: 10px;
        justify-content: center;
        align-items: center;
        pointer-events: none;
    }

    .ard-sosmed.open ul li a {
        pointer-events: auto;
    }

    .bar1,
    .bar2,
    .bar3 {
        width: 80%;
        height: 5px;
        background: linear-gradient(90deg, rgba(26, 26, 26, 0.3) 0%, rgba(0, 0, 0, 0.3) 10%, rgba(0, 0, 0, 0.3) 100%), #000;
        margin: 6px auto;
        transition: .4s;
        position: relative;
        transform: translateY(-1px);
    }

    .open .bar1 {
        transform: translate(0, 10px) rotate(-225deg);
    }

    .open .bar2 {
        opacity: 0;
        transform: translate(0, -1px) rotate(-225deg);
    }

    .open .bar3 {
        transform: translate(0, -12px) rotate(-315deg);
    }

    .ard-sosmed ul li div {
        position: absolute;
        transition: all .3s ease;
        opacity: 0;
        scale: .1;
        font-family: "Raleway", sans-serif;
        font-size: large;
        background: rgba(0, 0, 0, 1);
        color: var(--accent-color);
        text-align: center;
        text-wrap: nowrap;
        cursor: default;
        z-index: 95;
    }

    .ard-sosmed ul li:hover div {
        opacity: 1;
        scale: 1;
    }

    .ard-sosmed ul li:nth-child(1) div {
        transform: translateY(-150px);
    }

    .ard-sosmed ul li:nth-child(1):hover div {
        transform: translateY(-80px);
    }

    .ard-sosmed ul li:nth-child(2) div {
        transform: translateY(-100px);
    }

    .ard-sosmed ul li:nth-child(2):hover div {
        transform: translate(30px, -80px);
    }

    .ard-sosmed ul li:nth-child(3) div {
        transform: translateY(-150px);
    }

    .ard-sosmed ul li:nth-child(3):hover div {
        transform: translate(50px, -45px);
    }

    .ard-sosmed ul li:nth-child(4) div {
        transform: translateY(-150px);
    }

    .ard-sosmed ul li:nth-child(4):hover div {
        transform: translate(50px, -75px);
    }

    .ard-sosmed ul li:nth-child(5) div {
        transform: translateY(-150px);
    }

    .ard-sosmed ul li:nth-child(5):hover div {
        transform: translate(58px, -45px);
    }

    .ard-sosmed ul li:nth-child(6) div {
        transform: translate(-50px);
    }

    .ard-sosmed ul li:nth-child(6):hover div {
        transform: translate(50px, -20px);
    }

    .ard-sosmed ul li:nth-child(7) div {
        transform: translate(-170px);
    }

    .ard-sosmed ul li:nth-child(7):hover div {
        transform: translate(0px);
    }
    
    /*ALERT UNTUK NOTF WD*/
    #alert-container {
        position: fixed;
        top: 12px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 9999;
        width: 90%;
        max-width: 260px; /* LEBIH KECIL */
      }
    
      .alert {
        padding: 6px 12px;        /* LEBIH KECIL */
        margin-bottom: 6px;
    
        border-radius: 25px;      /* LONJONG MINI */
        font-size: 11px;          /* SUPER KECIL */
        font-weight: 600;
        line-height: 1.2;         /* TEKS RAPIH */
        color: #fff;
        text-align: center;
    
        opacity: 0;
        transform: translateY(-100%);
    
        /* Background gradient gold gelap animasi */
        background: linear-gradient(
          135deg,
          #1b5e20,
          #604a00,
          #b7950b,
          #e1c16e
        );
        background-size: 400% 400%;
    
        /* Border neon golden */
        border: 1.5px solid #ffd700;  /* LEBIH TIPIS */
        box-shadow:
          0 0 4px #ffda33,
          inset 0 0 3px #ffcc00;
    
        animation:
          slideDown 0.3s forwards,
          fadeOut 0.3s forwards 3.6s,
          bgAnim 5s ease infinite,
          glowAnim 3s ease infinite;
      }
    
      @keyframes slideDown {
        to { opacity: 1; transform: translateY(0); }
      }
    
      @keyframes fadeOut {
        to { opacity: 0; transform: translateY(-100%); }
      }
    
      @keyframes bgAnim {
        0%   { background-position: 0% 50%; }
        50%  { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
      }
    
      @keyframes glowAnim {
        0% { box-shadow: 0 0 3px #ffd700, inset 0 0 2px #ffcc00; }
        50% { box-shadow: 0 0 7px #fff000, inset 0 0 5px #ffd700; }
        100% { box-shadow: 0 0 3px #ffd700, inset 0 0 2px #ffcc00; }
      }
    
      @media (max-width: 600px) {
        #alert-container {
          max-width: 240px;       /* HP LEBIH KECIL LAGI */
        }
    
        .alert {
          padding: 5px 10px;
          font-size: 10.5px;
          border-radius: 22px;
        }
      }
      
      /*LINK-CARD*/
      .link-card {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 18px;
            border-radius: 40px;
            text-decoration: none;
            color: #fff;
            margin-bottom: 12px;
            position: relative;
            transition: 0.3s ease;
        
            /* === Gradient sesuai request + animasi === */
            background: linear-gradient(
                275deg,
                #68480b73,
                #cdbb7173 21%,
                #fdf19b73 32%,
                #fcf29973 38%,
                #ab954c73 69%,
                #8a6f2c73 83%,
                #6f501073
            );
            background-size: 300% 300%;
            animation: goldMove 8s ease infinite;
        
            /* === Border neon golden animasi === */
            border: 2px solid #d4b253;
            box-shadow:
                0 0 6px #d4b253,
                0 0 12px #8a6f2c,
                inset 0 0 10px #cdbb71,
                inset 0 0 4px #fdf19b;
        
            animation: goldMove 8s ease infinite, neonPulse 3s ease infinite;
        }
        
        /* Hover efek */
        .link-card:hover {
            transform: scale(1.03);
            filter: brightness(1.15);
        }
        
        /* Ikon */
        .link-card .link-icon img {
            width: 50px;
            height: 50px;
            border-radius: 100%;
        }
        
        /* Teks */
        .link-text {
            flex: 1;
            margin-left: 12px;
            font-size: 15px;
            color: #fff;
        }
        
        /* === ANIMASI GRADIENT === */
        @keyframes goldMove {
            0%   { background-position: 0% 50%; }
            50%  { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }
        
        /* === ANIMASI NEON BORDER === */
        @keyframes neonPulse {
            0% {
                box-shadow: 0 0 5px #d4b253, inset 0 0 5px #cdbb71;
            }
            50% {
                box-shadow: 0 0 15px #fdf19b, inset 0 0 12px #d4b253;
            }
            100% {
                box-shadow: 0 0 5px #d4b253, inset 0 0 5px #cdbb71;
            }
        }
        
        /* Responsive */
        @media (max-width: 600px) {
            .link-card {
                padding: 10px 14px;
                border-radius: 30px;
            }
            .link-text {
                font-size: 14px;
            }
            .link-card .link-icon img {
                width: 50px;
                height: 50px;
            }
        }