@font-face {
    font-family: 'Yuruka';
    src: url('vtuber.ttf') format('truetype');
}
*, *:before, *:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html, body {
    font-size: 62.5%;
    font-family: "Yuruka", sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    padding-bottom: 5rem;
    position: relative; /* Diperlukan untuk penempatan gelembung */
}

/* ==================================== */
/* 1. Animasi Teks dan Gelombang */
/* ==================================== */
.container {
    position: relative;
    width: 17rem;
    height: 10rem;
    margin: 8rem auto 3rem auto; /* Posisi di tengah atas */
    transform: none;
    left: auto;
    top: auto;
}
.text {
    color: #fff;
    font-size: 6rem;
    font-weight: 900;
    display: inline-block;
    position: absolute;
    bottom: 0;
    animation: text 1.05s ease-in infinite;  
}
.text-w { left: 0rem; animation: text-w 1.05s ease-in infinite; }
.text-a { left: 4.4rem; animation-delay: 0.15s; }
.text-v { left: 7.6rem; animation-delay: 0.23s; }
.text-e { left: 13rem; animation-delay: 0.31s; }
.coast {
    position: absolute;
    left: 0.5rem;
    bottom: 4.2rem;
    width: 6.2rem;
    height: 2.2rem;
    display: inline-block;
    animation: coast 2.1s linear infinite;
}
.wave-rel-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 3rem;
    perspective-origin: 0% 50%;
}
.wave {
    position: absolute;
    width: 6.2rem;
    height: 2.2rem;
    border-radius: 1.1rem;
    /* Gradien warna air */
    background: radial-gradient(ellipse at center, rgba(116, 241, 252, 1) 0%, rgba(50, 230, 255, 1) 73%, rgba(21, 199, 250, 1) 100%);
    display: inline-block;
    animation: wave 2.1s linear infinite;
    transform: scale(0);
    will-change: transform, width;
}
.delay {
    animation-delay: 1.05s;
}

/* Keyframes Teks */
@keyframes text {
    0%, 30%, 100% { transform: translate3d(0, 0, 0); }
    45% { transform: translate3d(0, -4rem, 0); }
}
@keyframes text-w {
    0%, 38% { transform: translate3d(0, -4rem, 0); }
    69% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(0, -4rem, 0); }
}
/* Keyframes Gelombang */
@keyframes coast {
    0%, 23% { transform: translate3d(0, 0, 0); }
    50%, 100% { transform: translate3d(16rem, 0, 0); }
}
@keyframes wave {
    0% { transform: scale(0); width: 2.2rem; }
    10% { transform: scale(1); }
    23% { width: 2.2rem; }
    32% { width: 6.1rem; }
    42% { width: 5rem; transform: rotateY(0deg) scale(1,1); }
    51% { transform: rotateY(90deg) scale(0.6,0.2); }
    52%, 100% { transform: rotateY(90deg) scale(0); }
}

/* ==================================== */
/* 2. Konten Bio Link (Minimalis) */
/* ==================================== */
.bio-content {
    width: 90%;
    max-width: 500px; 
    margin: 2rem auto 0;
    text-align: center;
    padding: 2rem;
}
.tagline {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 4rem;
    padding: 0 1rem;
}
.links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
/* Gaya Tombol Minimalis */
.link-btn {
    display: block;
    padding: 1.2rem; 
    background-color: rgba(255, 255, 255, 0.05); 
    color: #fff;
    text-decoration: none;
    font-size: 1.7rem;
    font-weight: 700;
    border-radius: 8px; 
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
    border: 1px solid rgba(116, 241, 252, 0.5); 
}
.link-btn:hover {
    background-color: rgba(116, 241, 252, 0.15); 
    box-shadow: 0 0 15px rgba(116, 241, 252, 0.3);
    border-color: #74f1fc; 
}
.link-btn i {
    margin-right: 1.5rem;
    color: #74f1fc; 
}

/* ==================================== */
/* 3. Animasi Gelembung Latar Belakang */
/* ==================================== */
.bubbles {
    position: fixed; /* Menggunakan fixed agar tidak bergerak saat scroll */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; 
    overflow: hidden;
    background-color: #000918;
}
.bubble {
    position: absolute;
    list-style: none;
    display: block;
    width: 40px;
    height: 40px;
    background: rgba(116, 241, 252, 0.15); 
    border-radius: 50%;
    bottom: -100px; 
    animation: move-bubbles 25s linear infinite;
}

/* Penyesuaian random untuk setiap gelembung */
.bubble:nth-child(1) { left: 25%; width: 80px; height: 80px; animation-delay: 0s; animation-duration: 15s; }
.bubble:nth-child(2) { left: 10%; width: 20px; height: 20px; animation-delay: 2s; animation-duration: 18s; }
.bubble:nth-child(3) { left: 70%; width: 20px; height: 20px; animation-delay: 4s; }
.bubble:nth-child(4) { left: 40%; width: 60px; height: 60px; animation-delay: 0s; animation-duration: 22s; }
.bubble:nth-child(5) { left: 65%; width: 20px; height: 20px; animation-delay: 0s; animation-duration: 13s; }
.bubble:nth-child(6) { left: 75%; width: 110px; height: 110px; animation-delay: 3s; animation-duration: 27s; }
.bubble:nth-child(7) { left: 35%; width: 150px; height: 150px; animation-delay: 7s; animation-duration: 35s; }
.bubble:nth-child(8) { left: 50%; width: 25px; height: 25px; animation-delay: 10s; animation-duration: 14s; }
.bubble:nth-child(9) { left: 20%; width: 15px; height: 15px; animation-delay: 12s; animation-duration: 19s; }
.bubble:nth-child(10) { left: 85%; width: 150px; height: 150px; animation-delay: 15s; animation-duration: 23s; }

/* Keyframes Gelembung */
@keyframes move-bubbles {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 50%;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg); 
        opacity: 0;
    }
}
/* Water particle effect - Hapus jika tidak diperlukan atau biarkan */
/*
@keyframes water-particle {
    0% { transform: translateY(0) scale(0.3); opacity: 1; }
    50% { transform: translateY(-1rem) scale(0.5); opacity: 0.7; }
    100% { transform: translateY(-2rem) scale(0); opacity: 0; }
}
.particle {
    position: absolute;
    bottom: 2rem;
    width: 0.5rem;
    height: 0.5rem;
    background: rgba(0, 212, 255, 0.8);
    border-radius: 50%;
    animation: water-particle 2s infinite;
}
*/