* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 1. Bagian Body Utama */
body {
    background: linear-gradient(-45deg, #e9e5d9, #ffccd5, #fff4cc, #ccf5ff, #e9e5d9);
    background-size: 600% 600%;
    animation: backgroundMove 6s ease-in-out infinite;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
    padding: 20px;
    margin: 0;
}

/* 2. TARUH DI SINI */
/* Ini adalah layer khusus untuk motif titik-titik (grid dots) */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(#d1ccc0 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    z-index: -1; 
    pointer-events: none;
}

@keyframes backgroundMove {
    0% { background-position: 0% 0%; }     /* Pojok Kiri Atas */
    25% { background-position: 100% 0%; }   /* Pojok Kanan Atas */
    50% { background-position: 100% 100%; } /* Pojok Kanan Bawah */
    75% { background-position: 0% 100%; }   /* Pojok Kiri Bawah */
    100% { background-position: 0% 0%; }    /* Balik ke awal */
}


.journal-page {
    background: #ffffff;
    width: 100%;
    max-width: 350px;
    padding: 50px 25px 30px;
    border-radius: 2px;
    box-shadow: 
        10px 10px 0px #d4cfc1, /* Efek kertas bertumpuk */
        20px 20px 0px rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: visible;
}

/* Washi Tape (Selotip Dekoratif) */
.washi-tape {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    width: 120px;
    height: 35px;
    background: rgba(255, 182, 193, 0.6);
    backdrop-filter: blur(2px);
    border-left: 2px dotted rgba(0,0,0,0.1);
    border-right: 2px dotted rgba(0,0,0,0.1);
    z-index: 10;
}

/* Polaroid Style */
.polaroid-frame {
    background: white;
    padding: 10px 10px 25px 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: rotate(-3deg);
    width: 140px;
    margin: 0 auto 25px;
    border: 1px solid #eee;
}

.photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    display: block;
}

.handwriting {
    font-family: 'Gochi Hand', cursive;
    font-size: 1.2rem;
    color: #888;
    margin-top: 10px;
}

.title {
    font-family: 'Gochi Hand', cursive;
    font-size: 2rem;
    color: #5d5747;
    margin-bottom: 30px;
}

/* Sticker Links */
.links-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sticker-link {
    text-decoration: none;
    padding: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #5d5747;
    border: 2px dashed #d1ccc0;
    border-radius: 5px;
    transition: 0.3s;
    position: relative;
}

.s-1 { transform: rotate(1deg); background: #fff5f5; }
.s-2 { transform: rotate(-1deg); background: #f5faff; }
.s-3 { transform: rotate(1.5deg); background: #f5fff6; }
.s-4 { transform: rotate(-0.5deg); background: #fffdf5; }

.sticker-link:hover {
    transform: scale(1.05) rotate(0deg);
    border-style: solid;
    background: #5d5747;
    color: white;
}

/* Social Tabs Widget */
.social-tabs {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
}

.tab {
    width: 45px;
    height: 45px;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #5d5747;
    text-decoration: none;
    box-shadow: 0 4px 0px #d1ccc0;
    transition: all 0.2s;
}

.tab:active {
    box-shadow: 0 0px 0px #d1ccc0;
    transform: translateY(4px);
}

.tab.ig:hover { background: #fee2e2; color: #f43f5e; }
.tab.tt:hover { background: #f1f5f9; color: #0f172a; }
.tab.pt:hover { background: #fef2f2; color: #b91c1c; }
